Add Solvenian translations for glibc messages.
[glibc.git] / ChangeLog
blob5d69020564b0f7c18d4de4d43444d6afb6aa040f
1 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
3         * po/sl.po: New file.
5 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
7         * .gitignore: Add core/.gdbinit/.gdb_history.
9 2013-12-27  Allan McRae  <allan@archlinux.org>
11         [BZ #16369]
12         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
13         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
15 2013-12-24  Brooks Moses  <bmoses@google.com>
17         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
18         all compilers that claim C++98 compliance, not just GCC.
19         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
20         Likewise.
22 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
24         * NEWS: Restore accidentally deleted bug-fix entries.
26 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
27             Ondřej Bílka  <neleai@seznam.cz>
29         [BZ #15073]
30         * malloc/malloc.c (_int_free): Perform sanity check only if we
31         have_lock.
33 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
35         [BZ #12986]
36         * manual/stdio.texi (String Input Conversions): Clarify that character
37         classes are not supported.
39 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
45         [BZ #16337]
46         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
47         Calculate results for small negative arguments directly rather
48         than using reflection formula with special underflow handling.
50         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
51         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
52         sysdeps/unix/bsd/bsd4.4/syscalls.list.
53         (fchflags): Likewise.
54         (revoke): Likewise.
55         (setlogin): Likewise.
56         (sigaltstack): Likewise.
57         (wait4): Likewise.
58         (sigblock): Remove.
59         (sigsetmask): Likewise.
60         (wait3): Likewise.
61         (waitpid): Likewise.
62         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
63         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
64         file.
65         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
66         * sysdeps/unix/bsd/Makefile: ... here.
67         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
68         * sysdeps/unix/bsd/Versions: ... here.
69         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
70         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
71         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
72         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
73         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
74         * sysdeps/unix/bsd/sigblock.c: ... here.
75         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
76         * sysdeps/unix/bsd/sigsetmask.c: ... here.
77         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
78         * sysdeps/unix/bsd/sigvec.c: ... here.
79         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
80         * sysdeps/unix/bsd/tcdrain.c: ... here.
81         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
82         * sysdeps/unix/bsd/tcgetattr.c: ... here.
83         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
84         * sysdeps/unix/bsd/tcsetattr.c: ... here.
85         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
86         * sysdeps/unix/bsd/wait.c: ... here.
87         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
88         * sysdeps/unix/bsd/wait3.c: ... here.
89         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
90         * sysdeps/unix/bsd/waitpid.c: ... here.
92 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
94         [BZ #16356]
95         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
96         round-to-nearest for [!USE_AS_EXPM1L].
97         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
98         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
99         more tests of exp and exp10.  Expect some exp10 tests to miss
100         exceptions or fail in directed rounding modes.
101         * math/auto-libm-test-out: Regenerated.
102         * math/libm-test.inc (exp10_tonearest_test_data): New array.
103         (exp10_test_tonearest): New function.
104         (exp10_towardzero_test_data): New array.
105         (exp10_test_towardzero): New function.
106         (exp10_downward_test_data): New array.
107         (exp10_test_downward): New function.
108         (exp10_upward_test_data): New array.
109         (exp10_test_upward): New function.
110         (main): Call the new functions.
111         * sysdeps/i386/fpu/libm-test-ulps: Update.
112         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
114 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
116         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
117         asinh, atan, atan2, atanh, cbrt, cos and cosh.
118         * math/auto-libm-test-out: Regenerated.
119         * math/libm-test.inc (acosh_test_data): Add more tests.
120         (atanh_test_data): Likewise.
121         (ceil_test_data): Likewise.
122         (copysign_test_data): Likewise.
123         * sysdeps/i386/fpu/libm-test-ulps: Update.
124         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
126         * timezone/checktab.awk: Update from tzcode 2013i.
127         * timezone/private.h: Likewise.
128         * timezone/scheck.c: Likewise.
129         * timezone/tzfile.h: Likewise.
130         * timezone/tzselect.ksh: Likewise.
131         * timezone/zdump.c: Likewise.
132         * timezone/zic.c: Likewise.
134         * math/auto-libm-test-in: Add tests of cpow.
135         * math/auto-libm-test-out: Regenerated.
136         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
137         * * math/gen-auto-libm-tests.c (func_calc_method): Add value
138         mpc_cc_c.
139         (func_calc_desc): Add mpc_cc_c union field.
140         (test_functions): Add cpow.
141         (special_fill_2pi): New function.
142         (special_real_inputs): Add 2pi.
143         (calc_generic_results): Handle mpc_cc_c.
144         * sysdeps/i386/fpu/libm-test-ulps: Update.
145         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
147         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
148         csqrt, ctan and ctanh.
149         * math/auto-libm-test-out: Regenerated.
150         * math/libm-test.inc (TEST_COND_x86_64): New macro.
151         (TEST_COND_x86): Likewise.
152         (ccos_test_data): Use AUTO_TESTS_c_c.
153         (ccosh_test_data): Likewise.
154         (cexp_test_data): Likewise.
155         (clog_test_data): Likewise.
156         (csqrt_test_data): Likewise.
157         (ctan_test_data): Likewise.
158         (ctan_tonearest_test_data): Likewise.
159         (ctan_towardzero_test_data): Likewise.
160         (ctan_downward_test_data): Likewise.
161         (ctan_upward_test_data): Likewise.
162         (ctanh_test_data): Likewise.
163         (ctanh_tonearest_test_data): Likewise.
164         (ctanh_towardzero_test_data): Likewise.
165         (ctanh_downward_test_data): Likewise.
166         (ctanh_upward_test_data): Likewise.
167         * math/gen-auto-libm-tests.c (func_calc_method): Add value
168         mpc_c_c.
169         (func_calc_desc): Add mpc_c_c union field.
170         (FUNC_mpc_c_c): New macro.
171         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
172         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
173         ctanh.
174         (special_fill_min_subnorm_p120): New function.
175         (special_real_inputs): Add min_subnorm_p120.
176         (calc_generic_results): Handle mpc_c_c.
177         * sysdeps/i386/fpu/libm-test-ulps: Update.
178         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
180 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
182         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
183         do_sin_slow): New functions.
184         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
185         cslow2, csloww1, csloww2): Use the new functions.
187         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
188         Use M to change sign of result instead of X.  Assume X is
189         positive.
190         (csloww1): Likewise.
191         (__sin): Adjust.
192         (__cos): Adjust.
194         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
195         arguments A and DA.
196         (__sin): Adjust.
197         (__cos): Likewise.
199         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
200         (__cos): Likewise.
201         (sloww1): Don't adjust sign of DX.
202         (csloww1): Likewise.
203         (sloww2): Use X directly and don't adjust sign of DX.
204         (csloww2): Likewise.
206 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
208         * math/auto-libm-test-in: Add tests of cabs and carg.
209         * math/auto-libm-test-out: Regenerated.
210         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
211         (carg_test_data): Likewise.
212         * math/gen-auto-libm-tests.c (func_calc_method): Add value
213         mpc_c_f.
214         (func_calc_desc): Add mpc_c_f union field.
215         (test_functions): Add cabs and carg.
216         (calc_generic_results): Handle mpc_c_f.
218         * sysdeps/powerpc/powerpc32/libgcc-compat.S
219         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
220         as a macro and a compat symbol.
221         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
222         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
223         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
224         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
225         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
226         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
227         not use .hidden.
228         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
229         Likewise.
230         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
231         Likewise.
232         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
233         Likewise.
234         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
235         Likewise.
236         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
237         Likewise.
238         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
239         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
240         from GLIBC_2.3.2.
242 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
244         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
246 2013-12-19  Paul Pluzhnikov  <ppluzhnikov@google.com>
248         * elf/dl-misc.c (ptr_to_signal_safe_allocator_header): New function.
249         (__signal_safe_memalign, __signal_safe_free): Use it.
250         (__signal_safe_realloc): Likewise.
252 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
254         * manual/texinfo.tex: Update to version 2013-11-26.10 with
255         trailing whitespace removed.
256         * scripts/config.guess: Update to version 2013-11-29.
257         * scripts/config.sub: Update to version 2013-10-01.
259         * math/auto-libm-test-in: Add tests of sincos.
260         * math/auto-libm-test-out: Regenerated.
261         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
262         * math/gen-auto-libm-tests.c (func_calc_method): Add value
263         mpfr_f_11.
264         (func_calc_desc): Add mpfr_f_11 union field.
265         (test_functions): Add sincos.
266         (calc_generic_results): Handle mpfr_f_11.
267         * sysdeps/i386/fpu/libm-test-ulps: Update.
268         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
270 2013-12-19  Andreas Schwab  <schwab@suse.de>
272         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
273         CALL_MCOUNT.
274         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
275         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
276         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
278 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
280         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
281         * sysdeps/i386/fpu/libm-test-ulps: Update.
282         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
284         [BZ #16293]
285         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
286         round-to-nearest mode when using frndint.
287         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
288         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
289         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
290         Likewise.
291         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
292         sinh test to fail.
293         * math/auto-libm-test-out: Regenerated.
294         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
295         (TEST_COND_x86): Likewise.
296         (expm1_tonearest_test_data): New array.
297         (expm1_test_tonearest): New function.
298         (expm1_towardzero_test_data): New array.
299         (expm1_test_towardzero): New function.
300         (expm1_downward_test_data): New array.
301         (expm1_test_downward): New function.
302         (expm1_upward_test_data): New array.
303         (expm1_test_upward): New function.
304         (main): Run the new test functions.
305         * sysdeps/i386/fpu/libm-test-ulps: Update.
306         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
308         * include/features.h: Update comment documenting feature test
309         macros.  Mention _DEFAULT_SOURCE in comment.
310         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
311         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
312         _BSD_SOURCE and _SVID_SOURCE.
313         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
314         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
315         !_SVID_SOURCE]: Likewise.
316         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
317         (__USE_POSIX_IMPLICITLY): Define.
318         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
319         (_POSIX_SOURCE): Undefine and redefine.
320         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
321         (_POSIX_C_SOURCE): Likewise.
322         * manual/creature.texi (_DEFAULT_SOURCE): Document.
323         (Feature Test Macros): Update documentation of default features.
325 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
327         * benchtests/Makefile: Add bench-strtok.
328         * benchtests/bench-strtok.c: New file: strtok benchtest.
330 2013-12-19  Allan McRae  <allan@archlinux.org>
332         * manual/install.texi: Suppress menu for plain text output.
333         * INSTALL: Regenerated.
335 2013-12-18  Andrew Hunter  <ahh@google.com>
337         * sysdeps/generic/ldsodefs.h (__signal_safe_memalign): New prototype.
338         (__signal_safe_malloc, __signal_safe_free): Likewise.
339         (__signal_safe_realloc, __signal_safe_calloc): Likewise.
340         * elf/dl-misc.c (__signal_safe_allocator_header): New struct.
341         (__signal_safe_memalign, __signal_safe_malloc): New function.
342         (__signal_safe_free, __signal_safe_realloc): Likewise.
343         (__signal_safe_calloc): Likewise.
344         * elf/dl-tls.c (allocate_dtv, _dl_clear_dtv): Call signal-safe
345         functions.
346         (_dl_deallocate_tls, _dl_update_slotinfo): Likewise.
348 2013-12-18  Andrew Hunter  <ahh@google.com>
350         * elf/Versions (ld): Add _dl_clear_dtv.
351         * sysdeps/generic/ldsodefs.h (_dl_clear_dtv): New prototype.
352         * elf/dl-tls.c (_dl_clear_dtv): New function.
353         * nptl/allocatestack.c (get_cached_stack): Call _dl_clear_dtv.
355 2013-12-18  Andrew Hunter  <ahh@google.com>
357         * sysdeps/generic/ldsodefs.h (_dl_mask_all_signals): New prototype.
358         (_dl_unmask_signals): Likewise.
359         * sysdeps/mach/hurd/dl-sysdep.h (_dl_mask_all_signals): New stub.
360         (_dl_unmask_all_signals): Likewise.
361         * sysdeps/unix/sysv/linux/dl-sysdep.h (_dl_mask_all_signals): New prototype.
362         (_dl_unmask_all_signals): Likewise.
363         * sysdeps/unix/sysv/linux/dl-sysdep.c (_dl_mask_all_signals): New function.
364         (_dl_unmask_signals): Likewise.
366 2013-12-18  Brooks Moses  <bmoses@google.com>
368         [BZ #15846]
369         * misc/getauxval.c: Include errno.h.
370         (__getauxval): Set errno to ENOENT if the requested type is not
371         found.
372         * misc/sys/auxv.h (getauxval): Document that it may set errno;
373         don't declare with __attribute_const__.
374         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
375         * manual/startup.texi: Document that getauxval sets errno.
377 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
379         * math/auto-libm-test-in: Add tests of jn and yn.
380         * math/auto-libm-test-out: Regenerated.
381         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
382         (yn_test_data): Likewise.
383         * math/gen-auto-libm-tests.c (func_calc_method): Add value
384         mpfr_if_f.
385         (func_calc_desc): Add mpfr_if_f union field.
386         (FUNC_mpfr_if_f): New macro.
387         (test_functions): Add jn and yn.
388         (calc_generic_results): Assert type of second input for
389         mpfr_ff_f.  Handle mpfr_if_f.
390         (output_for_one_input_case): Disable all checking for arguments
391         fitting floating-point types in case of an integer argument.
392         * sysdeps/i386/fpu/libm-test-ulps: Update.
393         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
396         Don't expect fegetround reference in libm.so.
398 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
400         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
401         $(config-cflags-nofma).
403 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
405         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
406         * math/auto-libm-test-out: Regenerated.
408         [BZ #16338]
409         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
410         to determine exponent and adjust argument to have exponent of -1.
411         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
412         log2.
413         * math/auto-libm-test-out: Regenerated.
414         * sysdeps/i386/fpu/libm-test-ulps: Update.
415         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
417 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
419         * manual/probes.texi: Remove cases when per-thread arenas are
420         disabled.
422 2013-12-18  Andreas Schwab  <schwab@suse.de>
424         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
425         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
426         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
427         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
428         * sysdeps/i386/i686/multiarch/Makefile: Update.
429         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
431 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
433         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
434         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
436 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
438         Support TZ transition times < 00:00:00.
439         This is needed for version-3 tz-format files; it supports time
440         stamps past 2037 for America/Godthab (the only entry in the tz
441         database for which this change is relevant).
442         * manual/time.texi (TZ Variable): Document transition times
443         from -167:59:59 through -00:00:01.
444         * time/tzset.c (tz_rule): Time of day is now signed.
445         (__tzset_parse_tz): Parse negative time of day.
447         Document TZ transition times >= 25:00:00.
448         * manual/time.texi (TZ Variable): Document transition times from
449         25:00:00 through 167:59:59.  These are already supported, and this
450         support will help with version-3 tz-format files.
452         * manual/time.texi (TZ Variable): Modernize North America example
453         to reflect current (i.e., 2007-and-later) daylight saving rules.
455         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
457 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
459         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
460         * sysdeps/unix/bsd/bits/stat.h: Likewise.
461         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
462         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
463         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
464         * sysdeps/unix/bsd/bsdstat.h: Likewise.
465         * sysdeps/unix/bsd/clock.c: Likewise.
466         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
467         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
468         * sysdeps/unix/bsd/init-posix.c: Likewise.
469         * sysdeps/unix/bsd/poll.c: Likewise.
470         * sysdeps/unix/bsd/ptsname.c: Likewise.
471         * sysdeps/unix/bsd/seekdir.c: Likewise.
472         * sysdeps/unix/bsd/setegid.c: Likewise.
473         * sysdeps/unix/bsd/seteuid.c: Likewise.
474         * sysdeps/unix/bsd/setgid.c: Likewise.
475         * sysdeps/unix/bsd/setrgid.c: Likewise.
476         * sysdeps/unix/bsd/setruid.c: Likewise.
477         * sysdeps/unix/bsd/setsid.c: Likewise.
478         * sysdeps/unix/bsd/setuid.c: Likewise.
479         * sysdeps/unix/bsd/sigaction.c: Likewise.
480         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
481         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
482         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
483         * sysdeps/unix/bsd/telldir.c: Likewise.
484         * sysdeps/unix/bsd/times.c: Likewise.
485         * sysdeps/unix/bsd/usleep.c: Likewise.
487         * misc/Makefile (install-lib): Remove libbsd-compat.a.
488         ($(objpfx)libbsd-compat.a): Remove rule.
490         * include/features.h (__FAVOR_BSD): Do not define.
491         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
492         features conflicting with POSIX.
493         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
494         (_BSD_SOURCE): Remove description of not being a subset of other
495         feature test macros.
496         * manual/job.texi (getpgrp): Do not document BSD version.
497         (getpgid): Do not document by reference to BSD getpgrp.
498         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
499         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
500         * signal/signal.h [__FAVOR_BSD]: Likewise.
501         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
502         instead of making contents conditional on [__FAVOR_BSD].
503         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
505 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
507         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
509 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
511         [BZ #16314]
512         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
513         values below 2**-450, not 2**-500.
514         * math/auto-libm-test-in: Don't allow spurious underflow from
515         hypot.
516         * math/auto-libm-test-out: Regenerated.
518         [BZ #16316]
519         [BZ #16330]
520         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
521         values of ha and hb and sort them after adjusting subnormal
522         arguments.
523         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
524         Likewise.
525         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
526         values of ea and eb and sort them after adjusting subnormal
527         arguments.
528         * math/auto-libm-test-in: Do not expect some hypot tests of
529         subnormals to fail.  Add more hypot tests.
530         * math/auto-libm-test-out: Regenerated.
532 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
534         [BZ #13304]
535         * sysdeps/sh/s_fma.c: New file.
536         * sysdeps/sh/s_fmaf.c: New file.
537         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
538         version.
539         * sysdeps/sh/Implies: Add sh/soft-fp.
541 2013-12-16  Roland McGrath  <roland@hack.frob.com>
543         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
544         level of indirection to members `objname', `errstring', `malloced'.
545         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
546         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
547         it as the __longjmp argument (just pass 1 instead).
548         (_dl_catch_error): Initialize C with argument pointers and address of
549         volatile local ERRCODE rather than copying values out of C at return.
551 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
553         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
554         * math/auto-libm-test-out: Regenerated.
555         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
556         (hypot_test_data): Likewise.
557         (pow_test_data): Likewise.
558         (pow_tonearest_test_data): Likewise.
559         * math/gen-auto-libm-tests.c (func_calc_method): Add value
560         mpfr_ff_f.
561         (func_calc_desc): Add mpfr_ff_f union field.
562         (FUNC_mpfr_ff_f): New macro.
563         (test_functions): Add atan2, hypot and pow.
564         (special_fill_min): New function.
565         (special_fill_minus_min): Likewise.
566         (special_fill_min_subnorm): Likewise.
567         (special_fill_minus_min_subnorm): Likewise.
568         (special_real_inputs): Add min, -min, min_subnorm and
569         -min_subnorm.
570         (calc_generic_results): Handle mpfr_ff_f.
571         * sysdeps/i386/fpu/libm-test-ulps: Update.
572         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
574 2013-12-16  Will Newton  <will.newton@linaro.org>
576         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
577         (Aligned Memory Blocks): Add documentation for aligned_alloc
578         and suggest it as an alternative to posix_memalign.
579         (Hooks for Malloc): Document __memalign_hook is also called
580         for aligned_alloc.  (Summary of Malloc): Add summary for
581         aligned alloc.  Document __memalign_hook is also called
582         for aligned_alloc.
584 2013-12-16  Will Newton  <will.newton@linaro.org>
586         * manual/memory.texi (Malloc Examples): Clarify default
587         alignment documentation.  Suggest posix_memalign rather
588         than memalign or valloc.
589         (Aligned Memory Blocks): Remove suggestion to use memalign
590         or valloc.  Remove obsolete comment about BSD.
591         Document memalign errno values and mark the function obsolete.
592         Document posix_memalign returned error codes.  Mark valloc
593         as obsolete.  (Hooks for Malloc): __memalign_hook is also
594         called for posix_memalign and valloc.
595         (Summary of Malloc): Add posix_memalign to function summary.
596         __memalign_hook is also called for posix_memalign and valloc.
598 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
600         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
601         TAYLOR_SIN.
602         (__sin): Adjust.
603         (__cos): Likewise.
604         (sloww): Use mynumber union.  Expand ternary operator into
605         if-else statements.
606         (cslow): use mynumber union.
608 2013-12-16  Allan McRae  <allan@archlinux.org>
610         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
611         * configure: Regenerated.
613         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
615         [BZ #14120]
616         * configure.ac: Added --enable-maintainer-mode. Check for
617         autoconf when enabled.
618         * configure: Regenerated.
620         * nscd/nscd.service: New file.
621         * nscd/nscd.tmpfiles: New file.
623 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
625         [BZ #12100]
626         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
627         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
628         * sysdeps/x86_64/multiarch/strstr.c: ... here.
629         (strstr): Add __strstr_sse2_unaligned ifunc.
630         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
631         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
632         (strcasestr): Remove __strcasestr_sse42 ifunc.
633         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
634         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
635         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
637 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
639         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
640         * sysdeps/sh/bits/fenv.h: ... here.
641         * sysdeps/sh/sh4/fpu/bits: Remove directory.
643 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
645         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
647 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
649         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
650         hypotf multiarch implementations.
651         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
652         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
653         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
654         multiarch hypot for PPC64.
655         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
656         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
657         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
658         multiarch hypotf for PPC64.
660 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
662         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
663         modff multiarch implementations.
664         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
665         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
666         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
667         multiarch modf for PPC64.
668         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
669         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
670         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
671         multiarch modff for PPC64.
673 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
675         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
676         and logl multiarch implementations.
677         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
678         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
679         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
680         multiarch logb for PPC64.
681         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
682         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
683         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
684         multiarch logb for PPC64.
685         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
686         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
687         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
688         multiarch logb for PPC64.
690 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
692         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
693         isinff multiarch implementation.
694         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
695         file.
696         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
697         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
698         multiarch isinf for PPC64.
699         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
700         file.
701         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
702         multiarch isinff for PPC64.
704 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
706         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
707         finitef multiarch implementation.
708         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
709         file.
710         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
711         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
712         multiarch finite for PPC64.
713         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
714         file.
715         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
716         multiarch finitef for PPC64.
718 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
720         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
721         lrint multiarch implementation.
722         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
723         file.
724         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
725         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
726         multiarch llrint for PPC64.
727         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
728         multiarch lrint for PPC64.
730 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
732         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
733         copysignf multiarch implementation.
734         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
735         file.
736         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
737         file.
738         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
739         multiarch copysign for PPC64.
740         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
741         multiarch copysignf for PPC64.
743 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
745         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
746         multiarch implementation.
747         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
748         file.
749         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
750         file.
751         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
752         file.
753         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
754         file.
755         multiarch llround for PPC64.
756         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
757         multiarch trunc for PPC64.
758         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
759         multiarch truncf for PPC64.
761 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
763         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
764         multiarch implementation.
765         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
766         file.
767         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
768         file.
769         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
770         file.
771         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
772         file.
773         multiarch llround for PPC64.
774         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
775         multiarch round for PPC64.
776         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
777         multiarch roundf for PPC64.
779 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
781         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
782         multiarch implementation.
783         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
784         file.
785         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
786         file.
787         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
788         file.
789         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
790         file.
791         multiarch llround for PPC64.
792         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
793         multiarch floor for PPC64.
794         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
795         multiarch floorf for PPC64.
797 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
799         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
800         multiarch implementation.
801         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
802         file.
803         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
804         file.
805         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
806         file.
807         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
808         file.
809         multiarch llround for PPC64.
810         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
811         multiarch ceil for PPC64.
812         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
813         multiarch ceilf for PPC64.
815 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
817         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
818         multiarch implementation.
819         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
820         file.
821         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
822         file.
823         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
824         file.
825         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
826         multiarch llround for PPC64.
827         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
828         multiarch lround for PPC64.
830 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
832         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
833         multiarch implementation.
834         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
835         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
836         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
837         file.
838         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
839         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
840         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
841         multiarch isnan for PPC64.
842         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
843         multiarch isnanf for PPC64.
845 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
847         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
848         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
849         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
850         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
851         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
854 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
856         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
857         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
858         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
859         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
861 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
863         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
864         multiarch implementations.
865         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
866         (__libc_ifunc_impl_list): Likewise.
867         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
868         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
869         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
870         multiarch stpcpy for PPC64.
872 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
874         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
875         multiarch implementations.
876         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
877         (__libc_ifunc_impl_list): Likewise.
878         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
879         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
880         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
881         multiarch strcpy for PPC64.
883 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
885         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
886         redefine function name.
887         (_wordcopy_fwd_dest_aligned): Likewise.
888         (_wordcopy_bwd_aligned): Likewise.
889         (_wordcopy_bwd_dest_aligned): Likewise.
890         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
891         multiarch implementations.
892         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
893         (__libc_ifunc_impl_list): Likewise.
894         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
895         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
896         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
897         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
898         multiarch wcscpy for PPC64.
900 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
902         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
903         multiarch implementations.
904         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
905         (__libc_ifunc_impl_list): Likewise.
906         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
907         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
908         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
909         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
910         multiarch wcscpy for PPC64.
912 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
914         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
915         multiarch implementations.
916         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
917         (__libc_ifunc_impl_list): Likewise.
918         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
919         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
920         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
921         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
922         multiarch wcsrchr for PPC64.
924 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
926         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
927         multiarch implementations.
928         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
929         (__libc_ifunc_impl_list): Likewise.
930         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
931         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
932         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
933         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
934         multiarch wcschr for PPC64.
936 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
938         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
939         multiarch implementations.
940         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
941         (__libc_ifunc_impl_list): Likewise.
942         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
943         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
944         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
945         multiarch strchrnul for PPC64.
947 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
949         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
950         implementations.
951         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
952         (__libc_ifunc_impl_list): Likewise.
953         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
954         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
955         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
956         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
957         strchr for PPC64.
959 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
961         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
962         implementations.
963         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
964         (__libc_ifunc_impl_list): Likewise.
965         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
966         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
967         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
968         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
969         strncmp for PPC64.
971 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
973         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
974         multiarch implementations.
975         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
976         (__libc_ifunc_impl_list): Likewise.
977         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
978         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
979         strncasecmp for PPC64.
980         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
981         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
982         multiarch strncasecmp_l for PPC64.
984 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
986         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
987         multiarch implementations.
988         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
989         (__libc_ifunc_impl_list): Likewise.
990         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
991         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
992         multiarch strcasecmp for PPC64.
993         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
994         file.
995         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
996         multiarch strcasecmp_l for PPC64.
998 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1000         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
1001         implementations.
1002         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1003         (__libc_ifunc_impl_list): Likewise.
1004         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
1005         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
1006         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
1007         strnlen for PPC64.
1009 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1011         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
1012         implementations.
1013         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1014         (__libc_ifunc_impl_list): Likewise.
1015         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
1016         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
1017         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
1018         strlen for PPC64.
1020 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1022         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
1023         implementations.
1024         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1025         (__libc_ifunc_impl_list): Likewise.
1026         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
1027         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
1028         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
1029         rawmemrchr for PPC64.
1031 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1033         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
1034         implementation.
1035         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1036         (__libc_ifunc_impl_list): Likewise.
1037         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
1038         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
1039         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
1040         memrchr for PPC64.
1042 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1044         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
1045         implementation.
1046         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1047         (__libc_ifunc_impl_list): Likewise.
1048         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
1049         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
1050         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
1051         memchr for PPC64.
1053 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1055         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
1056         implementation.
1057         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1058         (__libc_ifunc_impl_list): Likewise.
1059         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
1060         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
1061         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
1062         mempcpy for PPC64.
1064 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1066         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
1067         avoid cretion of __bzero symbol.
1068         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
1069         Likewise.
1070         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
1071         Likewise.
1072         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
1073         Likewise.
1074         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
1075         multiarch implementations.
1076         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1077         (__libc_ifunc_impl_list): Likewise.
1078         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
1079         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
1080         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
1081         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
1082         bzero for PPC32.
1083         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
1084         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
1085         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
1086         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
1087         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
1088         memset for PPC64.
1089         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
1091 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1093         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
1094         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
1095         implementations.
1096         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1097         (__libc_ifunc_impl_list): Likewise.
1098         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
1099         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
1100         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
1101         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
1102         memcmp for PPC64.
1104 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1106         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
1107         multiarch for POWER/PPC64.
1108         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1109         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
1110         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
1111         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
1112         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
1113         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
1114         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
1115         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
1116         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
1117         memcpy for PPC64.
1119 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1121         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
1122         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
1123         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
1124         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
1125         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
1126         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
1127         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
1128         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
1129         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
1130         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
1131         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
1132         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
1133         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
1134         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
1135         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
1136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
1137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
1138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
1139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
1140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
1141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
1142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
1144 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1146         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
1148 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
1150         * benchtests/Makefile (bench): Add exp2 and log2.
1151         (LDLIBS-bench-exp2): Add -lm.
1152         (LDLIBS-bench-log2): Likewise.
1153         * benchtests/exp2-inputs: New inputs file.
1154         * benchtests/log2-inputs: New inputs file.
1155         * benchtests/log-inputs: Add new inputs.
1156         * benchtests/tan-inputs: Likewise.
1158 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
1160         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
1161         definition...
1162         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
1163         csloww1, csloww2): ... from here.
1165         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
1166         instead of structures.
1167         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
1168         (POLYNOMIAL): Likewise.
1169         (TAYLOR_SLOW): Likewise.
1170         (__sin): Likewise.
1171         (__cos): Likewise.
1172         (slow1): Likewise.
1173         (slow2): Likewise.
1174         (sloww): Likewise.
1175         (sloww1); Likewise.
1176         (sloww2): Likewise.
1177         (bsloww1): Likewise.
1178         (bsloww2): Likewise.
1179         (cslow2): Likewise.
1180         (csloww): Likewise.
1181         (csloww1): Likewise.
1182         (csloww2): Likewise.
1184 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
1186         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
1187         (__malloc_assert, __libc_realloc, __libc_calloc,
1188         _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
1189         memcpy and memset.
1190         * malloc/hooks.c (realloc_check): Likewise.
1192 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
1194         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
1195         * malloc/arena.c: Remove PER_THREAD conditional.
1196         [!PER_THREAD]: Remove code.
1197         (ptmalloc_unlock_all2): Likewise.
1198         (ptmalloc_init): Likewise.
1199         (_int_new_arena): Likewise.
1200         (arena_get2): Likewise.
1201         * malloc/hooks.c (__malloc_get_state): Likewise.
1202         (__malloc_set_state): Likewise.
1203         * malloc/malloc.c: Likewise.
1204         (struct malloc_state): Likewise.
1205         (struct malloc_par): Likewise.
1206         (__libc_realloc): Likewise.
1207         (__libc_mallopt): Likewise.
1209 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1211         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
1213 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
1215         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
1216         macro to a function.  Check for zero perturb_byte.
1217         (_int_malloc, _int_free): Remove zero perturb_byte checks.
1219 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
1221         * malloc/malloc.c: (force_reg): Remove.
1222         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
1223         _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
1224         force_reg by atomic_forced_read.
1225         * malloc/arena.c (ptmalloc_init): Likewise.
1226         * malloc/hooks.c (top_check): Likewise.
1228 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1230         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1232 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
1234         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1236 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
1238         * math/auto-libm-test-in: Add tests of lgamma.
1239         * math/auto-libm-test-out: Regenerated.
1240         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
1241         (M_LOG_2_SQRT_PIl): Likewise.
1242         (lgamma_test_data): Use AUTO_TESTS_f_f1.
1243         * math/gen-auto-libm-tests.c (func_calc_method): Add value
1244         mpfr_f_f1.
1245         (func_calc_desc): Add mpfr_f_f1 union field.
1246         (ARGS1): New macro.
1247         (ARGS2): Likewise.
1248         (ARGS3): Likewise.
1249         (ARGS4): Likewise.
1250         (RET1): Likewise.
1251         (RET2): Likewise.
1252         (CALC): Likewise.
1253         (FUNC): Likewise.
1254         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
1255         (test_functions): Add lgamma.
1256         (calc_generic_results): Handle mpfr_f_f1.
1257         * sysdeps/i386/fpu/libm-test-ulps: Update.
1258         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1260 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1262         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
1263         __mpn_add_n for PowerPC64/POWER7.
1264         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
1265         __mpn_sub_n for PowerPC64/POWER7.
1267 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1269         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
1270         __mpn_addmul_1 for PowerPC64.
1271         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
1272         __mpn_submul_1 for PowerPC64.
1273         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
1274         for PowerPC64.
1275         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
1276         for PowerPC64.
1278 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
1280         [BZ #15089]
1281         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
1283 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1285         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
1287 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1289         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
1290         add multiarch folders.
1291         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
1292         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
1293         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
1294         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
1295         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
1296         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
1297         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
1298         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
1299         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
1300         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
1301         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
1302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
1303         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
1304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
1305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
1306         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
1307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
1309 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1311         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
1312         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
1313         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
1314         New file.
1315         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
1316         New file.
1317         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
1318         multiarch __ieee754_hypot for PowerPC32.
1319         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
1320         New file.
1321         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
1322         New file.
1323         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
1324         multiarch __ieee754_hypotf for PowerPC32.
1326 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1328         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
1329         long_double_symbol only if __logbl is defined.
1330         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
1331         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
1332         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
1333         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
1334         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
1335         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
1336         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
1337         path for implementation.
1338         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
1339         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
1340         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
1341         logb, and logbl multiarch implementations for PowerPC32.
1342         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
1343         file.
1344         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
1345         file.
1346         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
1347         multiarch logb for PowerPC32.
1348         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
1349         file.
1350         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
1351         file.
1352         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
1353         multiarch logbf for PowerPC32.
1354         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
1355         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
1356         file.
1357         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
1358         multiarch logbl implementation for PowerPC32.
1360 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1362         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
1363         and modff multiarch implementations.
1364         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
1365         New file.
1366         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
1367         New file.
1368         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
1369         multiarch modf for PowerPC32.
1370         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
1371         New file.
1372         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
1373         New file.
1374         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
1375         multiarch modff for PowerPC32.
1377 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1379         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
1380         and lrintf multiarch implementations.
1381         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
1382         New file.
1383         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
1384         New file.
1385         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
1386         multiarch lrint for PowerPC32.
1387         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
1388         file: multiarch lrintf for PowerPC32.
1390 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1392         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
1393         and lroundf multiarch implementations.
1394         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
1395         New file.
1396         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
1397         New file.
1398         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
1399         New file.
1400         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
1401         multiarch lround for PowerPC32.
1402         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
1403         file: multiarch lroundf for PowerPC32.
1405 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1407         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
1408         copysign and copysignf multiarch implementations.
1409         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
1410         New file.
1411         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
1412         New file.
1413         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
1414         file: multiarch copysign for PowerPC32.
1415         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
1416         file: multiarch copysignf for PowerPC32.
1418 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1420         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
1421         and truncf multiarch implementations.
1422         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
1423         New file.
1424         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
1425         file.
1426         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
1427         multiarch trunc for PowerPC32.
1428         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
1429         New file.
1430         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
1431         New file.
1432         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
1433         multiarch truncf for PowerPC32.
1435 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1437         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
1438         and roundf multiarch implementations.
1439         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
1440         New file.
1441         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
1442         file.
1443         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
1444         multiarch round for PowerPC32.
1445         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
1446         New file.
1447         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
1448         New file.
1449         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
1450         multiarch roundf for PowerPC32.
1452 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1454         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
1455         and floorf multiarch implementations.
1456         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
1457         New file.
1458         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
1459         file.
1460         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
1461         multiarch floor for PowerPC32.
1462         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
1463         New file.
1464         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
1465         New file.
1466         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
1467         multiarch floorf for PowerPC32.
1469 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1471         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
1472         and ceilf multiarch implementations.
1473         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
1474         New file.
1475         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
1476         file.
1477         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
1478         multiarch ceil for PowerPC32.
1479         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
1480         New file.
1481         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
1482         file.
1483         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
1484         multiarch ceilf for PowerPC32.
1486 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1488         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
1489         is defined.
1490         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
1491         FINITEF is defined.
1492         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
1493         and finitef multiarch implementations.
1494         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
1495         New file.
1496         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
1497         file.
1498         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
1499         multiarch finite for PowerPC32.
1500         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
1501         New file.
1502         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
1503         file: multiarch finitef for PowerPC32.
1505 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1507         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
1508         and isinff multiarch implementations.
1509         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
1510         file.
1511         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
1512         file.
1513         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
1514         multiarch isinf for PowerPC32.
1515         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
1516         New file.
1517         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
1518         multiarch isinff for PowerPC32.
1520 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1522         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
1523         alias when __isnan is defined.
1524         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
1525         and isnanf multiarch implementations.
1526         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
1527         file.
1528         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
1529         file.
1530         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
1531         file.
1532         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
1533         file.
1534         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
1535         multiarch isnan for PowerPC32.
1536         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
1537         New file.
1538         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
1539         New file.
1540         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
1541         multiarch isnanf for PowerPC32.
1543 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1545         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
1546         and sqrtf multiarch implementations.
1547         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
1548         file.
1549         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
1550         file.
1551         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
1552         multiarch sqrt for PowerPC32.
1553         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
1554         file.
1555         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
1556         file.
1557         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
1558         multiarch sqrtf for PowerPC32.
1560 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1562         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
1563         and llroundf multiarch implementations.
1564         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
1565         New file.
1566         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
1567         New file.
1568         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
1569         New file.
1570         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
1571         file: multiarch llround for PowerPC32.
1572         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
1573         file: multiarch llroundf for PowerPC32.
1575 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1577         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
1578         multiarch PowerPC32 fpu implementations.
1579         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
1580         New file.
1581         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
1582         New file.
1583         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
1584         multiarch llrint for PowerPC32.
1585         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
1586         New file.
1587         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
1588         New file.
1589         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
1590         file.
1592 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
1596 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1598         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
1599         file.
1600         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
1601         file.
1602         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
1603         file.
1604         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
1605         multiarch wordcopy for PPC32.
1606         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
1607         wordcopy objects.
1608         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1609         (__libc_ifunc_impl_list): Likewise.
1610         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
1611         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
1612         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
1613         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
1614         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
1615         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
1617 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1619         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
1620         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
1621         file.
1622         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
1623         file.
1624         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
1625         file.
1626         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
1627         multiarch wcscpy for PPC32.
1628         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
1629         multiarch objects.
1630         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1631         (__libc_ifunc_impl_list): Likewise.
1632         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
1633         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
1634         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
1635         sysdeps/powerpc/power6/wcscpy.c.
1637 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1639         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
1640         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
1641         file.
1642         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
1643         file.
1644         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
1645         file.
1646         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
1647         multiarch wcsrchr for PPC32.
1648         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
1649         multiarch objects.
1650         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1651         (__libc_ifunc_impl_list): Likewise.
1652         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
1653         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
1654         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
1655         sysdeps/powerpc/power6/wcsrchr.c.
1657 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1659         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
1660         file.
1661         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
1662         file.
1663         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
1664         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
1665         multiarch wcschr for PPc32.
1666         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
1667         multiarch objects.
1668         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1669         (__libc_ifunc_impl_list): Likewise.
1670         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
1671         * sysdeps/powerpc/power6/wcschr.c: ... to here.
1672         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
1673         sysdeps/powerpc/power6/wcschr.c.
1675 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1677         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
1678         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
1679         file.
1680         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
1681         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
1682         file: multiarch strchr for PPC32.
1683         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
1684         multiarch objects.
1685         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1686         (__libc_ifunc_impl_list): Likewise.
1688 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1690         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
1691         name.
1692         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
1693         file.
1694         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
1695         file.
1696         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
1697         multiarch strchrnul for PPC32.
1698         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
1699         multiarch objects.
1700         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1701         (__libc_ifunc_impl_list): Likewise.
1703 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1705         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
1706         file.
1707         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
1708         multiarch strncasecmp for PPC32.
1709         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
1710         file.
1711         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
1712         multiarch strncasecmp_l for PPC32.
1713         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
1714         strncasecmp multiarch objects.
1715         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1716         (__libc_ifunc_impl_list): Likewise.
1718 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1720         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
1721         file.
1722         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
1723         multiarch strncasecmp for PPC32.
1724         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
1725         New file.
1726         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
1727         multiarch strcasecmp_l for PPC32.
1728         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
1729         multiarch objects.
1730         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1731         (__libc_ifunc_impl_list): Likewise.
1733 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1735         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
1736         file.
1737         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
1738         file.
1739         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
1740         multiarch strncmp for PPC32.
1741         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
1742         multiarch objects.
1743         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1744         (__libc_ifunc_impl_list): Likewise.
1746 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1748         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
1749         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
1750         file.
1751         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
1752         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
1753         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
1754         multiarch objects.
1755         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1756         (__libc_ifunc_impl_list): Likewise.
1758 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1760         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
1761         file.
1762         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
1763         file.
1764         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
1765         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
1766         multiarch objects.
1767         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1768         (__libc_ifunc_impl_list): Likewise.
1770 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1772         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
1773         file.
1774         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
1775         file.
1776         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
1777         multiarch rawmemchr for PPC32.
1778         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
1779         multiarch objects.
1780         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1781         (__libc_ifunc_impl_list): Likewise.
1783 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1785         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
1786         file.
1787         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
1788         file.
1789         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
1790         file: memrchr multiarch for PPC32.
1791         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
1792         multiarch objects.
1793         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1794         (__libc_ifunc_impl_list): Likewise.
1796 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1798         * string/memchr.c (__memchr): Using macro to redefine symbol name.
1799         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
1800         file.
1801         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
1802         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
1803         multiarch memchr for PPC32.
1804         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
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         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
1812         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
1813         file.
1814         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
1815         file.
1816         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
1817         file: multiarch mempcpy for PPC32.
1818         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
1819         multiarch objects.
1820         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1821         (__libc_ifunc_impl_list): Likewise.
1823 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1825         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
1826         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
1827         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
1828         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
1829         multiarch bzero for PPC32.
1830         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
1831         file.
1832         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
1833         file.
1834         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
1835         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
1836         file: multiarch memset for PPC32.
1837         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
1838         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
1839         memset multiarch objects.
1840         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1841         (__libc_ifunc_impl_list): Likewise.
1843 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1845         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
1846         file.
1847         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
1848         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
1849         memcmp for PPC32.
1850         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
1851         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
1852         multiarch objects.
1853         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1854         (__libc_ifunc_impl_list): Likewise.
1856 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1858         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
1859         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
1860         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
1861         file.
1862         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
1863         file.
1864         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
1865         file.
1866         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
1867         multiarch memcpy for PPC32.
1868         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
1869         multiarch objects.
1870         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1871         (__libc_ifunc_impl_list): Likewise.
1873 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1875         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
1876         support multiarch for POWER/PPC32.
1877         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
1878         Likewise.
1879         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
1880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
1881         Implies file to make multiarch folder appers before the fpu and
1882         default folder for power4 configuration.
1884 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
1886         * scripts/bench.pl: Append volatile keyword to type.
1888 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1890         * sysdeps/sh/sotruss-lib.c: New file.
1891         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
1893 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1895         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1897 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
1899         [BZ #6810]
1900         * math/w_tgamma.c: Include <errno.h>.
1901         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
1902         * math/w_tgammaf.c: Include <errno.h>.
1903         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
1904         * math/w_tgammal.c: Include <errno.h>.
1905         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
1906         * math/auto-libm-test-in: Do not allow missing errno on tgamma
1907         underflow.  Add more tgamma tests.
1908         * math/auto-libm-test-out: Regenerated.
1909         * sysdeps/i386/fpu/libm-test-ulps: Update.
1910         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1912         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
1913         sin, sinh, tan, tanh, tgamma, y0 and y1.
1914         * math/auto-libm-test-out: Regenerated.
1915         * math/libm-test.inc (TEST_COND_x86_64): New macro.
1916         (TEST_COND_x86): Likewise.
1917         (M_E2l): Remove macro.
1918         (M_E3l): Likewise.
1919         (M_2_SQRT_PIl): Likewise.
1920         (M_SQRT_PIl): Likewise.
1921         (M_1_DIV_El): Likewise.
1922         (log_test_data): Use AUTO_TESTS_f_f.
1923         (log10_test_data): Likewise.
1924         (log1p_test_data): Likewise.
1925         (log2_test_data): Likewise.
1926         (sin_test_data): Likewise.
1927         (sin_tonearest_test_data): Likewise.
1928         (sin_towardzero_test_data): Likewise.
1929         (sin_downward_test_data): Likewise.
1930         (sin_upward_test_data): Likewise.
1931         (sinh_test_data): Likewise.
1932         (sinh_tonearest_test_data): Likewise.
1933         (sinh_towardzero_test_data): Likewise.
1934         (sinh_downward_test_data): Likewise.
1935         (sinh_upward_test_data): Likewise.
1936         (tan_test_data): Likewise.
1937         (tan_tonearest_test_data): Likewise.
1938         (tan_towardzero_test_data): Likewise.
1939         (tan_downward_test_data): Likewise.
1940         (tan_upward_test_data): Likewise.
1941         (tanh_test_data): Likewise.
1942         (tgamma_test_data): Likewise.
1943         (y0_test_data): Likewise.
1944         (y1_test_data): Likewise.
1945         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
1946         (special_real_inputs): Add pi/4.
1947         * sysdeps/i386/fpu/libm-test-ulps: Update.
1948         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1950 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1952         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
1953         "longjmp_target" static probes.
1954         (__longjmp): Rename to __longjmp_symbol.
1955         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
1956         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
1957         on which longjmp to generate.
1958         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
1959         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
1960         probe.
1961         (__sigsetjmp): Rename to __sigsetjmp_symbol.
1962         (__sigjmp_save): Rename to __sigjmp_save_symbol.
1963         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
1964         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
1965         and __sigjmp_save_symbol based on which sigsetjmp to generated.
1966         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
1967         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
1968         __longjmp_symbol based on which __longjmp to generate.
1969         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
1970         probe.
1971         (setjmp): Rename to setjmp_symbol.
1972         (__sigsetjmp): Rename to __sigsetjmp_symbol.
1973         (_setjmp): Rename to _setjmp_symbol.
1974         (__sigsetjmp): Rename to __sigsetjmp_symbol.
1975         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
1976         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
1977         which setjmp to generate.
1978         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
1979         "longjmp_target" static probes.
1981 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
1983         * benchtests/README: Add note about output arguments.
1984         * benchtests/bench-sincos.c: Remove file.
1985         * benchtests/sincos-inputs: New file.
1986         * scripts/bench.pl: Identify output arguments and define
1987         static variables for them.
1989         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
1991         [BZ #15941]
1992         * Makefile (INSTALL): Add install-plain.texi as the primary
1993         dependency.
1994         * manual/install-plain.texi: New file.
1995         * manual/install.texi: Include node directive only for
1996         non-plaintext output.
1998 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
2000         * stdlib/longlong.h: Update from GCC.
2002         [BZ #6807]
2003         [BZ #15901]
2004         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
2005         * math/w_j0f.c (y0f): Likewise.
2006         * math/w_j0l.c (__y0l): Likewise.
2007         * math/w_j1.c (y1): Likewise.
2008         * math/w_j1f.c (y1f): Likewise.
2009         * math/w_j1l.c (__y1l): Likewise
2010         * math/w_jn.c (yn): Likewise.
2011         * math/w_jnf.c (ynf): Likewise.
2012         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
2013         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
2014         value for Bessel function domain errors outside _SVID_ mode.
2015         Adjust sign of return value for yn (negative integer, 0).
2016         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
2017         by zero in return for negative x and set sign appropriately for
2018         negative n.
2019         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
2020         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
2021         * math/libm-test.inc (y0_test_data): Add more tests and adjust
2022         expectations in error cases.
2023         (y1_test_data): Likewise.
2024         (yn_test_data): Likewise.
2025         * sysdeps/i386/fpu/libm-test-ulps: Update.
2026         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2028 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2030         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
2031         "64" to "64-v1".  Add "64-v2".
2032         (abi-64-options): Rename to ...
2033         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
2034         (abi-64-condition): Rename to ...
2035         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
2036         (abi-64-ld-soname): Rename to ...
2037         (abi-64-v1-ld-soname): ... this.
2038         (abi-64-v2-options): Define.
2039         (abi-64-v2-condition): Likewise.
2040         (abi-64-v2-ld-soname): Likewise.
2041         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
2042         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
2043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
2044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
2045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
2047 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2048             Alan Modra  <amodra@gmail.com>
2050         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
2051         New versions for use with the ELFv2 ABI.
2052         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
2053         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
2054         declaration.
2055         (struct La_ppc64v2_retval): Likewise.
2056         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
2057         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
2058         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
2059         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
2060         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
2061         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
2062         Do not save or restore CR.
2063         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
2064         (_dl_profile_resolve): Do no save or restore CR.  Support extended
2065         return values for ELFv2 ABI.  Fix location of FPR return registers.
2066         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
2067         updated values for _CALL_ELF == 2.
2068         (La_regs, La_retval, int_retval): Likewise.
2070 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2072         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
2073         (FRAME_MIN_SIZE_PARM): Likewise.
2074         (FRAME_BACKCHAIN): Likewise.
2075         (FRAME_CR_SAVE): Likewise.
2076         (FRAME_LR_SAVE): Likewise.
2077         (FRAME_TOC_SAVE): Likewise.
2078         (FRAME_PARM_SAVE): Likewise.
2079         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2080         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2081         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2082         (call_mcount_parm_offset): New macro.
2083         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
2084         (PROF): Use symbolic stack frame offsets.
2085         (TAIL_CALL_SYSCALL_ERROR): Likewise.
2086         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
2087         Redefine in terms of FRAME_MIN_SIZE.
2088         (_dl_runtime_resolve): Use symbolic stack frame offsets.
2089         (_dl_profile_resolve): Likewise.  Update comment.
2090         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
2091         symbols stack frame offsets.
2092         (__sigsetjmp): Likewise.
2093         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
2094         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
2095         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
2096         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
2098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
2099         (FRAME_BACKCHAIN): Remove.
2100         (FRAME_CR_SAVE): Likewise.
2101         (FRAME_LR_SAVE): Likewise.
2102         (FRAME_COMPILER_DW): Likewise.
2103         (FRAME_LINKER_DW): Likewise.
2104         (FRAME_TOC_SAVE): Likewise.
2105         (FRAME_PARM_SAVE): Likewise.
2106         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2107         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2108         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
2110         (CHECK_SP): Use symbolic stack frame offsets.
2111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
2112         zone" instead of caller's parameter save area for temp storage.
2113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
2114         Likewise.  Also, use symbolic stack frame offsets.
2115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
2116         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
2117         our own stack frame instead of the caller's.
2118         (__socket): Use symbolic stack frame offsets.
2120 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2121             Alan Modra  <amodra@gmail.com>
2123         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
2124         Define.
2125         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
2126         PPC64_LOCAL_ENTRY_OFFSET): Define.
2127         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
2128         New function.
2129         (elf_machine_fixup_plt): Call it.
2130         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
2131         reloc arguments.
2132         (elf_machine_rela): Update call to elf_machine_plt_conflict.
2133         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2134         _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
2135         r2 before calling target.
2137 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2138             Alan Modra  <amodra@gmail.com>
2140         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
2141         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
2142         versions of macros to support ELFv2 ABI.
2143         (LOCALENTRY): New macro.
2144         (ENTRY, EALIGN): Use it.
2145         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
2146         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
2147         fall through into ENTRY entry point.
2148         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
2149         Only define if _CALL_ELF != 2.
2151         (elf_machine_matches_host): Verify ABI version matches.
2152         (RTLD_START): Use LOCALENTRY.
2153         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
2154         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
2155         (PLT_ENTRY_WORDS): New macro.
2156         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
2157         (elf_machine_runtime_setup): Support ELFv2 ABI.
2158         (elf_machine_fixup_plt): Likewise.
2159         (elf_machine_plt_conflict): Likewise.
2160         (resolve_ifunc): Likewise.
2161         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
2162         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
2163         Likewise.
2164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
2165         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
2166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2167         (makecontext): Support ELFv2 ABI.
2168         * elf/elf.h (EF_PPC64_ABI): Define.
2170 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2172         * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
2173         New assembler macro.
2174         [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
2175         [ASSEMBLER] (ENTRY): ... but instead here ...
2176         [ASSEMBLER] (EALIGN): ... and here.
2177         [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
2178         [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
2179         [!ASSEMBLER] (ENTRY_2): Use it.
2180         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
2181         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
2182         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2183         _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
2184         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
2185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
2186         Use PPC64_LOAD_FUNCPTR.
2188 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2190         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
2192 2013-12-04  Alan Modra  <amodra@gmail.com>
2194         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
2195         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
2196         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
2197         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
2199         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
2200         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
2201         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
2202         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
2203         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
2204         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
2206 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2209         (__makecontext): Fix incorrect CFI when backtracing out of
2210         context created via makecontext.
2211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
2212         (__setcontext): Fix incorrect CFI during switch to new context.
2213         (__novec_setcontext): Likewise.
2215 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
2217         [BZ #4772]
2218         * time/strptime_l.c (__strptime_internal): Allow modifiers
2219         in strptime.
2220         * time/tst-strptime.c (day_tests): Add testcase.
2223 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
2225         * scripts/bench.pl: Skip over blank lines.
2227 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
2229         [BZ #926]
2230         * manual/time.texi (Calendar Time): Clarify what timezone functions
2231         use.
2233 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2235         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2237 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
2239         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
2240         implementation.
2241         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
2242         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
2243         * debug/memset_chk.c (__memset_chk): Likewise.
2244         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
2245         * debug/strncpy_chk.c: Likewise.
2247 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
2249         [BZ #15268]
2250         [BZ #15425]
2251         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
2252         (__ieee754_exp): For possibly underflowing results, check size of
2253         result and force underflow exception if required.
2254         * math/auto-libm-test-in: Add more tests of exp.
2255         * math/auto-libm-test-out: Regenerated.
2256         * sysdeps/i386/fpu/libm-test-ulps: Update.
2257         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2259         [BZ #16283]
2260         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
2261         * math/w_exp2f.c (__exp2f): Likewise.
2262         * math/w_exp2l.c (__exp2l): Likewise.
2263         * math/auto-libm-test-in: Do not allow missing errno on exp2
2264         underflow.
2265         * math/auto-libm-test-out: Regenerated.
2267 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
2269         [BZ #16274]
2270         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
2271         handle filename validation.
2272         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
2273         (do_open): Delete.
2275 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
2277         [BZ #6786]
2278         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
2279         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
2280         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
2281         <float.h>.
2282         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
2283         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
2284         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2285         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
2286         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2287         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
2288         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2289         * math/auto-libm-test-in: Don't allow missing errno from erfc.
2290         Add more erfc tests.
2291         * math/auto-libm-test-out: Regenerated.
2292         * sysdeps/i386/fpu/libm-test-ulps: Update.
2293         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2295         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
2296         exp2, expm1, j0 and j1.
2297         * math/auto-libm-test-out: Regenerated.
2298         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
2299         (erfc_test_data): Likewise.
2300         (exp_test_data): Likewise.
2301         (exp_tonearest_test_data): Likewise.
2302         (exp_towardzero_test_data): Likewise.
2303         (exp_downward_test_data): Likewise.
2304         (exp_upward_test_data): Likewise.
2305         (exp10_test_data): Likewise.
2306         (exp2_test_data): Likewise.
2307         (expm1_test_data): Likewise.
2308         (j0_test_data): Likewise.
2309         (j1_test_data): Likewise.
2310         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
2311         (input_flag_type): Add flag_xfail_rounding.
2312         (input_flags): Add xfail-rounding.
2313         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
2314         (output_for_one_input_case): Handle flag_xfail_rounding.
2315         * sysdeps/i386/fpu/libm-test-ulps: Update.
2316         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2318 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
2320         [BZ #16289]
2321         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
2322         division by 0.
2324 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
2326         [BZ #16195]
2327         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
2328         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
2329         (STAP_PROBE0): New macro.
2330         (STAP_PROBE1): Likewise.
2331         (STAP_PROBE2): Likewise.
2332         (STAP_PROBE3): Likewise.
2333         (STAP_PROBE4): Likewise.
2335 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
2337         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
2339 2013-12-02  Steve Ellcey  <sellcey@mips.com>
2341         * benchtests/Makefile (bench): Add sqrt.
2342         (LDLIBS-bench-sqrt): New.
2343         * benchtests/sqrt-input: New.
2345 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
2347         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
2348         (GAIH_EAI): Likewise.
2349         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
2350         (gaih_inet): Likewise.
2351         (getaddrinfo): Don't use GAIH_EAI.
2353         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
2354         (struct gaih): Remove definition.
2356 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
2358         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
2359         Use HERRNOP directly.
2361 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2363         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2365 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
2367         * math/gen-auto-libm-tests.c (test_functions): Add more
2368         single-argument functions.
2369         (special_fill_pi_2): New function.
2370         (special_fill_minus_pi_2): Likewise.
2371         (special_fill_pi_6): Likewise.
2372         (special_fill_minus_pi_6): Likewise.
2373         (special_fill_pi_3): Likewise.
2374         (special_fill_2pi_3): Likewise.
2375         (special_fill_e): Likewise.
2376         (special_fill_1_e): Likewise.
2377         (special_fill_e_minus_1): Likewise.
2378         (special_real_inputs): Add more special inputs.
2379         (output_for_one_input_case): Do not require ERANGE on underflow to
2380         zero if round-to-nearest result does not underflow to zero, unless
2381         exact results required.
2382         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
2383         atan, atanh, cbrt, cos and cosh.
2384         * math/auto-libm-test-out: Regenerated.
2385         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
2386         (acos_tonearest_test_data): Likewise.
2387         (acos_towardzero_test_data): Likewise.
2388         (acos_downward_test_data): Likewise.
2389         (acos_upward_test_data): Likewise.
2390         (acosh_test_data): Likewise.
2391         (asin_test_data): Likewise.
2392         (asin_tonearest_test_data): Likewise.
2393         (asin_towardzero_test_data): Likewise.
2394         (asin_upward_test_data): Likewise.
2395         (asinh_test_data): Likewise.
2396         (atan_test_data): Likewise.
2397         (atanh_test_data): Likewise.
2398         (cbrt_test_data): Likewise.
2399         (cos_test_data): Likewise.
2400         (cos_tonearest_test_data): Likewise.
2401         (cos_towardzero_test_data): Likewise.
2402         (cos_downward_test_data): Likewise.
2403         (cos_upward_test_data): Likewise.
2404         (cosh_test_data): Likewise.
2405         (cosh_tonearest_test_data): Likewise.
2406         (cosh_towardzero_test_data): Likewise.
2407         (cosh_downward_test_data): Likewise.
2408         (cosh_upward_test_data): Likewise.
2409         * sysdeps/i386/fpu/libm-test-ulps: Update.
2410         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2412 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
2414         [BZ #6787]
2415         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
2416         * math/w_exp10f.c (__exp10f): Likewise.
2417         * math/w_exp10l.c (__exp10l): Likewise.
2418         * math/libm-test.inc (exp10_test_data): Add more tests and expect
2419         errno settings in existing tests.
2421         [BZ #14032]
2422         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
2423         precision control set to double precision.
2424         * sysdeps/i386/fpu/w_sqrt.c: New file.
2425         * math/auto-libm-test-in: Add more tests.
2426         * math/auto-libm-test-out: Update.
2428         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
2429         (sqrt_test_tonearest): New function.
2430         (sqrt_towardzero_test_data): New variable.
2431         (sqrt_test_towardzero): New function.
2432         (sqrt_downward_test_data): New variable.
2433         (sqrt_test_downward): New function.
2434         (sqrt_upward_test_data): New variable.
2435         (sqrt_test_upward): New function.
2436         (main): Call the new functions.
2438         * math/gen-auto-libm-tests.c: New file.
2439         * math/auto-libm-test-in: Likewise.
2440         * math/auto-libm-test-out: New generated file.
2441         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
2442         variables.
2443         (%beautify): Add generated representations of zero.
2444         (top level): Set $auto_input and call parse_auto_input.
2445         (beautify): Remove trailing "f" from hex float constants.
2446         (parse_args): Handle XFAIL_TEST.
2447         (convert_condition): New function.
2448         (or_value): Likewise.
2449         (or_cond_value): Likewise.
2450         (generate_testfile): Handle AUTO_TESTS_* lines.
2451         (parse_auto_input): New function.
2452         * math/libm-test.inc (XFAIL_TEST): New macro.
2453         (ERRNO_UNCHANGED): Update value.
2454         (ERRNO_EDOM): Likewise.
2455         (ERRNO_ERANGE): Likewise.
2456         (IGNORE_RESULT): Likewise.
2457         (TEST_COND_flt_32): New macro.
2458         (TEST_COND_dbl_64): Likewise.
2459         (TEST_COND_ldbl_96_intel): Likewise.
2460         (TEST_COND_ldbl_96_m68k): Likewise.
2461         (TEST_COND_ldbl_128): Likewise.
2462         (TEST_COND_ldbl_128ibm): Likewise.
2463         (TEST_COND_long32): Likewise.
2464         (TEST_COND_long64): Likewise.
2465         (TEST_COND_before_rounding): Likewise.
2466         (TEST_COND_after_rounding): Likewise.
2467         (enable_test): Handle XFAIL_TEST flag.
2468         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
2469         with finite results.
2470         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
2471         auto-libm-test-out.
2473 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
2474             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2476         [BZ #16214]
2477         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
2478         __tls_get_addr_internal instead of __tls_get_offset in order to
2479         avoid GOT pointer dependency.  Make rtld export
2480         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
2481         __tls_get_addr since we are a __tls_get_offset platform.
2482         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
2483         GOT pointer being set up before.
2484         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
2486 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
2488         * manual/math.texi (Errors in Math Functions): Document accuracy
2489         goals.
2491         [BZ #15004]
2492         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
2493         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
2494         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
2495         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
2496         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
2497         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
2498         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
2499         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
2500         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
2501         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
2502         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
2503         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
2504         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
2505         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
2506         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
2507         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
2509         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
2510         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
2511         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
2512         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
2513         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
2514         Likewise.
2515         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
2516         Likewise.
2517         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
2518         Likewise.
2519         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
2520         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
2521         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
2522         atomic-feupdateenv and flt-rounds.
2523         * sysdeps/powerpc/nofpu/Versions (libc): Add
2524         __atomic_feholdexcept, __atomic_feclearexcept,
2525         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
2526         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
2527         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
2528         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
2529         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
2530         here.
2531         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
2532         Update.
2534         * manual/arith.texi (FP Exceptions): Document that exceptions may
2535         not be raised when matherr is used.
2536         (Math Error Reporting): Document overflow in directed rounding
2537         modes.  Document that errno may not be set when finite values are
2538         returned on overflow.  Document intent to set errno on underflow
2539         only for underflow to zero.
2541         [BZ #16271]
2542         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
2543         round-to-nearest then adjust result for other rounding modes.
2544         * include/fenv.h (fegetround): Use libm_hidden_proto.
2545         * math/fegetround.c (fegetround): Use libm_hidden_def.
2546         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
2547         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
2548         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
2549         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
2550         Likewise.
2551         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
2552         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2553         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
2554         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
2556 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
2558         [BZ #16077]
2559         * nss/Versions (libnss_files): Add
2560         _nss_files_gethostbyname3_r.
2561         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
2562         New function.
2563         (HOST_DB_LOOKUP): Remove macro.
2564         (_nss_files_gethostbyname_r): Implement function without the
2565         HOST_DB_LOOKUP macro.
2566         (_nss_files_gethostbyname2_r): Likewise.
2568 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
2570         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
2572 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
2574         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
2575         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
2576         warning.
2578 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2580         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
2581         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
2582         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
2583         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2584         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
2585         __fe_nomask_env_priv and attribute_hidden.
2586         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
2587         (libc_feupdateenv_test_ppc): Likewise.
2588         (libc_feresetround_ppc): Likewise.
2589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2590         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
2591         compat_symbol macro.
2592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2593         (__fe_nomask_env): Likewise.
2594         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
2596 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
2598         * string/Makefile: Remove ifunc tests.
2599         * string/test-string.h: Define TEST_IFUNC.
2600         * string/test-bcopy-ifunc.c: Remove.
2601         * string/test-bzero-ifunc.c: Likewise.
2602         * string/test-memccpy-ifunc.c: Likewise.
2603         * string/test-memchr-ifunc.c: Likewise.
2604         * string/test-memcmp-ifunc.c: Likewise.
2605         * string/test-memcpy-ifunc.c: Likewise.
2606         * string/test-memmem-ifunc.c: Likewise.
2607         * string/test-memmove-ifunc.c: Likewise.
2608         * string/test-mempcpy-ifunc.c: Likewise.
2609         * string/test-memrchr-ifunc.c: Likewise.
2610         * string/test-memset-ifunc.c: Likewise.
2611         * string/test-rawmemchr-ifunc.c: Likewise.
2612         * string/test-stpcpy-ifunc.c: Likewise.
2613         * string/test-stpncpy-ifunc.c: Likewise.
2614         * string/test-strcasecmp-ifunc.c: Likewise.
2615         * string/test-strcasestr-ifunc.c: Likewise.
2616         * string/test-strcat-ifunc.c: Likewise.
2617         * string/test-strchr-ifunc.c: Likewise.
2618         * string/test-strchrnul-ifunc.c: Likewise.
2619         * string/test-strcmp-ifunc.c: Likewise.
2620         * string/test-strcpy-ifunc.c: Likewise.
2621         * string/test-strcspn-ifunc.c: Likewise.
2622         * string/test-strlen-ifunc.c: Likewise.
2623         * string/test-strncasecmp-ifunc.c: Likewise.
2624         * string/test-strncat-ifunc.c: Likewise.
2625         * string/test-strncmp-ifunc.c: Likewise.
2626         * string/test-strncpy-ifunc.c: Likewise.
2627         * string/test-strnlen-ifunc.c: Likewise.
2628         * string/test-strpbrk-ifunc.c: Likewise.
2629         * string/test-strrchr-ifunc.c: Likewise.
2630         * string/test-strspn-ifunc.c: Likewise.
2631         * string/test-strstr-ifunc.c: Likewise.
2633 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
2635         * benchtests/Makefile: Remove ifunc tests.
2636         * benchtests/bench-string.h: Define TEST_IFUNC.
2637         * benchtests/bench-bcopy-ifunc.c: Remove.
2638         * benchtests/bench-bzero-ifunc.c: Likewise.
2639         * benchtests/bench-memccpy-ifunc.c: Likewise.
2640         * benchtests/bench-memchr-ifunc.c: Likewise.
2641         * benchtests/bench-memcmp-ifunc.c: Likewise.
2642         * benchtests/bench-memcpy-ifunc.c: Likewise.
2643         * benchtests/bench-memmem-ifunc.c: Likewise.
2644         * benchtests/bench-memmove-ifunc.c: Likewise.
2645         * benchtests/bench-mempcpy-ifunc.c: Likewise.
2646         * benchtests/bench-memrchr-ifunc.c: Likewise.
2647         * benchtests/bench-memset-ifunc.c: Likewise.
2648         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
2649         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
2650         * benchtests/bench-stpcpy-ifunc.c: Likewise.
2651         * benchtests/bench-stpncpy-ifunc.c: Likewise.
2652         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
2653         * benchtests/bench-strcasestr-ifunc.c: Likewise.
2654         * benchtests/bench-strcat-ifunc.c: Likewise.
2655         * benchtests/bench-strchr-ifunc.c: Likewise.
2656         * benchtests/bench-strchrnul-ifunc.c: Likewise.
2657         * benchtests/bench-strcmp-ifunc.c: Likewise.
2658         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
2659         * benchtests/bench-strcpy-ifunc.c: Likewise.
2660         * benchtests/bench-strcspn-ifunc.c: Likewise.
2661         * benchtests/bench-strlen-ifunc.c: Likewise.
2662         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
2663         * benchtests/bench-strncat-ifunc.c: Likewise.
2664         * benchtests/bench-strncmp-ifunc.c: Likewise.
2665         * benchtests/bench-strncpy-ifunc.c: Likewise.
2666         * benchtests/bench-strnlen-ifunc.c: Likewise.
2667         * benchtests/bench-strpbrk-ifunc.c: Likewise.
2668         * benchtests/bench-strrchr-ifunc.c: Likewise.
2669         * benchtests/bench-strsep-ifunc.c: Likewise.
2670         * benchtests/bench-strspn-ifunc.c: Likewise.
2671         * benchtests/bench-strstr-ifunc.c: Likewise.
2673 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
2675         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
2677 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
2679         * resolv/netdb.h: Use __glibc_reserved instead __unused.
2680         * rt/aio.h: Likewise.
2681         * sysdeps/gnu/bits/utmp.h: Likewise.
2682         * sysdeps/gnu/bits/utmpx.h: Likewise.
2683         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
2684         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
2685         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
2686         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
2687         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
2688         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
2689         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
2690         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
2691         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
2692         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
2693         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
2694         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
2695         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
2696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
2697         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
2698         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
2699         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
2700         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
2701         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
2702         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
2703         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
2704         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
2705         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
2706         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
2707         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
2708         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2709         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
2710         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
2711         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
2712         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
2713         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
2714         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
2715         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
2716         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
2717         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
2718         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
2719         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
2720         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
2721         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
2722         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
2723         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
2724         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
2726 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
2728         [BZ #16245]
2729         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
2730         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
2732 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
2734         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
2735         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
2736         Likewise.
2738 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2740         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
2741         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
2742         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
2743         (__fesetround): Remove define.
2744         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
2745         rounding and exceptions handling.
2746         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
2747         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
2748         (__fe_nomask_env): Likewise.
2749         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
2750         __fegetround instead of fegetround.
2751         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
2752         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
2754 2013-11-21  Roland McGrath  <roland@hack.frob.com>
2756         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
2757         it's there.
2759         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
2761 2013-11-21  Meador Inge  <meadori@codesourcery.com>
2763         [BZ #11157]
2764         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
2765         (encrypt_r): Likewise.
2766         * malloc/obstack.h (obstack_free): Likewise.
2767         * posix/unistd.h (encrypt): Likewise.
2769 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
2771         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
2772         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
2773         DL_CALL_DT_FINI() that call the functions directly.
2774         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
2775         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
2776         * elf/dl-fini.c: Likewise.
2778 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
2780         * malloc/hooks.c (memalign_check): Add alignment rounding.
2781         * malloc/malloc.c (_mid_memalign): New function.
2782         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
2783         Implement by calling _mid_memalign.
2784         * manual/probes.texi (Memory Allocation Probes): Remove
2785         memory_valloc_retry and memory_pvalloc_retry.
2787 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
2789         * locale/programs/locarchive.c (open_archive): Add const
2790         qualifier to ARCHIVEFNAME and copy default fname to
2791         DEFAULT_FNAME.
2793         [BZ #15601]
2794         * libio/tst-widetext.input: Rename Oriya to Odia.
2795         * locale/iso-639.def: Likewise.
2797         * manual/probes.texi (Mathematical Function Probes): Add
2798         documentation for sin, cos, asin and acos probes.
2799         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
2800         (__sin32): Add slowasin probe.
2801         (__cos32): Add slowacos probe.
2802         (__mpsin): Add slowsin probe.
2803         (__mpcos): Add slowcos probe.
2805 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
2807         [BZ #15483]
2808         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
2809         thread-local __sim_exceptions_thread and global
2810         __sim_exceptions_global.
2811         (__sim_disabled_exceptions): Change to thread-local
2812         __sim_disabled_exceptions_thread and global
2813         __sim_disabled_exceptions_global.
2814         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
2815         and global __sim_round_mode_global.
2816         (__simulate_exceptions): Use thread-local floating-point state and
2817         set global state from it as needed.
2818         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
2819         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
2820         __sim_round_mode_thread.
2821         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
2822         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
2823         and global __sim_exceptions_global.
2824         (__sim_disabled_exceptions): Change to thread-local
2825         __sim_disabled_exceptions_thread and global
2826         __sim_disabled_exceptions_global.
2827         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
2828         and global __sim_round_mode_global.
2829         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
2830         (SIM_SET_GLOBAL): Likewise.
2831         * sysdeps/powerpc/soft-fp/sfp-machine.h
2832         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
2833         __sim_round_mode_thread.
2834         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
2835         __sim_disabled_exceptions_thread.
2836         (__sim_exceptions): Change to __sim_exceptions_thread.
2837         (__sim_disabled_exceptions): Change to
2838         __sim_disabled_exceptions_thread.
2839         (__sim_round_mode): Change to __sim_round_mode_thread.
2840         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
2841         thread-local floating-point state and set global state from it as
2842         needed.
2843         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
2844         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
2845         (__sim_disabled_exceptions): Remove extern declaration.
2846         (feenableexcept): Use thread-local floating-point state and set
2847         global state from it as needed.
2848         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
2849         extern declaration.
2850         (__sim_disabled_exceptions): Likewise.
2851         (__sim_round_mode): Likewise.
2852         (__fegetenv): Use thread-local floating-point state.
2853         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
2854         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
2855         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
2856         floating-point state and set global state from it as needed.
2857         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
2858         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2859         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
2860         Likewise.
2861         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
2862         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
2863         Likewise.
2864         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
2865         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
2866         Use __sim_round_mode_thread.
2867         * math/test-fenv-tls.c: New file.
2868         * math/Makefile (tests): Add test-fenv-tls.
2869         ($(objpfx)test-fenv-tls): Depend on
2870         $(common-objpfx)nptl/libpthread.so.
2872 2013-11-19  Andreas Schwab  <schwab@suse.de>
2874         * locale/programs/locale.c (show_info): Decode wordarray elements.
2875         * locale/categories.def (LC_MONETARY): Add element for
2876         _NL_MONETARY_CRNCYSTR.
2877         * locale/C-monetary.c (conversion_rate): New variable.
2878         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
2879         element.
2881 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
2883         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
2884         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
2886 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
2888         * elf/Makefile (tst-auxv): New test.
2889         * elf/tst-auxv.c: New
2890         * elf/rtld.c (dl_main): Adjust AT_EXECFN
2892 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
2894         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
2895         (hidden_proto): Caller changed.
2896         (hidden_tls_proto): New macro.
2897         (libc_hidden_tls_proto): Likewise.
2898         (rtld_hidden_tls_proto): Likewise.
2899         (libm_hidden_tls_proto): Likewise.
2900         (libresolv_hidden_tls_proto): Likewise.
2901         (librt_hidden_tls_proto): Likewise.
2902         (libdl_hidden_tls_proto): Likewise.
2903         (libnss_files_hidden_tls_proto): Likewise.
2904         (libnsl_hidden_tls_proto): Likewise.
2905         (libnss_nisplus_hidden_tls_proto): Likewise.
2906         (libutil_hidden_tls_proto): Likewise.
2908 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
2910         [BZ #10253]
2911         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
2912         (decompose_rpath): Defer expansion to fillin_rpath.
2913         (_dl_init_paths): Pass linkmap to fillin_rpath.
2915 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2917         * benchtests/Makefile: Add strsep.
2918         * benchtests/bench-strsep.c: New file: strsep benchtest.
2919         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
2921 2013-11-18  Andreas Schwab  <schwab@suse.de>
2923         * locale/programs/locale.c (show_info) [case byte]: Check for
2924         '\377' instead of '\177'.
2925         * locale/C-monetary.c (not_available): Always use "\377".
2926         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
2927         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
2928         detect unavailable sign_posn locale elements.
2929         * locale/localeconv.c (__localeconv): For grouping and
2930         mon_grouping handle "\177" and "\377" like no grouping.
2931         (INT_ELEM): New macro.  Use it to set all numeric members.
2932         * locale/programs/ld-monetary.c (monetary_read)
2933         <tok_mon_grouping>: Normalize single -1 to the empty string.
2934         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
2935         Likewise.
2937 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
2939         [BZ #16055]
2940         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
2941         when we match (nil).
2942         * stdio-common/tst-sscanf.c (struct test): Add testcase.
2944 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
2946         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
2947         (NO_TEST_INLINE): Update value.
2948         (ERRNO_UNCHANGED): Likewise.
2949         (ERRNO_EDOM): Likewise.
2950         (ERRNO_ERANGE): Likewise.
2951         (IGNORE_RESULT): Likewise.
2952         (check_float_internal): Check signs of NaN results if
2953         TEST_NAN_SIGN used.
2954         (check_complex): Pass TEST_NAN_SIGN flag through to second
2955         check_float_internal call.
2956         (copysign_test_data): Add tests with quiet NaNs as second
2957         argument.  Use TEST_NAN_SIGN.
2958         (fabs_test_data): Add test of negative quiet NaN argument.  Use
2959         TEST_NAN_SIGN.
2960         (signbit_test_data): Add tests of quiet NaN argument.
2961         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
2963         * math/gen-libm-test.pl (show_exceptions): Take extra argument
2964         $ignore_result.
2965         (parse_args): Handle function results specified as IGNORE.
2966         * math/libm-test.inc (IGNORE_RESULT): New macro.
2967         (check_float_internal): Do not check numerical result if flag
2968         IGNORE_RESULT set.
2969         (check_complex): Pass through IGNORE_RESULT to second
2970         check_float_internal call.
2971         (check_int): Do not check numerical result if flag IGNORE_RESULT
2972         set.
2973         (check_long): Likewise.
2974         (check_bool): Likewise.
2975         (check_longlong): Likewise.
2976         (lrint_test_data): Add tests of infinite and NaN arguments.
2977         (lrint_tonearest_test_data): Likewise.
2978         (lrint_towardzero_test_data): Likewise.
2979         (lrint_downward_test_data): Likewise.
2980         (lrint_upward_test_data): Likewise.
2981         (llrint_test_data): Likewise.
2982         (llrint_tonearest_test_data): Likewise.
2983         (llrint_towardzero_test_data): Likewise.
2984         (llrint_downward_test_data): Likewise.
2985         (llrint_upward_test_data): Likewise.
2986         (lround_test_data): Likewise.
2987         (llround_test_data): Likewise.
2989         * math/libm-test.inc (NO_TEST_INLINE): New macro.
2990         (ERRNO_UNCHANGED): Update value.
2991         (ERRNO_EDOM): Likewise.
2992         (ERRNO_ERANGE): Likewise.
2993         (NO_TEST_INLINE_FLOAT): New macro.
2994         (NO_TEST_INLINE_DOUBLE): Likewise.
2995         (enable_test): New function.
2996         (RUN_TEST_f_f): Check enable_test before running test.
2997         (RUN_TEST_2_f): Likewise.
2998         (RUN_TEST_fff_f): Likewise.
2999         (RUN_TEST_c_f): Likewise.
3000         (RUN_TEST_f_f1): Likewise.
3001         (RUN_TEST_fF_f1): Likewise.
3002         (RUN_TEST_fI_f1): Likewise.
3003         (RUN_TEST_ffI_f1): Likewise.
3004         (RUN_TEST_c_c): Likewise.
3005         (RUN_TEST_cc_c): Likewise.
3006         (RUN_TEST_f_i): Likewise.
3007         (RUN_TEST_f_i_tg): Likewise.
3008         (RUN_TEST_ff_i_tg): Likewise.
3009         (RUN_TEST_f_b): Likewise.
3010         (RUN_TEST_f_b_tg): Likewise.
3011         (RUN_TEST_f_l): Likewise.
3012         (RUN_TEST_f_L): Likewise.
3013         (RUN_TEST_fFF_11): Likewise.
3014         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
3015         conditionals.
3016         (cosh_test_data): Likewise.
3017         (exp_test_data): Likewise.
3018         (expm1_test_data): Likewise.
3019         (hypot_test_data): Likewise.
3020         (pow_test_data): Likewise.
3021         (sinh_test_data): Likewise.
3022         (tanh_test_data): Likewise.
3023         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
3024         flags argument.
3026         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
3027         tests with quiet NaN input and output.
3028         (acosh_test_data): Likewise.
3029         (asin_test_data): Likewise.
3030         (asinh_test_data): Likewise.
3031         (atan_test_data): Likewise.
3032         (atanh_test_data): Likewise.
3033         (atan2_test_data): Likewise.
3034         (cbrt_test_data): Likewise.
3035         (cos_test_data): Likewise.
3036         (cosh_test_data): Likewise.
3037         (erf_test_data): Likewise.
3038         (erfc_test_data): Likewise.
3039         (exp_test_data): Likewise.
3040         (exp10_test_data): Likewise.
3041         (exp2_test_data): Likewise.
3042         (expm1_test_data): Likewise.
3043         (hypot_test_data): Likewise.
3044         (j0_test_data): Likewise.
3045         (j1_test_data): Likewise.
3046         (jn_test_data): Likewise.
3047         (lgamma_test_data): Likewise.
3048         (log_test_data): Likewise.
3049         (log10_test_data): Likewise.
3050         (log1p_test_data): Likewise.
3051         (log2_test_data): Likewise.
3052         (pow_test_data): Likewise.
3053         (scalb_test_data): Likewise.
3054         (sin_test_data): Likewise.
3055         (sincos_test_data): Likewise.
3056         (sinh_test_data): Likewise.
3057         (tan_test_data): Likewise.
3058         (tanh_test_data): Likewise.
3059         (tgamma_test_data): Likewise.
3060         (y0_test_data): Likewise.
3061         (y1_test_data): Likewise.
3062         (yn_test_data): Likewise.
3064         [BZ #16167]
3065         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
3066         argument being NaN and avoid computations with second argument in
3067         that case.
3068         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3069         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
3070         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3072 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
3074         * locale/iso-639.def: Add Chitwani Tharu (the).
3076 2013-11-14  Andreas Schwab  <schwab@suse.de>
3078         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
3079         word instead of empty string.
3081 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3084         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
3085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3086         (__fe_nomask_env): Likewise.
3088 2013-11-13  Steve Ellcey  <sellcey@mips.com>
3090         * benchtests/bench-timing.h: Include time.h.
3092 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
3094         [BZ #15997]
3095         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
3096         to 3.4.0 for x32.
3097         * sysdeps/unix/sysv/linux/configure: Regenerated.
3099 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
3101         [BZ #16151]
3102         * stdlib/strtod_l.c (round_and_return): Do not consider
3103         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
3104         exponent one less than half the least subnormal exponent.
3105         * stdlib/test-strtod-round-data: Add more tests.
3106         * stdlib/tst-strtod-round.c (tests): Regenerated.
3108 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3110         [BZ #14143]
3111         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
3112         (__fe_mask_env): Likewise.
3113         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
3114         libm_hidden_proto and add function prototype.
3115         (__fe_mask_env): Add function prototype.
3116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3117         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
3118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
3119         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
3120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3121         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
3123 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
3125         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
3126         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
3128 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
3130         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
3131         of htab_find_slot().
3133 2013-11-11  David S. Miller  <davem@davemloft.net>
3135         [BZ #16150]
3136         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
3137         symbol in the non-vis3 case in static builds.
3138         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
3139         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
3140         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
3141         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
3143 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
3145         [BZ #387]
3146         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
3147         it is empty.
3149 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3151         * benchtests/Makefile: Add bench-strtod.
3152         * benchtests/bench-strtod.c: New file: strtod benchtest
3154 2013-11-11  Andreas Schwab  <schwab@suse.de>
3156         [BZ #16153]
3157         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
3158         terminating NUL in key length.
3160 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3162         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
3163         Add artificial ODP entry for vDSO symbol for PPC64.
3164         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
3165         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
3167 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
3169         [BZ #15374]
3170         * nss/getent.c (services_keys): Recognize services starting with digit.
3172 2013-11-06  David S. Miller  <davem@davemloft.net>
3174         [BZ #15985]
3175         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
3176         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
3178 2013-11-06  Will Newton  <will.newton@linaro.org>
3180         * manual/memory.texi (Malloc Examples): Remove register
3181         keyword from examples.
3183 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
3185         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
3187 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
3189         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
3190         depending on [__GCC_IEC_559 > 0].
3191         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
3192         depending on [__GCC_IEC_559_COMPLEX > 0].
3194 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
3196         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
3197         to iso-639.def.
3199 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
3201         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
3203 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
3205         [BZ #16112]
3206         * malloc/malloc (malloc_info): Do not handle first bin as
3207         special case.
3209 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
3211         * locale/iso-639.def: Add Central Nahuatl (nhn).
3213 2013-11-01  Bruno Haible  <bruno@clisp.org>
3215         [BZ #7003]
3216         * manual/math.texi (BSD Random): Specify range upper bound as
3217         in POSIX.
3219 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
3221         * locale/iso-639.def: Add Meadow Mari (mhr).
3223 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
3225         [BZ #14752], [BZ #15763]
3226         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
3227         Validate name.
3228         * rt/tst_shm.c: Add test for escaping directory.
3230 2013-10-31  Andreas Schwab  <schwab@suse.de>
3232         [BZ #15917]
3233         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
3234         followed by 'x' as part of digit sequence.
3235         * stdio-common/tst-sscanf.c (double_tests2): New tests.
3237 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
3239         [BZ #16037]
3240         * configure.ac: allow GNU Make 4.0 and greater.
3241         * configure: Regenerated.
3243 2013-10-30  Will Newton  <will.newton@linaro.org>
3245         [BZ #16038]
3246         * malloc/hooks.c (memalign_check): Limit alignment to the
3247         maximum representable power of two.
3248         * malloc/malloc.c (__libc_memalign): Likewise.
3249         * malloc/tst-memalign.c (do_test): Add test for very
3250         large alignment values.
3251         * malloc/tst-posix_memalign.c (do_test): Likewise.
3253 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
3255         [BZ #11087]
3256         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
3257         (munmap_chunk): Likewise.
3258         (mremap_chunk): Likewise.
3260 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
3262         [BZ #15799]
3263         * stdlib/div.c (div): Remove obsolete code.
3264         * stdlib/ldiv.c (ldiv): Likewise.
3265         * stdlib/lldiv.c (lldiv): Likewise.
3267 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
3269         [BZ #16071]
3270         * nss/nss_files/files-XXX.c (get_contents_ret): New
3271         enumerator.
3272         (get_contents): New function.
3273         (internal_getent): Use it.  Expand size of LINEBUFLEN.
3275 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
3277         * configure.in: Moved to ...
3278         * configure.ac: ... here. Change reference to configure.in
3279         to configure.ac.
3280         * sysdeps/arm/preconfigure.ac: ... here.
3281         configure.in to configure.ac.
3282         * sysdeps/gnu/configure.in: Moved to ...
3283         * sysdeps/gnu/configure.ac: ... here.
3284         * sysdeps/i386/configure.in: Moved to ...
3285         * sysdeps/i386/configure.ac: ... here.
3286         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
3287         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
3288         * sysdeps/mach/configure.in: Moved to ...
3289         * sysdeps/mach/configure.ac: ... here.
3290         * sysdeps/mach/hurd/configure.in: Moved to ...
3291         * sysdeps/mach/hurd/configure.ac: ... here.
3292         * sysdeps/powerpc/configure.in: Moved to ...
3293         * sysdeps/powerpc/configure.ac: ... here.
3294         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
3295         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
3296         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
3297         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
3298         * sysdeps/s390/s390-32/configure.in: Moved to ...
3299         * sysdeps/s390/s390-32/configure.ac: ... here.
3300         * sysdeps/s390/s390-64/configure.in: Moved to ...
3301         * sysdeps/s390/s390-64/configure.ac: ... here.
3302         * sysdeps/sh/configure.in: Moved to ...
3303         * sysdeps/sh/configure.ac: ... here.
3304         * sysdeps/sparc/configure.in: Moved to ...
3305         * sysdeps/sparc/configure.ac: ... here.
3306         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
3307         * sysdeps/unix/sysv/linux/configure.ac: ... here.
3308         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
3309         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
3310         * sysdeps/x86_64/configure.in: Moved to ...
3311         * sysdeps/x86_64/configure.ac: ... here.
3312         * sysdeps/x86_64/preconfigure.in: Moved to ...
3313         * sysdeps/x86_64/preconfigure.ac: ... here.
3314         * aclocal.m4: Change reference to configure.in to configure.ac.
3315         * config.h.in: Likewise.
3316         * manual/install.texi: Likewise.
3317         * manual/maint.texi: Likewise.
3318         * Makefile: Likewise.
3319         * malloc/Makefile: Likewise.
3320         * nscd/Makefile: Likewise.
3321         * Makeconfig: Change reference to configure.in and
3322         preconfigure.in to configure.ac and preconfigure.ac
3323         respectively.
3324         * INSTALL: Regenerated.
3325         * configure: Likewise.
3326         * sysdeps/gnu/configure: Likewise.
3327         * sysdeps/i386/configure: Likewise.
3328         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
3329         * sysdeps/mach/configure: Likewise.
3330         * sysdeps/mach/hurd/configure: Likewise.
3331         * sysdeps/powerpc/configure: Likewise.
3332         * sysdeps/powerpc/powerpc32/configure: Likewise.
3333         * sysdeps/powerpc/powerpc64/configure: Likewise.
3334         * sysdeps/s390/s390-32/configure: Likewise.
3335         * sysdeps/s390/s390-64/configure: Likewise.
3336         * sysdeps/sh/configure: Likewise.
3337         * sysdeps/sparc/configure: Likewise.
3338         * sysdeps/unix/sysv/linux/configure: Likewise.
3339         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
3340         * sysdeps/x86_64/configure: Likewise.
3341         * sysdeps/x86_64/preconfigure: Likewise.
3343 2013-10-29  Andreas Schwab  <schwab@suse.de>
3345         * stdio-common/Makefile (tst-swscanf-ENV): Define.
3347 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
3349         * benchtests/pow-inputs: Add new inputs.
3351         * benchtests/exp-inputs: Add new inputs.
3353         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
3354         conditional check for return value.
3355         (__cos32): Likewise.
3357 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3359         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
3360         to provide a boost for large inputs with word alignment.
3361         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
3362         implementation based on optimized PPC64 strcpy.
3363         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
3364         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
3365         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
3366         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
3368 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
3370         [BZ #2801]
3371         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
3373 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
3375         [BZ #14876]
3376         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
3377         * time/tst-strptime.c (day_tests): Add testcase.
3379 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
3381         [BZ #14029]
3382         * manual/pattern.texi: Acknowledge that fnmatch can fail.
3384 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
3386         [BZ #16074]
3387         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
3388         MAP_FAILED on error.
3390 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
3392         [BZ #16072]
3393         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
3394         heap for large requests.
3396 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
3398         [BZ #9954]
3399         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
3400         result if the result has no associated interface.
3401         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
3402         interface for all 127.X.Y.Z addresses.
3404 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
3406         * locale/iso-639.def: Add Ligurian (lij)
3408 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
3410         [BZ #15825]
3411         * sunrpc/rpc_main.c: Document rpcgen -5.
3413 2013-10-19  Michael Stahl  <mstahl@redhat.com>
3415         * elf/rtld.c (do_preload): Print the reason why preloading failed.
3417 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
3419         [BZ #10278]
3420         * posix/glob.c: Match only directories when trailing slash is present.
3421         * posix/tst-gnuglob.c (my_opendir): Do not open files.
3422         (main): Add testcase.
3424 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
3426         [BZ #15670]
3427         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
3429 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
3431         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
3432         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
3433         AUTH_DES and cindex for FIPS 140-2.
3434         (DES Encryption): Add cindex FIPS 46-3.
3436         * locale/locarchive.h (struct locarhandle): Add fname.
3437         * locale/programs/localedef.c (main): Pass ARGV[remaining]
3438         if an optional argument was specified to --list-archive,
3439         otherwise NULL.
3440         * locale/programs/locarchive.c (show_archive_content): Take new
3441         argument fname and pass it via ah.fname to open_archive.
3442         * locale/programs/localedef.h: Update decl.
3443         (open_archive): If AH->fname is non-null, open that file
3444         rather than the default file name, and don't ignore ENOENT.
3445         (create_archive): Set AH.fname to NULL.
3446         (delete_locales_from_archive): Likewise.
3447         (add_locales_to_archive): Likewise.
3448         * locale/programs/locfile.c (write_all_categories): Likewise.
3450 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
3451             Aldy Hernandez  <aldyh@redhat.com>
3453         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
3454         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
3455         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
3456         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
3457         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
3458         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
3459         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
3460         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
3461         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
3462         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
3463         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
3464         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
3465         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
3466         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
3467         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
3468         Likewise.
3469         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
3470         Likewise.
3471         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
3472         Likewise.
3473         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
3474         Likewise.
3475         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
3476         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
3477         Likewise.
3478         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
3479         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
3480         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
3481         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
3482         Likewise.
3483         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
3484         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
3485         * sysdeps/powerpc/preconfigure: Likewise.
3486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
3487         Likewise.
3488         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
3489         Replace contents of file by #include of <fenv_libc.h>.
3490         * sysdeps/powerpc/soft-fp/sfp-machine.h
3491         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
3492         and <sys/prctl.h>.
3493         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
3494         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
3495         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
3496         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
3497         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
3498         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
3499         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
3500         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
3501         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
3502         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
3503         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
3504         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
3505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
3506         Allow copysignl PLT reference to be missing.
3508 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
3509             Joseph Myers  <joseph@codesourcery.com
3511         [BZ #15948]
3512         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
3513         single character.
3514         (add_to_tablewc): Assert sequence of wide characters is nonempty.
3516 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
3518         * elf/tst-tls-dlinfo.c: Don't include tls.h.
3519         * elf/tst-tls1.c: Likewise.
3520         * elf/tst-tls10.h: Likewise.
3521         * elf/tst-tls14.c: Likewise.
3522         * elf/tst-tls2.c: Likewise.
3523         * elf/tst-tls3.c: Likewise.
3524         * elf/tst-tls4.c: Likewise.
3525         * elf/tst-tls5.c: Likewise.
3526         * elf/tst-tls6.c: Likewise.
3527         * elf/tst-tls7.c: Likewise.
3528         * elf/tst-tls8.c: Likewise.
3529         * elf/tst-tls9.c: Likewise.
3530         * elf/tst-tlsmod1.c: Likewise.
3531         * elf/tst-tlsmod13.c: Likewise.
3532         * elf/tst-tlsmod13a.c: Likewise.
3533         * elf/tst-tlsmod14a.c: Likewise.
3534         * elf/tst-tlsmod16a.c: Likewise.
3535         * elf/tst-tlsmod16b.c: Likewise.
3536         * elf/tst-tlsmod2.c: Likewise.
3537         * elf/tst-tlsmod3.c: Likewise.
3538         * elf/tst-tlsmod4.c: Likewise.
3539         * elf/tst-tlsmod5.c: Likewise.
3540         * elf/tst-tlsmod6.c: Likewise.
3542 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
3544         [BZ #12486]
3545         * malloc/malloc.c: remove checks for statistics.
3547 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
3549         [BZ #15277]
3550         * inet/inet_net.c (inet_network): Detect additional invalid strings.
3551         * inet/tst-network.c: Add testcase.
3553 2013-10-17  Andreas Schwab  <schwab@suse.de>
3555         [BZ #15218]
3556         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
3557         to determine canonical name.
3559 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
3561         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
3562         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
3563         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3564         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
3565         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3566         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
3567         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
3568         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
3569         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
3570         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
3571         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
3572         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3573         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3574         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3575         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
3576         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
3577         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3578         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3579         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
3580         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
3581         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3582         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3583         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3584         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
3585         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
3586         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
3587         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
3588         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
3589         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
3590         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
3591         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
3592         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3593         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
3594         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
3595         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3596         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3597         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3598         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3599         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3600         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3601         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3602         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
3603         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
3604         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3605         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
3606         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3607         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3608         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
3609         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
3610         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3611         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
3612         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
3613         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3614         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
3615         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3616         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
3617         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3618         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3620 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
3622         [BZ #16041]
3623         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
3624         make result into a quiet NaN.
3626 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
3628         * soft-fp/adddf3.c: Fix horizontal whitespace.
3629         * soft-fp/addsf3.c: Likewise.
3630         * soft-fp/addtf3.c: Likewise.
3631         * soft-fp/divdf3.c: Likewise.
3632         * soft-fp/divsf3.c: Likewise.
3633         * soft-fp/divtf3.c: Likewise.
3634         * soft-fp/double.h: Likewise.
3635         * soft-fp/eqdf2.c: Likewise.
3636         * soft-fp/eqsf2.c: Likewise.
3637         * soft-fp/eqtf2.c: Likewise.
3638         * soft-fp/extenddftf2.c: Likewise.
3639         * soft-fp/extended.h: Likewise.
3640         * soft-fp/extendsfdf2.c: Likewise.
3641         * soft-fp/extendsftf2.c: Likewise.
3642         * soft-fp/extendxftf2.c: Likewise.
3643         * soft-fp/fixdfdi.c: Likewise.
3644         * soft-fp/fixdfsi.c: Likewise.
3645         * soft-fp/fixdfti.c: Likewise.
3646         * soft-fp/fixsfdi.c: Likewise.
3647         * soft-fp/fixsfsi.c: Likewise.
3648         * soft-fp/fixsfti.c: Likewise.
3649         * soft-fp/fixtfdi.c: Likewise.
3650         * soft-fp/fixtfsi.c: Likewise.
3651         * soft-fp/fixtfti.c: Likewise.
3652         * soft-fp/fixunsdfdi.c: Likewise.
3653         * soft-fp/fixunsdfsi.c: Likewise.
3654         * soft-fp/fixunsdfti.c: Likewise.
3655         * soft-fp/fixunssfdi.c: Likewise.
3656         * soft-fp/fixunssfsi.c: Likewise.
3657         * soft-fp/fixunssfti.c: Likewise.
3658         * soft-fp/fixunstfdi.c: Likewise.
3659         * soft-fp/fixunstfsi.c: Likewise.
3660         * soft-fp/fixunstfti.c: Likewise.
3661         * soft-fp/floatdidf.c: Likewise.
3662         * soft-fp/floatdisf.c: Likewise.
3663         * soft-fp/floatditf.c: Likewise.
3664         * soft-fp/floatsidf.c: Likewise.
3665         * soft-fp/floatsisf.c: Likewise.
3666         * soft-fp/floatsitf.c: Likewise.
3667         * soft-fp/floattidf.c: Likewise.
3668         * soft-fp/floattisf.c: Likewise.
3669         * soft-fp/floattitf.c: Likewise.
3670         * soft-fp/floatundidf.c: Likewise.
3671         * soft-fp/floatundisf.c: Likewise.
3672         * soft-fp/floatunditf.c: Likewise.
3673         * soft-fp/floatunsidf.c: Likewise.
3674         * soft-fp/floatunsisf.c: Likewise.
3675         * soft-fp/floatunsitf.c: Likewise.
3676         * soft-fp/floatuntidf.c: Likewise.
3677         * soft-fp/floatuntisf.c: Likewise.
3678         * soft-fp/floatuntitf.c: Likewise.
3679         * soft-fp/fmadf4.c: Likewise.
3680         * soft-fp/fmasf4.c: Likewise.
3681         * soft-fp/fmatf4.c: Likewise.
3682         * soft-fp/gedf2.c: Likewise.
3683         * soft-fp/gesf2.c: Likewise.
3684         * soft-fp/getf2.c: Likewise.
3685         * soft-fp/ledf2.c: Likewise.
3686         * soft-fp/lesf2.c: Likewise.
3687         * soft-fp/letf2.c: Likewise.
3688         * soft-fp/muldf3.c: Likewise.
3689         * soft-fp/mulsf3.c: Likewise.
3690         * soft-fp/multf3.c: Likewise.
3691         * soft-fp/negdf2.c: Likewise.
3692         * soft-fp/negsf2.c: Likewise.
3693         * soft-fp/negtf2.c: Likewise.
3694         * soft-fp/op-1.h: Likewise.
3695         * soft-fp/op-2.h: Likewise.
3696         * soft-fp/op-4.h: Likewise.
3697         * soft-fp/op-8.h: Likewise.
3698         * soft-fp/op-common.h: Likewise.
3699         * soft-fp/quad.h: Likewise.
3700         * soft-fp/single.h: Likewise.
3701         * soft-fp/soft-fp.h: Likewise.
3702         * soft-fp/sqrtdf2.c: Likewise.
3703         * soft-fp/sqrtsf2.c: Likewise.
3704         * soft-fp/sqrttf2.c: Likewise.
3705         * soft-fp/subdf3.c: Likewise.
3706         * soft-fp/subsf3.c: Likewise.
3707         * soft-fp/subtf3.c: Likewise.
3708         * soft-fp/truncdfsf2.c: Likewise.
3709         * soft-fp/trunctfdf2.c: Likewise.
3710         * soft-fp/trunctfsf2.c: Likewise.
3711         * soft-fp/trunctfxf2.c: Likewise.
3712         * soft-fp/unorddf2.c: Likewise.
3713         * soft-fp/unordsf2.c: Likewise.
3714         * soft-fp/unordtf2.c: Likewise.
3716 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
3718         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
3719         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
3721 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
3723         * elf/dl-libc.c: Clear initfini list after freeing.
3725 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
3727         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
3728         * soft-fp/addsf3.c: Likewise.
3729         * soft-fp/addtf3.c: Likewise.
3730         * soft-fp/divdf3.c: Likewise.
3731         * soft-fp/divsf3.c: Likewise.
3732         * soft-fp/divtf3.c: Likewise.
3733         * soft-fp/double.h: Likewise.
3734         * soft-fp/eqdf2.c: Likewise.
3735         * soft-fp/eqsf2.c: Likewise.
3736         * soft-fp/eqtf2.c: Likewise.
3737         * soft-fp/extenddftf2.c: Likewise.
3738         * soft-fp/extended.h: Likewise.
3739         * soft-fp/extendsfdf2.c: Likewise.
3740         * soft-fp/extendsftf2.c: Likewise.
3741         * soft-fp/extendxftf2.c: Likewise.
3742         * soft-fp/fixdfdi.c: Likewise.
3743         * soft-fp/fixdfsi.c: Likewise.
3744         * soft-fp/fixdfti.c: Likewise.
3745         * soft-fp/fixsfdi.c: Likewise.
3746         * soft-fp/fixsfsi.c: Likewise.
3747         * soft-fp/fixsfti.c: Likewise.
3748         * soft-fp/fixtfdi.c: Likewise.
3749         * soft-fp/fixtfsi.c: Likewise.
3750         * soft-fp/fixtfti.c: Likewise.
3751         * soft-fp/fixunsdfdi.c: Likewise.
3752         * soft-fp/fixunsdfsi.c: Likewise.
3753         * soft-fp/fixunsdfti.c: Likewise.
3754         * soft-fp/fixunssfdi.c: Likewise.
3755         * soft-fp/fixunssfsi.c: Likewise.
3756         * soft-fp/fixunssfti.c: Likewise.
3757         * soft-fp/fixunstfdi.c: Likewise.
3758         * soft-fp/fixunstfsi.c: Likewise.
3759         * soft-fp/fixunstfti.c: Likewise.
3760         * soft-fp/floatdidf.c: Likewise.
3761         * soft-fp/floatdisf.c: Likewise.
3762         * soft-fp/floatditf.c: Likewise.
3763         * soft-fp/floatsidf.c: Likewise.
3764         * soft-fp/floatsisf.c: Likewise.
3765         * soft-fp/floatsitf.c: Likewise.
3766         * soft-fp/floattidf.c: Likewise.
3767         * soft-fp/floattisf.c: Likewise.
3768         * soft-fp/floattitf.c: Likewise.
3769         * soft-fp/floatundidf.c: Likewise.
3770         * soft-fp/floatundisf.c: Likewise.
3771         * soft-fp/floatunsidf.c: Likewise.
3772         * soft-fp/floatunsisf.c: Likewise.
3773         * soft-fp/floatuntidf.c: Likewise.
3774         * soft-fp/floatuntisf.c: Likewise.
3775         * soft-fp/floatuntitf.c: Likewise.
3776         * soft-fp/fmadf4.c: Likewise.
3777         * soft-fp/fmasf4.c: Likewise.
3778         * soft-fp/fmatf4.c: Likewise.
3779         * soft-fp/gedf2.c: Likewise.
3780         * soft-fp/gesf2.c: Likewise.
3781         * soft-fp/getf2.c: Likewise.
3782         * soft-fp/ledf2.c: Likewise.
3783         * soft-fp/lesf2.c: Likewise.
3784         * soft-fp/letf2.c: Likewise.
3785         * soft-fp/muldf3.c: Likewise.
3786         * soft-fp/mulsf3.c: Likewise.
3787         * soft-fp/multf3.c: Likewise.
3788         * soft-fp/negdf2.c: Likewise.
3789         * soft-fp/negsf2.c: Likewise.
3790         * soft-fp/negtf2.c: Likewise.
3791         * soft-fp/op-1.h: Likewise.
3792         * soft-fp/op-2.h: Likewise.
3793         * soft-fp/op-4.h: Likewise.
3794         * soft-fp/op-8.h: Likewise.
3795         * soft-fp/op-common.h: Likewise.
3796         * soft-fp/quad.h: Likewise.
3797         * soft-fp/single.h: Likewise.
3798         * soft-fp/soft-fp.h: Likewise.
3799         * soft-fp/sqrtdf2.c: Likewise.
3800         * soft-fp/sqrtsf2.c: Likewise.
3801         * soft-fp/sqrttf2.c: Likewise.
3802         * soft-fp/subdf3.c: Likewise.
3803         * soft-fp/subsf3.c: Likewise.
3804         * soft-fp/subtf3.c: Likewise.
3805         * soft-fp/truncdfsf2.c: Likewise.
3806         * soft-fp/trunctfdf2.c: Likewise.
3807         * soft-fp/trunctfsf2.c: Likewise.
3808         * soft-fp/trunctfxf2.c: Likewise.
3809         * soft-fp/unorddf2.c: Likewise.
3810         * soft-fp/unordsf2.c: Likewise.
3811         * soft-fp/unordtf2.c: Likewise.
3813 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
3815         [BZ #15672]
3816         * misc/error.c (error_tail): Fix possible buffer overflow.
3818 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
3820         [BZ #13028]
3821         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
3822         address.
3824 2013-10-14  P. J. McDermott  <pj@pehjota.net>
3826         [BZ #832]
3827         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
3828         testing pipefail option.
3830 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
3832         * soft-fp/double.h: Indent preprocessor directives inside #if.
3833         * soft-fp/extended.h: Likewise.
3834         * soft-fp/op-2.h: Likewise.
3835         * soft-fp/op-4.h: Likewise.
3836         * soft-fp/op-common.h: Likewise.
3837         * soft-fp/quad.h: Likewise.
3838         * soft-fp/single.h: Likewise.
3839         * soft-fp/soft-fp.h: Likewise.
3841 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
3843         * iconv/iconv_prog.c: Fix typos.
3844         * stdio-common/psiginfo-data.h: Likewise.
3846 2013-10-12   Reuben Thomas <rrt@sc3d.org>
3848         [BZ #15764]
3849         * locale/setlocale.c: Fix typo.
3851 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
3853         [BZ #16036]
3854         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
3855         signaling NaN arguments.
3856         * soft-fp/unordsf2.c (__unordsf2): Likewise.
3857         * soft-fp/unordtf2.c (__unordtf2): Likewise.
3859         [BZ #14910]
3860         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
3861         unordered operands.
3862         * soft-fp/gesf2.c (__gesf2): Likewise.
3863         * soft-fp/getf2.c (__getf2): Likewise.
3864         * soft-fp/ledf2.c (__ledf2): Likewise.
3865         * soft-fp/lesf2.c (__lesf2): Likewise.
3866         * soft-fp/letf2.c (__letf2): Likewise.
3868         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
3869         * soft-fp/eqsf2.c (__eqsf2): Likewise.
3870         * soft-fp/eqtf2.c (__eqtf2): Likewise.
3871         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
3872         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
3873         * soft-fp/fixdfti.c (__fixdfti): Likewise.
3874         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
3875         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
3876         * soft-fp/fixsfti.c (__fixsfti): Likewise.
3877         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
3878         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
3879         * soft-fp/fixtfti.c (__fixtfti): Likewise.
3880         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
3881         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
3882         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
3883         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
3884         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
3885         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
3886         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
3887         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
3888         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
3889         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
3890         * soft-fp/floatdisf.c (__floatdisf): Likewise.
3891         * soft-fp/floatsisf.c (__floatsisf): Likewise.
3892         * soft-fp/floattidf.c (__floattidf): Likewise.
3893         * soft-fp/floattisf.c (__floattisf): Likewise.
3894         * soft-fp/floattitf.c (__floattitf): Likewise.
3895         * soft-fp/floatundidf.c (__floatundidf): Likewise.
3896         * soft-fp/floatundisf.c (__floatundisf): Likewise.
3897         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
3898         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
3899         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
3900         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
3901         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
3902         * soft-fp/gesf2.c (__gesf2): Likewise.
3903         * soft-fp/getf2.c (__getf2): Likewise.
3904         * soft-fp/ledf2.c (__ledf2): Likewise.
3905         * soft-fp/lesf2.c (__lesf2): Likewise.
3906         * soft-fp/letf2.c (__letf2): Likewise.
3908         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
3909         Undefine and redefine.
3910         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
3911         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
3912         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
3913         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
3914         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3915         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
3916         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3917         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
3918         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3919         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
3920         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3921         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
3922         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3923         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
3924         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3926         [BZ #16032]
3927         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
3928         without decrementing exponent if mantissa >= that for the
3929         denominator, not >.
3930         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
3931         denominator, not >.  Decrement exponent in < case instead of
3932         incrementing in >= case.
3933         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
3934         without decrementing exponent if mantissa >= that for the
3935         denominator, not >.
3937         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
3938         computing saturated result for unsigned overflow.
3940 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
3941             Jeff Law  <law@redhat.com>
3943         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
3944         (atan2Mp): Add systemtap probe marker.
3945         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
3946         (__ieee754_log): Add systemtap probe marker.
3947         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
3948         (atanMp): Add systemtap probe marker.
3949         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
3950         (tanMp): Add systemtap probe marker.
3951         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
3952         (__slowexp): Add systemtap probe marker.
3953         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
3954         (__slowpow): Add systemtap probe marker.
3955         * manual/probes.texi: Document probes.
3957 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
3959         [BZ #15362]
3960         * libio/fileops.c (_IO_new_file_write): Return count of bytes
3961         written.
3962         (_IO_new_file_xsputn): Don't return EOF if nothing has been
3963         written.
3964         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
3965         written to buffer but not flushed.
3966         * libio/iofwrite_u.c:  Likewise.
3967         * libio/iopadn.c:  Return bytes returned even if EOF was
3968         encountered.
3969         * libio/iowpadn.c:  Likewise.
3970         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
3971         if _IO_padn does not write the whole buffer.
3972         [!COMPILE_WPRINTF] (PAD): Likewise.
3974 2013-10-10  David S. Miller  <davem@davemloft.net>
3976         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
3977         directory block.
3979 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
3981         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
3982         instead of FSF address.
3983         * soft-fp/fixdfti.c: Likewise.
3984         * soft-fp/fixsfti.c: Likewise.
3985         * soft-fp/fixtfti.c: Likewise.
3986         * soft-fp/fixunsdfti.c: Likewise.
3987         * soft-fp/fixunssfti.c: Likewise.
3988         * soft-fp/fixunstfti.c: Likewise.
3989         * soft-fp/floattidf.c: Likewise.
3990         * soft-fp/floattisf.c: Likewise.
3991         * soft-fp/floattitf.c: Likewise.
3992         * soft-fp/floatuntidf.c: Likewise.
3993         * soft-fp/floatuntisf.c: Likewise.
3994         * soft-fp/floatuntitf.c: Likewise.
3995         * soft-fp/trunctfxf2.c: Likewise.
3997         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
3998         * soft-fp/fixdfti.c: Likewise.
3999         * soft-fp/fixsfti.c: Likewise.
4000         * soft-fp/fixtfti.c: Likewise.
4001         * soft-fp/fixunsdfti.c: Likewise.
4002         * soft-fp/fixunssfti.c: Likewise.
4003         * soft-fp/fixunstfti.c: Likewise.
4004         * soft-fp/floattidf.c: Likewise.
4005         * soft-fp/floattisf.c: Likewise.
4006         * soft-fp/floattitf.c: Likewise.
4007         * soft-fp/floatuntidf.c: Likewise.
4008         * soft-fp/floatuntisf.c: Likewise.
4009         * soft-fp/floatuntitf.c: Likewise.
4010         * soft-fp/trunctfxf2.c: Likewise.
4012 2013-10-10  David S. Miller  <davem@davemloft.net>
4014         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4016 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
4018         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
4019         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
4020         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
4021         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
4022         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
4023         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
4024         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
4026         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
4027         for NaNs before doing comparisons on argument.
4028         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
4029         Likewise.
4031 2013-10-10  Will Newton  <will.newton@linaro.org>
4033         * malloc/hooks.c (memalign_check): Ensure the value of bytes
4034         passed to _int_memalign does not overflow.
4036 2013-10-10  Torvald Riegel  <triegel@redhat.com>
4038         * scripts/bench.pl: Add include-sources directive.
4039         * benchtests/README: Update documentation.
4041 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
4043         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
4044         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
4045         instead of FP_INIT_ROUNDMODE.
4046         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
4047         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
4049         [BZ #16034]
4050         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
4051         copy class of input value.
4052         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
4053         not handle exceptions.
4054         * soft-fp/negsf2.c (__negsf2): Likewise.
4055         * soft-fp/negtf2.c (__negtf2): Likewise.
4056         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
4058 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
4060         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
4061         semicolon.  From Linux kernel.
4063 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
4065         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
4067 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
4069         [BZ #156]
4070         * manual/socket.texi: Added statement about buffer
4071         for gethostbyname2_r.
4073 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
4075         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
4076         Use .p2align directive instead, throughout.
4077         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4078         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
4079         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
4080         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4081         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4082         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
4083         * sysdeps/x86_64/strchr.S: Likewise.
4084         * sysdeps/x86_64/strrchr.S: Likewise.
4086 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
4088         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
4090         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
4092         * sysdeps/generic/math_private.h (__mpsin1): Remove
4093         declaration.
4094         (__mpcos1): Likewise.
4095         (__mpsin): New argument __range_reduce.
4096         (__mpcos): Likewise.
4097         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4098         (slow): Use __mpsin and __mpcos.
4099         (slow1): Likewise.
4100         (slow2): Likewise.
4101         (sloww): Likewise.
4102         (sloww1): Likewise.
4103         (sloww2): Likewise.
4104         (bsloww): Likewise.
4105         (bsloww1): Likewise.
4106         (bsloww2): Likewise.
4107         (cslow2): Likewise.
4108         (csloww): Likewise.
4109         (csloww1): Likewise.
4110         (csloww2): Likewise.
4111         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
4112         range_reduce.  Merge in __mpsin1.
4113         (__mpcos): Likewise.
4114         (__mpsin1): Remove.
4115         (__mpcos1): Likewise.
4117 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
4119         * locale/loadlocale.c (_nl_intern_locale_data): Use
4120         LOCFILE_ALIGNED_P.
4121         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
4122         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
4123         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
4124         obstack data is appropriately aligned.
4125         (obstack_int32_grow_fast): Likewise.
4126         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
4127         * locale/programs/locfile.c (add_locale_uint32): Likewise.
4128         (add_locale_uint32_array): Likewise.
4130 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
4132         * benchtests/Makefile: Remove ARGLIST and RET variables.
4133         ($(objpfx)bench-%.c): Pass only function name to the script.
4134         * benchtests/README: Update documentation.
4135         * benchtests/acos-inputs: Add new directives.
4136         * benchtests/acosh-inputs: Likewise.
4137         * benchtests/asin-inputs: Likewise.
4138         * benchtests/asinh-inputs: Likewise.
4139         * benchtests/atan-inputs: Likewise.
4140         * benchtests/atanh-inputs: Likewise.
4141         * benchtests/cos-inputs: Likewise.
4142         * benchtests/cosh-inputs: Likewise.
4143         * benchtests/exp-inputs: Likewise.
4144         * benchtests/log-inputs: Likewise.
4145         * benchtests/pow-inputs: Likewise.
4146         * benchtests/rint-inputs: Likewise.
4147         * benchtests/sin-inputs: Likewise.
4148         * benchtests/sinh-inputs: Likewise.
4149         * benchtests/tan-inputs: Likewise.
4150         * benchtests/tanh-inputs: Likewise.
4151         * scripts/bench.pl: Add support for new directives.
4153 2013-10-07  Alan Modra  <amodra@gmail.com>
4155         * README: Fix careless merge.
4157 2013-10-05  Alan Modra  <amodra@gmail.com>
4159         * NEWS: Mention powerpc64le support and bugs fixed.
4160         * README: Both big-endian and little-endian powerpc64 supported.
4162 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4164         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
4165         _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
4166         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
4167         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
4169 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
4171         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
4172         match prototype.
4174 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
4176         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
4177         Move -mhard-float appending from
4178         ports/sysdeps/powerpc/powerpc32/Makefile.
4179         [$(with-fp) = yes] (ASFLAGS): Likewise.
4180         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
4181         * sysdeps/powerpc/nofpu: Move directory from
4182         ports/sysdeps/powerpc/nofpu.
4183         * sysdeps/powerpc/soft-fp: Move directory from
4184         ports/sysdeps/powerpc/soft-fp.
4185         * sysdeps/powerpc/powerpc32/405: Move directory from
4186         ports/sysdeps/powerpc/powerpc32/405.
4187         * sysdeps/powerpc/powerpc32/440: Move directory from
4188         ports/sysdeps/powerpc/powerpc32/440.
4189         * sysdeps/powerpc/powerpc32/464: Move directory from
4190         ports/sysdeps/powerpc/powerpc32/464.
4191         * sysdeps/powerpc/powerpc32/476: Move directory from
4192         ports/sysdeps/powerpc/powerpc32/476.
4193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
4194         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
4195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
4196         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
4197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
4198         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
4199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
4200         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
4201         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
4202         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
4203         * README: Update for powerpc-*-linux-gnu software floating point
4204         support in libc.
4206         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
4207         case to powerpc/powerpc32*.
4208         * sysdeps/unix/sysv/linux/configure: Regenerated.
4210         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
4211         (_FPU_MASK_OM): Define as 0x04.
4212         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
4213         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
4214         0x00c10080.
4215         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
4216         0x0000003c.
4217         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
4219         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
4220         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4221         getcontext_e500.
4222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
4223         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4224         setcontext_e500.
4225         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
4226         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
4227         and setcontext_e500.
4229 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
4231         * locale/iso-3166.def: Update iso-1366.def and related occurrences
4233 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
4235         * manual/threads.texi (Default Thread Attributes): Fix typo.
4237 2013-10-04  Will Newton  <will.newton@linaro.org>
4239         * malloc/Makefile: Add tst-memalign.
4240         * malloc/tst-memalign.c: New file.
4242         * malloc/tst-posix_memalign.c: Add comments.
4243         (do_test): Add comments and call free on all potentially
4244         allocated pointers. Add space after cast.
4246         * malloc/tst-pvalloc.c: Add comments.
4247         (do_test): Add comments and call free on all potentially
4248         allocated pointers. Remove duplicate check for NULL pointer.
4249         Add space after cast.
4251         * malloc/tst-valloc.c: Add comments.
4252         (do_test): Add comments and call free on all potentially
4253         allocated pointers. Remove duplicate check for NULL pointer.
4254         Add space after cast.
4256 2013-10-04  Alan Modra  <amodra@gmail.com>
4258         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4259         Use stdint types in rather than __attribute__((mode())).
4260         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4262 2013-10-04  Alan Modra  <amodra@gmail.com>
4264         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4265         Correct handling of unaligned relocs for little-endian.
4266         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4268 2013-10-04  Alan Modra  <amodra@gmail.com>
4270         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
4271         * configure: Regenerate.
4272         * nptl/shlib-versions: Powerpc*le starts at 2.18.
4273         * shlib-versions: Likewise.
4275 2013-10-04  Alan Modra  <amodra@gmail.com>
4277         * string/tester.c (test_memrchr): Increment reported test cycle.
4279 2013-10-04  Alan Modra  <amodra@gmail.com>
4281         * string/test-memcpy.c (do_one_test): When reporting errors, print
4282         string address and don't overrun end of string.
4284 2013-10-04  Alan Modra  <amodra@gmail.com>
4286         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
4287         insrdi.  Make better use of reg selection to speed exit slightly.
4288         Schedule entry path a little better.  Remove useless "are we done"
4289         checks on entry to main loop.  Handle wrapping around zero address.
4290         Correct main loop count.  Handle single left-over word from main
4291         loop inline rather than by using loop_small.  Remove extra word
4292         case in loop_small caused by wrong loop count.  Add little-endian
4293         support.
4294         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
4295         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
4296         cache hint.
4297         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
4298         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
4299         support.  Avoid rlwimi.
4300         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
4302 2013-10-04  Alan Modra  <amodra@gmail.com>
4304         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
4305         insrdi.  Formatting.
4306         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
4307         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4308         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
4309         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
4310         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4311         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
4313 2013-10-04  Alan Modra  <amodra@gmail.com>
4315         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
4316         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4317         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
4318         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
4319         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
4320         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4321         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4322         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
4323         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
4324         use of regs.  Use power7 mtocrf.  Tidy function tails.
4326 2013-10-04  Alan Modra  <amodra@gmail.com>
4328         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
4329         Formatting.  Consistently use rXXX register defines or rN defines.
4330         Use early exit labels that avoid restoring unused non-volatile regs.
4331         Make cr field use more consistent with rWORDn compares.  Rename
4332         regs used as shift registers for unaligned loop, using rN defines
4333         for short lifetime/multiple use regs.
4334         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4335         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
4336         addi 1,1,64 to pop stack frame.  Simplify return value code.
4337         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4339 2013-10-04  Alan Modra  <amodra@gmail.com>
4341         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
4342         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
4343         rather than rlwimi.
4344         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
4345         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
4346         little-endian support.  Correct typos.
4347         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
4348         rather than rlwimi.
4349         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
4350         in loop and entry code to keep "and." results.
4351         (strchr): Add little-endian support.  Comment.  Move cntlzd
4352         earlier in tail.
4353         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
4355 2013-10-04  Alan Modra  <amodra@gmail.com>
4357         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
4358         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
4359         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
4360         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
4362 2013-10-04  Alan Modra  <amodra@gmail.com>
4364         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
4365         (rTMP): Define as r11.
4366         (strcmp): Add little-endian support.  Optimise tail.
4367         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
4368         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4369         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
4370         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
4371         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
4372         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4373         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
4375 2013-10-04  Alan Modra  <amodra@gmail.com>
4377         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
4378         little-endian support.  Remove unnecessary "are we done" tests.
4379         Handle "s" wrapping around zero and extremely large "size".
4380         Correct main loop count.  Handle single left-over word from main
4381         loop inline rather than by using small_loop.  Correct comments.
4382         Delete "zero" tail, use "end_max" instead.
4383         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
4385 2013-10-04  Alan Modra  <amodra@gmail.com>
4387         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
4388         support.  Don't branch over align.
4389         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
4390         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
4391         support.  Rearrange tmp reg use to suit.  Comment.
4392         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
4394 2013-10-04  Alan Modra  <amodra@gmail.com>
4396         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
4398 2013-10-04  Alan Modra  <amodra@gmail.com>
4400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
4401         conditional form of branch and link when obtaining pc.
4402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
4404 2013-10-04  Alan Modra  <amodra@gmail.com>
4406         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
4407         HIWORD/LOWORD.
4408         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
4409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
4411 2013-10-04  Alan Modra  <amodra@gmail.com>
4413         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
4414         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
4415         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
4416         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
4417         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
4418         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
4419         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
4420         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
4421         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
4422         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
4424 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
4425             Alistair Popple <alistair@ozlabs.au.ibm.com>
4426             Alan Modra <amodra@gmail.com>
4428         [BZ #15723]
4429         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
4430         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
4431         _dl_hwcap access for little-endian.
4432         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
4433         destroy vmx regs when saving unaligned.
4434         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
4435         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
4436         destroy vmx regs when saving unaligned.
4438 2013-10-04  Alan Modra  <amodra@gmail.com>
4440         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
4441         Don't use a union to pack hi/low value.
4443 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
4445         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
4446         for little-endian.
4447         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
4448         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
4449         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
4450         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
4451         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
4453 2013-10-04  Alan Modra  <amodra@gmail.com>
4455         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
4456         constants to usual value for .cst8 section, and remove redundant
4457         high address load.
4458         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
4459         constant for 0x1p52.  Load little-endian words of double from
4460         correct stack offsets.
4462 2013-10-04  Alan Modra  <amodra@gmail.com>
4464         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
4465         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
4466         words of double from correct stack offsets.
4467         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
4468         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
4469         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
4470         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
4471         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
4472         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
4473         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
4474         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
4475         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
4476         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
4477         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
4478         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
4479         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4480         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4481         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4482         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
4483         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
4485 2013-10-04  Alan Modra  <amodra@gmail.com>
4487         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
4488         64-bit int/double union.
4489         (_FPU_SETCW): Likewise.
4490         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
4491         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
4493 2013-10-04  Alan Modra  <amodra@gmail.com>
4495         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
4496         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
4498 2013-10-04  Alan Modra  <amodra@gmail.com>
4500         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
4501         use vector int constants.
4502         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
4504 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
4506         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
4507         array with long long.
4508         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
4509         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
4510         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
4511         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
4512         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
4513         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
4514         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
4515         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
4516         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
4517         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
4518         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
4519         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
4520         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
4522 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
4524         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
4525         (__signbit): Likewise.  Correct for little-endian.
4526         (__signbitl): Call __signbit.
4527         (lrint): Correct for little-endian.
4528         (lrintf): Call lrint.
4530 2013-10-04  Alan Modra  <amodra@gmail.com>
4532         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
4533         union 32-bit int array member with 64-bit int array.
4534         (t515, tm256): Double rather than long double.
4535         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
4537 2013-10-04  Alan Modra  <amodra@gmail.com>
4539         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
4540         Delete.
4541         (IEEE854_LONG_DOUBLE_BIAS): Delete.
4542         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
4543         version of math_ldbl.h.
4545 2013-10-04  Alan Modra  <amodra@gmail.com>
4547         [BZ #15734], [BZ #15735]
4548         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
4549         all uses of ieee875 long double macros and unions.  Simplify test
4550         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
4551         ldbl_extract_mantissa value for ix,iy exponents.  Properly
4552         normalize after ldbl_extract_mantissa, and don't add hidden bit
4553         already handled.  Don't treat low word of ieee854 mantissa like
4554         low word of IBM long double and mask off bit when testing for
4555         zero.
4556         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
4557         all uses of ieee875 long double macros and unions.  Simplify tests
4558         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
4559         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
4560         two1022, instead use their values.  Recognise that tests for large
4561         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
4562         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
4563         Rewrite all uses of ieee875 long double macros and unions.  Simplify
4564         test for 0.0L and nan.  Correct negation.
4565         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
4566         ieee875 long double macros and unions.  Correct output for large
4567         magnitude x.  Correct absolute value calculation.
4568         (__erfcl): Likewise.
4569         * math/libm-test.inc: Add tests for errors discovered in IBM long
4570         double versions of fmodl, remainderl, erfl and erfcl.
4572 2013-10-04  Alan Modra  <amodra@gmail.com>
4574         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
4575         all uses of ieee854 long double macros and unions.  Simplify tests
4576         for long doubles that are fully specified by the high double.
4577         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
4578         Likewise.
4579         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
4580         Remove dead code too.
4581         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
4582         (__ieee754_ynl): Likewise.
4583         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
4584         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
4585         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
4586         Remove dead code too.
4587         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
4588         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
4589         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
4590         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
4591         Simplify.
4592         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
4593         Simplify.
4594         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
4595         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
4596         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
4597         Comment on variable precision.
4598         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
4599         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4600         Likewise.
4601         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
4602         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
4603         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
4604         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
4605         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
4607 2013-10-04  Alan Modra  <amodra@gmail.com>
4609         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
4610         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
4611         all uses of ieee854 long double macros and unions.
4612         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
4613         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
4614         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
4615         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
4616         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
4617         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
4618         Likewise.
4619         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
4620         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
4621         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
4622         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
4623         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
4624         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
4625         Simplify sign and nan test too.
4626         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
4627         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
4628         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
4629         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
4630         Likewise.
4631         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
4632         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
4633         Likewise.
4634         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4635         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
4636         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
4637         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
4638         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
4639         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
4641 2013-10-04  Alan Modra  <amodra@gmail.com>
4643         * stdio-common/printf_size.c (__printf_size): Don't use
4644         union ieee854_long_double in fpnum union.
4645         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
4646         signbit macro to retrieve sign from long double.
4647         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
4648         retrieve sign from long double.
4649         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
4650         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
4651         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
4652         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
4653         * math/test-misc.c (main): Don't use union ieee854_long_double.
4655 2013-10-04  Alan Modra  <amodra@gmail.com>
4657         [BZ #15680]
4658         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
4659         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
4660         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
4661         calculation.  Remove unnecessary test for denormal exponent.
4662         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
4663         Correct handling of denormals.  Avoid undefined shift behaviour.
4664         Correct normalisation of low mantissa when low double is denormal.
4665         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
4666         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
4667         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
4668         Correct normalisation of low mantissa.  Test for overflow of high
4669         mantissa and normalise.
4670         (ldbl_nearbyint): Use more readable constant for two52.
4671         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
4672         (__mpn_construct_long_double): Fix test for overflow of high
4673         mantissa and correct normalisation.  Avoid undefined shift.
4675 2013-10-04  Alan Modra  <amodra@gmail.com>
4677         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
4678         (union ibm_extended_long_double): Define as an array of ieee754_double.
4679         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
4680         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
4681         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
4682         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
4683         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4684         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
4685         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4686         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
4687         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
4688         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
4689         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
4691 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
4693         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
4694         page size instead of calling getpagesize.
4696         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
4697         (LOCFILE_ALIGN_MASK): Likewise.
4698         (LOCFILE_ALIGN_UP): Likewise.
4699         (LOCFILE_ALIGNED_P): Likewise.
4700         * locale/programs/ld-collate.c (collate_output): Use the new
4701         macros instead of __alignof__ (int32_t).
4702         * locale/weight.h (findidx): Likewise.
4704 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
4706         [BZ #431]
4707         * manual/string.texi: Fix strncat and wcsncat.
4709 2013-10-03  Brooks Moses  <bmoses@google.com>
4711         [BZ #15915]
4712         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
4713         * Makerules: ...here, and adjust associated comments.
4715 2013-10-02  Will Newton  <will.newton@linaro.org>
4717         * malloc/Makefile: Add tst-pvalloc.
4718         * malloc/tst-pvalloc.c: New file.
4720 2013-10-02  Will Newton  <will.newton@linaro.org>
4722         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
4723         improve test coverage.
4725 2013-10-02  Will Newton  <will.newton@linaro.org>
4727         * malloc/Makefile: Add tst-posix_memalign.
4728         * malloc/tst-posix_memalign.c: New file.
4730 2013-10-01  Eric Blake  <eblake@redhat.com>
4732         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
4733         Use __THROWNL rather than __THROW on static functions.
4735 2013-09-30  Petr Machata  <pmachata@redhat.com>
4737         * elf/elf.h (R_AARCH64_ABS16): New macro.
4738         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
4739         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
4740         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
4741         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
4742         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
4743         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
4744         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
4745         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
4746         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
4747         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
4748         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
4749         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
4750         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
4751         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
4752         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
4753         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
4754         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
4755         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
4756         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
4757         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
4758         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
4759         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
4760         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
4761         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
4762         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
4763         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
4764         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
4765         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
4766         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
4767         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
4768         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
4769         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
4770         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
4771         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
4772         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
4773         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
4774         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
4775         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
4776         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
4777         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
4778         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
4779         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
4780         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
4781         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
4782         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
4783         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
4784         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
4785         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
4786         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
4787         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
4788         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
4789         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
4790         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
4791         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
4792         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
4793         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
4794         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
4795         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
4796         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
4797         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
4798         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
4799         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
4800         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
4801         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
4802         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
4803         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
4804         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
4805         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
4806         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
4807         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
4808         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
4809         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
4810         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
4811         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
4812         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
4813         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
4814         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
4815         (R_AARCH64_TLSDESC_LDR): Likewise.
4816         (R_AARCH64_TLSDESC_ADD): Likewise.
4817         (R_AARCH64_TLSDESC_CALL): Likewise.
4819 2013-09-30  Andreas Schwab  <schwab@suse.de>
4821         [BZ #15048]
4822         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
4823         the nss database lookup.
4824         * nscd/initgrcache.c (addinitgroupsX): Likewise.
4825         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
4827 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
4829         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
4831 2013-09-28  P. J. McDermott  <pj@pehjota.net>
4833         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
4834         ${Bash-specific parameter/pattern/string} parameter expansion.
4835         * sysdeps/unix/make-syscalls.sh: Likewise.
4837 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
4839         * sysdeps/sh/stackguard-macros.h: New file.
4841 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
4843         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
4844         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
4845         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
4846         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
4847         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
4848         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
4850 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4852         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
4853         Fix thread ID register.
4855 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
4857         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
4858         [POSIX || UNIX98]: Require rather than permitting all symbols from
4859         <time.h>.
4860         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
4861         element of struct sched_param.
4862         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
4863         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
4864         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
4865         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
4866         constant.
4868 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
4870         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
4871         argument calculation.
4873 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
4875         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
4876         Expect macro.
4877         [POSIX] (pthread_attr_t): Do not require type.
4878         [POSIX] (pthread_cond_t): Likewise.
4879         [POSIX] (pthread_condattr_t): Likewise.
4880         [POSIX] (pthread_key_t): Likewise.
4881         [POSIX] (pthread_mutex_t): Likewise.
4882         [POSIX] (pthread_mutexattr_t): Likewise.
4883         [POSIX] (pthread_once_t): Likewise.
4884         [POSIX] (pthread_t): Likewise.
4885         [POSIX-based standards] (pthread_atfork): Expect function.
4887 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
4888             Richard Sandiford  <richard@codesourcery.com>
4890         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
4891         (swap_endianness_p): New extern variable.
4892         (set_big_endian): New inline function.
4893         (maybe_swap_uint32): Likewise.
4894         (maybe_swap_uint32_array): Likewise.
4895         (maybe_swap_uint32_obstack): Likewise.
4896         * locale/programs/locfile.c: Include <stdbool.h>.
4897         (swap_endianness_p): New variable.
4898         (add_locale_uint32): Call maybe_swap_uint32.
4899         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
4900         (write_locale_data): Call maybe_swap_uint32_array.
4901         * locale/programs/ld-collate.c (obstack_int32_grow): Call
4902         maybe_swap_uint32.
4903         (obstack_int32_grow_fast): Likewise.
4904         (output_weightwc): Call maybe_swap_uint32_obstack.
4905         (collate_output): Likewise.
4906         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
4907         (OPT_LITTLE_ENDIAN): Likewise.
4908         (options): Add --little-endian and --big-endian options.
4909         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
4910         * locale/programs/locarchive.c: Include "locfile.h".
4911         (GET): New macro.
4912         (SET): Likewise.
4913         (INC): Likewise.
4914         (create_archive): Use the new macros to access fields of
4915         structures directly mapped from or written to locale archives.
4916         (oldlocrecentcmp): Likewise.
4917         (enlarge_archive): Likewise.
4918         (insert_name): Likewise.
4919         (add_alias): Likewise.
4920         (add_locale): Likewise.
4921         (delete_locales_from_archive): Likewise.
4922         (show_archive_content): Likewise.
4923         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
4924         locale data.
4926 2013-09-24  Roland McGrath  <roland@hack.frob.com>
4928         * manual/freemanuals.texi: Updated from (newly) canonical copy at
4929         http://www.gnu.org/doc/freemanuals.texi.
4930         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
4932 2013-09-24  Will Newton  <will.newton@linaro.org>
4934         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
4935         macro.
4937 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
4939         * locale/hashval.h (compute_hashval): Interpret bytes of key as
4940         unsigned char.
4942 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
4944         * manual/threads.texi (POSIX Threads): Fix a typo.
4946 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
4948         [BZ #14547]
4949         * string/tst-strcoll-overflow.c: New test case.
4950         * string/Makefile (xtests): Add tst-strcoll-overflow.
4951         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
4952         cache if string sizes may cause integer overflow.
4954         [BZ #14547]
4955         * string/strcoll_l.c (coll_seq): New members rule, idx,
4956         save_idx and back_us.
4957         (get_next_seq_nocache): New function.
4958         (do_compare_nocache): New function.
4959         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
4960         when malloc fails.
4962 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
4964         [BZ #15754]
4965         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
4966         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
4967         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
4969         [BZ #15754]
4970         * elf/Makefile (tests): Add tst-ptrguard1.
4971         (tests-static): Add tst-ptrguard1-static.
4972         (tst-ptrguard1-ARGS): Define.
4973         (tst-ptrguard1-static-ARGS): Define.
4974         * elf/tst-ptrguard1.c: New file.
4975         * elf/tst-ptrguard1-static.c: New file.
4976         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
4977         * sysdeps/i386/stackguard-macros.h: Likewise.
4978         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
4979         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
4980         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
4981         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
4982         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
4983         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
4985 2013-09-23  Hector Marco  <hecmargi@upv.es>
4986             Ismael Ripoll  <iripoll@disca.upv.es>
4987             Carlos O'Donell  <carlos@redhat.com>
4989         [BZ #15754]
4990         * sysdeps/generic/stackguard-macros.h: Define
4991         __pointer_chk_guard_local and POINTER_CHK_GUARD.
4992         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
4993         Define __pointer_chk_guard_local.
4994         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
4995         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
4997 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
4999         [BZ #15859]
5000         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
5002 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
5004         * include/string.h (__ffs): Declare as hidden.
5005         * string/ffs.c (__ffs): Define as hidden.
5006         * sysdeps/i386/ffs.c (__ffs): Likewise.
5007         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
5008         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
5009         * sysdeps/s390/ffs.c (__ffs): Likewise.
5010         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
5012 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
5014         * NEWS: Mention malloc probes.
5016         * malloc/arena.c (new_heap): New memory_heap_new probe.
5017         (grow_heap): New memory_heap_more probe.
5018         (shrink_heap): New memory_heap_less probe.
5019         (heap_trim): New memory_heap_free probe.
5020         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
5021         (systrim): New memory_sbrk_less probe.
5022         * manual/probes.texi: Document them.
5024         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
5025         * manual/probes.texi: Document it.
5027         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
5028         (__libc_realloc): Add memory_realloc_retry probe.
5029         (__libc_memalign): Add memory_memalign_retry probe.
5030         (__libc_valloc): Add memory_valloc_retry probe.
5031         (__libc_pvalloc): Add memory_pvalloc_retry probe.
5032         (__libc_calloc): Add memory_calloc_retry probe.
5033         * manual/probes.texi: Document them.
5035         * malloc/arena.c (get_free_list): Add probe
5036         memory_arena_reuse_free_list.
5037         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
5038         and memory_arena_reuse.
5039         (arena_get2) [!PER_THREAD]: Likewise.
5040         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
5041         memory_arena_reuse_realloc.
5042         * manual/probes.texi: Document them.
5044         * malloc/malloc.c (__libc_free): Add
5045         memory_mallopt_free_dyn_thresholds probe.
5046         (__libc_mallopt): Add multiple memory_mallopt probes.
5047         * manual/probes.texi: Document them.
5049         * malloc/malloc.c: Include stap-probe.h.
5050         (__libc_mallopt): Add memory_mallopt probe.
5051         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
5052         * manual/probes.texi: New.
5053         * manual/Makefile (chapters): Add probes.
5054         * manual/threads.texi: Set next node.
5056 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
5058         [BZ #15963, #13985]
5059         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
5060         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
5061         Add `Chinese' to `nan' entry name.
5063 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5065         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
5066         (POLYNOMIAL): Likewise.
5067         (TAYLOR_SINCOS): Likewise.
5068         (TAYLOR_SLOW): Likewise.
5069         (__sin): Use TAYLOR_SINCOS.
5070         (__cos): Likewise.
5071         (slow): Use TAYLOR_SLOW.
5072         (sloww): Likewise.
5073         (bsloww): Likewise.
5074         (csloww): Likewise.
5076 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
5078         * stdlib/strtod_l.c: Fix buffer overrun.
5080 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5082         * benchtests/Makefile (bench): Add sincos.
5083         * benchtests/bench-sincos.c: New file.
5085         * math/libm-test.inc (cos_test_data): New test inputs.
5086         (sin_test_data): Likewise.
5088         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
5089         macro.
5090         (__sin): Use it.
5091         (__cos): Likewise.
5092         (slow1): Likewise.
5093         (slow2): Likewise.
5094         (sloww1): Likewise.
5095         (sloww2): Likewise.
5096         (bsloww1): Likewise.
5097         (bsloww2): Likewise.
5098         (cslow2): Likewise.
5099         (csloww1): Likewise.
5100         (csloww2): Likewise.
5102         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
5103         function.
5104         (__sin): Use it.
5105         (__cos): Likewise.
5107         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
5108         gotos.
5109         (__cos): Likewise.
5111 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
5113         * config.h.in (HAVE_MIPS_NAN2008): New macro.
5114         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
5115         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
5116         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
5117         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
5118         * elf/cache.c (print_entry): Handle the new cache flags.
5120 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
5121             Aldy Hernandez  <aldyh@redhat.com>
5123         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
5124         Change condition to [_SOFT_FLOAT].
5125         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
5126         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
5127         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
5128         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
5129         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
5130         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
5131         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
5132         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
5133         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
5134         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
5135         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
5136         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
5137         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
5138         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
5139         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
5140         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
5141         declaration.
5143 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
5145         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
5146         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5147         (__longjmp): Use LOAD_GP to load saved GPRs.
5148         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
5149         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5150         (__sigsetjmp): Use SAVE_GP to save GPRs.
5152         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
5153         Do not append -msoft-float.
5154         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
5156 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
5158         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
5160 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
5162         [BZ #15966]
5163         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
5164         (_FPU_GETCW): Use initial "__" on variable and field names but not
5165         on macro parameter name.
5166         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
5167         parentheses around reference to macro parameter.
5169 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
5171         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
5172         prototype.
5173         (ctype_startup): Use uint32_t in cast and sizeof for
5174         ctype->charnames.
5176 2013-09-11  Jia Liu  <proljc@gmail.com>
5178         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
5179         __daddr_t_defined.
5180         [__FreeBSD__]: Likewise.
5182 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
5184         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5185         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
5186         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
5187         (strchr): Remove __strchr_sse42 ifunc selection.
5188         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
5189         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
5191 2013-09-11  Will Newton  <will.newton@linaro.org>
5193         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
5194         parameter to RES. Remove hardcoded 1000 value.
5195         * benchtests/bench-skeleton.c (main): Pass RES parameter
5196         to TIMING_INIT and multiply result by 1000.
5198 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5200         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5202 2013-09-11  Andreas Schwab  <schwab@suse.de>
5204         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
5205         if not defined.
5206         (O_TMPFILE) [__USE_GNU]: Define.
5207         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
5208         Define.
5210 2013-09-11  Will Newton  <will.newton@linaro.org>
5212         [BZ #15857]
5213         * malloc/malloc.c (__libc_memalign): Check the value of bytes
5214         does not overflow.
5216 2013-09-11  Will Newton  <will.newton@linaro.org>
5218         [BZ #15856]
5219         * malloc/malloc.c (__libc_valloc): Check the value of bytes
5220         does not overflow.
5222 2013-09-11  Will Newton  <will.newton@linaro.org>
5224         [BZ #15855]
5225         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
5226         does not overflow.
5228 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
5230         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
5231         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5232         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5233         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5234         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5236 2013-09-10  Allan McRae  <allan@archlinux.org>
5238         [BZ #15748]
5239         * manual/arith.texi (Parsing of Floats): Clarify
5240         cross-reference.
5242         [BZ #15849]
5243         * manual/install.texi (Running make install): Mention
5244         --enable-pt-chown.
5245         * INSTALL: Regenerated.
5247 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
5249         * csu/init-first.c (_init): Remove the !SHARED condition around
5250         FPU control word initialization.
5251         * elf/dl-support.c (_dl_fpu_control): New variable.
5252         (_dl_aux_init) <AT_FPUCW>: Initialize it.
5253         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
5254         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
5255         * math/test-fpucw-static.c: New file.
5256         * math/test-fpucw-ieee.c: New file.
5257         * math/test-fpucw-ieee-static.c: New file.
5258         * math/Makefile (tests): Add `test-fpucw-ieee' and
5259         `$(tests-static)'.
5260         (tests-static): New variable.
5261         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
5262         dependency to...
5263         [($(build-shared),yes)]
5264         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5265         ... this.
5266         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
5267         New dependency.
5269 2013-09-09  Allan McRae  <allan@archlinux.org>
5271         [BZ #15939]
5272         * manual/string.texi (Collation Functions): Fix typo in
5273         strcoll example.
5274         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
5276         [BZ #15893]
5277         * stdlib/isomac.c (get_null_defines): Fix memory leak.
5279         [BZ #15892]
5280         * libio/memstream.c (open_memstream): Fix memory leak.
5281         * libio/wmemstream.c (open_wmemstream): Likewise.
5283         [BZ #15895]
5284         * nscd/netgroupcache.c: Fix nesting of ifdefs.
5286 2013-09-09  Will Newton  <will.newton@linaro.org>
5288         * malloc/Makefile: Add tst-realloc to tests.
5289         * malloc/tst-realloc.c: New file.
5291 2013-09-09  Allan McRae  <allan@archlinux.org>
5293         [BZ #15844]
5294         * COPYING: Update from GNU website to fix FSF address.
5295         * COPYING.LIB: Likewise.
5297 2013-09-06  David S. Miller  <davem@davemloft.net>
5299         * po/zh_TW.po: Update Chinese (traditional) translation from
5300         translation project.
5302 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
5303             Joseph Myers  <joseph@codesourcery.com>
5305         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
5306         "localeinfo.h".
5307         (obstack_chunk_alloc): New macro.
5308         (obstack_chunk_free): Likewise.
5309         (record_offset): New function.
5310         (init_locale_data): Likewise.
5311         (align_locale_data): Likewise.
5312         (add_locale_empty): Likewise.
5313         (add_locale_raw_data): Likewise.
5314         (add_locale_raw_obstack): Likewise.
5315         (add_locale_string): Likewise.
5316         (add_locale_wstring): Likewise.
5317         (add_locale_uint32): Likewise.
5318         (add_locale_uint32_array): Likewise.
5319         (add_locale_char): Likewise.
5320         (start_locale_structure): Likewise.
5321         (end_locale_structure): Likewise.
5322         (start_locale_prelude): Likewise.
5323         (end_locale_prelude): Likewise.
5324         (write_locale_data): Take locale_file structure rather than an
5325         iovec.
5326         * locale/programs/locfile.h: Include "obstack.h".
5327         (struct locale_file): Change to store locale file contents instead
5328         of header.
5329         (init_locale_data): New prototype.
5330         (align_locale_data): Likewise.
5331         (add_locale_empty): Likewise.
5332         (add_locale_raw_data): Likewise.
5333         (add_locale_raw_obstack): Likewise.
5334         (add_locale_string): Likewise.
5335         (add_locale_wstring): Likewise.
5336         (add_locale_uint32): Likewise.
5337         (add_locale_uint32_array): Likewise.
5338         (add_locale_char): Likewise.
5339         (start_locale_structure): Likewise.
5340         (end_locale_structure): Likewise.
5341         (start_locale_prelude): Likewise.
5342         (end_locale_prelude): Likewise.
5343         (write_locale_data): Update prototype.
5344         * locale/programs/3level.h (struct TABLE): Remove result field.
5345         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
5346         Use new locale_file interface.
5347         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
5348         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
5349         * locale/programs/ld-address.c (address_output): Use new
5350         locale_file interface.
5351         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
5352         NO_ADD_LOCALE.
5353         (collate_finish): Don't call collseq_table_finalize.
5354         (collate_output): Use new locale_file interface.
5355         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
5356         in file.
5357         (NO_FINALIZE): Change to NO_ADD_LOCALE.
5358         (TABLE): Move defines earlier in file.
5359         (ELEMENT): Likewise.
5360         (DEFAULT): Likewise.
5361         (wctrans_table_add): Move macro and inline function earlier in
5362         file.
5363         (struct wctype_table): Move type earlier in file.
5364         (add_locale_wctype_table): New static prototype.
5365         (struct locale_ctype_t): Use logical types instead of struct iovec
5366         pointers for members.
5367         (ctype_output): Use new locale_file interface.
5368         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
5369         new locale_file interface.
5370         (allocate_arrays): Update for use of new locale_file interface.
5371         * locale/programs/ld-identification.c (identification_output): Use
5372         new locale_file interface.
5373         * locale/programs/ld-measurement.c (measurement_output): Likewise.
5374         * locale/programs/ld-messages.c (messages_output): Likewise.
5375         * locale/programs/ld-monetary.c (monetary_output): Likewise.
5376         * locale/programs/ld-name.c (name_output): Likewise.
5377         * locale/programs/ld-numeric.c (numeric_output): Likewise.
5378         * locale/programs/ld-paper.c (paper_output): Likewise.
5379         * locale/programs/ld-telephone.c (telephone_output): Likewise.
5380         * locale/programs/ld-time.c (time_output): Likewise.
5382 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5384         * benchtests/Makefile: Add memrchr benchmark.
5385         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
5386         benchmark as memrchr.
5387         * benchtests/bench-memrchr-ifunc.c: New file.
5388         * benchtests/bench-memrchr.c: New file.
5390 2013-09-06   Will Newton  <will.newton@linaro.org>
5392         * benchtests/Makefile (string-bench): Add memcpy.
5394 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
5395             Cong Wang  <amwang@redhat.com>
5397         * sysdeps/unix/sysv/linux/bits/in.h
5398         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
5399         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
5400         before __USE_KERNEL_IPV6_DEFS uses.
5401         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
5402         IPPROTO_BEETPH.
5403         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
5404         sockaddr_in6, or ipv6_mreq.
5406 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5408         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
5409         memory access for final bytes in some large inputs.
5410         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
5412 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5414         * string/test-memrchr.c: New file.
5415         * string/test-memrchr-ifunc.c: New file.
5416         * string/Makefile: Add new memrchr testcase.
5418 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
5420         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
5421         fanotify_init returns EPERM.
5423 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
5425         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
5426         errors.
5427         (top level): Treat second token from macro or constant entries for
5428         allowed headers as allowed.
5429         * include/complex.h: Condition internal declarations on
5430         [!_ISOMAC].
5431         * include/fenv.h: Condition include of <stdbool.h> and internal
5432         declarations on [!_ISOMAC].
5434 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
5436         [BZ #15923]
5437         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
5439 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
5441         * configure.in (--enable-versioning): Remove configure option.
5442         (libc_cv_asm_symver_directive): Remove configure test.
5443         (libc_cv_ld_version_script_option): Likewise.
5444         (VERSIONING): Remove variable and AC_SUBST.
5445         (DO_VERSIONING): Remove AC_DEFINE.
5446         * configure: Regenerated.
5447         * config.h.in (DO_VERSIONING): Remove macro.
5448         * Makerules [$(versioning) = yes]: Change conditionals to
5449         [$(build-shared) = yes].
5450         * config.make.in (versioning): Remove variable.
5451         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
5452         [$(build-shared) = yes].
5453         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
5454         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
5455         * elf/Makefile [$(versioning) = yes]: Change conditionals to
5456         [$(build-shared) = yes].
5457         * extra-lib.mk [$(versioning) = yes]: Likewise.
5458         * hurd/Makefile [$(versioning) = yes]: Likewise.
5459         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
5460         [SHARED].
5461         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
5462         [SHARED].
5463         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
5464         [SHARED && !NO_HIDDEN].
5465         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
5466         [SHARED].
5467         [SHARED && DO_VERSIONING]: Likewise..
5468         * libio/Makefile [$(versioning) = yes]: Change conditionals to
5469         [$(build-shared) = yes].
5470         * manual/install.texi (--disable-versioning): Remove
5471         documentation.
5472         * INSTALL: Regenerated.
5473         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
5474         to [SHARED].
5475         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
5476         [$(build-shared) = yes].
5477         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
5478         * sysdeps/i386/i686/multiarch/strstr-c.c
5479         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
5480         [SHARED && !NO_HIDDEN].
5481         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
5482         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
5483         * sysdeps/powerpc/powerpc32/dl-machine.c
5484         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
5485         * sysdeps/powerpc/powerpc32/sysdep.h
5486         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
5487         to [SHARED && PIC && !NO_HIDDEN].
5488         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
5489         conditional to [SHARED].
5491 2013-09-04   Will Newton  <will.newton@linaro.org>
5493         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
5494         * benchtests/bench-string.h: Include bench-timing.h instead
5495         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
5496         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
5497         call to HP_TIMING_DIFF_INIT.
5498         * benchtests/bench-memccpy.c: Use bench-timing.h macros
5499         instead of hp-timing.h macros.
5500         * benchtests/bench-memchr.c: Likewise.
5501         * benchtests/bench-memcmp.c: Likewise.
5502         * benchtests/bench-memcpy.c: Likewise.
5503         * benchtests/bench-memmem.c: Likewise.
5504         * benchtests/bench-memmove.c: Likewise.
5505         * benchtests/bench-memset.c: Likewise.
5506         * benchtests/bench-rawmemchr.c: Likewise.
5507         * benchtests/bench-strcasecmp.c: Likewise.
5508         * benchtests/bench-strcasestr.c: Likewise.
5509         * benchtests/bench-strcat.c: Likewise.
5510         * benchtests/bench-strchr.c: Likewise.
5511         * benchtests/bench-strcmp.c: Likewise.
5512         * benchtests/bench-strcpy.c: Likewise.
5513         * benchtests/bench-strcpy_chk.c: Likewise.
5514         * benchtests/bench-strlen.c: Likewise.
5515         * benchtests/bench-strncasecmp.c: Likewise.
5516         * benchtests/bench-strncat.c: Likewise.
5517         * benchtests/bench-strncmp.c: Likewise.
5518         * benchtests/bench-strncpy.c: Likewise.
5519         * benchtests/bench-strnlen.c: Likewise.
5520         * benchtests/bench-strpbrk.c: Likewise.
5521         * benchtests/bench-strrchr.c: Likewise.
5522         * benchtests/bench-strspn.c: Likewise.
5523         * benchtests/bench-strstr.c: Likewise.
5525 2013-09-04  Will Newton  <will.newton@linaro.org>
5527         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
5529 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
5531         [BZ #15427]
5532         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
5533         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
5534         * math/libm-test.inc (lgamma_test_data): Add more tests.
5535         * sysdeps/i386/fpu/libm-test-ulps: Update.
5536         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5538 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
5540         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
5541         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5542         Add ifunc.
5543         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5544         Add strcmp-sse2-unaligned
5545         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
5547 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
5549         * Versions.def (libc): Add GLIBC_2.19.
5551 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
5553         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
5554         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
5556 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
5558         [BZ #14155]
5559         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
5560         intermediate calculations in recurrence.
5561         (__ieee754_ynf): Likewise.
5562         * math/libm-test.inc (jn_test_data): Do not allow spurious
5563         underflow exception.  Add more tests.
5564         (yn_test_data): Add more tests.
5565         * sysdeps/i386/fpu/libm-test-ulps: Update.
5566         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5568 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
5570         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
5572 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
5574         * csu/init-first.c: Fix then/than typos.
5575         * locale/programs/ld-collate.c: Likewise.
5576         * locale/programs/linereader.h: Likewise.
5577         * manual/charset.texi: Likewise.
5578         * manual/filesys.texi: Likewise.
5579         * manual/stdio.texi: Likewise.
5580         * manual/string.texi: Likewise.
5581         * stdlib/fmtmsg.c: Likewise.
5582         * sysdeps/i386/stpncpy.S: Likewise.
5583         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5584         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
5585         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5586         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5588 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
5590         * elf/dl-open.c: Fix typos.
5591         * iconvdata/gbbig5.c: Likewise.
5592         * iconvdata/iso-2022-jp.c: Likewise.
5593         * iconv/gconv_int.h: Likewise.
5594         * iconv/loop.c: Likewise.
5595         * nis/rpcsvc/nis.h: Likewise.
5596         * resolv/ns_name.c: Likewise.
5597         * stdio-common/vfscanf.c: Likewise.
5598         * streams/stropts.h: Likewise.
5599         * sunrpc/rpc_thread.c: Likewise.
5600         * sysdeps/i386/strpbrk.S: Likewise.
5601         * sysdeps/ieee754/k_standard.c: Likewise.
5602         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5603         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5604         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
5605         * sysdeps/mach/hurd/profil.c: Likewise.
5606         * sysdeps/s390/dl-procinfo.h: Likewise.
5607         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
5608         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
5609         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
5610         * sysdeps/x86_64/dl-trampoline.S: Likewise.
5611         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5613 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
5615         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
5616         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
5618 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
5620         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
5621         aix specific files.
5622         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
5623         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
5624         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
5625         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
5626         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
5627         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
5628         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
5629         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
5631 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
5632             Roland McGrath  <roland@hack.frob.com>
5634         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
5635         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
5637 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5639         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
5640         __executable_start symbol instead of _start.
5642 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
5644         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
5645         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
5646         Move macros to...
5647         * sysdeps/gnu/ldsodefs.h: ... this new file.
5649         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
5650         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
5651         instead of ELFOSABI_LINUX.
5653         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
5654         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
5655         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
5656         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
5657         Likewise.
5658         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
5659         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
5660         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
5661         Likewise.
5662         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
5663         (ibm_extended_long_double): Add ieee_nan member.
5664         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
5665         (do_test): New function.
5667         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
5668         TEST_TRUNC.
5669         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
5670         functions, renamed from truncdfsf_test, trunctfsf_test,
5671         trunctfdf_test.
5672         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
5673         functions.
5674         (do_test): Run all these.
5676 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
5678         * argp/argp-help.c: Fix typos.
5679         * argp/argp-parse.c: Likewise.
5680         * debug/backtracesyms.c: Likewise.
5681         * elf/elf.h: Likewise.
5682         * malloc/malloc.c: Likewise.
5683         * nis/nis_print.c: Likewise.
5684         * resolv/res_comp.c: Likewise.
5685         * stdlib/stdlib.h: Likewise.
5686         * sunrpc/clnt_tcp.c: Likewise.
5687         * sunrpc/clnt_udp.c: Likewise.
5688         * sunrpc/clnt_unix.c: Likewise.
5689         * sysdeps/unix/bsd/ptsname.c: Likewise.
5690         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
5691         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
5692         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
5693         Likewise.
5694         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
5695         Likewise.
5696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
5697         Likewise.
5698         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
5700 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
5702         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
5703         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5705 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
5707         [BZ #15897]
5708         * dlfcn/Makefile (tests): Add bug-dl-leaf.
5709         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
5710         ($(objpfx)bug-dl-leaf): New rule.
5711         ($(objpfx)bug-dl-leaf.so): Likewise.
5712         ($(objpfx)bug-dl-leaf.out): Likewise.
5713         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
5714         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
5715         * dlfcn/bug-dl-leaf.c: New test.
5716         * dlfcn/bug-dl-leaf-lib.c: Likewise.
5717         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
5718         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
5719         (dlclose): Likewise.
5720         (dlmopen): Likewise.
5722 2013-08-27  Roland McGrath  <roland@hack.frob.com>
5724         * include/netdb.h [!_ISOMAC]:
5725         Don't include <tls.h>.
5726         (h_errno, __libc_h_errno): Move declaration and macros out of
5727         [_LIBC_REENTRANT].
5729         * include/resolv.h [_RESOLV_H_]:
5730         Don't include <tls.h>.
5731         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
5732         * resolv/res_libc.c: Don't include <tls.h>.
5733         (_res): Use __attribute__ ((nocommon)) in place of
5734         __attribute__ ((section (".bss"))).
5736         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
5737         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
5739         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
5741         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
5742         only under [SIOCGIFCONF && SIOCGIFNETMASK].
5744         * resolv/res_mkquery.c: Include <sys/time.h>.
5746         * inet/ifreq.c: Moved to ...
5747         * sysdeps/unix/ifreq.c: ... here.
5748         * inet/ifreq.c: New file, true stub version.
5750         * socket/sa_len.c: New file.
5751         * socket/Makefile (aux): Add it.
5752         * sysdeps/unix/sysv/linux/Makefile
5753         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
5754         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
5755         and #include <socket/sa_len.c>.
5756         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
5757         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
5759         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
5760         * bits/socket.h: ... here.
5762         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
5763         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
5764         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
5766 2013-08-27  Andreas Schwab  <schwab@suse.de>
5768         [BZ #15736]
5769         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
5770         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
5771         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
5772         * string/test-strcasecmp.c (test_main): Run tests in several
5773         locales.
5774         * string/test-strncasecmp.c (test_main): Likewise.
5776         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
5777         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
5778         to __strcasecmp_nonascii and __strncasecmp_nonascii.
5779         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
5780         (__strncasecmp_ssse3) [PIC]: Likewise.
5782 2013-08-26  Roland McGrath  <roland@hack.frob.com>
5784         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
5786         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
5787         instead of explicitly declaring xdecrypt.
5788         * nis/nss_nis/nis-publickey.c: Likewise.
5790 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5792         [BZ #15890]
5793         * nscd/aicache.c: Include res_hconf.h.
5794         (addhstaiX): Initialize res_hconf.
5796 2013-08-26  Andreas Schwab  <schwab@suse.de>
5798         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
5799         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
5801 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5803         * nscd/aicache.c (addhstaiX): Fix indentation.
5805 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
5807         * configure.ac: Quote $build_pt_chown test.
5808         * configure: Regenerated.
5810 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
5812         [BZ #15532]
5813         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
5814         * math/s_cexpf.c (__cexpf): Likewise.
5815         * math/s_cexpl.c (__cexpl): Likewise.
5816         * math/libm-test.inc (cexp_test_data): Correct expected return
5817         value for NaN + i0.  Add another test.
5819 2013-08-22  David S. Miller  <davem@davemloft.net>
5821         * po/ca.po: Update Catalan translation from translation project.
5822         * po/uk.po: Add Ukrainian translations from translation project.
5824 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
5826         [BZ #15797]
5827         * math/s_fdim.c (__fdim): Check for infinite arguments if result
5828         is infinite, not alongside NaN test.
5829         * math/s_fdimf.c (__fdimf): Likewise.
5830         * math/s_fdiml.c (__fdiml): Likewise.
5831         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
5832         errno is unchanged.
5834 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
5836         * argp/argp-help.c: Fix typos.
5837         * crypt/speeds.c: Likewise.
5838         * csu/check_fds.c: Likewise.
5839         * elf/dl-load.c: Likewise.
5840         * elf/dl-open.c: Likewise.
5841         * elf/reldep3.c: Likewise.
5842         * elf/reldep.c: Likewise.
5843         * elf/sprof.c: Likewise.
5844         * iconv/iconv_charmap.c: Likewise.
5845         * iconv/skeleton.c: Likewise.
5846         * iconv/strtab.c: Likewise.
5847         * io/lockf64.c: Likewise.
5848         * libio/libioP.h: Likewise.
5849         * resolv/gai_notify.c: Likewise.
5850         * resolv/ns_name.c: Likewise.
5851         * resolv/ns_samedomain.c: Likewise.
5852         * resolv/res_send.c: Likewise.
5853         * stdlib/random.c: Likewise.
5854         * sunrpc/rpc/xdr.h: Likewise.
5855         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
5856         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
5857         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
5858         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
5859         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
5860         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
5861         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
5862         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
5863         * sysdeps/mach/hurd/check_fds.c: Likewise.
5864         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
5865         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
5866         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5867         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
5868         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
5869         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
5870         * sysdeps/pthread/aio_notify.c: Likewise.
5871         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
5872         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
5873         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
5874         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
5875         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
5877 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
5879         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
5880         version if bit_Slow_SSE4_2 is set.
5881         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5882         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
5884 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5886         [BZ #15867]
5887         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
5888         trampoline stack frame information.
5889         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
5890         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
5891         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
5892         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
5893         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
5894         * sysdeps/unix/sysv/linux/powerpc/init-first.c
5895         (_libc_vdso_platform_setup): Initialize the signal trampolines.
5896         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
5897         sa_flags value.
5898         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
5899         interrupting a syscall and set with option SA_SIGINFO.
5901 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
5903         [BZ #15531]
5904         * math/s_cproj.c (__cproj): Only return an infinity if one part of
5905         argument is infinite.
5906         * math/s_cprojf.c (__cprojf): Likewise.
5907         * math/s_cprojl.c (__cprojl): Likewise.
5908         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
5909         * math/libm-test.inc (cproj_test_data): Add more tests.
5911         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
5913         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
5914         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
5915         size.  Use __ffs to determine corresponding shift.
5917 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
5918             Roland McGrath  <roland@hack.frob.com>
5920         * Makefile (INSTALL): Remove trailing blank lines from output of
5921         makeinfo.
5923 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5925         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
5926         Align 32 bit compat elf_greg to 8 bytes.
5928 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
5930         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
5932 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
5934         * string/strcoll_l.c (coll_seq): New structure.
5935         (get_next_seq_cached): New function.
5936         (get_next_seq): New function.
5937         (do_compare): New function.
5938         (STRCOLL): Use GNU style definition.  Simplify implementation
5939         by using get_next_seq, get_next_seq_cached and do_compare.
5941 2013-08-16  Florian Weimer  <fweimer@redhat.com>
5943         [BZ #14699]
5944         CVE-2013-4237
5945         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
5946         member.
5947         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
5948         member.
5949         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
5950         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
5951         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
5952         conditional.
5953         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
5954         GETDENTS_64BIT_ALIGNED.
5955         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
5956         * manual/filesys.texi (Reading/Closing Directory): Document
5957         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
5958         strongly.
5959         * manual/conf.texi (Limits for Files): Add portability note to
5960         NAME_MAX, PATH_MAX.
5961         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
5963 2013-08-13  Andreas Schwab  <schwab@suse.de>
5965         [BZ #15749]
5966         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
5967         of fabs.
5968         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
5969         LDBL_MAX_EXP >= 16384]: Add tests for it.
5971 2013-08-12  David S. Miller  <davem@davemloft.net>
5973         * version.h (RELEASE): Set to "development".
5974         (VERSION): Set to "2.18.90".
5975         * NEWS: Add 2.19 section.
5977 2013-08-03  David S. Miller  <davem@davemloft.net>
5979         * po/ko.po: Update Korean translation from translation project.
5981 2013-08-01  David S. Miller  <davem@davemloft.net>
5983         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
5984         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
5985         Bilka.
5987 2013-07-30  David S. Miller  <davem@davemloft.net>
5989         * po/fr.po: Update French translation from translation project.
5991 2013-07-28  David S. Miller  <davem@davemloft.net>
5993         * po/cs.po: Update Czech translation from translation project.
5995         * po/sv.po: Update Swedish translation from translation project.
5997 2013-07-27  David S. Miller  <davem@davemloft.net>
5999         * po/eo.po: Update Esperanto translation from translation project.
6001         * po/vi.po: Update Vietnamese translation from translation project.
6003         * po/de.po: Update German translation from translation project.
6005 2013-07-26  David S. Miller  <davem@davemloft.net>
6007         * po/bg.po: Update Bulgarian translation from translation project.
6009         * po/nl.po: Update Dutch translation from translation project.
6010         * po/pl.po: Update Polish translation from translation project.
6011         * po/ru.po: Update Russian translation from translation project.
6013 2013-07-24  David S. Miller  <davem@davemloft.net>
6015         * po/libc.pot: Update.
6017 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6019         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
6020         variable page size.
6021         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
6022         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
6023         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
6025 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6027         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
6029 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6030             Andreas Schwab  <schwab@suse.de>
6031             Roland McGrath  <roland@hack.frob.com>
6032             Joseph Myers  <joseph@codesourcery.com>
6033             Carlos O'Donell  <carlos@redhat.com>
6035         [BZ #15755]
6036         * config.h.in: Define HAVE_PT_CHOWN.
6037         * config.make.in (build-pt-chown): New variable.
6038         * configure.in (--enable-pt_chown): New configure option.
6039         * configure: Regenerate.
6040         * login/Makefile: Include Makeconfig.  Build pt_chown only if
6041         build-pt-chown is enabled.
6042         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
6043         pt_chown to fix pty ownership.
6044         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
6045         CLOSE_ALL_FDS.
6046         * manual/install.texi (Configuring and compiling): Mention
6047         --enable-pt_chown. Add @findex for grantpt.
6048         * INSTALL: Regenerate.
6050 2013-07-20  David S. Miller  <davem@davemloft.net>
6052         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
6053         difference between 32-bit and 64-bit.
6055 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
6057         [BZ #15711]
6058         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
6059         Avoid system header dependency with -ffreestanding.
6060         ($(objpfx)bits/syscall%d): Likewise.
6062 2013-07-13  David S. Miller  <davem@davemloft.net>
6064         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
6065         underflows from atanl/atan2l due to bug 15319.
6066         (casinh_test_data): Likewise.
6068 2013-07-07  David S. Miller  <davem@davemloft.net>
6070         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
6072 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
6074         * sysdeps/i386/fpu/libm-test-ulps: Update.
6075         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6077 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
6079         * configure.in (--enable-lock-elision): Fix message text.
6080         * INSTALL: Regenerate.
6081         * configure: Regenerate.
6083 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6085         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6087 2013-07-03  Andreas Jaeger  <aj@suse.de>
6089         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
6090         define.
6091         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
6092         (ptrace_peeksiginfo_args): Add.
6093         (__ptrace_peeksiginfo_flags): Add.
6094         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6095         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6096         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6098 2013-07-03  Allan McRae  <allan@archlinux.org>
6100         * sysdeps/i386/fpu/libm-test-ulps: Update.
6102 2013-07-02  David S. Miller  <davem@davemloft.net>
6104         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6106 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
6108         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6110 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
6112         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6113         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6115 2013-07-02  Andi Kleen <ak@linux.intel.com>
6117         * config.h.in (ENABLE_LOCK_ELISION): Add.
6118         * configure.in (--enable-lock-elision): Add option.
6119         * manual/install.texi: Document --enable lock elision.
6120         * configure: Regenerate
6121         * INSTALL: Regenerate.
6123 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
6125         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
6126         SSE4.2 strcasecmp for libc.a.
6127         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
6129 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
6131         [BZ #13304]
6132         * soft-fp/op-common.h (_FP_FMA): New macro.
6133         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
6134         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
6135         (_FP_MUL_MEAT_1_imm): ... here.
6136         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
6137         (_FP_MUL_MEAT_1_wide): ... here.
6138         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
6139         (_FP_MUL_MEAT_1_hard): ... here.
6140         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
6141         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
6142         (_FP_MUL_MEAT_2_wide): ... here.
6143         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
6144         (_FP_MUL_MEAT_2_wide_3mul): ... here.
6145         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
6146         (_FP_MUL_MEAT_2_gmp): ... here.
6147         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
6148         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
6149         (_FP_MUL_MEAT_4_wide): ... here.
6150         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
6151         (_FP_MUL_MEAT_4_gmp): ... here.
6152         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
6153         (_FP_WFRACBITS_DW_S): Likewise.
6154         (_FP_WFRACXBITS_DW_S): Likewise.
6155         (_FP_HIGHBIT_DW_S): Likewise.
6156         (FP_FMA_S): Likewise.
6157         (_FP_FRAC_HIGH_DW_S): Likewise.
6158         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
6159         (_FP_WFRACBITS_DW_D): Likewise.
6160         (_FP_WFRACXBITS_DW_D): Likewise.
6161         (_FP_HIGHBIT_DW_D): Likewise.
6162         (FP_FMA_D): Likewise.
6163         (_FP_FRAC_HIGH_DW_D): Likewise.
6164         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
6165         (_FP_WFRACBITS_DW_E): Likewise.
6166         (_FP_WFRACXBITS_DW_E): Likewise.
6167         (_FP_HIGHBIT_DW_E): Likewise.
6168         (FP_FMA_E): Likewise.
6169         (_FP_FRAC_HIGH_DW_E): Likewise.
6170         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
6171         (_FP_WFRACBITS_DW_Q): Likewise.
6172         (_FP_WFRACXBITS_DW_Q): Likewise.
6173         (_FP_HIGHBIT_DW_Q): Likewise.
6174         (FP_FMA_Q): Likewise.
6175         (_FP_FRAC_HIGH_DW_Q): Likewise.
6176         * soft-fp/fmasf4.c: New file.
6177         * soft-fp/fmadf4.c: Likewise.
6178         * soft-fp/fmatf4.c: Likewise.
6180 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
6182         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
6183         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
6184         Silvermont.
6185         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
6186         macro.
6187         (index_Slow_SSE4_2): Likewise.
6188         (index_Prefer_PMINUB_for_stringop): Likewise.
6189         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
6190         bit_Slow_SSE4_2 is set.
6191         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6192         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6194 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6196         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
6197         rtld_global._dl_hwcap2.
6198         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
6199         POWER8.
6200         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
6201         POWER8 feature descriptions defined in _dl_hwcap2.
6202         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
6203         string handling for POWER8 feature bits.
6204         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
6205         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
6206         _dl_powerpc_cap_flags.
6207         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
6208         * sysdeps/powerpc/rtld-global-offsets.sym
6209         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
6210         _dl_hwcap2 in the rtld_global_ro structure.
6212 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6214         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
6215         hardware capabilities in support of AT_HWCAP2.
6216         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
6217         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
6218         GLRO(dl_hwcap2).
6219         (_dl_show_auxv): Add support for calling _dl_procinfo to display
6220         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
6221         explicitly the unknown a_type display mechanism is used.
6222         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
6223         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
6224         struct member.
6225         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
6226         to macro prototype for AT_HWCAP2 support.
6227         * sysdeps/i386/dl-procinfo.h: Likewise.
6228         * sysdeps/s390/dl-procinfo.h: Likewise.
6229         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
6230         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
6231         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
6232         return -1 for unknown a_type display fallback.
6233         * sysdeps/sparc/dl-procinfo.h: Likewise.
6234         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
6235         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
6237 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
6239         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
6240         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
6242 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
6244         [BZ #12492]
6245         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
6246         mprotect making __stack_prot writable.
6248 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
6249             Joseph Myers  <joseph@codesourcery.com>
6251         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
6252         as being properly aligned.
6254 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
6256         * dlfcn/modstatic5.c: New file.
6257         * dlfcn/tststatic5.c: New file.
6258         * dlfcn/Makefile (tests): Add tststatic5.
6259         (tests-static): Likewise.
6260         (modules-names): Add modstatic5.
6261         (tststatic5-ENV): New variable.
6262         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
6264         [BZ #15022]
6265         * elf/dl-support.c (_dl_main_map): New variable.
6266         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
6267         (_dl_nns, _dl_load_adds): Set to 1.
6268         (_dl_initial_searchlist): Refer to _dl_main_map.
6269         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
6270         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
6271         call to _dl_get_origin.
6272         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
6273         around call_map.
6274         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
6275         * dlfcn/modstatic3.c: New file.
6276         * dlfcn/tststatic3.c: New file.
6277         * dlfcn/tststatic4.c: New file.
6278         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
6279         (tests-static): Likewise.
6280         (modules-names): Add modstatic3.
6281         (tststatic3-ENV, tststatic4-ENV): New variables.
6282         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
6283         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
6285 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
6287         * configure.in (CC): Require GCC version 4.4 or later.
6288         * configure: Regenerated.
6289         * manual/install.texi (Tools for Compilation): Update GCC version
6290         requirement.
6291         * INSTALL: Regenerated.
6293 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
6295         [BZ #15674]
6296         * string/test-memcmp.c (check2): New.
6297         (main): Call check2.
6299         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
6301 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
6303         [BZ #15022]
6304         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
6305         over to...
6306         (dl_open_worker) [!SHARED]: ... here.
6308 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6310         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
6312 2013-06-25  Richard Henderson  <rth@redhat.com>
6314         * locale/programs/locarchive.c: Include <libc-internal.h>
6316 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
6318         * manual/texinfo.tex: Update to version 2013-06-21.17, with
6319         trailing whitespace removed.
6321 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
6323         [BZ #10283]
6324         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
6325         * locale/programs/locarchive.c: Include libc-mmap.h.
6326         (prepare_address_space): Take two new outputs (the mmap base and len).
6327         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
6328         values.
6329         (create_archive): Declare new mmap base and len values for
6330         prepare_address_space, and store the result in ah.
6331         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
6332         (enlarge_archive): If ah->mmap_base is not NULL, use that and
6333         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6334         Declare new mmap base and len values for
6335         prepare_address_space, and store the result in new_ah.
6336         (open_archive): Declare new mmap base and len values for
6337         prepare_address_space, and store the result in ah.
6338         (close_archive): If ah->mmap_base is not NULL, use that and
6339         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6340         * sysdeps/generic/libc-mmap.h: New file.
6342 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
6344         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
6345         (ALIGN_UP): Likewise.
6346         (PTR_ALIGN_DOWN): Likewise.
6347         (PTR_ALIGN_UP): Likewise.
6349 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6351         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
6352         entry mapped to PPC_PLATFORM_POWER8.
6353         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
6354         POWER8.
6355         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
6356         (_dl_string_platform): Add case for exporting platform position for
6357         POWER8.
6358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
6359         search path to sysdeps/powerpc/powerpc32/power8 directory.
6360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
6361         search path to sysdeps/powerpc/powerpc64/power8 directory.
6362         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
6363         power7 directories.
6364         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
6365         power7 directories.
6367 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6369         * INSTALL: Regenerate.
6371         * nscd/connections.c (nscd_init): Fix comment.
6373 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
6375         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
6377         [BZ #15667]
6378         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
6379         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
6381 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
6383         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
6384         DL_DST_REQ_STATIC.
6385         (DL_DST_REQ_STATIC): Remove macro.
6387 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
6389         [BZ #7006]
6390         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
6391         with a shift of 0 bits.
6393 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
6395         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
6396         $(tststatic-ENV).
6398 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6400         [BZ #15655]
6401         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
6403 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6405         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
6406         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
6407         accepts -fno-tree-loop-distribute-patterns.
6408         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
6409         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
6410         recursive call.
6411         * string/memset.c (memset): Likewise.
6412         * string/test-memmove.c (simple_memmove): Disable loop transformation
6413         to library calls.
6414         * string/test-memset.c (simple_memset): Likewise.
6415         * benchtests/bench-memmove.c (simple_memmove): Likewise.
6416         * benchtests/bench-memset.c (simple_memset): Likewise.
6417         * configure: Regenerated.
6419 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
6421         * math/test-misc.c (main): Ignore fesetround failure when failures
6422         of subsequent rounding tests would be ignored.
6424         [BZ #15654]
6425         * math/fedisblxcpt.c (fedisableexcept): Return 0.
6426         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
6427         * math/fegetenv.c (__fegetenv): Return 0.
6428         * math/fegetexcept.c (fegetexcept): Return 0.
6429         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
6430         FE_TONEAREST.
6431         * math/feholdexcpt.c (feholdexcept): Return 0.
6432         * math/fesetenv.c (__fesetenv): Return 0.
6433         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
6434         argument FE_TONEAREST.
6435         * math/feupdateenv.c (__feupdateenv): Return 0.
6436         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
6438 2013-06-18  Roland McGrath  <roland@hack.frob.com>
6440         * elf/rtld-Rules (rtld-compile-command.S): New variable.
6441         (rtld-compile-command.s, rtld-compile-command.c): New variables.
6442         ($(objpfx)rtld-%.os rules): Use them.
6444 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6446         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
6447         fields.
6449 2013-06-17  Roland McGrath  <roland@hack.frob.com>
6451         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
6452         length of target pattern, then descending length of dependency pattern.
6453         * configure.in (AWK): Require gawk 3.1.2 or newer.
6454         * manual/install.texi (Tools for Compilation): Say that we do.
6455         * configure: Regenerated.
6457         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
6458         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
6459         * scripts/sysd-rules.awk: ... this new script.
6460         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
6461         than a glob-style pattern.
6463 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
6465         * math/test-misc.c (main): Do not treat incorrectly rounded
6466         conversions as failure unless ROUNDING_TESTS passes.
6468 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
6470         [BZ #15631]
6471         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
6472         restore exception state around main square root computation, then
6473         check for inexactness explicitly.
6475         * math/libm-test.inc (fma_test_data): Add another test.
6477 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
6479         * manual/threads.texi (Non-POSIX Extensions): New document
6480         node.  Document pthread_getattr_default_np and
6481         pthread_setattr_default_np.
6483         * Versions.def (libpthread): Add GLIBC_2.18.
6484         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
6485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6486         Likewise.
6487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6488         Likewise.
6489         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6490         Likewise.
6491         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6492         Likewise.
6493         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
6494         Likewise.
6495         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6496         Likewise.
6497         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6498         Likewise.
6499         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
6500         Likewise.
6501         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
6502         Likewise.
6504 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
6506         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6507         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
6509 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
6510             H.J. Lu  <hjl.tools@gmail.com>
6512         [BZ #15627]
6513         * sysdeps/x86_64/rtld-memset.c: Remove file.
6514         * sysdeps/x86_64/rtld-memset.S: New file.
6516 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
6518         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
6519         (test_in_one_mode): Take arguments for whether the rounding mode
6520         is supported for each floating-point type.
6521         (do_test): Pass new arguments to test_in_one_mode using
6522         ROUNDING_TESTS.
6524 2013-06-13  Roland McGrath  <roland@hack.frob.com>
6526         * posix/tst-waitid.c (do_test): Distinguish different instances of
6527         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
6528         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
6529         before entering the kernel for waitpid.
6531 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
6533         * NEWS: Fix note on clock function precision.  Text by Roland
6534         McGrath.
6536 2013-06-13  Roland McGrath  <roland@hack.frob.com>
6538         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
6539         it into place only when and if the sanity check passes.
6541 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
6543         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
6544         output for whether conversion result is exact.  Take argument
6545         indicating whether type is IBM long double.
6546         (round_for_all): Change need_exact field to ibm_ld.
6547         * stdlib/tst-strtod-round.c (struct exactness): New type.
6548         (struct test): Change bool ld_ok field to struct exactness exact.
6549         (TEST): Update all definitions for change to field.
6550         (tests): Regenerate array contents.
6551         (test_in_one_mode): Take pointer to new field instead of old ld_ok
6552         field value.  Check for IBM long double here.
6553         (do_test): Update calls to test_in_one_mode.
6555 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
6557         [BZ #12515]
6558         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
6559         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
6561 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6563         [BZ #15605]
6564         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
6565         generated by the compiler on loop optimizations.
6566         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
6567         general definitions.
6569 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
6571         * math/bug-nextafter.c: Include <math-tests.h>.
6572         (main): Only test for exceptions if EXCEPTION_TESTS is true for
6573         the relevant type.
6574         * math/bug-nexttoward.c: Include <math-tests.h>.
6575         (main): Only test for exceptions if EXCEPTION_TESTS is true for
6576         the relevant type.
6577         * math/test-misc.c: Include <math-tests.h>.
6578         (main): Only test for exceptions if EXCEPTION_TESTS is true for
6579         the relevant type.
6581 2013-06-12  Andreas Jaeger  <aj@suse.de>
6583         * po/ia.po: Update Interlingua translation from translation
6584         project.
6586 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
6588         * include/fenv.h: Include stdbool.h.
6589         (struct rm_ctx): New structure.
6590         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
6591         Define macro.
6592         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
6593         (SET_RESTORE_ROUNDF): Likewise.
6594         (SET_RESTORE_ROUNDL): Likewise.
6595         (SET_RESTORE_ROUND_NOEX): Likewise.
6596         (SET_RESTORE_ROUND_NOEXF): Likewise.
6597         (SET_RESTORE_ROUND_NOEXL): Likewise.
6598         (SET_RESTORE_ROUND_53BIT): Likewise.
6599         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
6600         (libc_feresetround_noexf_ctx): Likewise.
6601         (libc_feresetround_noexl_ctx): Likewise.
6602         (libc_feholdsetround_53bit_ctx): Likewise.
6603         (libc_feresetround_53bit_ctx): Likewise.
6604         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
6605         (libc_feholdexcept_setround_sse_ctx): New function.
6606         (libc_fesetenv_sse_ctx): Likewise.
6607         (libc_feupdateenv_sse_ctx): Likewise.
6608         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
6609         (libc_feholdexcept_setround_387_ctx): Likewise.
6610         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
6611         (libc_feholdsetround_387_prec_ctx): Likewise.
6612         (libc_feholdsetround_387_ctx): Likewise.
6613         (libc_feholdsetround_387_53bit_ctx): Likewise.
6614         (libc_feholdsetround_sse_ctx): Likewise.
6615         (libc_feresetround_sse_ctx): Likewise.
6616         (libc_feresetround_387_ctx): Likewise.
6617         (libc_feupdateenv_387_ctx): Likewise.
6618         (libc_feholdexcept_setroundf_ctx): Define macro.
6619         (libc_fesetenvf_ctx): Likewise.
6620         (libc_feupdateenvf_ctx): Likewise.
6621         (libc_feholdsetroundf_ctx): Likewise.
6622         (libc_feresetroundf_ctx): Likewise.
6623         (libc_feholdexcept_setround_ctx): Likewise.
6624         (libc_fesetenv_ctx): Likewise.
6625         (libc_feupdateenv_ctx): Likewise.
6626         (libc_feholdsetround_ctx): Likewise.
6627         (libc_feresetround_ctx): Likewise.
6628         (libc_feholdexcept_setroundl_ctx): Likewise.
6629         (libc_feupdateenvl_ctx): Likewise.
6630         (libc_feholdsetroundl_ctx): Likewise.
6631         (libc_feresetroundl_ctx): Likewise.
6632         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
6633         (libc_feresetround_53bit_ctx): Likewise.
6635 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
6637         * locale/iso-639.def: Convert to UTF-8.
6639 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
6641         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
6642         (EXCEPTION_TESTS_double): Likewise.
6643         (EXCEPTION_TESTS_long_double): Likewise.
6644         (EXCEPTION_TESTS): Likewise.
6645         * math/libm-test.inc (test_exceptions): Only test exceptions if
6646         EXCEPTION_TESTS (FLOAT).
6648 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
6650         * benchtests/Makefile (string-bench): Add strcpy_chk and
6651         stpcpy_chk.
6652         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
6653         * benchtests/bench-stpcpy_chk.c: New file.
6654         * benchtests/bench-strcpy_chk-ifunc.c: New file.
6655         * benchtests/bench-strcpy_chk.c: New file.
6656         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
6657         code.
6658         (do_test): Likewise.
6660 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6662         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
6663         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
6664         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
6665         with tabs where appropriate.
6666         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
6667         dl-procinfo.h.
6668         [PPC_PLATFORM_PPC440]: Likewise.
6669         [PPC_PLATFORM_PPC464]: Likewise.
6670         [PPC_PLATFORM_PPC476]: Likewise.
6671         (_dl_string_platform): Add support for detecting ppc405, ppc440,
6672         ppc464, and ppc476 platform strings merging from ports/
6673         dl-procinfo.h.
6675 2013-06-11  Andreas Schwab  <schwab@suse.de>
6677         [BZ #14991]
6678         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
6679         (from_ucs4_idx): Regenerate.
6680         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
6681         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
6682         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
6683         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
6684         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
6685         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
6686         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
6687         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
6688         from FROM_LOOP and TO_LOOP specific macros.
6689         (BODY): Handle combining characters.
6690         * iconvdata/BIG5HKSCS.irreversible: Update.
6691         * iconvdata/BIG5HKSCS.precomposed: New file.
6692         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
6693         characters.
6694         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
6696 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
6698         * include/sys/time.h: Fix indentation and add copyright header.
6700         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
6701         (do_test): Likewise.
6702         * string/test-memchr.c (do_one_test): Likewise.
6703         (do_test): Likewise.
6704         * string/test-memcmp.c (do_one_test): Likewise.
6705         (do_test): Likewise.
6706         * string/test-memcpy.c (do_one_test): Likewise.
6707         (do_test): Likewise.
6708         * string/test-memmem.c (do_one_test): Likewise.
6709         (do_test): Likewise.
6710         (do_random_tests): Likewise.
6711         * string/test-memmove.c (do_one_test): Likewise.
6712         (do_test): Likewise.
6713         * string/test-memset.c (do_one_test): Likewise.
6714         (do_test): Likewise.
6715         * string/test-rawmemchr.c (do_one_test): Likewise.
6716         (do_test): Likewise.
6717         * string/test-strcasecmp.c (do_one_test): Likewise.
6718         (do_test): Likewise.
6719         * string/test-strcasestr.c (do_one_test): Likewise.
6720         (do_test): Likewise.
6721         * string/test-strcat.c (do_one_test): Likewise.
6722         (do_test): Likewise.
6723         * string/test-strchr.c (do_one_test): Likewise.
6724         (do_test): Likewise.
6725         * string/test-strcmp.c (do_one_test): Likewise.
6726         (do_test): Likewise.
6727         * string/test-strcpy.c (do_one_test): Likewise.
6728         (do_test): Likewise.
6729         * string/test-string.h: Likewise.
6730         (test_init): Likewise.
6731         * string/test-strlen.c (do_one_test): Likewise.
6732         (do_test): Likewise.
6733         * string/test-strncasecmp.c (do_one_test): Likewise.
6734         (do_test): Likewise.
6735         * string/test-strncat.c (do_one_test): Likewise.
6736         (do_test): Likewise.
6737         * string/test-strncmp.c (do_one_test): Likewise.
6738         (do_test_limit): Likewise.
6739         (do_test): Likewise.
6740         * string/test-strncpy.c (do_one_test): Likewise.
6741         (do_test): Likewise.
6742         * string/test-strnlen.c (do_one_test): Likewise.
6743         (do_test): Likewise.
6744         * string/test-strpbrk.c (do_one_test): Likewise.
6745         (do_test): Likewise.
6746         * string/test-strrchr.c (do_one_test): Likewise.
6747         (do_test): Likewise.
6748         * string/test-strspn.c (do_one_test): Likewise.
6749         (do_test): Likewise.
6750         * string/test-strstr.c (do_one_test): Likewise.
6751         (do_test): Likewise.
6753         * benchtests/Makefile (string-bench): Add string benchmarks.
6754         * benchtests/bench-bcopy-ifunc.c: New file.
6755         * benchtests/bench-bcopy.c: New file.
6756         * benchtests/bench-bzero-ifunc.c: New file.
6757         * benchtests/bench-bzero.c: New file.
6758         * benchtests/bench-memccpy-ifunc.c: New file.
6759         * benchtests/bench-memccpy.c: New file.
6760         * benchtests/bench-memchr-ifunc.c: New file.
6761         * benchtests/bench-memchr.c: New file.
6762         * benchtests/bench-memcmp-ifunc.c: New file.
6763         * benchtests/bench-memcmp.c: New file.
6764         * benchtests/bench-memmem-ifunc.c: New file.
6765         * benchtests/bench-memmem.c: New file.
6766         * benchtests/bench-memmove-ifunc.c: New file.
6767         * benchtests/bench-memmove.c: New file.
6768         * benchtests/bench-mempcpy-ifunc.c: New file.
6769         * benchtests/bench-mempcpy.c: New file.
6770         * benchtests/bench-memset-ifunc.c: New file.
6771         * benchtests/bench-memset.c: New file.
6772         * benchtests/bench-rawmemchr-ifunc.c: New file.
6773         * benchtests/bench-rawmemchr.c: New file.
6774         * benchtests/bench-stpcpy-ifunc.c: New file.
6775         * benchtests/bench-stpcpy.c: New file.
6776         * benchtests/bench-stpncpy-ifunc.c: New file.
6777         * benchtests/bench-stpncpy.c: New file.
6778         * benchtests/bench-strcasecmp-ifunc.c: New file.
6779         * benchtests/bench-strcasecmp.c: New file.
6780         * benchtests/bench-strcasestr-ifunc.c: New file.
6781         * benchtests/bench-strcasestr.c: New file.
6782         * benchtests/bench-strcat-ifunc.c: New file.
6783         * benchtests/bench-strcat.c: New file.
6784         * benchtests/bench-strchr-ifunc.c: New file.
6785         * benchtests/bench-strchr.c: New file.
6786         * benchtests/bench-strchrnul-ifunc.c: New file.
6787         * benchtests/bench-strchrnul.c: New file.
6788         * benchtests/bench-strcmp-ifunc.c: New file.
6789         * benchtests/bench-strcmp.c: New file.
6790         * benchtests/bench-strcpy-ifunc.c: New file.
6791         * benchtests/bench-strcpy.c: New file.
6792         * benchtests/bench-strcspn-ifunc.c: New file.
6793         * benchtests/bench-strcspn.c: New file.
6794         * benchtests/bench-strlen-ifunc.c: New file.
6795         * benchtests/bench-strlen.c: New file.
6796         * benchtests/bench-strncasecmp-ifunc.c: New file.
6797         * benchtests/bench-strncasecmp.c: New file.
6798         * benchtests/bench-strncat-ifunc.c: New file.
6799         * benchtests/bench-strncat.c: New file.
6800         * benchtests/bench-strncmp-ifunc.c: New file.
6801         * benchtests/bench-strncmp.c: New file.
6802         * benchtests/bench-strncpy-ifunc.c: New file.
6803         * benchtests/bench-strncpy.c: New file.
6804         * benchtests/bench-strnlen-ifunc.c: New file.
6805         * benchtests/bench-strnlen.c: New file.
6806         * benchtests/bench-strpbrk-ifunc.c: New file.
6807         * benchtests/bench-strpbrk.c: New file.
6808         * benchtests/bench-strrchr-ifunc.c: New file.
6809         * benchtests/bench-strrchr.c: New file.
6810         * benchtests/bench-strspn-ifunc.c: New file.
6811         * benchtests/bench-strspn.c: New file.
6812         * benchtests/bench-strstr-ifunc.c: New file.
6813         * benchtests/bench-strstr.c: New file.
6815         * benchtests/Makefile: Disable parallel execution of targets.
6816         (string-bench): Add memcpy.
6817         (benchset): New variable to store a list of benchmark sets.
6818         (bench-func): Renamed from bench.
6819         (bench-set): New target.
6820         (bench): Depend on bench-func and bench-set.
6821         * benchtests/README: Add section on benchmark sets.
6822         * benchtests/bench-memcpy-ifunc.c: New file.
6823         * benchtests/bench-memcpy.c: New file.
6824         * benchtests/bench-string.h: New file.
6826 2013-06-11  Andreas Schwab  <schwab@suse.de>
6828         [BZ #15577]
6829         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
6830         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
6831         values in the triple.
6832         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
6833         terminator in the group key.
6835 2013-06-11  Andreas Jaeger  <aj@suse.de>
6837         * po/zh_TW.po: Update Chinese (traditional) translation from
6838         translation project.
6840 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
6842         * include/time.h (__clock_gettime): Add libc_hidden_proto.
6843         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
6844         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
6845         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
6846         (clock_getcpuclockid): Likewise.
6847         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
6848         Add weak_alias and libc_hidden_def.
6849         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
6850         * rt/clock_gettime.c (clock_gettime): Rename to
6851         __clock_gettime.  Add weak_alias and libc_hidden_def.
6852         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
6853         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
6854         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
6855         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
6856         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
6857         Likewise.
6858         * rt/clock_settime.c (clock_settime): Rename to
6859         __clock_settime.  Add weak_alias and libc_hidden_def.
6860         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
6862 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
6864         * mach/err_boot.sub: Remove trailing whitespace.
6865         * mach/err_ipc.sub: Likewise.
6866         * mach/err_mach.sub: Likewise.
6868         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
6869         (ROUNDING_TESTS_double): Likewise.
6870         (ROUNDING_TESTS_long_double): Likewise.
6871         (ROUNDING_TESTS): Likewise.
6872         * math/libm-test.inc: Include <math-tests.h>.
6873         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
6874         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
6875         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
6876         (IF_ROUND_INIT_FE_UPWARD): Likewise.
6878 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
6880         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
6881         of assigning.
6883 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
6885         * sysdeps/gnu/errlist.awk: Do not generate space at end of
6886         otherwise empty TRANS lines.
6887         * sysdeps/gnu/errlist.c: Regenerated.
6889         * catgets/gencat.c (error_print): Use (void) in function
6890         definition.
6891         * crypt/crypt_util.c (__init_des): Likewise.
6892         * crypt/speeds.c (Stop): Likewise.
6893         (main): Likewise.
6894         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
6895         * inet/ruserpass.c (token): Likewise.
6896         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
6897         * intl/localealias.c (extend_alias_table): Likewise.
6898         * intl/plural-exp.c (init_germanic_plural): Likewise.
6899         * libio/fcloseall.c (__fcloseall): Likewise.
6900         * libio/genops.c (_IO_flush_all): Likewise.
6901         (_IO_flush_all_linebuffered): Likewise.
6902         (_IO_cleanup): Likewise.
6903         (_IO_iter_begin): Likewise.
6904         (_IO_iter_end): Likewise.
6905         (_IO_list_lock): Likewise.
6906         (_IO_list_unlock): Likewise.
6907         (_IO_list_resetlock): Likewise.
6908         * libio/getchar.c (getchar): Likewise.
6909         * libio/getchar_u.c (getchar_unlocked): Likewise.
6910         * libio/getwchar.c (getwchar): Likewise.
6911         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
6912         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
6913         * login/getpt.c (__getpt): Likewise.
6914         * login/tst-utmp.c (main): Likewise.
6915         * malloc/hooks.c (__malloc_check_init): Likewise.
6916         * malloc/malloc.c (__malloc_stats): Likewise.
6917         * malloc/mtrace.c (tr_break): Likewise.
6918         (mtrace): Likewise.
6919         (muntrace): Likewise.
6920         * misc/fstab.c (endfsent): Likewise.
6921         * misc/getclktck.c (__getclktck): Likewise.
6922         * misc/getdtsz.c (__getdtablesize): Likewise.
6923         * misc/gethostid.c (gethostid): Likewise.
6924         * misc/getpagesize.c (__getpagesize): Likewise.
6925         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
6926         (__get_nprocs): Likewise.
6927         (__get_phys_pages): Likewise.
6928         (__get_avphys_pages): Likewise.
6929         * misc/getttyent.c (getttyent): Likewise.
6930         (setttyent): Likewise.
6931         (endttyent): Likewise.
6932         * misc/getusershell.c (getusershell): Likewise.
6933         (endusershell): Likewise.
6934         (setusershell): Likewise.
6935         (initshells): Likewise.
6936         * misc/hsearch.c (__hdestroy): Likewise.
6937         * misc/sync.c (sync): Likewise.
6938         * misc/syslog.c (closelog_internal): Likewise.
6939         (closelog): Likewise.
6940         * misc/ttyslot.c (ttyslot): Likewise.
6941         * misc/vhangup.c (vhangup): Likewise.
6942         * posix/fork.c (__fork): Likewise.
6943         * posix/getegid.c (__getegid): Likewise.
6944         * posix/geteuid.c (__geteuid): Likewise.
6945         * posix/getgid.c (__getgid): Likewise.
6946         * posix/getpid.c (__getpid): Likewise.
6947         * posix/getppid.c (__getppid): Likewise.
6948         * posix/getuid.c (__getuid): Likewise.
6949         * posix/pause.c (pause): Likewise.
6950         * posix/setpgrp.c (setpgrp): Likewise.
6951         * posix/setsid.c (__setsid): Likewise.
6952         * posix/test-vfork.c (noop): Likewise.
6953         * resolv/gethnamaddr.c (_endhtent): Likewise.
6954         (_gethtent): Likewise.
6955         (ht_endhostent): Likewise.
6956         (gethostent): Likewise.
6957         (dns_service): Likewise.
6958         * stdlib/drand48.c (drand48): Likewise.
6959         * stdlib/lrand48.c (lrand48): Likewise.
6960         * stdlib/mrand48.c (mrand48): Likewise.
6961         * stdlib/rand.c (rand): Likewise.
6962         * stdlib/random.c (__random): Likewise.
6963         * stdlib/setenv.c (clearenv): Likewise.
6964         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
6965         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
6966         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
6967         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
6968         (__get_nprocs): Likewise.
6969         (__get_phys_pages): Likewise.
6970         (__get_avphys_pages): Likewise.
6971         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
6972         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
6973         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
6974         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
6975         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
6976         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
6977         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
6978         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
6979         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
6980         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
6981         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
6982         * sysdeps/mach/hurd/sync.c (sync): Likewise.
6983         * sysdeps/posix/clock.c (clock): Likewise.
6984         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
6985         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
6986         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
6987         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
6988         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
6989         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
6990         (__get_nprocs_conf): Likewise.
6991         (__get_phys_pages): Likewise.
6992         (__get_avphys_pages): Likewise.
6993         * time/clock.c (clock): Likewise.
6994         * time/tzset.c (__tzname_max): Likewise.
6996 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
6998         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
6999         (__bswap_32): Do not use "register".
7000         * crypt/crypt.c (_ufc_doit_r): Likewise.
7001         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
7002         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
7003         * gmon/gmon.c (__monstartup): Likewise.
7004         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
7005         * hurd/hurdmalloc.c (more_memory): Likewise.
7006         (malloc): Likewise.
7007         (free): Likewise.
7008         (realloc): Likewise.
7009         (malloc_fork_prepare): Likewise.
7010         (malloc_fork_parent): Likewise.
7011         (malloc_fork_child): Likewise.
7012         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
7013         (_svcauth_des): Likewise.
7014         * inet/inet_lnaof.c (inet_lnaof): Likewise.
7015         * inet/inet_net.c (inet_network): Likewise.
7016         * inet/inet_netof.c (inet_netof): Likewise.
7017         * inet/rcmd.c (__validuser2_sa): Likewise.
7018         * io/fts.c (fts_open): Likewise.
7019         (fts_load): Likewise.
7020         (fts_close): Likewise.
7021         (fts_read): Likewise.
7022         (fts_children): Likewise.
7023         (fts_build): Likewise.
7024         (fts_stat): Likewise.
7025         (fts_sort): Likewise.
7026         (fts_alloc): Likewise.
7027         (fts_lfree): Likewise.
7028         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
7029         (_IO_file_xsgetn): Likewise.
7030         (_IO_file_xsgetn_mmap): Likewise.
7031         * libio/iofopncook.c (_IO_cookie_read): Likewise.
7032         (_IO_cookie_write): Likewise.
7033         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
7034         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
7035         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
7036         * malloc/obstack.c (_obstack_begin): Likewise.
7037         (_obstack_begin_1): Likewise.
7038         (_obstack_newchunk): Likewise.
7039         (_obstack_allocated_p): Likewise.
7040         (obstack_free): Likewise.
7041         (_obstack_memory_used): Likewise.
7042         * misc/getttyent.c (getttynam): Likewise.
7043         (getttyent): Likewise.
7044         (skip): Likewise.
7045         (value): Likewise.
7046         * misc/getusershell.c (initshells): Likewise.
7047         * misc/syslog.c (__vsyslog_chk): Likewise.
7048         * misc/ttyslot.c (ttyslot): Likewise.
7049         * nis/nis_hash.c (__nis_hash): Likewise.
7050         * posix/fnmatch_loop.c (FCT): Likewise.
7051         * posix/getconf.c (print_all): Likewise.
7052         (main): Likewise.
7053         * posix/getopt.c (exchange): Likewise.
7054         * posix/glob.c (globfree): Likewise.
7055         (prefix_array): Likewise.
7056         (__glob_pattern_type): Likewise.
7057         * resolv/arpa/nameser.h (NS_GET16): Likewise.
7058         (NS_GET32): Likewise.
7059         (NS_PUT16): Likewise.
7060         (NS_PUT32): Likewise.
7061         * resolv/gethnamaddr.c (getanswer): Likewise.
7062         (gethostbyname2): Likewise.
7063         (gethostbyaddr): Likewise.
7064         (_gethtent): Likewise.
7065         (_gethtbyname2): Likewise.
7066         (_gethtbyaddr): Likewise.
7067         * resolv/ns_print.c (dst_s_get_int16): Likewise.
7068         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
7069         * resolv/res_init.c (__res_vinit): Likewise.
7070         (net_mask): Likewise.
7071         * resolv/res_mkquery.c (outchar): Likewise.
7072         (PRINT): Likewise.
7073         * stdio-common/printf_fp.c (outchar): Likewise.
7074         (PRINT): Likewise.
7075         * stdio-common/printf_fphex.c (outchar): Likewise.
7076         (PRINT): Likewise.
7077         * stdio-common/printf_size.c (outchar): Likewise.
7078         (PRINT): Likewise.
7079         * stdio-common/test_rdwr.c (main): Likewise.
7080         * stdio-common/tfformat.c (matches): Likewise.
7081         * stdio-common/vfprintf.c (outchar): Likewise.
7082         (printf_unknown): Likewise.
7083         (buffered_vfprintf): Likewise.
7084         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
7085         * stdio-common/xbug.c (AppendToBuffer): Likewise.
7086         (ReadFile): Likewise.
7087         * stdlib/qsort.c (SWAP): Likewise.
7088         (_quicksort): Likewise.
7089         * stdlib/setenv.c (__add_to_environ): Likewise.
7090         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7091         * stdlib/strtol_l.c (__strtol_l): Likewise.
7092         * stdlib/tst-strtod.c (main): Likewise.
7093         * stdlib/tst-strtol.c (main): Likewise.
7094         * stdlib/tst-strtoll.c (main): Likewise.
7095         * string/bits/string2.h (__strcmp_cc): Likewise.
7096         (__strcmp_cg): Likewise.
7097         (__strcspn_c1): Likewise.
7098         (__strcspn_c2): Likewise.
7099         (__strcspn_c3): Likewise.
7100         (__strspn_c1): Likewise.
7101         (__strspn_c2): Likewise.
7102         (__strspn_c3): Likewise.
7103         (__strsep_1c): Likewise.
7104         (__strsep_2c): Likewise.
7105         (__strsep_3c): Likewise.
7106         * string/memccpy.c (__memccpy): Likewise.
7107         * string/stpcpy.c (__stpcpy): Likewise.
7108         * string/strcmp.c (strcmp): Likewise.
7109         * string/strrchr.c (strrchr): Likewise.
7110         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
7111         Likewise.
7112         * sysdeps/mach/hurd/getcwd.c
7113         (_hurd_canonicalize_directory_name_internal): Likewise.
7114         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
7115         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
7116         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
7117         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
7118         Likewise, in both definitions.
7119         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
7120         definitions.
7121         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
7122         64] (__bswap_64): Likewise.
7123         * time/test_time.c (main): Likewise.
7124         * time/tzfile.c (__tzfile_read): Likewise.
7125         (__tzfile_compute): Likewise.
7126         * time/tzset.c (__tzset_parse_tz): Likewise.
7127         (tzset_internal): Likewise.
7128         (compute_change): Likewise.
7129         * wcsmbs/wcscat.c (__wcscat): Likewise.
7130         * wcsmbs/wcschr.c (wcschr): Likewise.
7131         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
7132         * wcsmbs/wcscspn.c (wcscspn): Likewise.
7133         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
7134         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
7135         * wcsmbs/wcsspn.c (wcsspn): Likewise.
7136         * wcsmbs/wcsstr.c (wcsstr): Likewise.
7137         * wcsmbs/wmemchr.c (wmemchr): Likewise.
7138         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7139         * wcsmbs/wmemset.c (wmemset): Likewise.
7141 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
7143         * scripts/config.guess: Update to version 2013-05-16.
7144         * scripts/config.sub: Update to version 2013-04-24.
7145         * scripts/install-sh: Update to version 2011-11-20.07.
7146         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
7147         * scripts/move-if-change: Update to version 2012-01-06 07:23.
7149 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
7151         * debug/fgetws_u_chk.c: Fix leading whitespaces.
7152         * elf/sln.c: Likewise.
7153         * hurd/hurd/ioctl.h: Likewise.
7154         * hurd/hurdmalloc.c: Likewise.
7155         * hurd/xattr.c: Likewise.
7156         * include/shlib-compat.h: Likewise.
7157         * inet/ruserpass.c: Likewise.
7158         * libio/iofgets_u.c: Likewise.
7159         * libio/iofgetws_u.c: Likewise.
7160         * locale/programs/ld-identification.c: Likewise.
7161         * locale/programs/ld-time.c: Likewise.
7162         * mach/msg-destroy.c: Likewise.
7163         * nss/nss_files/files-netgrp.c: Likewise.
7164         * resolv/res_data.c: Likewise.
7165         * soft-fp/op-1.h: Likewise.
7166         * soft-fp/op-2.h: Likewise.
7167         * soft-fp/op-4.h: Likewise.
7168         * soft-fp/op-common.h: Likewise.
7169         * stdio-common/printf_fphex.c: Likewise.
7170         * stdlib/strtod_l.c: Likewise.
7171         * sunrpc/rpc/clnt.h: Likewise.
7172         * sysdeps/generic/framestate.c: Likewise.
7173         * sysdeps/i386/bsd-_setjmp.S: Likewise.
7174         * sysdeps/i386/bsd-setjmp.S: Likewise.
7175         * sysdeps/i386/__longjmp.S: Likewise.
7176         * sysdeps/i386/setjmp.S: Likewise.
7177         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7178         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7179         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7180         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7181         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7182         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
7183         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7184         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7185         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7186         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
7187         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
7188         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7189         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7190         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7191         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7192         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7193         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7194         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
7195         * sysdeps/ieee754/support.c: Likewise.
7196         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7197         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
7198         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
7199         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
7200         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
7201         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
7202         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
7203         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
7204         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
7205         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
7206         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
7207         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
7208         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
7209         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
7210         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
7211         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
7212         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
7215 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
7217         * posix/transbug.c: Remove executable mode.
7219 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
7221         * crypt/speeds.c: Remove trailing whitespace.
7222         * dlfcn/default.c: Likewise.
7223         * elf/ifuncdep2.c: Likewise.
7224         * elf/ifuncmain1.c: Likewise.
7225         * elf/ifuncmain1vis.c: Likewise.
7226         * elf/testobj.h: Likewise.
7227         * elf/tst-stackguard1.c: Likewise.
7228         * gmon/sys/gmon.h: Likewise.
7229         * hurd/hurdmsg.c: Likewise.
7230         * hurd/new-fd.c: Likewise.
7231         * hurd/ports-get.c: Likewise.
7232         * iconvdata/ibm1008_420.c: Likewise.
7233         * inet/tst-getni1.c: Likewise.
7234         * inet/tst-getni2.c: Likewise.
7235         * libio/ioungetc.c: Likewise.
7236         * libio/wfiledoalloc.c: Likewise.
7237         * manual/libm-err-tab.pl: Likewise.
7238         * math/w_dremf.c: Likewise.
7239         * misc/ftruncate.c: Likewise.
7240         * posix/bug-glob2.c: Likewise.
7241         * posix/tst-pcre.c: Likewise.
7242         * posix/wait4.c: Likewise.
7243         * resolv/README: Likewise.
7244         * resolv/res_debug.h: Likewise.
7245         * resolv/tst-inet_ntop.c: Likewise.
7246         * setjmp/bug269-setjmp.c: Likewise.
7247         * soft-fp/extended.h: Likewise.
7248         * soft-fp/op-1.h: Likewise.
7249         * soft-fp/op-2.h: Likewise.
7250         * soft-fp/op-4.h: Likewise.
7251         * soft-fp/op-8.h: Likewise.
7252         * soft-fp/testit.c: Likewise.
7253         * stdio-common/bug16.c: Likewise.
7254         * stdlib/random.c: Likewise.
7255         * sunrpc/rpcsvc/rquota.x: Likewise.
7256         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
7257         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7258         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7259         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7260         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7261         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7262         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7263         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7264         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7265         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7266         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7267         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7268         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7269         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7270         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7271         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7272         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7273         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7274         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7275         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7276         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7277         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7278         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
7279         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
7280         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
7281         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
7282         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
7283         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
7284         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7285         * sysdeps/ieee754/s_lib_version.c: Likewise.
7286         * sysdeps/mach/hurd/check_fds.c: Likewise.
7287         * sysdeps/mach/hurd/getsockname.c: Likewise.
7288         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
7289         * sysdeps/mach/hurd/recvfrom.c: Likewise.
7290         * sysdeps/powerpc/bits/link.h: Likewise.
7291         * sysdeps/powerpc/dl-procinfo.c: Likewise.
7292         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
7293         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
7294         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
7295         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
7296         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7297         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
7298         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
7299         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
7300         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
7301         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
7302         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
7303         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
7304         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
7305         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
7306         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
7307         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
7308         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
7309         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
7310         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7311         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7312         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
7313         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7314         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
7315         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
7316         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
7317         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
7318         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7319         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7320         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
7321         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
7322         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
7323         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7324         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7325         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
7326         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
7327         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
7328         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
7329         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
7330         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
7331         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
7332         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
7333         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
7334         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
7335         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
7336         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
7337         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
7338         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
7339         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
7340         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
7341         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7342         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7343         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
7344         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
7345         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
7346         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
7347         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
7348         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
7349         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
7350         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
7351         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
7352         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
7353         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
7354         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
7355         * sysdeps/powerpc/sysdep.h: Likewise.
7356         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7357         * sysdeps/s390/s390-64/sub_n.S: Likewise.
7358         * sysdeps/sh/dl-trampoline.S: Likewise.
7359         * sysdeps/sh/memset.S: Likewise.
7360         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
7361         * sysdeps/sh/strlen.S: Likewise.
7362         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
7363         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
7364         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
7365         * sysdeps/sparc/sparc32/rem.S: Likewise.
7366         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
7367         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
7368         * sysdeps/sparc/sparc32/strchr.S: Likewise.
7369         * sysdeps/sparc/sparc32/udiv.S: Likewise.
7370         * sysdeps/sparc/sparc32/urem.S: Likewise.
7371         * sysdeps/sparc/sparc64/add_n.S: Likewise.
7372         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
7373         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
7374         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
7375         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
7376         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
7377         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
7378         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
7379         * sysdeps/unix/bsd/times.c: Likewise.
7380         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
7381         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
7382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
7383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
7384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
7385         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
7386         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
7387         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
7388         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
7389         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
7390         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
7391         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
7392         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
7393         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
7394         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
7395         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
7396         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
7397         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
7398         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
7399         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
7400         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
7401         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
7402         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
7403         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
7404         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
7405         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
7406         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
7407         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7408         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
7409         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
7410         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
7411         * sysdeps/x86_64/strcspn.S: Likewise.
7413 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
7415         * locale/C-translit.h: Revert #include <stdint.h> because this is a
7416         generated file.  Regenerate properly from gen-translit.pl.
7417         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
7418         locale/C-translit.h.
7420 2013-06-05  Andreas Schwab  <schwab@suse.de>
7422         [BZ #15100]
7423         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
7424         week as 6 instead of -1.
7425         * time/tst-strptime.c (day_tests): Add test case.
7427 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
7429         * sysdeps/generic/math_private.h
7430         (libc_feholdexcept_setround_53bit): Replace with
7431         libc_feholdsetround_53bit.
7432         (libc_feupdateenv_53bit): Replace with
7433         libc_feresetround_53bit.
7434         (SET_RESTORE_ROUND_53BIT): Adjust.
7436 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
7438         * string/test-strchrnul.c: Add copyright header.
7440         * posix/tst-getaddrinfo4.c: Increase test timeout.
7442 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
7444         [BZ #15536]
7445         * math/libm-test.inc (MAX_EXP): Remove
7446         (MIN_EXP): Define.
7447         (ulp): Use MIN_EXP - MANT_DIG.
7448         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
7450 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
7452         * po/be.po: Revert last change.
7453         * po/zh_CN.po: Likewise.
7454         * po/header.pot: Likewise.
7456 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
7458         * Makefile ($(common-objpfx)linkobj/libc.so): Define
7459         link-libc-deps to empty as target-specific variable.
7460         * Makerules (link-libc-args): New variable.
7461         (libc-for-link): Likewise.
7462         (link-libc-deps): Likewise.
7463         (lib%.so): Depend on $(link-libc-deps).  Link with
7464         $(link-libc-args).
7465         (build-module): Link with $(link-libc-args).
7466         (build-module-asneeded): Likewise.
7467         (build-module-helper-objlist): Filter out $(link-libc-deps) from
7468         list of objects.
7469         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
7470         target-specific variable.
7471         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
7472         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
7473         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
7474         libc.
7475         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
7476         libc and ld.so.
7477         ($(objpfx)libpcprofile.so): Likewise.
7478         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
7479         libc_nonshared.a.
7480         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
7481         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
7482         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
7483         $(link-libc-deps).
7484         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
7485         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
7486         * login/Makefile ($(objpfx)libutil.so): Likewise.
7487         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
7488         * math/Makefile ($(objpfx)libm.so): Likewise.
7489         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
7490         $(objpfx)libnsl.so): Define libc-for-link as target-specific
7491         variable instead of depending directly on libc.
7492         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
7493         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
7494         $(link-libc-deps).
7495         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
7496         libc.
7497         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
7498         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
7499         ($(objpfx)libanl.so): Likewise.
7500         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
7501         ld.so.
7502         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
7503         $(link-libc-deps).
7504         * sysdeps/i386/fpu/Makefile: Remove file.
7505         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
7506         ($(objpfx)libm.so): Remove dependency on ld.so.
7508 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
7510         [BZ # 15553]
7511         * nis/yp_xdr.c (XDRMAXNAME): Define.
7512         (XDRMAXRECORD): Define.
7513         (xdr_domainname): Use XDRMAXNAME.
7514         (xdr_mapname): Likewise.
7515         (xdr_peername): Likewise.
7516         (xdr_keydat): Use XDRMAXRECORD.
7517         (xdr_valdat): Likewise.
7519 2013-05-30  Jeff Law  <law@redhat.com>
7521         [BZ #14256]
7522         * manual/errno.texi (ESTALE): Update to account for more than
7523         just NFS file systems.
7524         * sysdeps/gnu/errlist.c: Regenerated.
7526 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
7528         [BZ #15465]
7529         * elf/Makefile (tests): Add tst-null-argv.
7530         (modules-names):  Add tst-null-argv-lib.
7531         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
7532         (tst-null-argv-ENV): Set environment for tst-null-argv.
7533         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
7534         (RTLD_PROGNAME): New macro.
7535         * elf/tst-null-argv.c: New test case.
7536         * elf/tst-null-argv-lib.c: Library for test case.
7537         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
7538         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
7539         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
7540         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
7541         * elf/dl-init.c (call_init): Likewise.
7542         (_dl_init): Likewise.
7543         * elf/dl-load.c (print_search_path): Likewise.
7544         (_dl_map_object): Likewise.
7545         * elf/dl-lookup.c (do_lookup_x): Likewise.
7546         (add_dependency): Likewise.
7547         (_dl_lookup_symbol_x): Likewise.
7548         (_dl_debug_bindings): Likewise.
7549         * elf/dl-open.c (_dl_show_scope): Likewise.
7550         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
7551         * elf/dl-version.c (match_symbol): Likewise.
7552         (_dl_check_map_versions): Likewise.
7553         * elf/rtld.c (dl_main): Likewise.
7554         (print_unresolved): Use RTLD_PROGNAME.
7555         (print_missing_version): Likewise.
7556         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
7557         (elf_machine_rela): Likewise.
7558         * sysdeps/powerpc/powerpc32/dl-machine.c
7559         (__process_machine_rela): Likewise.
7560         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7561         Likewise.
7562         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
7563         Likewise.
7564         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
7565         Likewise.
7566         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7567         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
7568         Likewise.
7569         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
7570         Likewise.
7571         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
7573 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
7575         * po/be.po: Add descriptive title.
7576         * po/zh_CN.po: Likewise.
7577         * po/header.pot: Likewise.
7579 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
7581         * locale/programs/locarchive.c (create_archive): Inlucde fname in
7582         error message.
7583         (enlarge_archive): Likewise.
7585 2013-05-28  Ben North  <ben@redfrontdoor.org>
7587         * manual/arith.texi (frexp): It is the magnitude of the return
7588         value which lies in [0.5, 1), not the return value itself.
7590 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7592         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7594 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
7596         * stdio-common/bug26.c (main): Correct fscanf template.
7598         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
7599         declare _dl_skip_args.
7601         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
7602         Don't declare.
7604         * manual/platform.texi: Add missing @end deftypefun.
7606 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
7608         [BZ #15529]
7609         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
7610         bit of mantissa of 2^16382.
7611         * math/libm-test.inc (hypot_test_data): Add more tests.
7613         * math/libm-test.inc: Add drem and pow10 to list of tested
7614         functions.
7615         (pow10_test): New function.
7616         (drem_test): Likewise.
7617         (drem_test_tonearest): Likewise.
7618         (drem_test_towardzero): Likewise.
7619         (drem_test_downward): Likewise.
7620         (drem_test_upward): Likewise.
7621         (main): Call the new functions.
7623         * math/libm-test.inc (finite_test_data): Remove.
7624         (finite_test): Run tests from isfinite_test_data.
7625         (gamma_test_data): Remove.
7626         (gamma_test): Run tests from lgamma_test_data.
7627         * sysdeps/i386/fpu/libm-test-ulps: Update.
7628         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7630 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7632         * manual/platform.texi: Add PowerPC PPR function set documentation.
7633         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
7634         implementation.
7636 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
7638         * math/libm-test.inc (MAX_EXP): Define.
7639         (ULPDIFF): Define.
7640         (ulp): New function.
7641         (check_float_internal): Use ULPDIFF.
7642         (cpow_test): Disable failing test.
7643         (check_ulp): Test ulp() implemetnation.
7644         (main): Call check_ulp before starting tests.
7646 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
7648         * math/gen-libm-test.pl (generate_testfile): Do not handle
7649         START_DATA and END_DATA.
7650         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
7651         END_DATA.
7652         (acos_tonearest_test_data): Likewise.
7653         (acos_towardzero_test_data): Likewise.
7654         (acos_downward_test_data): Likewise.
7655         (acos_upward_test_data): Likewise.
7656         (acosh_test_data): Likewise.
7657         (asin_test_data): Likewise.
7658         (asin_tonearest_test_data): Likewise.
7659         (asin_towardzero_test_data): Likewise.
7660         (asin_downward_test_data): Likewise.
7661         (asin_upward_test_data): Likewise.
7662         (asinh_test_data): Likewise.
7663         (atan_test_data): Likewise.
7664         (atanh_test_data): Likewise.
7665         (atan2_test_data): Likewise.
7666         (cabs_test_data): Likewise.
7667         (cacos_test_data): Likewise.
7668         (cacosh_test_data): Likewise.
7669         (carg_test_data): Likewise.
7670         (casin_test_data): Likewise.
7671         (casinh_test_data): Likewise.
7672         (catan_test_data): Likewise.
7673         (catanh_test_data): Likewise.
7674         (cbrt_test_data): Likewise.
7675         (ccos_test_data): Likewise.
7676         (ccosh_test_data): Likewise.
7677         (ceil_test_data): Likewise.
7678         (cexp_test_data): Likewise.
7679         (cimag_test_data): Likewise.
7680         (clog_test_data): Likewise.
7681         (clog10_test_data): Likewise.
7682         (conj_test_data): Likewise.
7683         (copysign_test_data): Likewise.
7684         (cos_test_data): Likewise.
7685         (cos_tonearest_test_data): Likewise.
7686         (cos_towardzero_test_data): Likewise.
7687         (cos_downward_test_data): Likewise.
7688         (cos_upward_test_data): Likewise.
7689         (cosh_test_data): Likewise.
7690         (cosh_tonearest_test_data): Likewise.
7691         (cosh_towardzero_test_data): Likewise.
7692         (cosh_downward_test_data): Likewise.
7693         (cosh_upward_test_data): Likewise.
7694         (cpow_test_data): Likewise.
7695         (cproj_test_data): Likewise.
7696         (creal_test_data): Likewise.
7697         (csin_test_data): Likewise.
7698         (csinh_test_data): Likewise.
7699         (csqrt_test_data): Likewise.
7700         (ctan_test_data): Likewise.
7701         (ctan_tonearest_test_data): Likewise.
7702         (ctan_towardzero_test_data): Likewise.
7703         (ctan_downward_test_data): Likewise.
7704         (ctan_upward_test_data): Likewise.
7705         (ctanh_test_data): Likewise.
7706         (ctanh_tonearest_test_data): Likewise.
7707         (ctanh_towardzero_test_data): Likewise.
7708         (ctanh_downward_test_data): Likewise.
7709         (ctanh_upward_test_data): Likewise.
7710         (erf_test_data): Likewise.
7711         (erfc_test_data): Likewise.
7712         (exp_test_data): Likewise.
7713         (exp_tonearest_test_data): Likewise.
7714         (exp_towardzero_test_data): Likewise.
7715         (exp_downward_test_data): Likewise.
7716         (exp_upward_test_data): Likewise.
7717         (exp10_test_data): Likewise.
7718         (exp2_test_data): Likewise.
7719         (expm1_test_data): Likewise.
7720         (fabs_test_data): Likewise.
7721         (fdim_test_data): Likewise.
7722         (finite_test_data): Likewise.
7723         (floor_test_data): Likewise.
7724         (fma_test_data): Likewise.
7725         (fma_towardzero_test_data): Likewise.
7726         (fma_downward_test_data): Likewise.
7727         (fma_upward_test_data): Likewise.
7728         (fmax_test_data): Likewise.
7729         (fmin_test_data): Likewise.
7730         (fmod_test_data): Likewise.
7731         (fpclassify_test_data): Likewise.
7732         (frexp_test_data): Likewise.
7733         (gamma_test_data): Likewise.
7734         (hypot_test_data): Likewise.
7735         (ilogb_test_data): Likewise.
7736         (isfinite_test_data): Likewise.
7737         (isgreater_test_data): Likewise.
7738         (isgreaterequal_test_data): Likewise.
7739         (isinf_test_data): Likewise.
7740         (isless_test_data): Likewise.
7741         (islessequal_test_data): Likewise.
7742         (islessgreater_test_data): Likewise.
7743         (isnan_test_data): Likewise.
7744         (isnormal_test_data): Likewise.
7745         (issignaling_test_data): Likewise.
7746         (isunordered_test_data): Likewise.
7747         (j0_test_data): Likewise.
7748         (j1_test_data): Likewise.
7749         (jn_test_data): Likewise.
7750         (ldexp_test_data): Likewise.
7751         (lgamma_test_data): Likewise.
7752         (lrint_test_data): Likewise.
7753         (lrint_tonearest_test_data): Likewise.
7754         (lrint_towardzero_test_data): Likewise.
7755         (lrint_downward_test_data): Likewise.
7756         (lrint_upward_test_data): Likewise.
7757         (llrint_test_data): Likewise.
7758         (llrint_tonearest_test_data): Likewise.
7759         (llrint_towardzero_test_data): Likewise.
7760         (llrint_downward_test_data): Likewise.
7761         (llrint_upward_test_data): Likewise.
7762         (log_test_data): Likewise.
7763         (log10_test_data): Likewise.
7764         (log1p_test_data): Likewise.
7765         (log2_test_data): Likewise.
7766         (logb_test_data): Likewise.
7767         (logb_downward_test_data): Likewise.
7768         (lround_test_data): Likewise.
7769         (llround_test_data): Likewise.
7770         (modf_test_data): Likewise.
7771         (nearbyint_test_data): Likewise.
7772         (nextafter_test_data): Likewise.
7773         (nexttoward_test_data): Likewise.
7774         (pow_test_data): Likewise.
7775         (pow_tonearest_test_data): Likewise.
7776         (pow_towardzero_test_data): Likewise.
7777         (pow_downward_test_data): Likewise.
7778         (pow_upward_test_data): Likewise.
7779         (remainder_test_data): Likewise.
7780         (remainder_tonearest_test_data): Likewise.
7781         (remainder_towardzero_test_data): Likewise.
7782         (remainder_downward_test_data): Likewise.
7783         (remainder_upward_test_data): Likewise.
7784         (remquo_test_data): Likewise.
7785         (rint_test_data): Likewise.
7786         (rint_tonearest_test_data): Likewise.
7787         (rint_towardzero_test_data): Likewise.
7788         (rint_downward_test_data): Likewise.
7789         (rint_upward_test_data): Likewise.
7790         (round_test_data): Likewise.
7791         (scalb_test_data): Likewise.
7792         (scalbn_test_data): Likewise.
7793         (scalbln_test_data): Likewise.
7794         (signbit_test_data): Likewise.
7795         (sin_test_data): Likewise.
7796         (sin_tonearest_test_data): Likewise.
7797         (sin_towardzero_test_data): Likewise.
7798         (sin_downward_test_data): Likewise.
7799         (sin_upward_test_data): Likewise.
7800         (sincos_test_data): Likewise.
7801         (sinh_test_data): Likewise.
7802         (sinh_tonearest_test_data): Likewise.
7803         (sinh_towardzero_test_data): Likewise.
7804         (sinh_downward_test_data): Likewise.
7805         (sinh_upward_test_data): Likewise.
7806         (sqrt_test_data): Likewise.
7807         (tan_test_data): Likewise.
7808         (tan_tonearest_test_data): Likewise.
7809         (tan_towardzero_test_data): Likewise.
7810         (tan_downward_test_data): Likewise.
7811         (tan_upward_test_data): Likewise.
7812         (tanh_test_data): Likewise.
7813         (tgamma_test_data): Likewise.
7814         (trunc_test_data): Likewise.
7815         (y0_test_data): Likewise.
7816         (y1_test_data): Likewise.
7817         (yn_test_data): Likewise.
7818         (significand_test_data): Likewise.
7820         * math/gen-libm-test.pl (@functions): Remove variable.
7821         (generate_testfile): Don't handle START and END lines.
7822         * math/libm-test.inc (START): New macro.
7823         (END): Likewise.
7824         (END_COMPLEX): Likewise.
7825         (acos_test): Use END macro without arguments.
7826         (acos_test_tonearest): Likewise.
7827         (acos_test_towardzero): Likewise.
7828         (acos_test_downward): Likewise.
7829         (acos_test_upward): Likewise.
7830         (acosh_test): Likewise.
7831         (asin_test): Likewise.
7832         (asin_test_tonearest): Likewise.
7833         (asin_test_towardzero): Likewise.
7834         (asin_test_downward): Likewise.
7835         (asin_test_upward): Likewise.
7836         (asinh_test): Likewise.
7837         (atan_test): Likewise.
7838         (atanh_test): Likewise.
7839         (atan2_test): Likewise.
7840         (cabs_test): Likewise.
7841         (cacos_test): Use END_COMPLEX macro without arguments.
7842         (cacosh_test): Likewise.
7843         (carg_test): Use END macro without arguments.
7844         (casin_test): Use END_COMPLEX macro without arguments.
7845         (casinh_test): Likewise.
7846         (catan_test): Likewise.
7847         (catanh_test): Likewise.
7848         (cbrt_test): Use END macro without arguments.
7849         (ccos_test): Use END_COMPLEX macro without arguments.
7850         (ccosh_test): Likewise.
7851         (ceil_test): Use END macro without arguments.
7852         (cexp_test): Use END_COMPLEX macro without arguments.
7853         (cimag_test): Use END macro without arguments.
7854         (clog_test): Use END_COMPLEX macro without arguments.
7855         (clog10_test): Likewise.
7856         (conj_test): Likewise.
7857         (copysign_test): Use END macro without arguments.
7858         (cos_test): Likewise.
7859         (cos_test_tonearest): Likewise.
7860         (cos_test_towardzero): Likewise.
7861         (cos_test_downward): Likewise.
7862         (cos_test_upward): Likewise.
7863         (cosh_test): Likewise.
7864         (cosh_test_tonearest): Likewise.
7865         (cosh_test_towardzero): Likewise.
7866         (cosh_test_downward): Likewise.
7867         (cosh_test_upward): Likewise.
7868         (cpow_test): Use END_COMPLEX macro without arguments.
7869         (cproj_test): Likewise.
7870         (creal_test): Use END macro without arguments.
7871         (csin_test): Use END_COMPLEX macro without arguments.
7872         (csinh_test): Likewise.
7873         (csqrt_test): Likewise.
7874         (ctan_test): Likewise.
7875         (ctan_test_tonearest): Likewise.
7876         (ctan_test_towardzero): Likewise.
7877         (ctan_test_downward): Likewise.
7878         (ctan_test_upward): Likewise.
7879         (ctanh_test): Likewise.
7880         (ctanh_test_tonearest): Likewise.
7881         (ctanh_test_towardzero): Likewise.
7882         (ctanh_test_downward): Likewise.
7883         (ctanh_test_upward): Likewise.
7884         (erf_test): Use END macro without arguments.
7885         (erfc_test): Likewise.
7886         (exp_test): Likewise.
7887         (exp_test_tonearest): Likewise.
7888         (exp_test_towardzero): Likewise.
7889         (exp_test_downward): Likewise.
7890         (exp_test_upward): Likewise.
7891         (exp10_test): Likewise.
7892         (exp2_test): Likewise.
7893         (expm1_test): Likewise.
7894         (fabs_test): Likewise.
7895         (fdim_test): Likewise.
7896         (finite_test): Likewise.
7897         (floor_test): Likewise.
7898         (fma_test): Likewise.
7899         (fma_test_towardzero): Likewise.
7900         (fma_test_downward): Likewise.
7901         (fma_test_upward): Likewise.
7902         (fmax_test): Likewise.
7903         (fmin_test): Likewise.
7904         (fmod_test): Likewise.
7905         (fpclassify_test): Likewise.
7906         (frexp_test): Likewise.
7907         (gamma_test): Likewise.
7908         (hypot_test): Likewise.
7909         (ilogb_test): Likewise.
7910         (isfinite_test): Likewise.
7911         (isgreater_test): Likewise.
7912         (isgreaterequal_test): Likewise.
7913         (isinf_test): Likewise.
7914         (isless_test): Likewise.
7915         (islessequal_test): Likewise.
7916         (islessgreater_test): Likewise.
7917         (isnan_test): Likewise.
7918         (isnormal_test): Likewise.
7919         (issignaling_test): Likewise.
7920         (isunordered_test): Likewise.
7921         (j0_test): Likewise.
7922         (j1_test): Likewise.
7923         (jn_test): Likewise.
7924         (ldexp_test): Likewise.
7925         (lgamma_test): Likewise.
7926         (lrint_test): Likewise.
7927         (lrint_test_tonearest): Likewise.
7928         (lrint_test_towardzero): Likewise.
7929         (lrint_test_downward): Likewise.
7930         (lrint_test_upward): Likewise.
7931         (llrint_test): Likewise.
7932         (llrint_test_tonearest): Likewise.
7933         (llrint_test_towardzero): Likewise.
7934         (llrint_test_downward): Likewise.
7935         (llrint_test_upward): Likewise.
7936         (log_test): Likewise.
7937         (log10_test): Likewise.
7938         (log1p_test): Likewise.
7939         (log2_test): Likewise.
7940         (logb_test): Likewise.
7941         (logb_test_downward): Likewise.
7942         (lround_test): Likewise.
7943         (llround_test): Likewise.
7944         (modf_test): Likewise.
7945         (nearbyint_test): Likewise.
7946         (nextafter_test): Likewise.
7947         (nexttoward_test): Likewise.
7948         (pow_test): Likewise.
7949         (pow_test_tonearest): Likewise.
7950         (pow_test_towardzero): Likewise.
7951         (pow_test_downward): Likewise.
7952         (pow_test_upward): Likewise.
7953         (remainder_test): Likewise.
7954         (remainder_test_tonearest): Likewise.
7955         (remainder_test_towardzero): Likewise.
7956         (remainder_test_downward): Likewise.
7957         (remainder_test_upward): Likewise.
7958         (remquo_test): Likewise.
7959         (rint_test): Likewise.
7960         (rint_test_tonearest): Likewise.
7961         (rint_test_towardzero): Likewise.
7962         (rint_test_downward): Likewise.
7963         (rint_test_upward): Likewise.
7964         (round_test): Likewise.
7965         (scalb_test): Likewise.
7966         (scalbn_test): Likewise.
7967         (scalbln_test): Likewise.
7968         (signbit_test): Likewise.
7969         (sin_test): Likewise.
7970         (sin_test_tonearest): Likewise.
7971         (sin_test_towardzero): Likewise.
7972         (sin_test_downward): Likewise.
7973         (sin_test_upward): Likewise.
7974         (sincos_test): Likewise.
7975         (sinh_test): Likewise.
7976         (sinh_test_tonearest): Likewise.
7977         (sinh_test_towardzero): Likewise.
7978         (sinh_test_downward): Likewise.
7979         (sinh_test_upward): Likewise.
7980         (sqrt_test): Likewise.
7981         (tan_test): Likewise.
7982         (tan_test_tonearest): Likewise.
7983         (tan_test_towardzero): Likewise.
7984         (tan_test_downward): Likewise.
7985         (tan_test_upward): Likewise.
7986         (tanh_test): Likewise.
7987         (tgamma_test): Likewise.
7988         (trunc_test): Likewise.
7989         (y0_test): Likewise.
7990         (y1_test): Likewise.
7991         (yn_test): Likewise.
7992         (significand_test): Likewise.
7994 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
7996         [BZ #15381]
7997         * libio/genops.c (_IO_no_init): Initialize wide struct info.
7999 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
8001         [BZ #14894]
8002         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
8003         __ppc_mdoio and __ppc_mdoom.
8004         * manual/platform.texi: Document new functions __ppc_yield,
8005         __ppc_mdoio and __ppc_mdoom.
8007 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
8009         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
8010         (main): Mention "tls" pseudo-hwcap is legacy.
8011         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
8013 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
8015         * math/gen-libm-test.pl (parse_args): Output only string of
8016         arguments as text for test name, not full call or descriptions of
8017         tests for extra outputs.
8018         (generate_testfile): Do not pass function name to parse_args.
8019         Generate this_func variable from START.
8020         * math/libm-test.inc (struct test_f_f_data): Rename test_name
8021         field to arg_str.
8022         (struct test_ff_f_data): Likewise.
8023         (test_ff_f_data_nexttoward): Likewise.
8024         (struct test_fi_f_data): Likewise.
8025         (struct test_fl_f_data): Likewise.
8026         (struct test_if_f_data): Likewise.
8027         (struct test_fff_f_data): Likewise.
8028         (struct test_c_f_data): Likewise.
8029         (struct test_f_f1_data): Likewise.  Remove field extra_name.
8030         (struct test_fF_f1_data): Likewise.
8031         (struct test_ffI_f1_data): Likewise.
8032         (struct test_c_c_data): Rename test_name field to arg_str.
8033         (struct test_cc_c_data): Likewise.
8034         (struct test_f_i_data): Likewise.
8035         (struct test_ff_i_data): Likewise.
8036         (struct test_f_l_data): Likewise.
8037         (struct test_f_L_data): Likewise.
8038         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
8039         and extra2_name.
8040         (COMMON_TEST_SETUP): New macro.
8041         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
8042         (COMMON_TEST_CLEANUP): Likewise.
8043         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
8044         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
8045         macros.
8046         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
8047         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
8048         macros.
8049         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
8050         (RUN_TEST_fff_f): Take argument string.  Call new setup and
8051         cleanup macros.
8052         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
8053         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
8054         macros.
8055         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
8056         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
8057         macros.
8058         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8059         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
8060         cleanup macros.
8061         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8062         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
8063         cleanup macros.
8064         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8065         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
8066         cleanup macros.
8067         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8068         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
8069         macros.
8070         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
8071         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
8072         macros.
8073         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
8074         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
8075         macros.
8076         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
8077         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
8078         cleanup macros.
8079         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
8080         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
8081         cleanup macros.
8082         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
8083         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
8084         macros.
8085         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
8086         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
8087         cleanup macros.
8088         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
8089         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
8090         macros.
8091         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
8092         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
8093         macros.
8094         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
8095         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
8096         cleanup macros.
8097         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
8099 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
8101         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
8102         to _sifields.sigfault.
8103         (si_addr_lsb): Define new macro.
8104         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
8105         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8106         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
8108 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
8110         [BZ #15441]
8111         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
8112         returns -1.
8113         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
8114         null return -1.
8115         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
8116         loading the domain.
8118 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
8120         * math/gen-libm-test.pl (parse_args): Do not include expected
8121         result in test name.
8122         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
8123         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8124         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8125         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8126         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8127         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8129 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
8131         * benchtests/Makefile: Sort function entries.
8133         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
8134         tanh, asinh, acosh, atanh.
8135         * benchtests/acos-inputs: New file.
8136         * benchtests/acosh-inputs: New file.
8137         * benchtests/asin-inputs: New file.
8138         * benchtests/asinh-inputs: New file.
8139         * benchtests/atanh-inputs: New file.
8140         * benchtests/cosh-inputs: New file.
8141         * benchtests/log-inputs: New file.
8142         * benchtests/sinh-inputs: New file.
8143         * benchtests/tanh-inputs: New file.
8145 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
8147         [BZ #15339]
8148         * posix/tst-getaddrinfo4.c: New test.
8149         * posix/Makefile (tests): Add it.
8151 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8153         [BZ #15339]
8154         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
8155         when no services were used.
8156         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
8157         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
8159 2013-05-21  Andreas Schwab  <schwab@suse.de>
8161         [BZ #15014]
8162         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
8163         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
8164         successful.
8165         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
8166         redundant variable declarations and reallocation of buffer when
8167         parsing as IPv6 address.  Always set NSS status when called from
8168         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
8169         buffer too small.  Correct computation of needed size.
8170         * nss/Makefile (tests): Add test-digits-dots.
8171         * nss/test-digits-dots.c: New test.
8173 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8175         * benchtests/Makefile: Remove instructions for adding
8176         benchmark tests.
8177         * benchtests/README: New file to explain how to execute and
8178         enhance the benchmark tests.
8180 2013-05-21  Andreas Schwab  <schwab@suse.de>
8182         [BZ #15493]
8183         * setjmp/Makefile (tests): Add tst-sigsetjmp.
8184         * setjmp/tst-sigsetjmp.c: New test.
8186 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
8188         * sysdeps/x86_64/memset.S (memset): New implementation.
8189         (__bzero): Likewise.
8190         (__memset_tail): New function.
8192 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
8194         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
8195         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
8196         __memcpy_sse2_unaligned ifunc selection.
8197         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
8198         Add memcpy-sse2-unaligned.S.
8199         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8200         Add: __memcpy_sse2_unaligned.
8202 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
8204         [BZ #15490]
8205         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
8206         math_force_eval before restoring floating-point envrionment.
8207         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
8208         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
8209         Likewise.
8210         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
8211         <math_private.h>.
8212         (__nearbyintl): Use math_force_eval before restoring
8213         floating-point environment.
8214         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
8216         * math/gen-libm-test.pl (special_functions): Remove.
8217         (parse_args): Don't handle TEST_extra.  Handle functions with no
8218         return value.
8219         * math/libm-test.inc (struct test_sincos_data): Replace with
8220         struct test_fFF_11_data.
8221         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
8222         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
8223         (sincos_test_data): Change element type to struct
8224         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
8225         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
8226         RUN_TEST_LOOP_sincos.
8227         * math/README.libm-test: Don't mention special handling of
8228         individual functions.
8229         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
8230         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8231         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8232         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8233         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8234         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8236         * math/gen-libm-test.pl (get_variable): Remove function.
8237         (parse_args): Don't show pointer parameters to call in test
8238         names.  Use "extra output N" in test names for extra outputs
8239         rather than naming variables.
8241 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
8243         [BZ #15488]
8244         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
8245         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
8246         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
8247         double tests.
8248         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
8249         disable.
8250         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
8251         check_long_double.
8253         * math/gen-libm-test.pl (@tests): Remove variable.
8254         ($count): Likewise.
8255         (new_test): Remove function.
8256         (show_exceptions): New function.
8257         (special_functions): Use show_exceptions instead of new_test.
8258         (parse_args): Likewise.
8259         (generate_testfile): Pass only function name in generated call to
8260         print_max_error or print_complex_max_error.
8261         (get_ulps): Do not handle complex tests specially.
8262         (output_test): Rename to ...
8263         (get_all_ulps_for_test): ... this.  Return a string rather than
8264         printing to a file.  Require ulps to be present.
8265         (output_ulps): Generate arrays rather than #defines.
8266         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
8267         (struct ulp_data): New type.
8268         (BUILD_COMPLEX_ULP): Remove macro.
8269         (compare_ulp_data): New function.
8270         (find_ulps): Likewise.
8271         (find_test_ulps): Likewise.
8272         (find_function_ulps): Likewise.
8273         (find_complex_function_ulps): Likewise.
8274         (print_max_error): Determine allowed ulps using
8275         find_function_ulps.
8276         (print_complex_max_error): Determine allowed ulps using
8277         find_complex_function_ulps.
8278         (check_float_internal): Determine max ulps using find_test_ulps.
8279         (check_float): Do not take max_ulp parameter.  Update call to
8280         check_float_internal.
8281         (check_complex): Likewise.
8282         (check_int): Do not take max_ulp parameter.
8283         (check_long): Likewise.
8284         (check_bool): Likewise.
8285         (check_longlong): Likewise.
8286         (struct test_f_f_data): Remove max_ulp field.
8287         (struct test_ff_f_data): Likewise.
8288         (struct test_ff_f_data_nexttoward): Likewise.
8289         (struct test_fi_f_data): Likewise.
8290         (struct test_fl_f_data): Likewise.
8291         (struct test_if_f_data): Likewise.
8292         (struct test_fff_f_data): Likewise.
8293         (struct test_c_f_data): Likewise.
8294         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
8295         (struct test_fF_f1_data): Likewise.
8296         (struct test_ffI_f1_data): Likewise.
8297         (struct test_c_c_data): Remove max_ulp field.
8298         (struct test_cc_c_data): Likewise.
8299         (struct test_f_i_data): Likewise.
8300         (struct test_ff_i_data): Likewise.
8301         (struct test_f_l_data): Likewise.
8302         (struct test_f_L_data): Likewise.
8303         (struct test_sincos_data): Likewise.
8304         (RUN_TEST_f_f): Do not handle ulps.
8305         (RUN_TEST_LOOP_f_f): Likewise.
8306         (RUN_TEST_2_f): Likewise.
8307         (RUN_TEST_LOOP_2_f): Likewise.
8308         (RUN_TEST_fff_f): Likewise.
8309         (RUN_TEST_LOOP_fff_f): Likewise.
8310         (RUN_TEST_c_f): Likewise.
8311         (RUN_TEST_LOOP_c_f): Likewise.
8312         (RUN_TEST_f_f1): Likewise.
8313         (RUN_TEST_LOOP_f_f1): Likewise.
8314         (RUN_TEST_fF_f1): Likewise.
8315         (RUN_TEST_LOOP_fF_f1): Likewise.
8316         (RUN_TEST_fI_f1): Likewise.
8317         (RUN_TEST_LOOP_fI_f1): Likewise.
8318         (RUN_TEST_ffI_f1): Likewise.
8319         (RUN_TEST_LOOP_ffI_f1): Likewise.
8320         (RUN_TEST_c_c): Likewise.
8321         (RUN_TEST_LOOP_c_c): Likewise.
8322         (RUN_TEST_cc_c): Likewise.
8323         (RUN_TEST_LOOP_cc_c): Likewise.
8324         (RUN_TEST_f_i): Likewise.
8325         (RUN_TEST_LOOP_f_i): Likewise.
8326         (RUN_TEST_f_i_tg): Likewise.
8327         (RUN_TEST_LOOP_f_i_tg): Likewise.
8328         (RUN_TEST_ff_i_tg): Likewise.
8329         (RUN_TEST_LOOP_ff_i_tg): Likewise.
8330         (RUN_TEST_f_b): Likewise.
8331         (RUN_TEST_LOOP_f_b): Likewise.
8332         (RUN_TEST_f_b_tg): Likewise.
8333         (RUN_TEST_LOOP_f_b_tg): Likewise.
8334         (RUN_TEST_f_l): Likewise.
8335         (RUN_TEST_LOOP_f_l): Likewise.
8336         (RUN_TEST_f_L): Likewise.
8337         (RUN_TEST_LOOP_f_L): Likewise.
8338         (RUN_TEST_sincos): Likewise.
8339         (RUN_TEST_LOOP_sincos): Likewise.
8341 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
8343         [BZ #15480]
8344         [BZ #15485]
8345         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
8346         main case of finite arguments, set rounding mode to FE_TONEAREST
8347         and discard exceptions.
8348         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
8349         exceptions.
8350         (remainder_tonearest_test_data): New variable.
8351         (remainder_test_tonearest): New function.
8352         (remainder_towardzero_test_data): New variable.
8353         (remainder_test_towardzero): New function.
8354         (remainder_downward_test_data): New variable.
8355         (remainder_test_downward): New function.
8356         (remainder_upward_test_data): New variable.
8357         (remainder_test_upward): New function.
8358         (main): Call the new test functions.
8360         * math/libm-test.inc (struct test_f_f1_data): Remove field
8361         extra_init.
8362         (struct test_fF_f1_data): Likewise.
8363         (struct test_ffI_f1_data): Likewise.
8364         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
8365         based on value of EXTRA_EXPECTED.
8366         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8367         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
8368         EXTRA_VAR based on value of EXTRA_EXPECTED.
8369         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8370         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
8371         EXTRA_VAR based on value of EXTRA_EXPECTED.
8372         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8373         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
8374         EXTRA_VAR based on value of EXTRA_EXPECTED.
8375         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8376         * math/gen-libm-test.pl (parse_args): Don't output initializers
8377         for extra output values.
8379         * math/libm-test.inc (check_int): Expect result to be exactly
8380         equal to expected value and do not handle ulps.
8381         (check_long): Likewise.
8382         (check_longlong): Likewise.
8384         * math/libm-test.inc (ceil_test_data): Test for "inexact"
8385         exceptions.
8386         (cimag_test_data): Likewise.
8387         (conj_test_data): Likewise.
8388         (copysign_test_data): Likewise.
8389         (cproj_test_data): Likewise.
8390         (creal_test_data): Likewise.
8391         (fabs_test_data): Likewise.
8392         (fdim_test_data): Likewise.
8393         (finite_test_data): Likewise.
8394         (floor_test_data): Likewise.
8395         (fmax_test_data): Likewise.
8396         (fmin_test_data): Likewise.
8397         (fmod_test_data): Likewise.
8398         (fpclassify_test_data): Likewise.
8399         (frexp_test_data): Likewise.
8400         (ilogb_test_data): Likewise.
8401         (isfinite_test_data): Likewise.
8402         (isgreater_test_data): Likewise.
8403         (isgreaterequal_test_data): Likewise.
8404         (isinf_test_data): Likewise.
8405         (isless_test_data): Likewise.
8406         (islessequal_test_data): Likewise.
8407         (islessgreater_test_data): Likewise.
8408         (isnan_test_data): Likewise.
8409         (isnormal_test_data): Likewise.
8410         (issignaling_test_data): Likewise.
8411         (isunordered_test_data): Likewise.
8412         (ldexp_test_data): Likewise.
8413         (lrint_test_data): Likewise.
8414         (lrint_test_data) [TEST_FLOAT]: Disable one test.
8415         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
8416         (lrint_tonearest_test_data): Test for "inexact" exceptions.
8417         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
8418         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
8419         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
8420         test input.
8421         (lrint_towardzero_test_data): Test for "inexact" exceptions.
8422         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
8423         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
8424         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
8425         that test input.
8426         (lrint_downward_test_data): Test for "inexact" exceptions.
8427         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
8428         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
8429         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
8430         test input.
8431         (lrint_upward_test_data): Test for "inexact" exceptions.
8432         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
8433         test input.
8434         (llrint_test_data): Test for "inexact" exceptions.
8435         (llrint_test_data) [TEST_FLOAT]: Disable one test.
8436         (llrint_tonearest_test_data): Test for "inexact" exceptions.
8437         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
8438         (llrint_towardzero_test_data): Test for "inexact" exceptions.
8439         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
8440         (llrint_downward_test_data): Test for "inexact" exceptions.
8441         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
8442         (llrint_upward_test_data): Test for "inexact" exceptions.
8443         (logb_test_data): Likewise.
8444         (logb_downward_test_data): Likewise.
8445         (nextafter_test_data): Likewise.
8446         (nexttoward_test_data): Likewise.
8447         (remainder_test_data): Likewise.
8448         (remquo_test_data): Likewise.
8449         (scalbn_test_data): Likewise.
8450         (scalbln_test_data): Likewise.
8451         (signbit_test_data): Likewise.
8452         (sqrt_test_data): Likewise.
8453         (significand_test_data): Likewise.
8455 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
8457         [BZ #15424]
8458         * benchtests/bench-modf.c (struct args): Mark arg0 as
8459         volatile.
8460         * scripts/bench.pl: Mark members of struct args as volatile.
8462 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8464         [BZ # 15497]
8465         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
8466         negative infinity on POWER6 or lower.
8467         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
8469 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
8471         [BZ #15442]
8472         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
8473         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
8474         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
8475         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
8476         (_FP_SETQNAN): New macro.
8477         (_FP_SETQNAN_SEMIRAW): Likewise.
8478         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
8479         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
8480         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
8481         (FP_EXTEND): Use _FP_FRAC_SNANP.
8482         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
8483         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
8484         into account.
8485         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
8486         New macro.
8487         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
8488         Likewise.
8490 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
8492         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
8493         with DIVIDE_BY_ZERO_EXCEPTION.
8494         (gamma_test_data): Likewise.
8495         (lgamma_test_data): Likewise.
8496         (log_test_data): Likewise.
8497         (log10_test_data): Likewise.
8498         (log2_test_data): Likewise.
8499         (tgamma_test_data): Likewise.
8501         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
8502         (acos_test_tonearest): Likewise.
8503         (acos_test_towardzero): Likewise.
8504         (acos_test_downward): Likewise.
8505         (acos_test_upward): Likewise.
8506         (acosh_test): Likewise.
8507         (asin_test): Likewise.
8508         (asin_test_tonearest): Likewise.
8509         (asin_test_towardzero): Likewise.
8510         (asin_test_downward): Likewise.
8511         (asin_test_upward): Likewise.
8512         (asinh_test): Likewise.
8513         (atan_test): Likewise.
8514         (atanh_test): Likewise.
8515         (atan2_test): Likewise.
8516         (cabs_test): Likewise.
8517         (cacos_test): Likewise.
8518         (cacosh_test): Likewise.
8519         (casin_test): Likewise.
8520         (casinh_test): Likewise.
8521         (catan_test): Likewise.
8522         (catanh_test): Likewise.
8523         (cbrt_test): Likewise.
8524         (ccos_test): Likewise.
8525         (ccosh_test): Likewise.
8526         (cexp_test): Likewise.
8527         (clog_test): Likewise.
8528         (clog10_test): Likewise.
8529         (cos_test): Likewise.
8530         (cos_test_tonearest): Likewise.
8531         (cos_test_towardzero): Likewise.
8532         (cos_test_downward): Likewise.
8533         (cos_test_upward): Likewise.
8534         (cosh_test): Likewise.
8535         (cosh_test_tonearest): Likewise.
8536         (cosh_test_towardzero): Likewise.
8537         (cosh_test_downward): Likewise.
8538         (cosh_test_upward): Likewise.
8539         (cpow_test): Likewise.
8540         (csin_test): Likewise.
8541         (csinh_test): Likewise.
8542         (csqrt_test): Likewise.
8543         (ctan_test): Likewise.
8544         (ctan_test_tonearest): Likewise.
8545         (ctan_test_towardzero): Likewise.
8546         (ctan_test_downward): Likewise.
8547         (ctan_test_upward): Likewise.
8548         (ctanh_test): Likewise.
8549         (ctanh_test_tonearest): Likewise.
8550         (ctanh_test_towardzero): Likewise.
8551         (ctanh_test_downward): Likewise.
8552         (ctanh_test_upward): Likewise.
8553         (erf_test): Likewise.
8554         (erfc_test): Likewise.
8555         (exp_test): Likewise.
8556         (exp_test_tonearest): Likewise.
8557         (exp_test_towardzero): Likewise.
8558         (exp_test_downward): Likewise.
8559         (exp_test_upward): Likewise.
8560         (exp10_test): Likewise.
8561         (exp2_test): Likewise.
8562         (expm1_test): Likewise.
8563         (fmod_test): Likewise.
8564         (gamma_test): Likewise.
8565         (hypot_test): Likewise.
8566         (j0_test): Likewise.
8567         (j1_test): Likewise.
8568         (jn_test): Likewise.
8569         (lgamma_test): Likewise.
8570         (log_test): Likewise.
8571         (log10_test): Likewise.
8572         (log1p_test): Likewise.
8573         (log2_test): Likewise.
8574         (logb_test_downward): Likewise.
8575         (pow_test): Likewise.
8576         (pow_test_tonearest): Likewise.
8577         (pow_test_towardzero): Likewise.
8578         (pow_test_downward): Likewise.
8579         (pow_test_upward): Likewise.
8580         (remainder_test): Likewise.
8581         (remquo_test): Likewise.
8582         (sin_test): Likewise.
8583         (sin_test_tonearest): Likewise.
8584         (sin_test_towardzero): Likewise.
8585         (sin_test_downward): Likewise.
8586         (sin_test_upward): Likewise.
8587         (sincos_test): Likewise.
8588         (sinh_test): Likewise.
8589         (sinh_test_tonearest): Likewise.
8590         (sinh_test_towardzero): Likewise.
8591         (sinh_test_downward): Likewise.
8592         (sinh_test_upward): Likewise.
8593         (sqrt_test): Likewise.
8594         (tan_test): Likewise.
8595         (tan_test_tonearest): Likewise.
8596         (tan_test_towardzero): Likewise.
8597         (tan_test_downward): Likewise.
8598         (tan_test_upward): Likewise.
8599         (tanh_test): Likewise.
8600         (tgamma_test): Likewise.
8601         (y0_test): Likewise.
8602         (y1_test): Likewise.
8603         (yn_test): Likewise.
8605         * math/gen-libm-test.pl (adjust_arg): Remove function.
8606         (special_function): Remove argument $in_func.  Only handle
8607         generating output for tables of tests, not inside functions.
8608         (parse_args): Likewise.
8609         (generate_testfile): Remove variable $in_func.  Update call to
8610         parse_args.
8611         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
8612         (MINUS_ZERO_INIT): Rename macro to minus_zero.
8613         (PLUS_INFTY_INIT): Rename macro to plus_infty.
8614         (MINUS_INFTY_INIT): Rename macro to minus_infty.
8615         (QNAN_VALUE_INIT): Rename macro to qnan_value.
8616         (MAX_VALUE_INIT): Rename macro to max_value.
8617         (MIN_VALUE_INIT): Rename macro to min_value.
8618         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
8619         (plus_zero): Remove variable.
8620         (minus_zero): Likewise.
8621         (plus_infty): Likewise.
8622         (minus_infty): Likewise.
8623         (qnan_value): Likewise.
8624         (max_value): Likewise.
8625         (min_value): Likewise.
8626         (min_subnorm_value): Likewise.
8628 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
8630         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
8631         uint64_t or uint32_t usage.
8632         * crypt/sha256-block.c: Likewise.
8633         * crypt/sha256-crypt.c: Likewise.
8634         * crypt/sha256.c: Likewise.
8635         * crypt/sha512-block.c: Likewise.
8636         * crypt/sha512-crypt.c: Likewise.
8637         * crypt/sha512.c: Likewise.
8638         * debug/backtrace-tst.c: Likewise.
8639         * debug/pcprofiledump.c: Likewise.
8640         * elf/cache.c: Likewise.
8641         * elf/dl-cache.c: Likewise.
8642         * elf/dl-misc.c: Likewise.
8643         * elf/dl-profile.c: Likewise.
8644         * elf/dl-support.c: Likewise.
8645         * elf/ldconfig.c: Likewise.
8646         * elf/sprof.c: Likewise.
8647         * iconv/dummy-repertoire.c: Likewise.
8648         * iconv/iconv_charmap.c: Likewise.
8649         * iconv/skeleton.c: Likewise.
8650         * iconvdata/8bit-generic.c: Likewise.
8651         * iconvdata/cp737.h: Likewise.
8652         * iconvdata/cp775.h: Likewise.
8653         * iconvdata/ibm1008.h: Likewise.
8654         * iconvdata/ibm1025.h: Likewise.
8655         * iconvdata/ibm1046.h: Likewise.
8656         * iconvdata/ibm1097.h: Likewise.
8657         * iconvdata/ibm1112.h: Likewise.
8658         * iconvdata/ibm1122.h: Likewise.
8659         * iconvdata/ibm1123.h: Likewise.
8660         * iconvdata/ibm1124.h: Likewise.
8661         * iconvdata/ibm1129.h: Likewise.
8662         * iconvdata/ibm1130.h: Likewise.
8663         * iconvdata/ibm1132.h: Likewise.
8664         * iconvdata/ibm1133.h: Likewise.
8665         * iconvdata/ibm1137.h: Likewise.
8666         * iconvdata/ibm1140.h: Likewise.
8667         * iconvdata/ibm1141.h: Likewise.
8668         * iconvdata/ibm1142.h: Likewise.
8669         * iconvdata/ibm1143.h: Likewise.
8670         * iconvdata/ibm1144.h: Likewise.
8671         * iconvdata/ibm1145.h: Likewise.
8672         * iconvdata/ibm1146.h: Likewise.
8673         * iconvdata/ibm1147.h: Likewise.
8674         * iconvdata/ibm1148.h: Likewise.
8675         * iconvdata/ibm1149.h: Likewise.
8676         * iconvdata/ibm1153.h: Likewise.
8677         * iconvdata/ibm1154.h: Likewise.
8678         * iconvdata/ibm1155.h: Likewise.
8679         * iconvdata/ibm1156.h: Likewise.
8680         * iconvdata/ibm1157.h: Likewise.
8681         * iconvdata/ibm1158.h: Likewise.
8682         * iconvdata/ibm1160.h: Likewise.
8683         * iconvdata/ibm1161.h: Likewise.
8684         * iconvdata/ibm1162.h: Likewise.
8685         * iconvdata/ibm1163.h: Likewise.
8686         * iconvdata/ibm1164.h: Likewise.
8687         * iconvdata/ibm1166.h: Likewise.
8688         * iconvdata/ibm1167.h: Likewise.
8689         * iconvdata/ibm12712.h: Likewise.
8690         * iconvdata/ibm1390.h: Likewise.
8691         * iconvdata/ibm1399.h: Likewise.
8692         * iconvdata/ibm16804.h: Likewise.
8693         * iconvdata/ibm4517.h: Likewise.
8694         * iconvdata/ibm4899.h: Likewise.
8695         * iconvdata/ibm4909.h: Likewise.
8696         * iconvdata/ibm4971.h: Likewise.
8697         * iconvdata/ibm5347.h: Likewise.
8698         * iconvdata/ibm803.h: Likewise.
8699         * iconvdata/ibm856.h: Likewise.
8700         * iconvdata/ibm901.h: Likewise.
8701         * iconvdata/ibm902.h: Likewise.
8702         * iconvdata/ibm9030.h: Likewise.
8703         * iconvdata/ibm9066.h: Likewise.
8704         * iconvdata/ibm921.h: Likewise.
8705         * iconvdata/ibm922.h: Likewise.
8706         * iconvdata/ibm9448.h: Likewise.
8707         * iconvdata/isiri-3342.h: Likewise.
8708         * iconvdata/jis0201.h: Likewise.
8709         * include/link.h: Likewise.
8710         * include/netdb.h: Likewise.
8711         * inet/check_native.c: Likewise.
8712         * inet/check_pf.c: Likewise.
8713         * inet/getipv4sourcefilter.c: Likewise.
8714         * inet/getnameinfo.c: Likewise.
8715         * inet/getsourcefilter.c: Likewise.
8716         * inet/htonl.c: Likewise.
8717         * inet/setipv4sourcefilter.c: Likewise.
8718         * inet/setsourcefilter.c: Likewise.
8719         * inet/test-inet6_opt.c: Likewise.
8720         * inet/tst-network.c: Likewise.
8721         * locale/C-collate.c: Likewise.
8722         * locale/C-ctype.c: Likewise.
8723         * locale/C-time.c: Likewise.
8724         * locale/C-translit.h: Likewise.
8725         * locale/loadarchive.c: Likewise.
8726         * locale/programs/3level.h: Likewise.
8727         * locale/programs/charmap.c: Likewise.
8728         * locale/programs/charmap.h: Likewise.
8729         * locale/programs/ld-address.c: Likewise.
8730         * locale/programs/ld-collate.c: Likewise.
8731         * locale/programs/ld-ctype.c: Likewise.
8732         * locale/programs/ld-identification.c: Likewise.
8733         * locale/programs/ld-measurement.c: Likewise.
8734         * locale/programs/ld-messages.c: Likewise.
8735         * locale/programs/ld-monetary.c: Likewise.
8736         * locale/programs/ld-name.c: Likewise.
8737         * locale/programs/ld-numeric.c: Likewise.
8738         * locale/programs/ld-paper.c: Likewise.
8739         * locale/programs/ld-telephone.c: Likewise.
8740         * locale/programs/ld-time.c: Likewise.
8741         * locale/programs/linereader.c: Likewise.
8742         * locale/programs/locale.c: Likewise.
8743         * locale/programs/locarchive.c: Likewise.
8744         * locale/programs/locfile.h: Likewise.
8745         * locale/programs/repertoire.c: Likewise.
8746         * locale/programs/simple-hash.c: Likewise.
8747         * locale/programs/simple-hash.h: Likewise.
8748         * malloc/memusage.c: Likewise.
8749         * malloc/memusagestat.c: Likewise.
8750         * nis/nis_defaults.c: Likewise.
8751         * nis/nis_hash.c: Likewise.
8752         * nis/nis_print.c: Likewise.
8753         * nis/nis_xdr.c: Likewise.
8754         * nscd/connections.c: Likewise.
8755         * nscd/hstcache.c: Likewise.
8756         * nscd/nscd_gethst_r.c: Likewise.
8757         * nscd/nscd_getserv_r.c: Likewise.
8758         * nscd/nscd_helper.c: Likewise.
8759         * nscd/servicescache.c: Likewise.
8760         * nss/makedb.c: Likewise.
8761         * nss/nss_db/db-XXX.c: Likewise.
8762         * nss/nss_db/db-initgroups.c: Likewise.
8763         * nss/nss_db/db-netgrp.c: Likewise.
8764         * nss/nss_files/files-network.c: Likewise.
8765         * nss/nss_files/files-parse.c: Likewise.
8766         * posix/bug-regex5.c: Likewise.
8767         * posix/fnmatch_loop.c: Likewise.
8768         * posix/regcomp.c: Likewise.
8769         * posix/regexec.c: Likewise.
8770         * posix/tst-rfc3484-2.c: Likewise.
8771         * posix/tst-rfc3484-3.c: Likewise.
8772         * posix/tst-rfc3484.c: Likewise.
8773         * resolv/nss_dns/dns-canon.c: Likewise.
8774         * resolv/nss_dns/dns-network.c: Likewise.
8775         * resolv/res_init.c: Likewise.
8776         * resolv/res_mkquery.c: Likewise.
8777         * resolv/tst-aton.c: Likewise.
8778         * stdlib/cxa_atexit.c: Likewise.
8779         * stdlib/cxa_finalize.c: Likewise.
8780         * stdlib/gen-fpioconst.c: Likewise.
8781         * stdlib/strtol_l.c: Likewise.
8782         * string/tst-endian.c: Likewise.
8783         * sunrpc/auth_des.c: Likewise.
8784         * sunrpc/clnt_udp.c: Likewise.
8785         * sunrpc/rtime.c: Likewise.
8786         * sunrpc/svcauth_des.c: Likewise.
8787         * sunrpc/xdr.c: Likewise.
8788         * sunrpc/xdr_intXX_t.c: Likewise.
8789         * sunrpc/xdr_rec.c: Likewise.
8790         * sysdeps/generic/ldconfig.h: Likewise.
8791         * sysdeps/generic/ldsodefs.h: Likewise.
8792         * sysdeps/generic/memusage.h: Likewise.
8793         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
8794         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
8795         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
8796         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
8797         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8798         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8799         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
8800         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
8801         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8802         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
8803         * sysdeps/posix/getaddrinfo.c: Likewise.
8804         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8805         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8806         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8807         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8808         * sysdeps/powerpc/test-gettimebase.c: Likewise.
8809         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
8810         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
8811         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
8812         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
8813         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
8814         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
8815         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
8816         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
8817         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
8818         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
8819         * sysdeps/x86_64/dl-tls.h: Likewise.
8820         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
8821         * time/alt_digit.c: Likewise.
8822         * time/era.c: Likewise.
8823         * wcsmbs/tst-c16c32-1.c: Likewise.
8825 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
8827         * math/libm-test.inc (struct test_sincos_data): New type.
8828         (RUN_TEST_LOOP_sincos): New macro.
8829         (sincos_test_data): New variable.
8830         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
8832 2013-05-16  Richard Henderson  <rth@redhat.com>
8834         * math/atest-exp2.c (LIMB64): New macro.
8835         (CONSTSZ): New macro.
8836         (mp_exp1, mp_exp_m1, mp_log2): New variables.
8837         (hexdig): Move ...
8838         (print_mpn_fp): ... to function scope.
8839         (read_mpn_hex): Remove.
8840         (get_log2): Remove.
8841         (exp2_mpn): Use mp_log2.
8842         (main): Use mp_exp1.
8844 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
8846         * math/libm-test.inc: Remove comment about not testing "inexact"
8847         exceptions.
8848         (INEXACT_EXCEPTION): New macro.
8849         (NO_INEXACT_EXCEPTION): Likewise.
8850         (INVALID_EXCEPTION_OK): Update value.
8851         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8852         (OVERFLOW_EXCEPTION_OK): Likewise.
8853         (UNDERFLOW_EXCEPTION_OK): Likewise.
8854         (IGNORE_ZERO_INF_SIGN): Likewise.
8855         (ERRNO_UNCHANGED): Likewise.
8856         (ERRNO_EDOM): Likewise.
8857         (ERRNO_ERANGE): Likewise.
8858         (test_exceptions): Handle testing "inexact" exceptions.
8859         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
8860         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
8861         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
8862         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
8863         INEXACT_EXCEPTION.
8864         (rint_towardzero_test_data): Likewise.
8865         (rint_downward_test_data): Likewise.
8866         (rint_upward_test_data): Likewise.
8868         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
8869         with OVERFLOW_EXCEPTION.
8870         (exp10_test_data): Likewise.
8871         (exp2_test_data): Likewise.
8872         (expm1_test_data): Likewise.
8873         (lgamma_test_data): Likewise.
8874         (pow_test_data): Likewise.
8875         (tgamma_test_data): Likewise.
8876         (yn_test_data): Remove duplicate test of overflow.
8878         * math/libm-test.inc (struct test_cc_c_data): New type.
8879         (RUN_TEST_LOOP_cc_c): New macro.
8880         (cpow_test_data): New variable.
8881         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
8883         * math/libm-test.inc (struct test_f_L_data): New type.
8884         (RUN_TEST_LOOP_f_L): New macro.
8885         (llrint_test_data): New variable.
8886         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
8887         (llrint_tonearest_test_data): New variable.
8888         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
8889         (llrint_towardzero_test_data): New variable.
8890         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
8891         (llrint_downward_test_data): New variable.
8892         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
8893         (llrint_upward_test_data): New variable.
8894         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
8895         (llround_test_data): New variable.
8896         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
8898 2013-05-13  Peter Collingbourne  <pcc@google.com>
8900         * math/atest-exp2.c (get_log2): Remove const attribute.
8902 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
8904         * math/libm-test.inc (struct test_f_l_data): New type.
8905         (RUN_TEST_LOOP_f_l): New macro.
8906         (lrint_test_data): New variable.
8907         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
8908         (lrint_tonearest_test_data): New variable.
8909         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
8910         (lrint_towardzero_test_data): New variable.
8911         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
8912         (lrint_downward_test_data): New variable.
8913         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
8914         (lrint_upward_test_data): New variable.
8915         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
8916         (lround_test_data): New variable.
8917         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
8919 2013-05-15  Peter Collingbourne  <pcc@google.com>
8921         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
8922         (EXTRACT_WORDS64) Use where appropriate.
8923         (INSERT_WORDS64) Likewise.
8925         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
8926         constraints with x constraints.
8927         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
8929         * malloc/obstack.c (_obstack_compat): Add initializer.
8931 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
8933         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
8934         si_trapno and add si_addr_lsb to _sifields.sigfault.
8935         (si_trapno): Remove macro.
8936         (si_addr_lsb): Define new macro.
8937         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
8939 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
8941         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
8942         instead of TEST_f_l.
8943         (llrint_test_tonearest): Likewise.
8944         (llrint_test_towardzero): Likewise.
8945         (llrint_test_downward): Likewise.
8946         (llrint_test_upward): Likewise.
8947         (llround_test): Likewise.
8949         * math/libm-test.inc (struct test_f_i_data): Add comment.
8950         (RUN_TEST_LOOP_f_b): New macro.
8951         (RUN_TEST_LOOP_f_b_tg): Likewise.
8952         (finite_test_data): New variable.
8953         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
8954         (isfinite_test_data): New variable.
8955         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8956         (isinf_test_data): New variable.
8957         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8958         (isnan_test_data): New variable.
8959         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8960         (isnormal_test_data): New variable.
8961         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8962         (issignaling_test_data): New variable.
8963         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8964         (signbit_test_data): New variable.
8965         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8967         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
8968         with INVALID_EXCEPTION.
8969         (acosh_test_data): Likewise.
8970         (asin_test_data): Likewise.
8971         (atanh_test_data): Likewise.
8972         (fmod_test_data): Likewise.
8973         (log_test_data): Likewise.
8974         (log10_test_data): Likewise.
8975         (log2_test_data): Likewise.
8976         (pow_test_data): Likewise.
8977         (sqrt_test_data): Likewise.
8978         (y0_test_data): Likewise.
8979         (y1_test_data): Likewise.
8980         (yn_test_data): Likewise.
8982         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
8983         function contents.
8985         * math/libm-test.inc (struct test_ff_i_data): New type.
8986         (RUN_TEST_LOOP_ff_i_tg): New macro.
8987         (isgreater_test_data): New variable.
8988         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8989         (isgreaterequal_test_data): New variable.
8990         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8991         (isless_test_data): New variable.
8992         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8993         (islessequal_test_data): New variable.
8994         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8995         (islessgreater_test_data): New variable.
8996         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8997         (isunordered_test_data): New variable.
8998         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9000 2013-05-14  David S. Miller  <davem@davemloft.net>
9002         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9004 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
9006         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
9008         * math/libm-test.inc (struct test_fF_f1_data): Change type of
9009         extra_test to int.
9010         (struct test_f_i_data): Change type of max_ulp to int.
9012         * math/libm-test.inc (test_ffI_f1_data): New type.
9013         (RUN_TEST_LOOP_ffI_f1): New macro.
9014         (remquo_test_data): New variable.
9015         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
9017         * setjmp/tst-setjmp-fp.c: New file.
9018         * setjmp/Makefile (tests): Add tst-setjmp-fp.
9019         (link-libm): New variable.
9020         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
9022         * math/libm-test.inc (struct test_f_i_data): New type.
9023         (RUN_TEST_LOOP_f_i): New macro.
9024         (RUN_TEST_LOOP_f_i_tg): Likewise.
9025         (fpclassify_test_data): New variable.
9026         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
9027         (ilogb_test_data): New variable.
9028         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
9030         * math/libm-test.inc (scalbln_test): Correct function name in END
9031         call.
9033         * math/libm-test.inc (struct test_f_f1_data): Add comment.
9034         (RUN_TEST_LOOP_fI_f1): New macro.
9035         (frexp_test_data): New variable.
9036         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
9038         * math/libm-test.inc (struct test_fF_f1_data): New type.
9039         (RUN_TEST_LOOP_fF_f1): New macro.
9040         (modf_test_data): New variable.
9041         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
9043         * math/libm-test.inc (struct test_f_f1_data): New type.
9044         (RUN_TEST_LOOP_f_f1): New macro.
9045         (gamma_test_data): New variable.
9046         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9047         (lgamma_test_data): New variable.
9048         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9050 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
9052         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
9053         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
9054         (main): Comment "tls" pseudo-hwcap.
9056 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
9058         * math/libm-test.inc (struct test_fl_f_data): New type.
9059         (RUN_TEST_LOOP_fl_f): New variable.
9060         (scalbln_test_data): New variable.
9061         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
9063         * math/libm-test.inc (struct test_fi_f_data): New type.
9064         (RUN_TEST_LOOP_fi_f): New macro.
9065         (ldexp_test_data): New variable.
9066         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
9067         (scalbn_test_data): New variable.
9068         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
9070         * math/libm-test.inc (struct test_c_f_data): New type.
9071         (RUN_TEST_LOOP_c_f): New macro.
9072         (cabs_test_data): New variable.
9073         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
9074         (carg_test_data): New variable.
9075         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
9076         (cimag_test_data): New variable.
9077         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
9078         (creal_test_data): New variable.
9079         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
9081         * math/libm-test.inc (struct test_if_f_data): New type.
9082         (RUN_TEST_LOOP_if_f): New macro.
9083         (jn_test_data): New variable.
9084         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
9085         (yn_test_data): New variable.
9086         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
9088         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
9090 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9092         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
9093         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
9095 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
9097         * benchtests/Makefile (CPPFLAGS-nonlib): Add
9098         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
9099         (bench-deps): Add bench-timing.h.
9100         * benchtests-bench-skeleton.c: Include bench-timing.h.
9101         (main): Use TIMING_* macros instead of clock_gettime.
9102         * benchtests/bench-timing.h: New file.
9104         [BZ #14582]
9105         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
9106         Renamed from _LIB_VERSION.
9107         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
9109 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
9111         * math/libm-test.inc (struct test_fff_f_data): New type.
9112         (RUN_TEST_LOOP_fff_f): New macro.
9113         (fma_test_data): New variable.
9114         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
9115         (fma_towardzero_test_data): New variable.
9116         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
9117         (fma_downward_test_data): New variable.
9118         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
9119         (fma_upward_test_data): New variable.
9120         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
9122         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
9123         (struct test_c_c_data): New type.
9124         (RUN_TEST_LOOP_c_c): New macro.
9125         (cacos_test_data): New variable.
9126         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
9127         (cacosh_test_data): New variable.
9128         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
9129         (casin_test_data): New variable.
9130         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
9131         (casinh_test_data): New variable.
9132         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
9133         (catan_test_data): New variable.
9134         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
9135         (catanh_test_data): New variable.
9136         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
9137         (ccos_test_data): New variable.
9138         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
9139         (ccosh_test_data): New variable.
9140         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
9141         (cexp_test_data): New variable.
9142         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
9143         (clog_test_data): New variable.
9144         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
9145         (clog10_test_data): New variable.
9146         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
9147         (conj_test_data): New variable.
9148         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
9149         (cproj_test_data): New variable.
9150         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
9151         (csin_test_data): New variable.
9152         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
9153         (csinh_test_data): New variable.
9154         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
9155         (csqrt_test_data): New variable.
9156         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
9157         (ctan_test_data): New variable.
9158         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
9159         (ctan_tonearest_test_data): New variable.
9160         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9161         (ctan_towardzero_test_data): New variable.
9162         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9163         (ctan_downward_test_data): New variable.
9164         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9165         (ctan_upward_test_data): New variable.
9166         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9167         (ctanh_test_data): New variable.
9168         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
9169         (ctanh_tonearest_test_data): New variable.
9170         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9171         (ctanh_towardzero_test_data): New variable.
9172         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9173         (ctanh_downward_test_data): New variable.
9174         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9175         (ctanh_upward_test_data): New variable.
9176         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9177         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
9178         of BUILD_COMPLEX.
9180         * math/libm-test.inc (struct test_ff_f_data): New type.
9181         (struct test_ff_f_data_nexttoward): Likewise.
9182         (RUN_TEST_LOOP_2_f): New macro.
9183         (RUN_TEST_LOOP_ff_f): Likewise.
9184         (atan2_test_data): New variable.
9185         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
9186         (copysign_test_data): New variable.
9187         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
9188         (fdim_test_data): New variable.
9189         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
9190         (fmax_test_data): New variable.
9191         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
9192         (fmin_test_data): New variable.
9193         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
9194         (fmod_test_data): New variable.
9195         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
9196         (hypot_test_data): New variable.
9197         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
9198         (nextafter_test_data): New variable.
9199         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
9200         (nexttoward_test_data): New variable.
9201         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
9202         (pow_test_data): New variable.
9203         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
9204         (pow_tonearest_test_data): New variable.
9205         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
9206         (pow_towardzero_test_data): New variable.
9207         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
9208         (pow_downward_test_data): New variable.
9209         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
9210         (pow_upward_test_data): New variable.
9211         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
9212         (remainder_test_data): New variable.
9213         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
9214         (scalb_test_data): New variable.
9215         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
9216         * sysdeps/i386/fpu/libm-test-ulps: Update.
9218 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
9220         * math/libm-test.inc (fma_test): Use max_value instead of local
9221         variable fltmax.
9222         (nextafter_test): Likewise.
9224         * math/libm-test.inc (acos_towardzero_test_data): New variable.
9225         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9226         (acos_downward_test_data): New variable.
9227         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9228         (acos_upward_test_data): New variable.
9229         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9230         (acosh_test_data): New variable.
9231         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
9232         (asin_test_data): New variable.
9233         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
9234         (asin_tonearest_test_data): New variable.
9235         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9236         (asin_towardzero_test_data): New variable.
9237         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9238         (asin_downward_test_data): New variable.
9239         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9240         (asin_upward_test_data): New variable.
9241         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9242         (asinh_test_data): New variable.
9243         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
9244         (atan_test_data): New variable.
9245         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
9246         (atanh_test_data): New variable.
9247         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
9248         (cbrt_test_data): New variable.
9249         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
9250         (ceil_test_data): New variable.
9251         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
9252         (cos_test_data): New variable.
9253         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
9254         (cos_tonearest_test_data): New variable.
9255         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9256         (cos_towardzero_test_data): New variable.
9257         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9258         (cos_downward_test_data): New variable.
9259         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9260         (cos_upward_test_data): New variable.
9261         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9262         (cosh_test_data): New variable.
9263         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
9264         (cosh_tonearest_test_data): New variable.
9265         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9266         (cosh_towardzero_test_data): New variable.
9267         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9268         (cosh_downward_test_data): New variable.
9269         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9270         (cosh_upward_test_data): New variable.
9271         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9272         (erf_test_data): New variable.
9273         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
9274         (erfc_test_data): New variable.
9275         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
9276         (exp_test_data): New variable.
9277         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
9278         (exp_tonearest_test_data): New variable.
9279         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9280         (exp_towardzero_test_data): New variable.
9281         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9282         (exp_downward_test_data): New variable.
9283         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9284         (exp_upward_test_data): New variable.
9285         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9286         (exp10_test_data): New variable.
9287         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
9288         (exp2_test_data): New variable.
9289         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
9290         (expm1_test_data): New variable.
9291         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
9292         (fabs_test_data): New variable.
9293         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
9294         (floor_test_data): New variable.
9295         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
9296         (j0_test_data): New variable.
9297         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
9298         (j1_test_data): New variable.
9299         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
9300         (log_test_data): New variable.
9301         (log_test): Run tests with RUN_TEST_LOOP_f_f.
9302         (log10_test_data): New variable.
9303         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
9304         (log1p_test_data): New variable.
9305         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
9306         (log2_test_data): New variable.
9307         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
9308         (logb_test_data): New variable.
9309         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
9310         (logb_downward_test_data): New variable.
9311         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9312         (nearbyint_test_data): New variable.
9313         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
9314         (rint_test_data): New variable.
9315         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
9316         (rint_tonearest_test_data): New variable.
9317         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9318         (rint_towardzero_test_data): New variable.
9319         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9320         (rint_downward_test_data): New variable.
9321         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9322         (rint_upward_test_data): New variable.
9323         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9324         (round_test_data): New variable.
9325         (round_test): Run tests with RUN_TEST_LOOP_f_f.
9326         (sin_test_data): New variable.
9327         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
9328         (sin_tonearest_test_data): New variable.
9329         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9330         (sin_towardzero_test_data): New variable.
9331         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9332         (sin_downward_test_data): New variable.
9333         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9334         (sin_upward_test_data): New variable.
9335         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9336         (sinh_test_data): New variable.
9337         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
9338         (sinh_tonearest_test_data): New variable.
9339         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9340         (sinh_towardzero_test_data): New variable.
9341         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9342         (sinh_downward_test_data): New variable.
9343         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9344         (sinh_upward_test_data): New variable.
9345         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9346         (sqrt_test_data): New variable.
9347         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
9348         (tan_test_data): New variable.
9349         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
9350         (tan_tonearest_test_data): New variable.
9351         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9352         (tan_towardzero_test_data): New variable.
9353         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9354         (tan_downward_test_data): New variable.
9355         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9356         (tan_upward_test_data): New variable.
9357         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9358         (tanh_test_data): New variable.
9359         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
9360         (tgamma_test_data): New variable.
9361         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
9362         (trunc_test_data): New variable.
9363         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
9364         (y0_test_data): New variable.
9365         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
9366         (y1_test_data): New variable.
9367         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
9368         (significand_test_data): New variable.
9369         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
9371 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
9373         [BZ #12387]
9374         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
9376 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
9378         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
9380 2013-05-10  Andreas Jaeger  <aj@suse.de>
9382         [BZ #15448]
9383         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
9384         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
9386 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
9388         * math/gen-libm-test.pl (adjust_arg): New function.
9389         (special_functions): Handle generating output in both functions
9390         and arrays.
9391         (parse_args): Likewise.
9392         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
9393         $in_func argument to parse_args.
9394         * math/libm-test.inc (struct test_f_f_data): New type.
9395         (IF_ROUND_INIT_): New macro.
9396         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
9397         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
9398         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
9399         (IF_ROUND_INIT_FE_UPWARD): Likewise.
9400         (ROUND_RESTORE_): Likewise.
9401         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
9402         (ROUND_RESTORE_FE_TONEAREST): Likewise.
9403         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
9404         (ROUND_RESTORE_FE_UPWARD): Likewise.
9405         (RUN_TEST_LOOP_f_f): New macro.
9406         (acos_test_data): New variable.
9407         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
9408         (acos_tonearest_test_data): New variable.
9409         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9411 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
9413         * benchtests/bench-skeleton.c (startup): Fix coding style.
9415 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
9417         [BZ #6809]
9418         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
9419         negative infinity argument.
9420         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
9421         negative infinity argument.
9422         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
9423         negative infinity argument.
9424         * math/libm-test.inc (tgamma_test): Expect errno to be set for
9425         domain errors.
9427 2013-05-10  Florian Weimer  <fweimer@redhat.com>
9429         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
9430         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
9431         * iconv/iconv_prog.c (main): Likewise.
9432         * locale/programs/charmap-dir.c (charmap_readdir)
9433         (fopen_uncompressed): Likewise.
9434         * locale/programs/locfile.c (siblings_uncached)
9435         (write_locale_data): Use lstat64 instead of lstat.
9436         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
9437         stat.
9439 2013-05-10  Andreas Jaeger  <aj@suse.de>
9441         [BZ #15395]
9442         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
9443         localization.
9444         Include <locale.h>.
9446 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
9448         * elf/dl-close.c (_dl_close_worker): Add comments.
9450 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
9452         [BZ #15359]
9453         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
9454         high part of pi/2.
9455         (__ieee754_rem_pio2l): Update comments.
9457         [BZ #15429]
9458         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
9459         high part of pi/2.
9460         (__ieee754_rem_pio2l): Update comments.
9462         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
9463         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
9465         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
9466         M_PI_4l.
9468         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
9469         (M_PI_34_LOG10El): Likewise.
9470         (M_PI2_LOG10El): Likewise.
9471         (M_PI4_LOG10El): Likewise.
9472         (M_PI_LOG10El): Likewise.
9474 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9476         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9478 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
9480         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
9481         (MINUS_ZERO_INIT): Likewise.
9482         (PLUS_INFTY_INIT): Likewise.
9483         (MINUS_INFTY_INIT): Likewise.
9484         (QNAN_VALUE_INIT): Likewise.
9485         (MAX_VALUE_INIT): Likewise.
9486         (MIN_VALUE_INIT): Likewise.
9487         (MIN_SUBNORM_VALUE_INIT): Likewise.
9488         (plus_zero): Initialize with PLUS_ZERO_INIT.
9489         (minus_zero): Initialize with MINUS_ZERO_INIT.
9490         (plus_infty): Initialize with PLUS_INFTY_INIT.
9491         (minus_infty): Initialize with MINUS_INFTY_INIT.
9492         (qnan_value): Initialize with QNAN_VALUE_INIT.
9493         (max_value): Initialize with MAX_VALUE_INIT.
9494         (min_value): Initialize with MIN_VALUE_INIT.
9495         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
9497         * math/libm-test.inc (RUN_TEST_if_f): New macro.
9498         (jn_test): Use TEST_if_f instead of TEST_ff_f.
9499         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
9500         (yn_test): Use TEST_if_f instead of TEST_ff_f.
9502         * math/libm-test.inc (RUN_TEST_f_f): New macro.
9503         (RUN_TEST_2_f): Likewise.
9504         (RUN_TEST_ff_f): Likewise.
9505         (RUN_TEST_fi_f): Likewise.
9506         (RUN_TEST_fl_f): Likewise.
9507         (RUN_TEST_fff_f): Likewise.
9508         (RUN_TEST_c_f): Likewise.
9509         (RUN_TEST_f_f1): Likewise.
9510         (RUN_TEST_fF_f1): Likewise.
9511         (RUN_TEST_fI_f1): Likewise.
9512         (RUN_TEST_ffI_f1): Likewise.
9513         (RUN_TEST_c_c): Likewise.
9514         (RUN_TEST_cc_c): Likewise.
9515         (RUN_TEST_f_i): Likewise.
9516         (RUN_TEST_f_i_tg): Likewise.
9517         (RUN_TEST_ff_i_tg): Likewise.
9518         (RUN_TEST_f_b): Likewise.
9519         (RUN_TEST_f_b_tg): Likewise.
9520         (RUN_TEST_f_l): Likewise.
9521         (RUN_TEST_f_L): Likewise.
9522         (RUN_TEST_sincos): Likewise.
9523         * math/gen-libm-test.pl (new_test): Take new argument to indicate
9524         whether to show exceptions.  Do not include ");\n" in return
9525         value.
9526         (special_functions): Output call to RUN_TEST_sincos instead of
9527         check_float calls.  Update calls to new_test.
9528         (parse_args): Output call to single RUN_TEST_* macro instead of
9529         check_* calls and other assignments.  Update calls to new_test.
9531         [BZ #2546]
9532         [BZ #2560]
9533         [BZ #5159]
9534         [BZ #15426]
9535         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
9536         input to result for tgamma overflow.
9537         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
9538         (gamma_coeff): New variable.
9539         (NCOEFF): New macro.
9540         (gamma_positive): New function.
9541         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
9542         underflow here.  Use gamma_positive instead of exp (lgamma) for
9543         other arguments.
9544         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
9545         (gamma_coeff): New variable.
9546         (NCOEFF): New macro.
9547         (gammaf_positive): New function.
9548         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
9549         underflow here.  Use gamma_positive instead of exp (lgamma) for
9550         other arguments.
9551         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
9552         (gamma_coeff): New variable.
9553         (NCOEFF): New macro.
9554         (gammal_positive): New function.
9555         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
9556         underflow here.  Use gamma_positive instead of exp (lgamma) for
9557         other arguments.
9558         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
9559         (gamma_coeff): New variable.
9560         (NCOEFF): New macro.
9561         (gammal_positive): New function.
9562         (__ieee754_gammal_r): Handle positive infinity, overflow and
9563         underflow here.  Handle NaN the same as positive infinity.  Remove
9564         check x < 0xffffffff for negative integers.  Use gamma_positive
9565         instead of exp (lgamma) for other arguments.
9566         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
9567         (gamma_coeff): New variable.
9568         (NCOEFF): New macro.
9569         (gammal_positive): New function.
9570         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
9571         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
9572         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
9573         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
9574         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
9575         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
9576         * sysdeps/generic/math_private.h (__gamma_productf): New
9577         prototype.
9578         (__gamma_product): Likewise.
9579         (__gamma_productl): Likewise.
9580         * math/Makefile (libm-calls): Add gamma_product.
9581         * math/libm-test.inc (tgamma_test): Add more tests.
9582         * sysdeps/i386/fpu/libm-test-ulps: Update.
9583         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9585 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
9587         * benchtests/bench-skeleton.c (main): Preheat CPU.
9589 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
9591         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
9593 2013-05-07  Roland McGrath  <roland@hack.frob.com>
9595         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
9596         and _dl_skip_args_internal.
9598 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
9600         * manual/message.texi (Message Translation): Talk about users.
9601         Message to key mapping impacts design.
9603 2013-05-06  Roland McGrath  <roland@hack.frob.com>
9605         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
9607         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
9609         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
9610         * sysdeps/wordsize-64/glob64.c: ... here.
9612         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
9613         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
9614         New macros.
9616         * debug/getlogin_r_chk.c: Moved to ...
9617         * login/getlogin_r_chk.c: ... here.
9618         * debug/Makefile (routines): Move getlogin_r_chk to ...
9619         * login/Makefile (routines): ... here.
9620         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
9621         * login/Versions (libc: GLIBC_2.4): ... here.
9623         * io/poll.c (__poll): Renamed from poll.
9624         Add libc_hidden_def.
9625         (poll): Define as weak alias.
9627         * debug/ptsname_r_chk.c: Moved to ...
9628         * login/ptsname_r_chk.c: ... here.
9629         * debug/Makefile (routines): Move ptsname_r_chk to ...
9630         * login/Makefile (routines): ... here.
9631         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
9632         * login/Versions (libc: GLIBC_2.4): ... here.
9634         * posix/getlogin.c: Moved to ...
9635         * login/getlogin.c: ... here.
9636         * posix/getlogin_r.c: Moved to ...
9637         * login/getlogin_r.c: ... here.
9638         * posix/getlogin_r.c: Moved to ...
9639         * login/getlogin_r.c: ... here.
9640         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
9641         * login/Makefile (routines): ... here.
9642         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
9643         * login/Versions (libc: GLIBC_2.0): ... here.
9645         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
9646         (setrlimit): Define as weak alias.
9648         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
9649         Call __ names for open, ftruncate, and close.
9650         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
9651         (truncate): Define as weak alias.
9653 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
9655         * math/gen-libm-test.pl (parse_args): Initialize x before each
9656         test of frexp, modf and remquo.
9658         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
9659         test signgam value.
9661 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9663         [BZ #15418]
9664         [BZ #15419]
9665         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
9666         internal tests.
9667         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9669 2013-05-06  Roland McGrath  <roland@hack.frob.com>
9671         * elf/dl-writev.h: New file.
9672         * elf/dl-misc.c: Include it.
9673         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
9674         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
9676 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
9678         * math/libm-test.inc (noXFails): Remove variable.
9679         (noXPasses): Likewise.
9680         (BUILD_COMPLEX_INT): Remove macro.
9681         (print_screen): Remove xfail argument.
9682         (print_screen_max_error): Likewise.
9683         (update_stats): Likewise.
9684         (print_max_error): Likewise.  Update calls to other affected
9685         functions.
9686         (print_complex_max_error): Likewise.
9687         (test_single_exception): Update calls to print_screen.
9688         (test_single_errno): Likewise.
9689         (check_float_internal): Remove xfail argument.  Update calls to
9690         other affected functions.
9691         (check_float): Likewise.
9692         (check_complex): Likewise.
9693         (check_int): Likewise.
9694         (check_long): Likewise.
9695         (check_bool): Likewise.
9696         (check_longlong): Likewise.
9697         (main): Don't print noXFails and noXPasses.
9698         * math/gen-libm-test.pl (top level): Don't mention expected
9699         failure handling in comment.
9700         (new_test): Don't handle expected failures.
9701         (parse_args): Don't mention expected failure handling in comment.
9702         (generate_testfile): Don't handle expected failures.
9703         (parse_ulps): Likewise.
9704         (print_ulps_file): Likewise.
9705         (get_failure): Remove function.
9706         (output_test): Don't handle expected failures.
9707         * make/README.libm-test: Don't mention expected failure handling.
9709         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
9710         (minus_zero): Likewise.
9711         (plus_infty): Likewise.
9712         (minus_infty): Likewise.
9713         (qnan_value): Likewise.
9714         (max_value): Likewise.
9715         (min_value): Likewise.
9716         (min_subnorm_value): Likewise.
9717         (initialize): Do not initialize those variables dynamically.
9719 2013-05-03  Roland McGrath  <roland@hack.frob.com>
9721         * io/open.c (__open_2): Moved to ...
9722         * io/open_2.c: ... this new file.
9723         * io/open64.c (__open64_2): Moved to ...
9724         * io/open64_2.c: ... this new file.
9725         * io/openat.c (__openat_2): Moved to ...
9726         * io/openat_2.c: ... this new file.
9727         * io/openat64.c (__openat64_2): Moved to ...
9728         * io/openat64_2.c: ... this new file.
9729         * io/Makefile (routines): Add them.
9730         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
9731         * sysdeps/unix/sysv/linux/open_2.c: File removed.
9732         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
9733         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
9734         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
9735         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
9736         (__openat64): Add hidden_ver.
9737         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
9738         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
9740         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
9741         Separately conditionalize setting of GLRO(dl_sysinfo) so
9742         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
9743         as well, but the actual setting is only under [NEED_DL_SYSINFO].
9745 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9747         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
9748         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
9749         definition.
9750         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
9751         * sysdeps/unix/sysv/linux/powerpc/init-first.c
9752         (_libc_vdso_platform_setup): Add __vdso_time initialization.
9753         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
9754         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
9756 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
9758         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
9759         test signgam value.
9761         * math/libm-test.inc (hypot_test): Do not use
9762         IGNORE_ZERO_INF_SIGN.
9764 2013-05-03  Andreas Jaeger  <aj@suse.de>
9766         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
9767         Linux 3.9.
9768         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
9769         (PF_MAX): Adjust for VSOCK change.
9771 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9773         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9775 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
9777         [BZ #15264]
9778         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
9779         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
9780         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
9782 2013-05-02  David S. Miller  <davem@davemloft.net>
9784         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9786 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
9788         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
9790 2013-05-01  Roland McGrath  <roland@hack.frob.com>
9792         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
9794 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
9796         [BZ #14952]
9797         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
9798         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
9799         Use __attribute__ ((__gnu_inline__)).
9800         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
9801         Don't use __attribute__ ((__gnu_inline__)).
9803 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
9805         [BZ #15423]
9806         * math/s_catan.c (__catan): Handle small real or imaginary part of
9807         input specially to avoid spurious underflow.
9808         * math/s_catanf.c (__catanf): Likewise.
9809         * math/s_catanh.c (__catanh): Likewise.
9810         * math/s_catanhf.c (__catanhf): Likewise.
9811         * math/s_catanhl.c (__catanhl): Likewise.
9812         * math/s_catanl.c (__catanl): Likewise.
9813         * math/libm-test.inc (catan_test): Add more tests.
9814         (catanh_test): Likewise.
9815         * sysdeps/i386/fpu/libm-test-ulps: Update.
9816         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9818 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9820         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9822 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
9824         [BZ #15416]
9825         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
9826         accurately for denominator in atan2.
9827         * math/s_catanf.c (__catanf): Likewise.
9828         * math/s_catanh.c (__catanh): Likewise.
9829         * math/s_catanhf.c (__catanhf): Likewise.
9830         * math/s_catanhl.c (__catanhl): Likewise.
9831         * math/s_catanl.c (__catanl): Likewise.
9832         * math/libm-test.inc (catan_test): Add more tests.
9833         (catanh_test): Likewise.
9834         * sysdeps/i386/fpu/libm-test-ulps: Update.
9835         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9837 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
9839         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
9841         * benchtests/Makefile (bench): Remove slow benchmarks.
9842         * benchtests/atan-inputs: Add slow benchmark inputs.
9843         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
9844         (BENCH_FUNC): Accept variant offset.
9845         (VARIANT): Define.
9846         * benchtests/bench-skeleton.c (main): Run benchmark for each
9847         variant.
9848         * benchtests/cos-inputs: Add slow benchmark inputs.
9849         * benchtests/exp-inputs: Likewise.
9850         * benchtests/pow-inputs: Likewise.
9851         * benchtests/sin-inputs: Likewise.
9852         * benchtests/slowatan-inputs: Remove.
9853         * benchtests/slowatan.c: Remove.
9854         * benchtests/slowcos-inputs: Remove.
9855         * benchtests/slowcos.c: Remove.
9856         * benchtests/slowexp-inputs: Remove.
9857         * benchtests/slowexp.c: Remove.
9858         * benchtests/slowpow-inputs: Remove.
9859         * benchtests/slowpow.c: Remove.
9860         * benchtests/slowsin-inputs: Remove.
9861         * benchtests/slowsin.c: Remove.
9862         * benchtests/slowtan-inputs: Remove.
9863         * benchtests/slowtan.c: Remove.
9864         * benchtests/tan-inputs: Add slow benchmark inputs.
9865         * scripts/bench.pl: Parse comments and directives.
9867         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
9868         in CPPFLAGS.
9869         ($(objpfx)bench-%.c): Remove *-ITER.
9870         * benchtests/bench-modf.c: Remove definition of ITER.
9871         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
9872         (main): Loop for DURATION seconds instead of fixed number of
9873         iterations.
9874         * scripts/bench.pl: Don't expect iterations in parameters.
9876 2013-04-29  Roland McGrath  <roland@hack.frob.com>
9878         * io/fchdir.c (__fchdir): Renamed from fchdir.
9879         (fchdir): Define as weak alias.
9881 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
9883         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
9884         (ERRNO_EDOM): Likewise.
9885         (ERRNO_ERANGE): Likewise.
9886         (noErrnoTests): New variable.
9887         (init_max_error): Set errno to 0.
9888         (test_single_errno): New function.
9889         (test_errno): Likewise.
9890         (check_float_internal): Call test_errno.  Set errno to 0.
9891         (check_complex): Refer to errno tests in comment.
9892         (check_int): Call test_errno.  Set errno to 0.
9893         (check_long): Likewise.
9894         (check_bool): Likewise.
9895         (check_longlong): Likewise.
9896         (cos_test): Use ERRNO_* flags for errno tests instead of
9897         check_int.
9898         (expm1_test): Likewise.
9899         (fmod_test): Likewise.
9900         (ilogb_test): Likewise.
9901         (lgamma_test): Likewise.
9902         (pow_test): Likewise.
9903         (remainder_test): Likewise.
9904         (sin_test): Likewise.
9905         (tan_test): Likewise.
9906         (yn_test): Likewise.
9907         (initialize): Set errno to 0.
9908         (main): Print number of errno tests.
9909         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
9911 2013-04-29  Andreas Jaeger  <aj@suse.de>
9913         [BZ #15084]
9914         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
9915         and RES_USEVC.
9917         [BZ #15085]
9918         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
9919         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
9920         unimplemented.
9922         [BZ #15380]
9923         * stdlib/random.c (__initstate): Return NULL if
9924         __initstate fails.
9926         [BZ #15086]
9927         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
9928         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
9929         RES_SNGLKUPREOP.
9931 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9933         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9935 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
9937         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
9938         of individual tests.
9939         (casin_test): Likewise.
9940         (casinh_test): Likewise.
9942 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
9944         [BZ #15409]
9945         * math/s_catan.c (__catan): Handle arguments with large real or
9946         imaginary part separately without squaring.
9947         * math/s_catanf.c (__catanf): Likewise.
9948         * math/s_catanh.c (__catanh): Likewise.
9949         * math/s_catanhf.c (__catanhf): Likewise.
9950         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
9951         and redefine.
9952         (__catanhl): Handle arguments with large real or imaginary part
9953         separately without squaring.
9954         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
9955         and redefine.
9956         (__catanl): Handle arguments with large real or imaginary part
9957         separately without squaring.
9958         * math/libm-test.inc (catan_test): Add more tests.
9959         (catanh_test): Likewise.
9960         * sysdeps/i386/fpu/libm-test-ulps: Update.
9961         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9963 2013-04-27  Andreas Jaeger  <aj@suse.de>
9965         [BZ #15007]
9966         * stdlib/stdlib.h: Update guards for qecvt.
9967         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
9968         <stdlib.h>.
9970 2013-04-27  Allan McRae  <allan@archlinux.org>
9972         * sysdeps/i386/fpu/libm-test-ulps: Update.
9974 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
9976         [BZ #15406]
9977         * math/s_catan.c: Include <float.h>.
9978         (__catan): Ensure underflow exception occurs for underflowed
9979         result.
9980         * math/s_catanf.c: Include <float.h>.
9981         (__catanf): Ensure underflow exception occurs for underflowed
9982         result.
9983         * math/s_catanh.c: Include <float.h>.
9984         (__catanh): Ensure underflow exception occurs for underflowed
9985         result.
9986         * math/s_catanhf.c: Include <float.h>.
9987         (__catanhf): Ensure underflow exception occurs for underflowed
9988         result.
9989         * math/s_catanhl.c: Include <float.h>.
9990         (__catanhl): Ensure underflow exception occurs for underflowed
9991         result.
9992         * math/s_catanl.c: Include <float.h>.
9993         (__catanl): Ensure underflow exception occurs for underflowed
9994         result.
9995         * math/libm-test.inc (catan_test): Add more tests.
9996         (catanh_test): Likewise.
9998         [BZ #15405]
9999         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
10000         underflowed result.
10001         * math/s_ccoshf.c (__ccoshf): Likewise.
10002         * math/s_ccoshl.c (__ccoshl): Likewise.
10003         * math/s_csin.c (__csin): Likewise.
10004         * math/s_csinf.c (__csinf): Likewise.
10005         * math/s_csinh.c (__csinh): Likewise.
10006         * math/s_csinhf.c (__csinhf): Likewise.
10007         * math/s_csinhl.c (__csinhl): Likewise.
10008         * math/s_csinl.c (__csinl): Likewise.
10009         * math/libm-test.inc (ccos_test): Add more tests.
10010         (ccosh_test): Likewise.
10011         (csin_test): Likewise.
10012         (csinh_test): Likewise.
10014 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10016         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
10017         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
10018         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
10019         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
10020         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
10021         powerpc/power5+/fpu folders.
10022         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
10025 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
10027         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10029 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
10031         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
10032         additions to variable.
10033         [$(config-machine) = x86_64] (modules-names): Likewise.
10034         ($(objpfx)tst-audit3): Remove dependency.
10035         ($(objpfx)tst-audit3.out): Likewise.
10036         ($(objpfx)tst-audit4): Likewise.
10037         ($(objpfx)tst-audit4.out): Likewise.
10038         ($(objpfx)tst-audit5): Likewise.
10039         ($(objpfx)tst-audit5.out): Likewise.
10040         ($(objpfx)tst-audit6): Likewise.
10041         ($(objpfx)tst-audit6.out): Likewise.
10042         ($(objpfx)tst-audit7): Likewise.
10043         ($(objpfx)tst-audit7.out): Likewise.
10044         (tst-audit3-ENV): Remove variable.
10045         (tst-audit4-ENV): Likewise.
10046         (tst-audit5-ENV): Likewise.
10047         (tst-audit6-ENV): Likewise.
10048         (tst-audit7-ENV): Likewise.
10049         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
10050         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
10051         addition to variable.
10052         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
10053         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
10054         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
10055         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
10056         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
10057         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
10058         tst-audit3, tst-audit4 and tst-audit5.
10059         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
10060         tst-audit6 and tst-audit7.
10061         [$(subdir) = elf] (modules-names): Add audit modules for those
10062         tests.
10063         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
10064         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
10065         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
10066         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
10067         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
10068         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
10069         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
10070         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
10071         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
10072         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
10073         [$(subdir) = elf] (tst-audit3-ENV): New variable.
10074         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
10075         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
10076         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
10077         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
10078         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
10079         Likewise.
10080         [$(subdir) = elf && $(config-cflags-avx) = yes]
10081         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
10082         [$(subdir) = elf && $(config-cflags-avx) = yes]
10083         (CFLAGS-tst-auditmod4a.c): Likewise.
10084         [$(subdir) = elf && $(config-cflags-avx) = yes]
10085         (CFLAGS-tst-auditmod4b.c): Likewise.
10086         [$(subdir) = elf && $(config-cflags-avx) = yes]
10087         (CFLAGS-tst-auditmod6b.c): Likewise.
10088         [$(subdir) = elf && $(config-cflags-avx) = yes]
10089         (CFLAGS-tst-auditmod6c.c): Likewise.
10090         [$(subdir) = elf && $(config-cflags-avx) = yes]
10091         (CFLAGS-tst-auditmod7b.c): Likewise.
10092         * elf/tst-audit3.c: Move to ...
10093         * sysdeps/x86_64/tst-audit3.c: ... here.
10094         * elf/tst-audit4.c: Move to ...
10095         * sysdeps/x86_64/tst-audit4.c: ... here.
10096         * elf/tst-audit5.c: Move to ...
10097         * sysdeps/x86_64/tst-audit5.c: ... here.
10098         * elf/tst-audit6.c: Move to ...
10099         * sysdeps/x86_64/tst-audit6.c: ... here.
10100         * elf/tst-audit7.c: Move to ...
10101         * sysdeps/x86_64/tst-audit7.c: ... here.
10102         * elf/tst-auditmod3a.c: Move to ...
10103         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
10104         * elf/tst-auditmod3b.c: Move to ...
10105         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
10106         * elf/tst-auditmod4a.c: Move to ...
10107         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
10108         * elf/tst-auditmod4b.c: Move to ...
10109         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
10110         * elf/tst-auditmod5a.c: Move to ...
10111         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
10112         * elf/tst-auditmod5b.c: Move to ...
10113         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
10114         * elf/tst-auditmod6a.c: Move to ...
10115         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
10116         * elf/tst-auditmod6b.c: Move to ...
10117         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
10118         * elf/tst-auditmod6c.c: Move to ...
10119         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
10120         * elf/tst-auditmod7a.c: Move to ...
10121         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
10122         * elf/tst-auditmod7b.c: Move to ...
10123         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
10125 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
10127         [BZ #15366]
10128         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
10129         define unconditionally.
10130         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
10131         define unconditionally.
10132         (INT8_C, INT16_C, etc.): Likewise.
10134 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
10136         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
10137         __ehdr_start with hidden visibility.
10139         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
10141 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
10143         * math/libm-test.inc (cos_test): Use accurate hex constants.
10144         (sincost_test): Likewise.
10146 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
10148         * math/libm-test.inc (catan_test): Add more tests.
10149         (catanh_test): Likewise.
10151         * math/s_catanf.c (__catanf): Use suffixed floating-point
10152         constants.
10153         * math/s_catanhf.c (__catanhf): Likewise.
10154         * math/s_catanhl.c (__catanhl): Likewise.
10155         * math/s_catanl.c (__catanl): Likewise.
10157         [BZ #15394]
10158         * math/s_catan.c (__catan): Calculate imaginary part of result
10159         with log1p not log unless computing log of number close to 0.
10160         * math/s_catanf.c (__catanf): Likewise.
10161         * math/s_catanl.c (__catanl): Likewise.
10162         * math/s_catanh.c (__catanh): Calculate real part of result with
10163         log1p not log unless computing log of number close to 0.
10164         * math/s_catanhf.c (__catanhf): Likewise.
10165         * math/s_catanhl.c (__catanhl): Likewise.
10166         * math/libm-test.inc (catan_test): Add more tests.
10167         (catanh_test): Likewise.
10168         * sysdeps/i386/fpu/libm-test-ulps: Update.
10169         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10171 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10173         * benchtests/Makefile: Mention files in which fast and slow
10174         paths of math functions are implemented.
10176 2013-04-23  Roland McGrath  <roland@hack.frob.com>
10178         * sysdeps/posix/timespec_get.c: New file.
10180 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10182         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
10183         POWER.
10184         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
10185         for POWER.
10186         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
10187         powerpc/power5/fpu folders.
10188         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
10189         * benchtests/Makefile: Add modf testcase.
10190         * benchtests/bench-modf.c: New file: Benchmark test for mo
10192 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
10194         [BZ #14888]
10195         * time/Makefile (tests): Add tst-strptime-whitespace.
10196         * time/strptime_l.c (get_number): Use ISSPACE.
10197         (__strptime_internal): Likewise.
10198         * time/tst-strptime-whitespace.c: New test case.
10200 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
10202         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
10203         member.
10204         (_nss_files_init): Set it here.
10206 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
10208         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
10209         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
10210         unsigned.
10212 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
10214         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
10216 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
10218         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
10219         size just once.
10221 2013-04-21  David S. Miller  <davem@davemloft.net>
10223         * po/ru.po: Update Russion translation from translation project.
10225 2013-04-17  Adam Conrad  <adconrad@0c3.net>
10227         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
10228         and setfsgid.
10230 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
10232         * configure.in: Remove i386 configure warning. Remove i386 case.
10233         * configure: Regenerate.
10234         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
10235         Add example to error message.
10236         * sysdeps/i386/configure: Regenerate.
10238 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
10240         * benchtests/Makefile (bench): Add cos, tan, slowcos and
10241         slowtan.
10242         * benchtests/cos-inputs: New file.
10243         * benchtests/slowcos-inputs: New file.
10244         * benchtests/slowcos.c: New file.
10245         * benchtests/slowtan-inputs: New file.
10246         * benchtests/slowtan.c: New file.
10247         * benchtests/tan-inputs: New file.
10249 2013-04-16  Roland McGrath  <roland@hack.frob.com>
10251         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
10252         considered kosher.
10254 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10256         * benchtests/Makefile: Include cppflags-iterator.mk to add
10257         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
10259         * Makefile.in (bench-clean): New target.
10260         * benchtests/Makefile (bench-clean): Likewise.
10262 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
10264         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
10266 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
10268         * stdio-common/tstdiomisc.c: Fix coding-style violation.
10270 2013-04-15  Andreas Schwab  <schwab@suse.de>
10272         * nscd/grpcache.c (cache_addgr): Properly check for short write.
10273         * nscd/initgrcache.c (addinitgroupsX): Likewise.
10274         * nscd/pwdcache.c (cache_addpw): Likewise.
10275         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
10276         more than recsize.
10278 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
10280         * benchtests/Makefile (bench): Write all output to
10281         bench-out.tmp together.
10283 2013-04-15  Andreas Schwab  <schwab@suse.de>
10285         * nscd/nscd.c (main): Don't fork again after closing files.
10287 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
10289         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
10291         * benchtests/Rules (bench-deps): Collect dependencies into a
10292         single variable.  Add Makefile to dependencies.
10293         ($(objpfx)bench-%.c): Depend on bench-deps.
10295 2013-04-12  Roland McGrath  <roland@hack.frob.com>
10296             Xavier Roche  <roche+kml2@exalead.com>
10298         [BZ #15361]
10299         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
10300         just that it's a file descriptor.
10301         * manual/llio.texi (Synchronizing AIO Operations): Update description
10302         for EBADF error from aio_fsync.
10304 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
10306         * Rules (bench): Move target definition...
10307         * benchtests/Makefile: ... here.
10309 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
10311         * math/libm-test.inc (cos_test): Fix PI/2 test.
10312         (sincos_test): Likewise.
10313         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
10314         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
10316 2013-04-11  Andreas Schwab  <schwab@suse.de>
10318         [BZ #13988]
10319         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
10320         accept exponent character only when digits were seen.
10321         * stdio-common/Makefile (tests): Add bug26.
10322         * stdio-common/bug26.c: New file.
10324         [BZ #14293]
10325         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
10326         non-freeable.
10328 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
10330         * Makeconfig (rtld-prefix): Define built linker prefix.
10331         * Rules (run-bench): Use it.
10332         * math/Makefile (run-regen-ulps): Likewise.
10334         * Rules (bench): Remove eval.
10336 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
10337             Roland McGrath  <roland@hack.frob.com>
10338             Ondrej Bilka  <neleai@seznam.cz>
10340         [BZ #15346]
10341         * time/getdate.c: Include ctype.h and alloca.h.
10342         (__getdate_r): Trim leading and trailing spaces of input.
10343         * time/tst-getdate.c (tests): Add tests with leading and
10344         trailing spaces.
10346 2013-04-08  Roland McGrath  <roland@hack.frob.com>
10348         [BZ #14280]
10349         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
10350         when computing value.
10352 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
10354         * math/README.libm-test (How can I generate "libm-test-ulps"?):
10355         Use testrun.sh to run libm tests.
10357         [BZ #15309]
10358         * elf/dl-open.c (dl_open_worker): memset all of seen array.
10360 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
10362         [BZ #15264]
10363         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
10365 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
10367         * Makefile.in (regen-ulps): New target.
10368         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
10369         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
10370         [ifneq (no,$(PERL)] (regen-ulps): New target.
10371         [ifeq (no,$(PERL)] (regen-ulps): New target.
10372         * math/libm-test.inc (ulps_file_name): Define.
10373         (output_dir): New variable.
10374         (options): Add "output-dir" option.
10375         (parse_opt): Handle 'o' case.
10376         (main): If output_dir is non-NULL use it as a prefix
10377         otherwise use "".
10378         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
10380 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
10382         [BZ #10060, #10062]
10383         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
10384         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
10385         fail configure if __sync_val_compare_and_swap is not inlined.
10386         * sysdeps/i386/configure: Regenerate.
10387         * configure.in: Build for i686 when configured for i386.
10388         * configure: Regenerate.
10389         * README: Remove i386 reference.
10391 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
10393         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
10394         * sysdeps/s390/s390-64/sysdep.h: Likewise.
10396 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
10398         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
10399         (lmsnanval): New variables.
10400         (F): Add conversion tests.
10401         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
10402         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
10404         * stdio-common/tstdiomisc.c (F): Properly collect individual
10405         tests' results.
10407         [BZ #14686, #15336]
10408         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
10409         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
10410         Instead, use input NaN values or generate a qNaN by arithmetic
10411         operation.  Also fix bugs to comply with the standard.
10412         * math/libm-test.inc (remainder_test): Add more tests.
10414         [BZ #15335, #15342]
10415         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
10416         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
10417         input NaN values or generate a qNaN by arithmetic operation.
10419         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
10420         unreachable code.
10422         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
10423         definitions.
10425 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
10427         [BZ #14478]
10428         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
10429         underflowed result.
10430         * math/s_cexpf.c (__cexpf): Likewise.
10431         * math/s_cexpl.c (__cexpl): Likewise.
10432         * math/libm-test.inc (cexp_test): Add more tests.
10434 2013-04-03  Andreas Schwab  <schwab@suse.de>
10436         [BZ #15330]
10437         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
10438         order arrays from heap if bigger than alloca cutoff.
10440 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
10442         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
10443         (SNAN_TESTS_double): Refer to GCC PR56831.
10444         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
10445         GCC PR56828.
10447 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
10449         * Rules (bench): Move bench.out after the run is complete.
10451         * Rules (bench): Echo currently running benchmark.
10453         * benchtests/Makefile (bench): Add atan and slowatan.
10454         * benchtests/atan-inputs: New file.
10455         * benchtests/slowatan-inputs: New file.
10456         * benchtests/slowatan.c: New file.
10458         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
10459         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
10460         its value.
10462         [BZ #15305]
10463         * sysdeps/unix/sysv/linux/kernel-features.h
10464         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
10465         __ASSUME_XFS_RESTRICTED_CHOWN.
10466         * sysdeps/unix/sysv/linux/pathconf.c
10467         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
10468         Save and restore errno.
10470 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
10472         [BZ #15327]
10473         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
10474         arguments using __kernel_casinh.
10475         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
10476         arguments using __kernel_casinhf.
10477         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
10478         arguments using __kernel_casinhl.
10479         * math/libm-test.inc (cacosh_test): Add more tests.
10480         * sysdeps/i386/fpu/libm-test-ulps: Update.
10481         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10483 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
10485         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
10486         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
10488         * bench/Makefile (bench): Add sin and slowsin.
10489         * benchtests/sin-inputs: New file.
10490         * benchtests/slowsin-inputs: New file.
10491         * benchtests/slowsin.c: New file.
10493         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
10494         (bench): Add slowexp and slowpow.
10495         (exp-ITER): Increase iterations.
10496         (pow-ITER): Likewise.
10497         * benchtests/exp-inputs: Change input.
10498         * benchtests/pow-inputs: Likewise.
10499         * benchtests/slowexp-inputs: New file.
10500         * benchtests/slowexp.c: New file.
10501         * benchtests/slowpow-inputs: New file.
10502         * benchtests/slowpow.c: New file.
10504 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10506         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
10507         instructions.
10508         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
10509         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
10510         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
10511         * benchtests/Makefile: Add rint benchtest.
10512         * benchtests/rint-inputs: Input for rint benchtest.
10514 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
10516         * Versions.def (libm): Add GLIBC_2.18.
10517         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
10518         hidden libm prototypes.
10519         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
10520         * math/Makefile (libm-calls): Add s_issignaling.
10521         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
10522         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
10523         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
10524         declaration.
10525         * math/math.h [__USE_GNU] (issignaling): New macro.
10526         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
10527         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
10528         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
10529         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
10530         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
10531         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
10532         * manual/arith.texi (issignaling): New section.
10533         * manual/libm-err-tab.pl (@all_functions): Update comment.
10534         * math/gen-libm-test.pl (parse_args): Apply special handling for
10535         issignaling.
10536         * math/libm-test.inc (print_float, issignaling_test): New
10537         functions.
10538         (check_float_internal): Add issignaling checks.
10539         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
10540         default definition.
10541         * sysdeps/powerpc/math-tests.h: New file.
10542         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
10543         tests.
10544         * math/test-snan.c (TEST_FUNC): Likewise.
10546 2013-03-30  David S. Miller  <davem@davemloft.net>
10548         * po/de.po: Update from translation team.
10550 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
10552         [BZ #10357]
10553         * math/k_casinh.c (__kernel_casinh): Handle arguments with
10554         imaginary part less than 1.0 and real part less than 0.5
10555         specially.
10556         * math/k_casinhf.c (__kernel_casinhf): Likewise.
10557         * math/k_casinhl.c (__kernel_casinhl): Likewise.
10558         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
10559         (cacos_test): Add more tests.
10560         (casin_test): Likewise.
10561         (casinh_test): Likewise.
10562         * sysdeps/i386/fpu/libm-test-ulps: Update.
10563         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10565 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
10567         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
10568         ONE with its value.
10570         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
10571         (__pow_mp): Replace ONE and MONE with their values.
10572         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10573         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
10574         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10575         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
10576         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10577         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10579         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
10581         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
10582         (__pow_mp): Replace ZERO and MZERO with their values.
10583         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
10584         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10585         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10586         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
10587         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10588         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
10589         (__sqr): Likewise.
10591         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
10593         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
10595 2013-03-28  Roland McGrath  <roland@hack.frob.com>
10597         * include/stdlib.h [!SHARED] (__call_tls_dtors):
10598         Declare with __attribute__ ((weak)).
10599         * stdlib/exit.c (__libc_atexit) [!SHARED]:
10600         Call __call_tls_dtors only if it's not NULL.
10602 2013-03-28  Roland McGrath  <roland@hack.frob.com>
10604         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
10605         didn't do it already, then set _dl_phdr and _dl_phnum based on the
10606         magic __ehdr_start linker symbol if it's defined.
10607         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
10608         them up here if it was already done.
10610         * elf/dl-support.c (_dl_phdr): Make pointer to const.
10611         (_dl_aux_init): Use const in cast when setting it.
10612         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
10613         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
10614         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
10616         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
10617         Declare them here.
10618         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
10619         * csu/libc-tls.c: Nor here.
10620         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
10622         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
10623         (__libc_message): Never call vsyslog.
10625 2013-03-28  Alan Modra  <amodra@gmail.com>
10627         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
10628         Define as empty.
10629         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
10630         Likewise.
10632 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10634         [BZ #15214]
10635         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
10636         underflow.
10637         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10639 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
10641         [BZ #15304]
10642         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
10643         Don't add gid passed as argument.
10645         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
10647 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
10649         [BZ #15307]
10650         * math/k_casinh.c (__kernel_casinh): Handle arguments with
10651         imaginary part between 1.0 and 1.5 and real part less than 0.5
10652         specially.
10653         * math/k_casinhf.c (__kernel_casinhf): Likewise.
10654         * math/k_casinhl.c (__kernel_casinhl): Likewise.
10655         * math/libm-test.inc (cacos_test): Add more tests.
10656         (casin_test): Likewise.
10657         (casinh_test): Likewise.
10658         * sysdeps/i386/fpu/libm-test-ulps: Update.
10659         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10661 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
10663         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
10664         constants.
10665         (norm): Likewise.
10666         (denorm): Likewise.
10667         (__dbl_mp): Likewise.
10668         (add_magnitudes): Likewise.
10669         (sub_magnitudes): Likewise.
10670         (__add): Likewise.
10671         (__sub): Likewise.
10672         (__mul): Likewise.
10673         (__sqr): Likewise.
10674         (__inv): Likewise.
10675         (__dvd): Likewise.
10677         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
10678         commented code.
10679         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
10680         (__dubcos): Likewise.
10681         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
10682         (__ieee754_acos): Likewise.
10683         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
10684         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
10685         (__exp1): Likewise.
10686         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10687         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
10688         (log1): Likewise.
10689         (my_log2): Likewise.
10690         (checkint): Likewise.
10691         * sysdeps/ieee754/dbl-64/e_remainder.c
10692         (__ieee754_remainder): Likewise.
10693         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10694         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
10695         (bsloww): Likewise.
10696         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10698         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
10699         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
10700         MANTISSA_STORE_T to store computations on mantissa.  Use
10701         macros for rounding and division.
10702         (denorm): Likewise.
10703         (__dbl_mp): Likewise.
10704         (add_magnitudes): Likewise.
10705         (sub_magnitudes): Likewise.
10706         (__mul): Likewise.
10707         (__sqr): Likewise.
10708         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
10709         powers of two in terms of TWOPOW macro.
10710         (mp_no): Make type of mantissa as MANTISSA_T.
10711         [!RADIXI]: Define RADIXI.
10712         [!TWO52]: Define TWO52.
10713         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
10715 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10717         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
10718         llroundl symbol when building for PPC32.
10720 2013-03-24  Mark H Weaver  <mhw@netris.org>
10722         * manual/arith.texi (Normalization Functions): Fix prototypes for
10723         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
10725 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10727         [BZ #13889]
10728         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
10729         high value to check if expl overflow.
10730         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
10731         to check for underflow and overflow.
10732         * math/libm-test.inc: Add exp test.
10734 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
10736         [BZ #11120]
10737         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
10738         with NOT_IN_libc.
10740 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10742         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
10743         symbol.
10745 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
10747         * math/gen-libm-test.pl (parse_args, special_functions): Properly
10748         wrap blocks consisting of several statements.
10750         * sysdeps/generic/math-tests.h: New file.
10751         * sysdeps/i386/fpu/math-tests.h: Likewise.
10752         * math/test-snan.c: Include it.
10753         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
10755 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
10757         [BZ #15285]
10758         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
10759         (__ieee754_j0l): Do not improve calculations using cos of twice
10760         input for inputs above LDBL_MAX / 2.0L.
10761         (__ieee754_y0l): Likewise.
10762         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
10763         (__ieee754_j1l): Do not improve calculations using cos of twice
10764         input for inputs above LDBL_MAX / 2.0L.
10765         (__ieee754_y1l): Likewise.
10766         * math/libm-test.inc (j0_test): Add another test.
10767         (j1_test): Likewise.
10768         (y0_test): Likewise.
10769         (y1_test): Likewise.
10770         * sysdeps/i386/fpu/libm-test-ulps: Update.
10772 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
10774         * Rules ($(objpfx)bench-%.c): Include code from a C source
10775         file.
10777 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
10779         [BZ #15287]
10780         * math/k_casinh.c (__kernel_casinh): Handle arguments with
10781         imaginary part 1.0 and real part less than 0.5 specially.
10782         * math/k_casinhf.c (__kernel_casinhf): Likewise.
10783         * math/k_casinhl.c (__kernel_casinhl): Likewise.
10784         * math/libm-test.inc (cacos_test): Add more tests.
10785         (casin_test): Likewise.
10786         (casinh_test): Likewise.
10787         * sysdeps/i386/fpu/libm-test-ulps: Update.
10788         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10790 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
10792         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
10793         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
10795 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
10797         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
10798         * config.make.in (config-cflags-sse4): Remove variable.
10799         (config-cflags-avx): Likewise.
10800         (config-cflags-sse2avx): Likewise.
10801         (config-cflags-novzeroupper): Likewise.
10802         (config-asflags-i686): Likewise.
10803         (have-mfma4): Likewise.
10804         (have-as-vis3): Likewise.
10805         (MIG): Likewise.
10806         * configure.in (MIG): Do not AC_SUBST.
10807         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
10808         (libc_cv_cc_sse4): Do not AC_SUBST.
10809         (libc_cv_cc_avx): Likewise.
10810         (libc_cv_cc_sse2avx): Likewise.
10811         (libc_cv_cc_novzeroupper): Likewise.
10812         (libc_cv_cc_fma4): Likewise.
10813         (libc_cv_as_i686): Likewise.
10814         (libc_cv_sparc_as_vis3): Likewise.
10815         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
10816         LIBC_CONFIG_VAR.
10817         (config-asflags-i686): Likewise.
10818         (config-cflags-avx): Likewise.
10819         (config-cflags-sse2avx): Likewise.
10820         (have-mfma4): Likewise.
10821         (config-cflags-novzeroupper): Likewise.
10822         * sysdeps/mach/configure.in (MIG): Likewise.
10823         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
10824         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
10825         LIBC_CONFIG_VAR.
10826         (config-cflags-avx): Likewise.
10827         (config-cflags-sse2avx): Likewise.
10828         (have-mfma4): Likewise.
10829         (config-cflags-novzeroupper): Likewise.
10830         * configure: Regenerated.
10831         * sysdeps/i386/configure: Likewise.
10832         * sysdeps/mach/configure: Likewise.
10833         * sysdeps/sparc/configure: Likewise.
10834         * sysdeps/x86_64/configure: Likewise.
10836 2013-03-20  Roland McGrath  <roland@hack.frob.com>
10838         [BZ #14812]
10839         * locale/programs/localedef.c (options): Put N_ translation marker
10840         on argument names, not just descriptions.
10842 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
10844         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
10846 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
10848         [BZ #14176]
10849         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
10851 2013-03-19  Roland McGrath  <roland@hack.frob.com>
10853         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
10854         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
10855         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
10856         [!BEFORE_ABORT] (before_abort): New function.
10857         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
10858         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
10859         (writev_for_fatal): New function.
10860         (WRITEV_FOR_FATAL): New macro; call that.
10861         (backtrace_and_maps): New function.
10862         (BEFORE_ABORT): New macro; call that.
10863         (struct str_list): Type removed.
10864         (__libc_message, __libc_fatal): Functions removed.
10865         Include <sysdeps/posix/libc_fatal.c> instead.
10867 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
10869         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
10870         constants.
10871         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
10872         double constants.
10874 2013-03-19  Andreas Schwab  <schwab@suse.de>
10876         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
10877         * sysdeps/gnu/configure: Regenerate.
10879         * configure.in: Substitute libc_cv_rtlddir.
10880         * configure: Regenerate.
10881         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
10882         * Makeconfig (rtlddir, inst_rtlddir): New variables.
10883         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
10884         * elf/Makefile (install-others, CFLAGS-interp.c)
10885         (ldso_install, common-ldd-rewrite): Likewise.
10886         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
10887         $(inst_slibdir)/$(rtld-installed-name).
10888         * scripts/rellns-sh: Add -p option.
10889         * Makerules (make-shlib-link): Use rellns-sh to get relative name
10890         for source.
10892 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
10894         * manual/nptl.texi: Renamed to ...
10895         * manual/threads.texi: ... this.
10896         * manual/Makefile (chapters): Update.
10898 2013-03-18  Roland McGrath  <roland@hack.frob.com>
10900         [BZ #14812]
10901         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
10902         on argument names, not just descriptions.
10903         * malloc/memusagestat.c (options): Likewise.
10904         * nss/getent.c (options): Likewise.
10906 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
10908         [BZ #14812]
10909         * iconv/iconv_prog.c (options): Put N_ translation marker
10910         on argument names, not just descriptions.
10911         * iconv/iconvconfig.c (options): Likewise.
10913 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
10915         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
10916         implementation which is faster on all x86_64 architectures.
10917         Tested on AMD, Intel Nehalem, SNB, IVB.
10918         * sysdeps/x86_64/strnlen.S: Likewise.
10920         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10921         Remove all multiarch strlen and strnlen versions.
10922         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
10923         Remove strlen and strnlen related parts.
10925         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
10926         Inline strlen part.
10927         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
10929         * sysdeps/x86_64/multiarch/strlen.S: Remove.
10930         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
10931         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
10932         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
10933         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
10934         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
10936 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
10938         * manual/memory.texi (Malloc Tunable Parameters):
10939         Sort parameters alphabetically. Add comments for missing entries.
10941 2013-03-17  David S. Miller  <davem@davemloft.net>
10943         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10945 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
10947         [BZ #15283]
10948         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
10949         for arguments at most half maximum finite value.
10950         * math/libm-test.inc (j0_test): Add more tests.
10951         (j1_test): Likewise.
10952         (y0_test): Likewise.
10953         (y1_test): Likewise.
10954         * sysdeps/i386/fpu/libm-test-ulps: Update.
10955         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10957         [BZ #14155]
10958         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
10959         1 / x and functions P and Q for arguments above 0x1p256L.
10960         (__ieee754_y0l): Likewise.
10961         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
10962         (__ieee754_y1l): Likewise.
10963         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
10964         (j1_test): Likewise.
10965         (y0_test): Likewise.
10966         (y1_test): Likewise.
10968 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
10970         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
10971         variable.
10973 2013-03-15  Roland McGrath  <roland@hack.frob.com>
10975         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
10976         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
10977         zero since it's initialized to EXEC_PAGESIZE.
10979         * sysdeps/unix/sysv/linux/ldsodefs.h
10980         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
10981         * sysdeps/generic/ldsodefs.h: ... here.
10983 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
10985         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
10987         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
10988         math/test-snan.c.
10989         * math/test-snan.c: Renamed from
10990         sysdeps/powerpc/fpu/test-powerpc-snan.c.
10991         * math/Makefile (tests): Add test-snan.
10992         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
10993         test-powerpc-snan.
10995         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
10996         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
10997         functions.
10998         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
10999         __builtin_nan family of functions.
11000         * math/libm-test.inc (initialize): Initialize qnan_value with
11001         __builtin_nan family of functions.
11002         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
11003         Remove variables.
11004         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
11005         Remove functions.
11006         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
11007         storage class.  Initialize qNaN_var and sNaN_var with
11008         __builtin_nan and __builtin_nans families of functions,
11009         respectively.
11011         * math/libm-test.inc (acosh_test): Also test with qNaN input.
11012         (sqrt_test): Remove duplicate test with qNaN input.
11013         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
11014         (round_test, signbit_test, significand_test): Note missing +/-Inf
11015         as well as qNaN tests.
11017         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
11018         qNaN_var.  Fix a few strings, too.
11019         * math/libm-test.inc (nan_value): Rename to qnan_value.
11020         * math/gen-libm-test.pl (%beautify): Adjust to that.
11021         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
11022         * math/test-misc.c (main): Likewise.
11023         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
11024         to __qnan_bytes, and __qnan_union, respectively.
11025         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
11026         Likewise.
11027         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
11028         and lqnanval, respectively.
11029         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
11030         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
11031         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
11032         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
11034         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
11035         * math/test-misc.c (main) [__x86_64__]: Enable test for long
11036         doubles.
11038         * math/test-misc.c (main): Fix copy'n'pastos.
11039         * misc/tst-efgcvt.c (special): Likewise.
11041         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
11042         Remove declarations.
11044 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11046         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
11047         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
11048         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
11049         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
11051 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11053         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
11054         macro to return vdso values correctly in IFUNC implementations.
11055         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11056         Optimization by using IFUNC.
11058 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11059             Richard Henderson  <rth@redhat.com>
11060             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11062         * Makefile.in (bench): New target.
11063         * NEWS: Mention the benchmark framework.
11064         * Rules (bench): Likewise.
11065         (binaries-bench): Generate binaries for functions to
11066         benchmark.
11067         * benchtests/Makefile: New makefile for benchmark tests.
11068         * benchtests/bench-skeleton.c: New skeleton file for benchmark
11069         programs.
11070         * benchtests/exp-inputs: New input file for EXP function.
11071         * benchtests/pow-inputs: New input file for POW function.
11072         * scripts/bench.pl: New script to generate source files for
11073         benchmark programs.
11075 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11077         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
11078         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
11079         computations on mantissa.  Use macros for rounding and
11080         division.
11081         (denorm): Likewise.
11082         (__dbl_mp): Likewise.
11083         (add_magnitudes): Likewise.
11084         (sub_magnitudes): Likewise.
11085         (__mul): Likewise.
11086         (__sqr): Likewise.
11087         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
11088         powers of two in terms of TWOPOW macro.
11089         (mp_no): Make type of mantissa as MANTISSA_T.
11090         [!RADIXI]: Define RADIXI.
11091         [!TWO52]: Define TWO52.
11092         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
11094         * manual/nptl.texi (cindex): Modify threads to pthreads.
11096 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
11098         * sysdeps/x86_64/preconfigure: Regenerated.
11100 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
11102         [BZ #14155]
11103         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
11104         0x1p28 and above.
11105         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
11106         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
11107         0x1p28 and above.
11108         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
11109         * math/libm-test.inc (j0_test): Do not allow one spurious
11110         underflow exception.
11111         (y1_test): Likewise.
11113 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
11115         * manual/Makefile (chapters): Add nptl.
11116         * manual/debug.texi (Debugging Support): Add link to Threads
11117         chapter.
11118         * manual/nptl.texi: New file.
11120         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
11122 2013-03-14  Petr Baudis  <pasky@ucw.cz>
11124         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
11125         for non-NULL pointer before the memory validity test. Pointed
11126         out by Holger Brunck <holger.brunck@keymile.com>.
11128 2013-03-13  Andreas Schwab  <schwab@suse.de>
11130         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
11131         instead of .os.
11133 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
11135         * timezone/zic.c: Update from tzcode 2013b.
11137 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
11139         * manual/install.texi (Configuring and compiling):
11140         Mention i686 and i586.
11141         * INSTALL: Regenerate.
11143 2013-03-12  Roland McGrath  <roland@hack.frob.com>
11145         * sysdeps/init_array/elf-init.c: New file.
11146         * csu/elf-init.c
11147         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
11148         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
11150         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
11151         __gmon_start__ as global, but as static with a .preinit_array pointer.
11152         * sysdeps/init_array/gmon-start.c: New file.  Use that.
11153         * sysdeps/init_array/crti.S: New file, empty except for comments.
11154         * sysdeps/init_array/crtn.S: Likewise.
11156 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
11158         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
11159         definining bcopy.
11160         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11161         Remove Prefer_SSE_for_memop.
11162         * sysdeps/x86_64/multiarch/init-arch.h: Remove
11163         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
11164         HAS_PREFER_SSE_FOR_MEMOP.
11165         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
11166         memset-x86-64.
11167         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11168         Remove bzero, memset ifunc support.
11169         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
11170         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
11171         * sysdeps/x86_64/multiarch/memset.S: Likewise.
11172         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11174 2013-03-11  Andreas Schwab  <schwab@suse.de>
11176         [BZ #15234]
11177         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
11178         by SHLIB_COMPAT.
11179         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
11180         (GLIBC_2.16): Remove pthread_atfork.
11182 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
11184         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
11185         (ptestcases.h): Likewise.
11187 2013-03-08  Roland McGrath  <roland@hack.frob.com>
11189         * Makeconfig ($(common-objpfx)config.status): Depend on
11190         sysdeps/*/preconfigure{,.in} too.
11192 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
11194         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
11195         (__free_hook): Use void * instead of __malloc_ptr_t.
11196         (__malloc_hook): Likewise.
11197         (__realloc_hook): Likewise.
11198         (__memalign_hook): Likewise.
11199         (__after_morecore_hook): Likewise.
11200         * malloc/arena.c (save_malloc_hook): Likewise.
11201         (save_free_hook): Likewise.
11202         * malloc/hooks.c (malloc_hook_ini): Likewise.
11203         (realloc_hook_ini): Likewise.
11204         (memalign_hook_ini): Likewise.
11205         * malloc/malloc.c (malloc_hook_ini): Likewise.
11206         (realloc_hook_ini): Likewise.
11207         (memalign_hook_ini): Likewise.
11208         (__free_hook): Likewise.
11209         (__malloc_hook): Likewise.
11210         (__realloc_hook): Likewise.
11211         (__memalign_hook): Likewise.
11212         (__libc_malloc): Likewise.
11213         (__libc_free): Likewise.
11214         (__libc_realloc): Likewise.
11215         (__libc_memalign): Likewise.
11216         (__libc_valloc): Likewise.
11217         (__libc_pvalloc): Likewise.
11218         (__libc_calloc): Likewise.
11219         (__posix_memalign): Likewise.
11220         * malloc/morecore.c (__sbrk): Likewise.
11221         (__default_morecore): Likewise.
11223         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
11225         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
11226         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
11227         __malloc_ptrdiff_t.
11229         * malloc/malloc.h (__malloc_size_t): Remove macro.
11230         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
11231         __malloc_size_t.
11232         (old_memalign_hook): Likewise.
11233         (old_realloc_hook): Likewise.
11234         (struct hdr): Likewise.
11235         (flood): Likewise.
11236         (mallochook): Likewise.
11237         (memalignhook): Likewise.
11238         (reallochook): Likewise.
11239         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
11240         (tr_old_realloc_hook): Likewise.
11241         (tr_old_memalign_hook): Likewise.
11242         (tr_mallochook): Likewise.
11243         (tr_reallochook): Likewise.
11244         (tr_memalignhook): Likewise.
11246 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11248         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
11249         default_ldbl_pack and using as default implementation.
11250         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
11251         implementation.
11252         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
11253         redundant definition.
11254         (ldbl_insert_mantissa): Likewise.
11255         (ldbl_canonicalize): Likewise.
11256         (ldbl_nearbyint): Likewise.
11257         (ldbl_pack): Rename to ldbl_pack_ppc.
11258         (ldbl_unpack): Rename to ldbl_unpack_ppc.
11259         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
11260         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
11262 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
11264         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
11265         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
11266         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
11267         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
11268         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
11269         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
11270         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
11271         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
11273 2013-03-07  Andreas Jaeger  <aj@suse.de>
11275         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11276         bits/mman-linux.h.
11278 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
11280         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
11281         Include mpa.h and declare __MPEXP.
11282         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
11283         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11284         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11285         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
11286         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11287         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11288         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
11290         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
11291         (__slowpow): Use long double EXPL and LOGL functions to
11292         compute POW.
11293         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11294         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11295         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
11296         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11297         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11298         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
11300         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
11301         intermediate variable to calculate exponent.
11302         (__sqr): Likewise.
11303         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
11304         Likewise.
11305         (__sqr): Likewise.
11307         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
11308         [!NO__SQR]: Define __sqr.
11309         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
11310         and NO__SQR.  Remove all code except __mul and __sqr.  Include
11311         sysdeps/ieee754/dbl-64/mpa.c.
11312         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11314         [BZ #12723]
11315         * posix/Makefile (tests): Add tst-pathconf.
11316         * posix/tst-pathconf.c: New test case.
11317         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
11318         _PC_PIPE_BUF.
11319         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
11321 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
11323         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
11325 2013-03-06  Andreas Jaeger  <aj@suse.de>
11327         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
11328         definition via __MAP_ANONYMOUS.
11330         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
11331         it's not part of Linux headers.
11333         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
11334         (MAP_HUGE_MASK): Define.
11336         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11337         Define.
11338         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11339         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11340         Define.
11341         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11342         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11343         Define.
11344         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11345         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
11346         Define.
11347         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11349         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
11350         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
11351         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
11352         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
11353         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
11354         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
11356         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
11357         Handle f2fs.
11359         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11360         Handle f2fs and efivarfs.
11362         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
11363         f2fs.
11365         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
11366         (EFIVARFS_MAGIC): Add.
11367         (F2FS_LINK_MAX): Add.
11369 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
11371         * stdio-common/vfprintf.c: Replace __builtin_expect with
11372         __glibc_unlikely.
11374 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
11376         [BZ #13550]
11377         * sysdeps/generic/bp-sym.h: Remove file.
11378         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
11379         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
11380         <bp-sym.h> and <bp-asm.h>.
11381         (__longjmp): Don't use BP_SYM.
11382         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
11383         and <bp-asm.h>.
11384         (memcpy): Don't use BP_SYM.
11385         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
11386         <bp-sym.h> and <bp-asm.h>.
11387         (memcpy): Don't use BP_SYM.
11388         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
11389         <bp-asm.h>.
11390         (memcpy): Don't use BP_SYM.
11391         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
11392         <bp-asm.h>.
11393         (memset): Don't use BP_SYM.
11394         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11395         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11396         (__bzero): Don't use BP_SYM.
11397         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11398         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11399         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
11400         <bp-sym.h> and <bp-asm.h>.
11401         (memcmp): Don't use BP_SYM.  Remove comment about bounded
11402         pointers.
11403         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
11404         <bp-sym.h> and <bp-asm.h>.
11405         (memcpy): Don't use BP_SYM.
11406         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
11407         <bp-sym.h> and <bp-asm.h>.
11408         (memset): Don't use BP_SYM.
11409         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11410         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11411         (__bzero): Don't use BP_SYM.
11412         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11413         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11414         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
11415         <bp-sym.h> and <bp-asm.h>.
11416         (strncmp): Don't use BP_SYM.  Remove comment about bounded
11417         pointers.
11418         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
11419         <bp-sym.h> and <bp-asm.h>.
11420         (memcpy): Don't use BP_SYM.
11421         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
11422         <bp-sym.h> and <bp-asm.h>.
11423         (memset): Don't use BP_SYM.
11424         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11425         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11426         (__bzero): Don't use BP_SYM.
11427         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11428         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11429         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
11430         <bp-sym.h> and <bp-asm.h>.
11431         (__memchr): Don't use BP_SYM.
11432         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
11433         <bp-sym.h> and <bp-asm.h>.
11434         (memcmp): Don't use BP_SYM.  Remove comment about bounded
11435         pointers.
11436         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
11437         <bp-sym.h> and <bp-asm.h>.
11438         (memcpy): Don't use BP_SYM.
11439         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
11440         <bp-sym.h> and <bp-asm.h>.
11441         (__mempcpy): Don't use BP_SYM.
11442         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
11443         <bp-sym.h> and <bp-asm.h>.
11444         (__memrchr): Don't use BP_SYM.
11445         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
11446         <bp-sym.h> and <bp-asm.h>.
11447         (memset): Don't use BP_SYM.
11448         (__bzero): Likewise.
11449         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
11450         <bp-sym.h> and <bp-asm.h>.
11451         (__rawmemchr): Don't use BP_SYM.
11452         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
11453         <bp-sym.h> and <bp-asm.h>.
11454         (__STRCMP): Don't use BP_SYM.
11455         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
11456         <bp-sym.h> and <bp-asm.h>.
11457         (strchr): Don't use BP_SYM.
11458         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
11459         <bp-sym.h> and <bp-asm.h>.
11460         (__strchrnul): Don't use BP_SYM.
11461         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
11462         <bp-sym.h> and <bp-asm.h>.
11463         (strlen): Don't use BP_SYM.
11464         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
11465         <bp-sym.h> and <bp-asm.h>.
11466         (strncmp): Don't use BP_SYM.  Remove comment about bounded
11467         pointers.
11468         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
11469         <bp-sym.h> and <bp-asm.h>.
11470         (__strnlen): Don't use BP_SYM.
11471         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
11472         <bp-sym.h> and <bp-asm.h>.
11473         (__GI__setjmp): Don't use BP_SYM.
11474         (_setjmp): Likewise.
11475         (__sigsetjmp): Likewise.
11476         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
11477         (L(start_addresses)): Don't use BP_SYM.
11478         (_start): Likewise.
11479         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
11480         <bp-asm.h>.
11481         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
11482         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
11483         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11484         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11485         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
11486         <bp-asm.h>.
11487         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
11488         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
11489         about bounded pointers.
11490         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11491         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11492         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
11493         <bp-asm.h>.
11494         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
11495         about bounded pointers.  Remove GKM FIXME comments.
11496         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11497         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
11498         <bp-asm.h>.
11499         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
11500         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
11501         Remove GKM FIXME comments.
11502         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11503         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11504         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
11505         <bp-asm.h>.
11506         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
11507         about bounded pointers.  Remove GKM FIXME comment.
11508         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
11509         and <bp-asm.h>.
11510         (strncmp): Don't use BP_SYM.  Remove comment about bounded
11511         pointers.
11512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
11513         <bp-sym.h> and <bp-asm.h>.
11514         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
11515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
11516         <bp-sym.h> and <bp-asm.h>.
11517         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
11518         comment.
11520 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
11522         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
11523         call free(NULL).
11525 2013-03-05  David S. Miller  <davem@davemloft.net>
11527         * po/es.po: Update from translation team.
11529 2013-03-05  Andreas Jaeger  <aj@suse.de>
11531         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
11532         <bits/mman-linux.h>.
11533         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11534         is fine.
11535         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
11536         <bits/mman-linux.h> to end of file.
11537         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11538         is fine.
11539         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
11540         <bits/mman-linux.h> to end of file.
11541         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11542         is fine.
11543         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
11544         <bits/mman-linux.h> to end of file.
11546         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
11547         (MCL_CURRENT, MCL_FUTURE): Define here.
11549 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11551         [BZ #15232]
11552         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
11553         attribute_hidden.
11554         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
11556 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11558         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
11559         fourth parameter needed for rt_sigprocmask syscall.
11560         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
11561         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
11562         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
11563         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
11564         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
11565         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
11567 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
11569         [BZ #13550]
11570         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
11571         comment about bounded pointers.
11572         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
11573         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
11575 2013-03-04  Andreas Jaeger  <aj@suse.de>
11577         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
11578         common definitions.
11580         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
11581         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
11582         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
11583         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11584         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
11585         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11587 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11589         [BZ #15055]
11590         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
11591         __ieee754_sqrl instead of __sqrl.
11593 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
11595         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
11596         * sysdeps/powerpc/fpu_control.h: ... here.
11597         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
11598         * sysdeps/powerpc/bits/fenvinline.h: ... here.
11599         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
11600         * sysdeps/powerpc/bits/mathinline.h: ... here.
11602 2013-03-01  Roland McGrath  <roland@hack.frob.com>
11604         * elf/dl-hwcaps.c (_dl_important_hwcaps):
11605         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
11606         to just [NEED_DL_SYSINFO_DSO].
11607         * elf/dl-support.c: Likewise.
11608         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
11609         * elf/rtld.c (dl_main): Likewise.
11610         * elf/setup-vdso.h (setup_vdso): Likewise.
11611         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
11612         * sysdeps/unix/sysv/linux/dl-sysdep.c
11613         (_dl_discover_osversion): Likewise.
11615 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
11617         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
11618         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
11620 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
11622         * NEWS: Mention libm performance improvements and non-x86 PI
11623         futex support.
11625         * csu/libc-start.c (__pthread_initialize_minimal): Change
11626         function arguments.
11627         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
11629 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
11631         [BZ #13550]
11632         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
11633         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
11634         <bp-sym.h> and <bp-asm.h>.
11635         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11636         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
11637         and <bp-asm.h>.
11638         (memcpy): Don't use BP_SYM.
11639         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
11640         <bp-asm.h>.
11641         (__mpn_add_n): Don't use BP_SYM.
11642         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
11643         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
11644         and <bp-asm.h>.
11645         (__mpn_addmul_1): Don't use BP_SYM.
11646         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11647         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
11648         <bp-sym.h>.
11649         (_setjmp): Don't use BP_SYM.
11650         (__novmx_setjmp): Likewise.
11651         (__GI__setjmp): Likewise.
11652         (__vmx_setjmp): Likewise.
11653         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
11654         <bp-sym.h>.
11655         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
11656         (__bzero): Don't use BP_SYM.
11657         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11658         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11659         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
11660         <bp-sym.h> and <bp-asm.h>.
11661         (memcpy): Don't use BP_SYM.
11662         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
11663         <bp-sym.h> and <bp-asm.h>.
11664         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11665         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
11666         <bp-sym.h> and <bp-asm.h>.
11667         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11668         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
11669         <bp-asm.h>.
11670         (__mpn_lshift): Don't use BP_SYM.
11671         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11672         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
11673         <bp-asm.h>.
11674         (memset): Don't use BP_SYM.
11675         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11676         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11677         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
11678         <bp-asm.h>.
11679         (__mpn_mul_1): Don't use BP_SYM.
11680         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11681         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
11682         <bp-sym.h> and <bp-asm.h>.
11683         (memcmp): Don't use BP_SYM.
11684         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
11685         <bp-sym.h> and <bp-asm.h>.
11686         (memcpy): Don't use BP_SYM.
11687         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
11688         <bp-sym.h> and <bp-asm.h>.
11689         (memset): Don't use BP_SYM.
11690         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
11691         <bp-sym.h> and <bp-asm.h>.
11692         (strncmp): Don't use BP_SYM.
11693         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
11694         <bp-sym.h> and <bp-asm.h>.
11695         (memcpy): Don't use BP_SYM.
11696         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
11697         <bp-sym.h> and <bp-asm.h>.
11698         (memset): Don't use BP_SYM.
11699         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
11700         <bp-sym.h> and <bp-asm.h>.
11701         (__memchr): Don't use BP_SYM.
11702         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
11703         <bp-sym.h> and <bp-asm.h>.
11704         (memcmp): Don't use BP_SYM.
11705         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
11706         <bp-sym.h> and <bp-asm.h>.
11707         (memcpy): Don't use BP_SYM.
11708         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
11709         <bp-sym.h> and <bp-asm.h>.
11710         (__mempcpy): Don't use BP_SYM.
11711         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
11712         <bp-sym.h> and <bp-asm.h>.
11713         (__memrchr): Don't use BP_SYM.
11714         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
11715         <bp-sym.h> and <bp-asm.h>.
11716         (memset): Don't use BP_SYM.
11717         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
11718         <bp-sym.h> and <bp-asm.h>.
11719         (__rawmemchr): Don't use BP_SYM.
11720         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
11721         <bp-sym.h> and <bp-asm.h>.
11722         (__STRCMP): Don't use BP_SYM.
11723         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
11724         <bp-sym.h> and <bp-asm.h>.
11725         (strchr): Don't use BP_SYM.
11726         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
11727         <bp-sym.h> and <bp-asm.h>.
11728         (__strchrnul): Don't use BP_SYM.
11729         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
11730         <bp-sym.h> and <bp-asm.h>.
11731         (strlen): Don't use BP_SYM.
11732         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
11733         <bp-sym.h> and <bp-asm.h>.
11734         (strncmp): Don't use BP_SYM.
11735         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
11736         <bp-sym.h> and <bp-asm.h>.
11737         (__strnlen): Don't use BP_SYM.
11738         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
11739         <bp-asm.h>.
11740         (__mpn_rshift): Don't use BP_SYM.
11741         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11742         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
11743         <bp-sym.h> and <bp-asm.h>.
11744         (__sigsetjmp): Don't use BP_SYM.
11745         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
11746         (L(start_addresses)): Don't use BP_SYM.
11747         (_start): Likewise.
11748         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
11749         <bp-asm.h>.
11750         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
11751         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11752         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11753         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
11754         <bp-asm.h>.
11755         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
11756         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11757         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11758         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
11759         <bp-asm.h>.
11760         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
11761         comments.
11762         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11763         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
11764         <bp-asm.h>.
11765         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
11766         FIXME comments.
11767         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11768         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11769         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
11770         <bp-asm.h>.
11771         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
11772         comment.
11773         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
11774         and <bp-asm.h>.
11775         (strncmp): Don't use BP_SYM,
11776         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
11777         <bp-asm.h>.
11778         (__mpn_sub_n): Don't use BP_SYM.
11779         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11780         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
11781         and <bp-asm.h>.
11782         (__mpn_submul_1): Don't use BP_SYM.
11783         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11784         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
11785         <bp-sym.h> and <bp-asm.h>.
11786         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
11787         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
11788         <bp-sym.h> and <bp-asm.h>.
11789         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
11790         comment.
11792 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
11794         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
11795         Use ZK to minimize writes to Z.
11796         (sub_magnitudes): Simplify code a bit.
11797         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
11798         Use ZK to minimize writes to Z.
11799         (sub_magnitudes): Simplify code a bit.
11801 2013-02-27  Roland McGrath  <roland@hack.frob.com>
11803         * csu/gmon-start.c: Add special exception to license text.
11805 2013-02-27  Richard Henderson  <rth@redhat.com>
11807         * scripts/config.guess: Update from config.git.
11808         * scripts/config.sub: Likewise.
11810 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
11812         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
11814         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
11816         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
11818         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
11820         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
11822 2013-02-26  Roland McGrath  <roland@hack.frob.com>
11824         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
11825         [$(build-shared = yes].
11827 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
11829         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
11830         (__mul): Reduce iterations for calculating mantissa.
11832         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
11833         MPTWO.
11834         (__mpranred): Likewise.
11836         [BZ #15160]
11837         * malloc/memusagestat.c (main): Draw graphs for heap and stack
11838         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
11840 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
11842         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
11843         Define __attribute__.
11845 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
11847         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
11848         unused.
11849         * posix/regex_internal.h (__attribute): Remove.
11850         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
11851         (re_string_context_at): Likewise.
11852         (bitset_not): Use __attribute__ and mark function as possibly
11853         unused.
11854         (bitset_merge): Likewise.
11855         (bitset_mask): Likewise.
11856         (re_string_char_size_at): Likewise.
11857         (re_string_wchar_at): Likewise.
11858         (re_string_elem_size_at): Likewise.
11860 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
11862         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
11863         code.
11864         (cc32): Likewise.
11866         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
11867         (__acr): Likewise.
11868         (__cpy): Likewise.
11869         (norm): Likewise.
11870         (denorm): Likewise.
11871         (__dbl_mp): Likewise.
11872         (add_magnitudes): Likewise.
11873         (sub_magnitudes): Likewise.
11874         (__mul): Likewise.
11875         (__inv): Likewise.
11877         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
11878         style.
11880         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
11881         style.
11883         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
11884         code.
11886         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
11887         up changes with default code.
11888         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
11889         Likewise.
11891 2013-02-24  Allan McRae  <allan@archlinux.org>
11893         * manual/socket.texi (The Internet Namespace): Order menu items
11894         to match that in the file.
11896         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
11897         node listing of the info page menu.
11899 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
11901         [BZ #13550]
11902         * sysdeps/i386/bp-asm.h: Remove file.
11903         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
11904         (PARMS): Do not use macros from bp-asm.h.
11905         (S1): Likewise.
11906         (S2): Likewise.
11907         (SIZE): Likewise.
11908         (__mpn_add_n): Do not use BP_SYM
11909         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
11910         "bp-asm.h".
11911         (PARMS): Do not use macros from bp-asm.h.
11912         (S1): Likewise.
11913         (SIZE): Likewise.
11914         (__mpn_addmul_1): Do not use BP_SYM
11915         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
11916         "bp-asm.h".
11917         (PARMS): Do not use macros from bp-asm.h.
11918         (SIGMSK): Likewise.
11919         (_setjmp): Likewise.  Do not use BP_SYM.
11920         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
11921         "bp-asm.h".
11922         (PARMS): Do not use macros from bp-asm.h.
11923         (SIGMSK): Likewise.
11924         (setjmp): Likewise.  Do not use BP_SYM.
11925         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
11926         "bp-asm.h".
11927         (PARMS): Do not use macros from bp-asm.h.
11928         (__frexp): Do not use BP_SYM.
11929         (frexp): Likewise.
11930         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
11931         "bp-asm.h".
11932         (PARMS): Do not use macros from bp-asm.h.
11933         (__frexpf): Do not use BP_SYM.
11934         (frexpf): Likewise.
11935         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
11936         "bp-asm.h".
11937         (PARMS): Do not use macros from bp-asm.h.
11938         (__frexpl): Do not use BP_SYM.
11939         (frexpl): Likewise.
11940         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
11941         "bp-asm.h".
11942         (PARMS): Do not use macros from bp-asm.h.
11943         (__remquo): Do not use BP_SYM.
11944         (remquo): Likewise.
11945         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
11946         "bp-asm.h".
11947         (PARMS): Do not use macros from bp-asm.h.
11948         (__remquof): Do not use BP_SYM.
11949         (remquof): Likewise.
11950         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
11951         "bp-asm.h".
11952         (PARMS): Do not use macros from bp-asm.h.
11953         (__remquol): Do not use BP_SYM.
11954         (remquol): Likewise.
11955         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
11956         "bp-asm.h".
11957         (PARMS): Do not use macros from bp-asm.h.
11958         (DEST): Likewise.
11959         (SRC): Likewise.
11960         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
11961         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
11962         "bp-asm.h".
11963         (PARMS): Do not use macros from bp-asm.h.
11964         (strlen): Do not use BP_SYM.
11965         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
11966         "bp-asm.h".
11967         (PARMS): Do not use macros from bp-asm.h.
11968         (S1): Likewise.
11969         (S2): Likewise.
11970         (SIZE): Likewise.
11971         (__mpn_add_n): Do not use BP_SYM.
11972         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
11973         "bp-asm.h".
11974         (PARMS): Do not use macros from bp-asm.h.
11975         (S1): Likewise.
11976         (SIZE): Likewise.
11977         (__mpn_addmul_1): Do not use BP_SYM.
11978         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
11979         weak_alias.
11980         (bzero): Likewise.
11981         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
11982         "bp-asm.h".
11983         (PARMS): Do not use macros from bp-asm.h.
11984         (S): Likewise.
11985         (SIZE): Likewise.
11986         (__mpn_lshift): Do not use BP_SYM.
11987         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
11988         "bp-asm.h".
11989         (PARMS): Do not use macros from bp-asm.h.
11990         (DEST): Likewise.
11991         (SRC): Likewise.
11992         (LEN): Likewise.
11993         (memcpy): Likewise.  Do not use BP_SYM.
11994         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
11995         libc_hidden_def and weak_alias.
11996         (mempcpy): Do not use BP_SYM in weak_alias.
11997         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
11998         "bp-asm.h".
11999         (PARMS): Do not use macros from bp-asm.h.
12000         (DEST): Likewise.
12001         (LEN): Likewise.
12002         [!BZERO_P] (CHR): Likewise.
12003         (memset): Likewise.  Do not use BP_SYM.
12004         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
12005         "bp-asm.h".
12006         (PARMS): Do not use macros from bp-asm.h.
12007         (S1): Likewise.
12008         (SIZE): Likewise.
12009         (__mpn_mul_1): Do not use BP_SYM.
12010         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
12011         "bp-asm.h".
12012         (PARMS): Do not use macros from bp-asm.h.
12013         (S): Likewise.
12014         (SIZE): Likewise.
12015         (__mpn_rshift): Do not use BP_SYM.
12016         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
12017         "bp-asm.h".
12018         (PARMS): Do not use macros from bp-asm.h.
12019         (STR): Likewise.
12020         (CHR): Likewise.
12021         (strchr): Likewise.  Do not use BP_SYM.
12022         (index): Do not use BP_SYM in weak_alias.
12023         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
12024         "bp-asm.h".
12025         (PARMS): Do not use macros from bp-asm.h.
12026         (DEST): Likewise.
12027         (SRC): Likewise.
12028         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
12029         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
12030         "bp-asm.h".
12031         (PARMS): Do not use macros from bp-asm.h.
12032         (strlen): Do not use BP_SYM.
12033         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
12034         "bp-asm.h".
12035         (PARMS): Do not use macros from bp-asm.h.
12036         (S1): Likewise.
12037         (S2): Likewise.
12038         (SIZE): Likewise.
12039         (__mpn_sub_n): Do not use BP_SYM.
12040         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
12041         "bp-asm.h".
12042         (PARMS): Do not use macros from bp-asm.h.
12043         (S1): Likewise.
12044         (SIZE): Likewise.
12045         (__mpn_submul_1): Do not use BP_SYM.
12046         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
12047         "bp-asm.h".
12048         (PARMS): Do not use macros from bp-asm.h.
12049         (S1): Likewise.
12050         (S2): Likewise.
12051         (SIZE): Likewise.
12052         (__mpn_add_n): Do not use BP_SYM.
12053         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
12054         weak_alias.
12055         (bzero): Likewise.
12056         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
12057         "bp-asm.h".
12058         (PARMS): Do not use macros from bp-asm.h.
12059         (BLK2): Likewise.
12060         (LEN): Likewise.
12061         (memcmp): Do not use BP_SYM.
12062         (bcmp): Do not use BP_SYM in weak_alias.
12063         * sysdeps/i386/i686/memcpy.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         (memcpy): Likewise.  Do not use BP_SYM.
12070         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
12071         "bp-asm.h".
12072         (PARMS): Do not use macros from bp-asm.h.
12073         (DEST): Likewise.
12074         (SRC): Likewise.
12075         (LEN): Likewise.
12076         (memmove): Likewise.  Do not use BP_SYM.
12077         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
12078         "bp-asm.h".
12079         (PARMS): Do not use macros from bp-asm.h.
12080         (DEST): Likewise.
12081         (SRC): Likewise.
12082         (LEN): Likewise.
12083         (__mempcpy): Likewise.  Do not use BP_SYM.
12084         (mempcpy): Do not use BP_SYM in weak_alias.
12085         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
12086         "bp-asm.h".
12087         (PARMS): Do not use macros from bp-asm.h.
12088         (DEST): Likewise.
12089         (LEN): Likewise.
12090         [!BZERO_P] (CHR): Likewise.
12091         (memset): Likewise.  Do not use BP_SYM.
12092         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
12093         "bp-asm.h".
12094         (PARMS): Do not use macros from bp-asm.h.
12095         (STR2): Likewise.
12096         (strcmp): Do not use BP_SYM.
12097         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
12098         "bp-asm.h".
12099         (PARMS): Do not use macros from bp-asm.h.
12100         (STR): Likewise.
12101         (DELIM): Likewise.
12102         [USE_AS_STRTOK_R] (SAVE): Likewise.
12103         (FUNCTION): Likewise.  Do not use BP_SYM.
12104         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
12105         aliases.
12106         (strtok_r): Likewise.
12107         (__GI___strtok_r): Likewise.
12108         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12109         (PARMS): Do not use macros from bp-asm.h.
12110         (S): Likewise.
12111         (SIZE): Likewise.
12112         (__mpn_lshift): Do not use BP_SYM.
12113         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12114         (PARMS): Do not use macros from bp-asm.h.
12115         (STR): Likewise.
12116         (CHR): Likewise.
12117         (__memchr): Do not use BP_SYM.
12118         (memchr): Do not use BP_SYM in weak_alias.
12119         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12120         (PARMS): Do not use macros from bp-asm.h.
12121         (BLK2): Likewise.
12122         (LEN): Likewise.
12123         (memcmp): Do not use BP_SYM.
12124         (bcmp): Do not use BP_SYM in weak_alias.
12125         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
12126         (PARMS): Do not use macros from bp-asm.h.
12127         (S1): Likewise.
12128         (SIZE): Likewise.
12129         (__mpn_mul_1): Do not use BP_SYM.
12130         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
12131         "bp-asm.h".
12132         (PARMS): Do not use macros from bp-asm.h.
12133         (STR): Likewise.
12134         (CHR): Likewise.
12135         (__rawmemchr): Do not use BP_SYM.
12136         (rawmemchr): Do not use BP_SYM in weak_alias.
12137         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12138         (PARMS): Do not use macros from bp-asm.h.
12139         (S): Likewise.
12140         (SIZE): Likewise.
12141         (__mpn_rshift): Do not use BP_SYM.
12142         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12143         (PARMS): Do not use macros from bp-asm.h.
12144         (SIGMSK): Likewise.
12145         (__sigsetjmp): Likewise.  Do not use BP_SYM.
12146         * sysdeps/i386/start.S: Do not include "bp-sym.h".
12147         (_start): Do not use BP_SYM.
12148         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
12149         (PARMS): Do not use macros from bp-asm.h.
12150         (DEST): Likewise.
12151         (SRC): Likewise.
12152         (__stpcpy): Likewise.  Do not use BP_SYM.
12153         (stpcpy): Do not use BP_SYM in weak_alias.
12154         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
12155         "bp-asm.h".
12156         (PARMS): Do not use macros from bp-asm.h.
12157         (DEST): Likewise.
12158         (SRC): Likewise.
12159         (LEN): Likewise.
12160         (__stpncpy): Likewise.  Do not use BP_SYM.
12161         (stpncpy): Do not use BP_SYM in weak_alias.
12162         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12163         (PARMS): Do not use macros from bp-asm.h.
12164         (STR): Likewise.
12165         (CHR): Likewise.
12166         (strchr): Likewise.  Do not use BP_SYM.
12167         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
12168         "bp-asm.h".
12169         (PARMS): Do not use macros from bp-asm.h.
12170         (STR): Likewise.
12171         (CHR): Likewise.
12172         (__strchrnul): Likewise.  Do not use BP_SYM.
12173         (strchrnul): Do not use BP_SYM in weak_alias.
12174         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
12175         "bp-asm.h".
12176         (PARMS): Do not use macros from bp-asm.h.
12177         (STOP): Likewise.
12178         (strcspn): Do not use BP_SYM.
12179         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
12180         "bp-asm.h".
12181         (PARMS): Do not use macros from bp-asm.h.
12182         (STR): Likewise.
12183         (STOP): Likewise.
12184         (strpbrk): Likewise.  Do not use BP_SYM.
12185         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
12186         "bp-asm.h".
12187         (PARMS): Do not use macros from bp-asm.h.
12188         (STR): Likewise.
12189         (CHR): Likewise.
12190         (strrchr): Likewise.  Do not use BP_SYM.
12191         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
12192         (PARMS): Do not use macros from bp-asm.h.
12193         (SKIP): Likewise.
12194         (strspn): Do not use BP_SYM.
12195         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
12196         (PARMS): Do not use macros from bp-asm.h.
12197         (STR): Likewise.
12198         (DELIM): Likewise.
12199         (SAVE): Likewise.
12200         (FUNCTION): Likewise.  Do not use BP_SYM.
12201         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
12202         aliases.
12203         (strtok_r): Likewise.
12204         (__GI___strtok_r): Likewise.
12205         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12206         (PARMS): Do not use macros from bp-asm.h.
12207         (S1): Likewise.
12208         (S2): Likewise.
12209         (SIZE): Likewise.
12210         (__mpn_sub_n): Do not use BP_SYM.
12211         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
12212         "bp-asm.h".
12213         (PARMS): Do not use macros from bp-asm.h.
12214         (S1): Likewise.
12215         (SIZE): Likewise.
12216         (__mpn_submul_1): Do not use BP_SYM.
12217         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
12218         <bp-sym.h>.
12219         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
12220         and <bp-asm.h>.
12221         (PARMS): Do not use macros from bp-asm.h.
12222         (FLAGS): Likewise.
12223         (PTID): Likewise.
12224         (TLS): Likewise.
12225         (CTID): Likewise.
12226         (__clone): Do not use BP_SYM.
12227         (clone): Do not use BP_SYM in weak_alias.
12228         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
12229         and <bp-asm.h>.
12230         (PARMS): Do not use macros from bp-asm.h.
12231         (LEN): Likewise.
12232         (__mmap64): Do not use BP_SYM.
12233         (mmap64): Do not use BP_SYM in weak_alias.
12234         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
12235         <bp-sym.h> and <bp-asm.h>.
12236         (PARMS): Do not use macros from bp-asm.h.
12237         (__posix_fadvise64_l64): Do not use BP_SYM.
12238         * sysdeps/unix/sysv/linux/i386/semtimedop.S
12239         (PARMS): Do not use macros from bp-asm.h.
12240         (NSOPS): Likewise.
12241         (semtimedop): Do not use BP_SYM.
12242         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
12243         and <bp-asm.h>.
12245 2013-02-21  Allan McRae  <allan@archlinux.org>
12247         * manual/message.texi (Charset conversion in gettext):
12248         Move @end statement to beginning of line.
12250 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12252         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
12253         static.
12254         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
12255         Likewise.
12257         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
12258         (denorm): Likewise.
12259         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
12260         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
12262 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12264         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
12265         tail-call to the resolved function if pltexit isn't needed.
12267 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12269         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
12270         or Y being zero as being unlikely.
12271         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
12272         Likewise.
12274 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
12276         * manual/nss.texi (System Databases and Name Service Switch):
12277         Remove frobnicate @pxref.
12279 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
12281         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12282         __attribute__ ((unused)) to __attribute__ ((__unused__)).
12284 2013-02-20  Petr Machata  <pmachata@redhat.com>
12286         * elf/elf.h (R_ARM_TARGET1): New macro.
12287         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
12288         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
12289         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
12290         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
12291         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
12292         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
12293         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
12294         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
12295         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
12296         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
12297         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
12298         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
12299         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
12300         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
12301         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
12302         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
12303         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
12304         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
12305         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
12306         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
12307         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
12308         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
12309         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
12310         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
12311         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
12312         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
12313         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
12314         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
12315         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
12316         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
12317         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
12318         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
12319         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
12320         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
12321         (R_ARM_THM_GOT_BREL12): Likewise.
12322         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
12323         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
12324         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
12325         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
12326         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
12327         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
12328         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
12329         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
12330         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
12332 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
12334         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12335         __attribute_used__ to __attribute__ ((unused)).
12337 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
12339         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
12340         powerpc mpa.c.
12341         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
12342         comment formatting.
12343         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
12345 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
12347         [BZ #13550]
12348         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
12349         Remove macro.
12350         (ENTER): Remove both macro definitions.
12351         (LEAVE): Likewise.
12352         (CHECK_BOUNDS_LOW): Likewise.
12353         (CHECK_BOUNDS_HIGH): Likewise.
12354         (CHECK_BOUNDS_BOTH): Likewise.
12355         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
12356         (RETURN_BOUNDED_POINTER): Likewise.
12357         (RETURN_NULL_BOUNDED_POINTER): Likewise.
12358         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
12359         (POP_ERRNO_LOCATION_RETURN): Likewise.
12360         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
12361         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12362         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
12363         macros.
12364         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12365         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
12366         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
12367         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
12368         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
12369         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
12370         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
12371         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
12372         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
12373         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
12374         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
12375         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
12376         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12377         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
12378         removed macros.
12379         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12380         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
12381         macros.
12382         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12383         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
12384         * sysdeps/i386/i586/memset.S (memset): Likewise.
12385         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
12386         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12387         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
12388         macros.
12389         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12390         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
12391         Change uses of L(2) to L(out).
12392         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
12393         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
12394         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
12395         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12396         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
12397         removed macros.
12398         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12399         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
12400         macros.
12401         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12402         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
12403         (RETURN): Do not use macro LEAVE.
12404         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
12405         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
12406         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
12407         * sysdeps/i386/i686/memset.S (memset): Likewise.
12408         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
12409         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
12410         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12411         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
12412         Likewise.
12413         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12414         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
12415         L(1_2) and L(1_3) into L(1).
12416         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
12417         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
12418         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12419         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
12420         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12421         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
12422         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
12423         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12424         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
12425         macros.
12426         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
12427         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12428         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
12429         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
12430         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
12431         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12432         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
12433         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
12434         * sysdeps/i386/strcspn.S (strcspn): Likewise.
12435         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
12436         * sysdeps/i386/strrchr.S (strrchr): Likewise.
12437         * sysdeps/i386/strspn.S (strspn): Likewise.
12438         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
12439         conditional code.
12440         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12441         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
12442         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
12443         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
12444         L(1_3) into L(1_1).
12445         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
12446         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12447         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
12448         macros.
12449         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12451 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
12453         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
12454         macro.
12456 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
12458         * math/atest-exp.c (exp_mpn): Remove ROUND.
12459         * math/atest-exp2.c (exp_mpn): Likewise.
12460         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
12462         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
12463         * stdlib/tst-tls-atexit-lib.c: Likewise.
12464         * stdlib/tst-tls-atexit.c: Likewise.
12466 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
12468         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
12469         and __attribute_alloc_size__.
12471 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
12473         * include/programs/xmalloc.h: Change __attribute_alloc_size to
12474         __attribute_alloc_size__.
12475         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
12476         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
12478 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
12480         * include/programs/xmalloc.h: New file.
12481         * catgets/gencat.c: Include it.
12482         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
12483         * elf/pldd.c: Likewise.
12484         * iconv/iconv_charmap.c: Likewise.
12485         * iconv/iconvconfig.c: Likewise.
12486         * iconv/strtab.c: Likewise.
12487         * locale/programs/locale.c: Likewise.
12488         * locale/programs/localedef.h: Likewise.
12489         * locale/programs/simple-hash.c: Likewise.
12490         * nscd/nscd.h: Likewise.
12491         * nss/makedb.c: Likewise.
12492         * sysdeps/generic/ldconfig.h: Likewise.
12494 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
12496         * Versions.def: Add GLIBC_2.18.
12497         * include/link.h (struct link_map): New member l_tls_dtor_count.
12498         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
12499         (__call_tls_dtors): Likewise.
12500         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
12501         __cxa_thread_atexit_impl.
12502         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12503         Likewise.
12504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12505         Likewise.
12506         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12507         Likewise.
12508         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12509         Likewise.
12510         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
12511         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
12512         Likewise.
12513         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
12514         Likewise.
12515         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
12516         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
12517         Likewise.
12518         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
12519         (tests): Add test case tst-tls-atexit.
12520         (modules-names): Add shared library for tst-tls-atexit.
12521         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
12522         (GLIBC_PRIVATE): Add __call_tls_dtors.
12523         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
12524         for libstdc++.
12525         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
12526         * stdlib/tst-tls-atexit.c: New test case.
12527         * stdlib/tst-tls-atexit-lib.c: New test case.
12529         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
12531         * elf/Versions (ld): Add _dl_find_dso_for_object.
12532         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
12533         * elf/dl-open.c (_dl_find_dso_for_object): New function.
12534         (dl_open_worker): Use _dl_find_dso_for_object.
12535         * elf/dl-sym.c (do_sym): Likewise.
12536         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
12538 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12540         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
12541         Syntactic changes only.
12542         (_dl_runtime_profile): Do a tail-call to the resolved function.
12544 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
12546         [BZ #13550]
12547         * sysdeps/x86_64/bp-asm.h: Remove file.
12548         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
12549         <bp-sym.h> and <bp-asm.h>.
12550         (__clone): Do not use BP_SYM.
12551         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
12552         <bp-sym.h> and <bp-asm.h>.
12553         * sysdeps/unix/x86_64/sysdep.S: Likewise.
12554         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
12555         "bp-asm.h".
12556         (_setjmp): Do not use BP_SYM.
12557         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
12558         "bp-asm.h".
12559         (setjmp): Do not use BP_SYM.
12560         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
12561         libc_hidden_def.
12562         (mempcpy): Do not use BP_SYM in weak_alias.
12563         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
12564         "bp-asm.h".
12565         (strchr): Do not use BP_SYM.
12566         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
12567         "bp-asm.h".
12568         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
12569         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
12570         (_start): Do not use BP_SYM.
12571         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
12572         "bp-asm.h".
12573         (strcat): Do not use BP_SYM.
12574         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
12575         "bp-asm.h".
12576         (STRCMP): Do not use BP_SYM.
12577         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
12578         "bp-asm.h".
12579         (STRCPY): Do not use BP_SYM.
12580         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
12581         "bp-asm.h".
12582         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
12583         "bp-asm.h".
12584         (FUNCTION): Do not use BP_SYM.
12585         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
12586         weak_alias.
12587         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
12589 2013-02-17  Andreas Jaeger  <aj@suse.de>
12591         * time/Versions: Sort entries.
12592         * string/Versions: Likewise.
12593         * resolv/Versions: Likewise.
12594         * posix/Versions: Likewise.
12595         * iconv/Versions: Likewise.
12596         * elf/Versions: Likewise.
12597         * wcsmbs/Versions: Likewise.
12599 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
12601         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
12602         loop termination condition.
12604         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
12605         variable to calculate EZ.
12606         (__sqr): Likewise.
12608         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
12609         the lower precision input.
12611 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
12613         [BZ #13550]
12614         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
12615         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
12616         (run-via-rtld-prefix): Do not handle %-bp tests.
12617         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
12618         (all-object-suffixes): Remove .ob.
12619         (bppfx): Remove variable.
12620         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
12621         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
12622         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
12623         [$(build-bounded) = yes] (libtype.ob): Likewise.
12624         * Makerules (elide-routines.ob): Remove variable.
12625         (do-tests-clean): Do not handle *-bp.out.
12626         (common-mostlyclean): Do not handle *-bp and *-bp.out.
12627         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
12628         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
12629         (tests): Do not include $(tests-bp.out).
12630         (xtests): Do not include $(xtests-bp.out).
12631         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
12632         [$(build-bounded) = yes] ($(addprefix
12633         $(objpfx),$(binaries-bounded))): Remove rule.
12634         ($(objpfx)%-bp.out): Remove rule.
12635         * config.make.in (build-bounded): Remove variable.
12636         * crypt/Makefile [$(build-bounded) = yes]
12637         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
12638         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
12639         append to variable.
12640         [$(build-bounded) = yes] (install-lib): Likewise.
12641         [$(build-bounded) = yes] (generated): Likewise.
12642         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
12643         Remove rule.
12644         * intl/Makefile [$(build-bounded) = yes]
12645         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
12646         * math/Makefile [$(build-bounded) = yes]
12647         ($(tests:%=$(objpfx)%-bp): Likewise.
12648         * misc/Makefile [$(build-bounded) = yes]
12649         ($(objpfx)tst-tsearch-bp): Likewise.
12650         * nptl/Makeconfig (bounded-thread-library): Remove variable.
12651         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
12652         Remove dependency.
12653         * string/Makefile (o-objects.ob): Remove variable.
12654         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
12655         (CFLAGS-.ob): Remove variable.
12656         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
12657         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
12658         both definitions of variable.
12659         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
12660         (ASFLAGS-.ob): Remove variable.
12662 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
12664         [BZ #13550]
12665         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
12666         Remove __BOUNDED_POINTERS__ from condition.
12667         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
12668         * string/bits/string2.h [!__NO_STRING_INLINES &&
12669         !__BOUNDED_POINTERS__]: Likewise.
12670         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
12671         Likewise.
12672         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
12673         Remove conditional code.
12674         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
12675         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
12676         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
12677         condition.
12679         [BZ #13550]
12680         * csu/libc-start.c: Do not include <bp-sym.h>.
12681         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
12682         * elf/dl-open.c: Do not include <bp-sym.h>.
12683         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
12684         * math/fegetenv.c: Do not include <bp-sym.h>.
12685         (fegetenv): Do not use BP_SYM in versioned symbols.
12686         * nptl/sysdeps/pthread/bits/libc-lockP.h
12687         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
12688         <bp-sym.h>.
12689         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12690         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
12691         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12692         (__pthread_mutex_destroy): Likewise.
12693         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12694         (__pthread_mutex_lock): Likewise.
12695         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12696         (__pthread_mutex_trylock): Likewise.
12697         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12698         (__pthread_mutex_unlock): Likewise.
12699         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12700         (__pthread_mutexattr_init): Likewise.
12701         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12702         (__pthread_mutexattr_destroy): Likewise.
12703         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12704         (__pthread_mutexattr_settype): Likewise.
12705         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12706         (__pthread_rwlock_init): Likewise.
12707         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12708         (__pthread_rwlock_destroy): Likewise.
12709         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12710         (__pthread_rwlock_rdlock): Likewise.
12711         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12712         (__pthread_rwlock_tryrdlock): Likewise.
12713         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12714         (__pthread_rwlock_wrlock): Likewise.
12715         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12716         (__pthread_rwlock_trywrlock): Likewise.
12717         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12718         (__pthread_rwlock_unlock): Likewise.
12719         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12720         (__pthread_key_create): Likewise.
12721         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12722         (__pthread_setspecific): Likewise.
12723         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12724         (__pthread_getspecific): Likewise.
12725         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
12726         Likewise.
12727         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12728         (_pthread_cleanup_push_defer): Likewise.
12729         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12730         (_pthread_cleanup_pop_restore): Likewise.
12731         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12732         (pthread_setcancelstate): Likewise.
12733         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
12734         <bp-sym.h>.
12735         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
12736         (memchr): Do not use BP_SYM in weak_alias.
12737         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
12738         (fegetenv): Do not use BP_SYM in versioned symbols.
12739         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
12740         (fesetenv): Do not use BP_SYM in versioned symbols.
12741         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
12742         (feupdateenv): Do not use BP_SYM in versioned symbols.
12743         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
12744         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
12745         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
12746         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
12747         (open64): Do not use BP_SYM in weak_alias.
12748         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
12749         (fegetenv): Do not use BP_SYM in versioned symbols.
12750         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
12751         (fesetenv): Do not use BP_SYM in versioned symbols.
12752         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
12753         (feupdateenv): Do not use BP_SYM in versioned symbols.
12754         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
12755         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
12756         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
12757         (feraiseexcept): Do not use BP_SYM in versioned symbols.
12758         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
12759         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
12760         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
12761         <bp-sym.h>.
12762         (__libc_start_main): Do not use BP_SYM.
12764 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
12766         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
12767         redundant return line.
12768         (norm): Likewise.
12769         (denorm): Likewise.
12770         (dbl_mp): Likewise.
12771         (sub_magnitudes): Likewise.
12772         (__add): Likewise.
12773         (__sub): Likewise.
12774         (__mul): Likewise.
12775         (__inv): Likewise.
12776         (__dvd): Likewise.
12777         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
12778         (norm): Likewise.
12779         (denorm): Likewise.
12780         (dbl_mp): Likewise.
12781         (sub_magnitudes): Likewise.
12782         (__add): Likewise.
12783         (__sub): Likewise.
12784         (__mul): Likewise.
12785         (__inv): Likewise.
12786         (__dvd): Likewise.
12788         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
12789         instead of __mul.
12790         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
12791         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
12792         (cc32): Likewise.
12794         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
12795         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
12796         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
12797         of __mul for squares.
12798         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
12799         function
12800         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
12801         Likewise.
12802         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
12803         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12805 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
12807         [BZ #13550]
12808         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
12809         code.
12810         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
12811         prototype or function definition.  Rename ubp_* variables and
12812         parameters.  Remove argv definitions conditional on
12813         [__BOUNDED_POINTERS__].
12814         * debug/backtrace.c (__backtrace): Do not use __unbounded.
12815         * elf/dl-runtime.c (_dl_fixup): Likewise.
12816         * include/set-hooks.h (RUN_HOOK): Likewise.
12817         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
12818         definition.
12819         * string/strcpy.c (strcpy): Do not use __unbounded.
12820         * sysdeps/generic/frame.h (struct layout): Likewise.
12821         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
12822         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
12823         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
12824         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
12825         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
12826         (__backtrace): Likewise.
12827         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
12828         use __ptrvalue.
12829         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
12830         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
12831         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
12832         Likewise.
12833         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
12834         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
12835         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
12836         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
12837         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
12838         Do not use __unbounded.
12839         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
12840         Rename __unboundedrlimits parameter to rlimits in prototype.
12841         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
12842         Do not use __unbounded.
12843         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
12844         not use __ptrvalue.
12845         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
12846         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
12847         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
12848         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
12849         __ptrvalue or __unbounded.
12850         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
12851         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
12852         use __unbounded.
12853         (__new_msgctl): Do not use __ptrvalue.
12854         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
12855         __unbounded.
12856         (__libc_msgrcv): Do not use __ptrvalue.
12857         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
12858         startup_info): Do not use __unbounded.
12859         (__libc_start_main): Likewise.  Rename ubp_* variables and
12860         parameters.  Remove argv definitions conditional on
12861         [__BOUNDED_POINTERS__].
12862         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
12863         __ptrvalue.
12864         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
12865         use __unbounded.
12866         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
12867         or __ptrvalue.
12868         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
12869         use __unbounded.
12870         (__new_shmctl): Do not use __ptrvalue.
12871         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
12872         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
12873         Likewise.
12874         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
12875         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
12876         (__libc_sigaction): Likewise.
12877         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
12878         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
12879         Likewise.
12880         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
12882 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
12884         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
12886         * string/mempcpy.c: Implement by calling memcpy.
12888 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
12890         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
12892         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
12893         evaluation.
12895         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
12896         values in the mantissa.
12898         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
12899         minimize writes to Z.
12900         (sub_magnitudes): Simplify code a bit.
12902 2013-02-12  Roland McGrath  <roland@hack.frob.com>
12904         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
12905         from the message.  The linker prefixes all warnings with that already.
12907 2013-02-12  Andreas Schwab  <schwab@suse.de>
12909         [BZ #15078]
12910         * posix/regexec.c (extend_buffers): Add parameter min_len.
12911         (check_matching): Pass minimum needed length.
12912         (clean_state_log_if_needed): Likewise.
12913         (get_subexp): Likewise.
12914         * posix/Makefile (tests): Add bug-regex34.
12915         (bug-regex34-ENV): Define.
12916         * posix/bug-regex34.c: New file.
12918         [BZ #11561]
12919         * posix/regcomp.c (parse_bracket_exp): When looking up collating
12920         elements compare against the byte sequence of it, not its name.
12921         * posix/Makefile (tests): Add bug-regex35.
12922         (bug-regex35-ENV): Define.
12923         * posix/bug-regex35.c: New file.
12925 2013-02-11  Tom de Vries  <tom@codesourcery.com>
12927         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
12928         comment.
12929         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
12930         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
12931         (CHECK_EOL): Add undef.
12933 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
12935         * bits/stdlib-bsearch.h: New file.
12936         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
12937         * stdlib/stdlib.h: Likewise.
12939 2013-02-11  Roland McGrath  <roland@hack.frob.com>
12941         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
12942         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
12943         declaration.
12944         * manual/search.texi (Array Search Function): Add missing const in
12945         lfind prototype.
12946         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
12947         declaration to use rlim_t.
12948         (Basic Scheduling Functions): Remove erroneous const from
12949         sched_getparam prototype.  Remove erroneous * from
12950         sched_get_priority_max and sched_get_priority_min prototypes.
12951         (Resource Usage): Fix summary @comment on vtimes to refer to
12952         sys/vtimes.h rather than vtimes.h.
12953         Add missing *s in vtimes prototype.
12954         (Limits on Resources): Fix ulimit prototype to return long int.
12955         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
12956         prototypes to use long int rather than double.
12957         (BSD Random): Fix initstate and setstate to use char *, not void *.
12958         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
12959         prototype to make second argument 'struct aiocb64 *const[]'.
12960         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
12961         (Status of AIO Operations): Remove erroneous const in aio_return and
12962         aio_return64 prototypes.
12963         (Synchronizing I/O): Fix sync prototype to return void.
12964         * manual/startup.texi (Suboptions): Remove an erroneous const in
12965         getsubopt prototype.
12966         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
12967         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
12968         use size_t rather than int.
12969         (Scanning All Users): Likewise for getpwent_r.
12970         (Setting Groups): Add missing const to setgroups prototype.
12971         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
12972         * manual/socket.texi (Host Names): Fix gethostbyaddr and
12973         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
12974         'const void *' rather than 'const char *'.
12975         (Host Address Functions): Likewise for inet_ntop.
12976         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
12977         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
12978         ssize_t for return value.
12979         (Sending Data): Likewise for send, sendto, sendmsg.
12980         (Socket Option Functions): Add a missing const in setsockopt prototype.
12981         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
12982         use wchar_t for the argument.
12983         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
12984         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
12985         take no arguments.
12986         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
12987         double/float/long double for second argument.
12988         Fix return types of significand, significandf, significandl.
12989         * manual/filesys.texi (Setting Permissions): Use mode_t for second
12990         argument in fchmod prototype.
12991         (File Owner): Use uid_t and gid_t in fchown prototype.
12992         (File Times): Add const to utimes, futimes, and lutimes prototypes.
12993         (Making Special Files): Use mode_t and dev_t in mknod prototype.
12994         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
12995         use 'const struct dirent **' as argument types to CMP function pointer
12996         argument.
12997         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
12998         (File Times): Fix summary magic @comment for struct utimbuf and utime
12999         to refer to utime.h, not time.h.
13000         * manual/string.texi (Argz Functions): Add missing const in
13001         argz_extract and argz_next prototypes.
13002         (Finding Tokens in a String): Likewise for basename.
13003         (String/Array Comparison): Fix typo in wcscasecmp prototype.
13004         (Copying and Concatenation): Fix typo in wmemmove prototype.
13005         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
13006         (Signal Stack): Remove erroneous const in sigstack prototype.
13007         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
13008         prototype.
13009         (Simple Calendar Time): Likewise for stime.
13010         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
13011         prototype.
13012         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
13013         say sys/sysctl.h instead.
13014         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
13015         and vsyslog prototypes.
13017 2013-02-11  Tom de Vries  <tom@codesourcery.com>
13019         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
13020         Remove.
13022 2013-02-11  Roland McGrath  <roland@hack.frob.com>
13024         * misc/sys/mman.h: Fix typo in mremap comment.
13026 2013-02-08  Roland McGrath  <roland@hack.frob.com>
13028         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
13029         the '\0' terminator.
13031 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
13033         [BZ #13550]
13034         * debug/segfault.c: Don't include <bp-checks.h>.
13035         * sysdeps/generic/bp-checks.h: Remove file.
13036         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
13037         (__GETDENTS): Don't use CHECK_N.
13038         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
13039         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
13040         (__getgroups): Don't use CHECK_N.
13041         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
13042         (setgroups): Don't use CHECK_N.
13043         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
13044         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
13045         (__libc_msgrcv): Don't use CHECK_N.
13046         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
13047         (__libc_msgsnd): Don't use CHECK_N.
13048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
13049         <bp-checks.h>.
13050         (__libc_pread): Don't use CHECK_N.
13051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
13052         include <bp-checks.h>.
13053         (__libc_pread64): Don't use CHECK_N.
13054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
13055         include <bp-checks.h>.
13056         (__libc_pwrite): Don't use CHECK_N.
13057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
13058         include <bp-checks.h>.
13059         (__libc_pwrite64): Don't use CHECK_N.
13060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
13061         <bp-checks.h>.
13062         (__libc_pread): Don't use CHECK_N.
13063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
13064         include <bp-checks.h>.
13065         (__libc_pread64): Don't use CHECK_N.
13066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
13067         include <bp-checks.h>.
13068         (__libc_pwrite): Don't use CHECK_N.
13069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
13070         include <bp-checks.h>.
13071         (__libc_pwrite64): Don't use CHECK_N.
13072         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
13073         (do_pread): Don't use CHECK_N.
13074         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
13075         (do_pread64): Don't use CHECK_N.
13076         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
13077         (do_pwrite): Don't use CHECK_N.
13078         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
13079         (do_pwrite64): Don't use CHECK_N.
13080         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
13081         (__libc_readv): Don't use CHECK_N.
13082         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
13083         (semop): Don't use CHECK_N.
13084         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
13085         <bp-checks.h>.
13086         (semtimedop): Don't use CHECK_N.
13087         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
13088         (__libc_pread): Don't use CHECK_N.
13089         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
13090         <bp-checks.h>.
13091         (__libc_pread64): Don't use CHECK_N.
13092         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
13093         <bp-checks.h>.
13094         (__libc_pwrite): Don't use CHECK_N.
13095         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
13096         <bp-checks.h>.
13097         (__libc_pwrite64): Don't use CHECK_N.
13098         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
13099         <bp-checks.h>.
13100         (__libc_msgrcv): Don't use CHECK_N.
13101         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
13102         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
13103         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
13104         (__libc_writev): Don't use CHECK_N.
13106 2013-02-08  Roland McGrath  <roland@hack.frob.com>
13108         * string/strcpy.c: Removed unused variable.
13110         * Makeconfig (+sysdep-includes): Define with := rather than =.
13111         Use an existing include/ subdir of each sysdeps dir before it.
13113 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
13115         * nscd/connection.c (register_traced_file): Comment function.
13116         [HAVE_INOTIFY] (union __inev): Define.
13117         [HAVE_INOTIFY] (inotify_check_files): New function.
13118         [HAVE_INOTIFY] (clear_db_cache): Likewise.
13119         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
13120         clear_db_cache.
13121         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
13123 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
13125         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
13126         loaded if not already and that a failure is permanent.
13128 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
13130         [BZ #15006]
13131         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
13132         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
13134 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
13136         [BZ #13550]
13137         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
13138         (CHECK_1_NULL_OK): Likewise.
13139         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
13140         (__fxstat): Do not use CHECK_1.
13141         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
13142         <bp-checks.h>.
13143         (___fxstat64): Do not use CHECK_1.
13144         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
13145         <bp-checks.h>.
13146         (__fxstatat): Do not use CHECK_1.
13147         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
13148         <bp-checks.h>.
13149         (__fxstatat64): Do not use CHECK_1.
13150         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
13151         <bp-checks.h>.
13152         (__fxstat): Do not use CHECK_1.
13153         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
13154         <bp-checks.h>.
13155         (__fxstatat): Do not use CHECK_1.
13156         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
13157         <bp-checks.h>.
13158         (__getresgid): Do not use CHECK_1.
13159         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
13160         <bp-checks.h>.
13161         (__getresuid): Do not use CHECK_1.
13162         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
13163         <bp-checks.h>.
13164         (__lxstat): Do not use CHECK_1.
13165         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
13166         <bp-checks.h>.
13167         (__old_msgctl): Do not use CHECK_1.
13168         (__new_msgctl): Likewise.
13169         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
13170         <bp-checks.h>.
13171         (__new_setrlimit): Do not use CHECK_1.
13172         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
13173         <bp-checks.h>.
13174         (__old_shmctl): Do not use CHECK_1.
13175         (__new_shmctl): Likewise.
13176         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
13177         <bp-checks.h>.
13178         (__xstat): Do not use CHECK_1.
13179         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
13180         (__lxstat): Do not use CHECK_1.
13181         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
13182         <bp-checks.h>.
13183         (___lxstat64): Do not use CHECK_1.
13184         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
13185         (__old_msgctl): Do not use CHECK_1.
13186         (__new_msgctl): Likewise.
13187         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
13188         <bp-checks.h>.
13189         (__gettimeofday): Do not use CHECK_1.
13190         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
13191         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
13192         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
13193         <bp-checks.h>.
13194         (__gettimeofday): Do not use CHECK_1.
13195         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
13196         (__old_shmctl): Do not use CHECK_1_NULL_OK.
13197         (__new_shmctl): Do not use CHECK_1.
13198         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
13199         <bp-checks.h>.
13200         (do_sigtimedwait): Do not use CHECK_1.
13201         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
13202         <bp-checks.h>.
13203         (do_sigwaitinfo): Do not use CHECK_1.
13204         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
13205         <bp-checks.h>.
13206         (msgctl): Do not use CHECK_1.
13207         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
13208         <bp-checks.h>.
13209         (shmctl): Do not use CHECK_1.
13210         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
13211         (ustat): Do not use CHECK_1.
13212         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
13213         <bp-checks.h>.
13214         (__fxstat): Do not use CHECK_1.
13215         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
13216         <bp-checks.h>.
13217         (__fxstatat): Do not use CHECK_1.
13218         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
13219         <bp-checks.h>.
13220         (__lxstat): Do not use CHECK_1.
13221         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
13222         <bp-checks.h>.
13223         (__xstat): Do not use CHECK_1.
13224         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
13225         (__xstat): Do not use CHECK_1.
13226         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
13227         (___xstat64): Do not use CHECK_1.
13229         [BZ #13550]
13230         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
13231         definitions.
13232         (CHECK_BOUNDS_HIGH): Likewise.
13233         * string/strcpy.c: Do not include <bp-checks.h>.
13234         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
13236 2013-02-07  Roland McGrath  <roland@hack.frob.com>
13238         * nscd/nscd-client.h (__nscd_drop_map_ref):
13239         Add __attribute__ ((unused)).
13240         * nis/nss-nisplus.h (niserr2nss): Likewise.
13242         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
13243         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
13245         * csu/libc-tls.c (init_static_tls, init_slotinfo):
13246         Remove inline keyword.
13247         * include/rounding-mode.h (round_away): Likewise.
13248         * libio/wfileops.c (adjust_wide_data): Likewise.
13249         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
13250         (__m128i_strloadu_tolower): Likewise.
13251         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
13252         (__m128i_strloadu_tolower): Likewise.
13253         * time/mktime.c (ydhms_diff): Likewise.
13254         * locale/elem-hash.h (elem_hash): Likewise.
13255         * locale/setlocale.c (setdata): Likewise.
13256         * posix/regex_internal.h (re_string_char_size_at): Likewise.
13257         (re_string_wchar_at): Likewise.
13258         (bitset_not, bitset_merge, bitset_mask): Likewise.
13259         [!(__GNUC__ > 3)] (inline): Remove macro.
13260         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
13261         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
13262         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
13263         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
13264         * string/memcmp.c (memcmp_bytes): Likewise.
13265         * locale/programs/locarchive.c (compute_hashval): Likewise.
13266         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
13267         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
13268         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
13269         * nss/getent.c (print_rpc, print_protocols): Likewise.
13270         (print_passwd, print_group, print_aliases): Likewise.
13271         * nis/nss-nisplus.h (niserr2nss): Likewise.
13272         * nscd/connections.c (restart_p): Likewise.
13273         Change return type to bool.
13275 2013-02-05  Roland McGrath  <roland@hack.frob.com>
13277         * Makeconfig (all-Depend-files): Add existing
13278         $(sorted-subdirs:=/Depend) files.
13279         (all-subdirs): Remove nss.
13280         * sysdeps/unix/inet/Subdirs: Add it here instead.
13281         * hesiod/Depend: New file.
13283         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
13284         instead of calling alloca.
13286         * io/lseek.c (__lseek): Rename to __libc_lseek.
13287         Define __lseek as an alias.
13289         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
13291 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
13293         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
13294         else clause and remove check for non-standard endianness.
13296 2013-02-04  David S. Miller  <davem@davemloft.net>
13298         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13300 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
13302         [BZ #13550]
13303         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
13304         (__ubp_memchr): Remove prototype.
13305         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
13306         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13307         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
13308         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13309         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
13310         Remove alias.
13311         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
13312         (__ubp_memchr): Likewise.
13313         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
13314         (__ubp_memchr): Likewise.
13315         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
13316         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
13317         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
13318         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
13319         CHECK_STRING.
13320         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13321         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
13322         (__getcwd): Do not use CHECK_STRING.
13323         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
13324         <bp-checks.h>.
13325         (__real_chown): Do not use CHECK_STRING.
13326         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
13327         <bp-checks.h>.
13328         (fchownat): Do not use CHECK_STRING.
13329         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
13330         CHECK_STRING.
13331         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
13332         <bp-checks.h>.
13333         (__lchown): Do not use CHECK_STRING.
13334         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13335         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13336         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13337         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
13338         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
13339         include <bp-checks.h>.
13340         (truncate64): Do not use CHECK_STRING.
13341         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
13342         <bp-checks.h>.
13343         (__real_chown): Do not use CHECK_STRING.
13344         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
13345         <bp-checks.h>.
13346         (__lchown): Do not use CHECK_STRING.
13347         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
13348         <bp-checks.h>.
13349         (__chown): Do not use CHECK_STRING.
13350         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
13351         <bp-checks.h>.
13352         (truncate64): Do not use CHECK_STRING.
13353         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
13354         Likewise.
13355         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
13356         (__xmknod): Do not use CHECK_STRING.
13357         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
13358         <bp-checks.h>.
13359         (__xmknodat): Do not use CHECK_STRING.
13360         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13361         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
13363 2013-02-04  Andreas Schwab  <schwab@suse.de>
13365         [BZ #14142]
13366         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
13367         * include/netdb.h: Likewise for h_errno.
13368         * elf/tst-stackguard1.c: Include <tls.h>.
13370 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
13372         * elf/link.h (struct link_map): Extend the l_addr comment.
13373         * include/link.h (struct link_map): Likewise.
13375 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
13377         [BZ #13550]
13378         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
13379         (BOUNDED_1): Remove macro.
13380         * debug/backtrace.c: Don't include <bp-checks.h>.
13381         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
13382         (__backtrace): Likewise.
13383         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
13384         <bp-checks.h>.
13385         (__backtrace): Don't use BOUNDED_1.
13386         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
13387         <bp-checks.h>.
13388         (__backtrace): Don't use BOUNDED_1.
13389         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
13390         (__backtrace): Don't use BOUNDED_1.
13391         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
13392         (shmat): Don't use BOUNDED_N.
13394 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
13396         [BZ #13550]
13397         * sysdeps/generic/bp-start.h: Remove file.
13398         * csu/libc-start.c: Don't include <bp-start.h>.
13399         (LIBC_START_MAIN): Set up __environ directly instead of using
13400         INIT_ARGV_and_ENVIRON.
13401         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
13402         <bp-start.h>.
13404         [BZ #13550]
13405         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
13406         definitions.
13407         (CHECK_FCNTL): Likewise.
13408         (CHECK_N_PAGES): Likewise.
13410         [BZ #13550]
13411         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
13412         definitions.
13413         (CHECK_SIGSET_NULL_OK): Likewise.
13414         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
13415         <bp-checks.h>.
13416         (sigpending): Don't use CHECK_SIGSET.
13417         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
13418         <bp-checks.h>.
13419         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13420         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
13421         <bp-checks.h>.
13422         (do_sigsuspend): Don't use CHECK_SIGSET.
13423         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
13424         use CHECK_SIGSET.
13425         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
13426         (do_sigwait): Don't use CHECK_SIGSET.
13427         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
13428         use CHECK_SIGSET.
13429         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
13430         include <bp-checks.h>.
13431         (sigpending): Don't use CHECK_SIGSET.
13432         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
13433         include <bp-checks.h>.
13434         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13435         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
13436         <bp-checks.h>.
13437         (sigpending): Don't use CHECK_SIGSET.
13438         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
13439         <bp-checks.h>.
13440         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13442         [BZ #13550]
13443         * sysdeps/generic/bp-semctl.h: Remove file.
13444         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
13445         <bp-checks.h> and <bp-semctl.h>.
13446         (__old_semctl): Don't use CHECK_SEMCTL.
13447         (__new_semctl): Likewise.
13448         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
13449         and <bp-semctl.h>.
13450         (__old_semctl): Don't use CHECK_SEMCTL.
13451         (__new_semctl): Likewise.
13452         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
13453         <bp-checks.h> and <bp-semctl.h>.
13454         (__old_semctl): Don't use CHECK_SEMCTL.
13455         (__new_semctl): Likewise.
13456         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
13457         <bp-checks.h> and <bp-semctl.h>.
13458         (semctl): Don't use CHECK_SEMCTL.
13460         [BZ #13550]
13461         * Makerules (elide-bp-thunks): Remove variable.
13462         (elide-routines.oS): Don't use $(elide-bp-thunks).
13463         (elide-routines.os): Likewise.
13464         (elide-routines.o): Likewise.
13465         (elide-routines.op): Likewise.
13466         (elide-routines.og): Likewise.
13467         (objects): Don't use $(bp-thunks).
13468         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
13469         include.
13470         (common-generated): Do not add s-proto-bp.d.
13471         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
13472         (int): Likewise.
13473         (typ): Likewise.
13474         Do not generate makefile rules for bounded-pointer thunks.
13475         * sysdeps/generic/bp-thunks.h: Remove file.
13476         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
13477         * sysdeps/unix/s-proto-bp.S: Likewise.
13479         [BZ #15062]
13480         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
13481         parts of result separately when argument is not close to line from
13482         -i to i and one part of argument is small.
13483         * math/k_casinhf.c (__kernel_casinhf): Likewise.
13484         * math/k_casinhl.c (__kernel_casinhl): Likewise.
13485         * math/libm-test.inc (cacos_test): Add more tests.
13486         (casin_test): Likewise.
13487         (casinh_test): Likewise.
13488         * sysdeps/i386/fpu/libm-test-ulps: Update.
13489         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13491 2013-01-31  David S. Miller  <davem@davemloft.net>
13493         * po/de.po: Update from translation team.
13495 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
13497         * time/tzfile.c: Include stdint.h for SIZE_MAX.
13499 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
13501         * configure.in (_AC_PROG_CC_C89): New definition.
13502         * configure: Regenerate.
13504         * configure.in (AC_PROG_CPP): New definition.
13505         * configure: Regenerate.
13507 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
13509         * debug/tst-backtrace.h: New file.
13510         * debug/tst-backtrace2.c: Include tst-backtrace.h.
13511         (ret): Remove variable.
13512         (x): Likewise.
13513         (FAIL): Remove macro.
13514         (NO_INLINE): Likewise.
13515         (fn1): Use match function instead of strstr.
13516         * debug/tst-backtrace3.c: Include tst-backtrace.h.
13517         (ret): Remove variable.
13518         (x): Likewise.
13519         (FAIL): Remove macro.
13520         (NO_INLINE): Likewise.
13521         (fn): Use match function instead of strstr.
13522         * debug/tst-backtrace4.c: Include tst-backtrace.h.
13523         (ret): Remove variable.
13524         (x): Likewise.
13525         (FAIL): Remove macro.
13526         (NO_INLINE): Likewise.
13527         (handle_signal): Use match function instead of strstr.
13528         * debug/tst-backtrace5.c: Include tst-backtrace.h.
13529         (ret): Remove variable.
13530         (x): Likewise.
13531         (FAIL): Remove macro.
13532         (NO_INLINE): Likewise.
13533         (handle_signal): Use match function instead of strstr.
13535 2013-01-23  Roland McGrath  <roland@hack.frob.com>
13537         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
13539 2013-01-23  David S. Miller  <davem@davemloft.net>
13541         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
13542         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
13543         argument of CAS if possible.
13544         * sysdeps/sparc/sparc64/bits/atomic.h
13545         (__arch_compare_and_exchange_val_32_acq): Likewise.
13546         (__arch_compare_and_exchange_val_64_acq): Likewise.
13548 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
13550         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
13551         * sysdeps/posix/ulimit.c: ... this.
13552         Include <limits.h>.
13553         * sysdeps/unix/bsd/ulimit.c: Remove file.
13555 2013-01-23  Adam Conrad  <adconrad@0c3.net>
13557         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
13558         (LDFLAGS-tst-array5): Likewise.
13560 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
13562         [BZ #15036]
13563         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
13564         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
13565         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
13566         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
13568 2013-01-21  David S. Miller  <davem@davemloft.net>
13570         * sysdeps/sparc/backtrace.c: New file.
13571         * sysdeps/sparc/sparc32/backtrace.h: New file.
13572         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
13573         * sysdeps/sparc/sparc64/backtrace.h: New file.
13574         * sysdeps/sparc/sparc64/backtrace.c: Delete.
13575         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
13576         -funwind-tables.
13578 2013-01-21  Andreas Schwab  <schwab@suse.de>
13580         [BZ #15020]
13581         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
13582         closed its stdout.
13584 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
13586         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
13587         "mpa2.h".
13588         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13590 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
13591             Mark Mitchell  <mark@codesourcery.com>
13592             Tom de Vries  <tom@codesourcery.com>
13593             Paul Pluzhnikov  <ppluzhnikov@google.com>
13595         * debug/tst-backtrace2.c: New file.
13596         * debug/tst-backtrace3.c: Likewise.
13597         * debug/tst-backtrace4.c: Likewise.
13598         * debug/tst-backtrace5.c: Likewise.
13599         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
13600         (CFLAGS-tst-backtrace3.c): Likewise.
13601         (CFLAGS-tst-backtrace4.c): Likewise.
13602         (CFLAGS-tst-backtrace5.c): Likewise.
13603         (LDFLAGS-tst-backtrace2): Likewise.
13604         (LDFLAGS-tst-backtrace3): Likewise.
13605         (LDFLAGS-tst-backtrace4): Likewise.
13606         (LDFLAGS-tst-backtrace5): Likewise.
13607         (tests): Add new tests tst-backtrace2, tst-backtrace3,
13608         tst-backtrace4 and tst-backtrace5.
13610 2013-01-18  Anton Blanchard  <anton@samba.org>
13611             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
13613         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
13614         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
13615         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
13616         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
13617         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13618         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
13619         "+r" and remove output regs list as redundant.  Add explicit inline
13620         asm to specify register of return val to work around compiler codegen
13621         bug.  Remove (int) cast on return value.  Add return type parameter to
13622         use in macro so that this macro does not truncate return value for
13623         64-bit values.
13624         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
13625         pass to INTERNAL_VSYSCALL_NCS.
13626         (INLINE_VSYSCALL): Add 'long int' as return type to
13627         INTERNAL_VSYSCALL_NCS macro invocation.
13628         (INTERNAL_VSYSCALL): Add 'long int' as return type to
13629         INTERNAL_VSYSCALL_NCS macro invocation.
13630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13632 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
13634         [BZ #14496]
13635         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
13636         Fix application of SIMD FP exception mask.
13638         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
13639         mp_no from a power of two.
13640         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
13641         __mpexp_twomm1.  Use __pow_mp.
13643         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
13644         multiplication.
13646 2013-01-17  David S. Miller  <davem@davemloft.net>
13648         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13650 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
13652         [BZ #15023]
13653         * include/complex.h: Condition contents on [!_COMPLEX_H].
13654         (__kernel_casinhf): New prototype.
13655         (__kernel_casinh): Likewise.
13656         (__kernel_casinhl): Likewise.
13657         * math/Makefile (libm_calls): Add k_casinh.
13658         * math/k_casinh.c: New file.
13659         * math/k_casinhf.c: Likewise.
13660         * math/k_casinhl.c: Likewise.
13661         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
13662         finite nonzero arguments.
13663         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
13664         finite nonzero arguments.
13665         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
13666         finite nonzero arguments.
13667         * math/s_casinh.c: Do not include <float.h>.
13668         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
13669         * math/s_casinhf.c: Do not include <float.h>.
13670         (__casinhf): Move code for finite nonzero arguments to
13671         k_casinhf.c.
13672         * math/s_casinhl.c: Do not include <float.h>.
13673         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
13674         redefine.
13675         (__casinhl): Move code for finite nonzero arguments to
13676         k_casinhl.c.
13677         * math/libm-test.inc (cacos_test): Add more tests.
13678         * sysdeps/i386/fpu/libm-test-ulps: Update.
13679         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13681 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
13683         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
13684         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
13685         [!HAVE_MREMAP]: Remove [defined linux] case.
13686         * malloc/arena.c: Do not include <malloc-sysdep.h>.
13688 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
13690         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
13692 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
13694         * elf/elf.h (R_386_SIZE32): New relocation.
13695         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
13696         R_386_SIZE32.
13697         (elf_machine_rela): Likewise.
13698         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
13699         R_X86_64_SIZE64 and R_X86_64_SIZE32.
13701 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
13703         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
13704         (FP_FAST_FMA): Do not define.
13705         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
13706         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
13707         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
13708         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
13709         !_SOFT_FLOAT]: Likewise.
13710         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
13711         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
13712         value.
13713         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
13714         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
13715         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
13716         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
13717         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
13718         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
13719         file.
13721 2013-01-16  Andreas Schwab  <schwab@suse.de>
13723         [BZ #14327]
13724         * include/stdlib.h (__mktemp): Add declaration.
13725         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
13726         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
13728 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
13730         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
13731         definitions.
13732         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
13733         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
13734         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
13735         definitions here.
13736         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
13737         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
13738         definitions.
13739         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
13740         and ONE.
13741         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
13742         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
13743         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
13744         definitions.
13745         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
13746         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
13747         definitions.
13748         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
13750         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
13752 2013-01-15  David S. Miller  <davem@davemloft.net>
13754         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13755         trunc{,f} to libm-sysdep_routes.
13756         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13757         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
13758         file.
13759         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
13760         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
13761         file.
13762         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
13763         file.
13764         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
13765         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
13766         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
13767         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
13768         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
13769         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
13770         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
13771         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
13773         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13774         nearbyint{,f} to libm-sysdep_routes.
13775         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13776         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
13777         New file.
13778         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
13779         file.
13780         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
13781         New file.
13782         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
13783         file.
13784         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
13785         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
13786         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
13787         file.
13788         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
13789         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
13790         file.
13791         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
13792         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
13793         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
13795         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
13796         libc_feholdexcept and libc_fesetenv.
13798 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
13800         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
13802 2013-01-14  David S. Miller  <davem@davemloft.net>
13804         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
13805         (SPARC_ASM_VIS2_IFUNC): Likewise.
13806         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
13807         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
13808         use of 'siam' instruction.
13809         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
13810         Likewise.
13811         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
13812         Likewise.
13813         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
13814         Likewise.
13815         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
13816         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
13817         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
13818         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
13819         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
13820         file.
13821         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
13822         file.
13823         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
13824         file.
13825         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
13826         file.
13827         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
13828         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
13829         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
13830         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
13831         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
13832         new VIS2 routines.
13833         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
13834         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
13835         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
13836         Likewise.
13837         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
13838         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
13839         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
13840         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
13841         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
13842         routines to libm-sysdep_routines.
13843         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13845         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13846         fdim/fdimf to libm-sysdep_routines.
13847         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
13848         file.
13849         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
13850         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
13851         file.
13852         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
13853         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
13854         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
13855         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
13856         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
13857         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
13858         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
13860 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
13862         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
13863         to optimize copies.
13865         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
13866         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
13867         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13869         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
13870         local variable MPTWO.
13871         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
13872         Likewise.
13874 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
13876         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
13877         GLOB_NOESCAPE.
13879 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
13881         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
13883 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
13885         * manual/pattern.texi (glob_t): Document gl_flags.
13886         (glob64_t): Likewise.
13888 2013-01-11  David S. Miller  <davem@davemloft.net>
13890         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
13891         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
13892         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
13893         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
13894         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
13895         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
13896         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
13897         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
13898         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
13899         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
13900         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
13901         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
13902         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
13904         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
13905         sparc V9 rather than using V8 code.
13906         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
13907         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
13909         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
13910         Move to...
13911         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
13912         Here.
13914 2013-01-11  Roland McGrath  <roland@hack.frob.com>
13916         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
13917         not in the main loop.
13918         * configure: Regenerated.
13920 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
13922         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
13923         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
13924         to just #else.
13925         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
13926         [!__GLIBC_HAVE_LONG_LONG] case.
13927         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
13928         condition to just #else.
13929         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
13930         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
13931         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
13932         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
13933         unconditional.
13934         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
13935         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
13936         #elif condition to just #else.
13937         * sysdeps/unix/sysv/linux/sys/sysmacros.h
13938         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
13939         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
13940         #elif condition to just #else.
13942 2013-01-11  Steve Ellcey  <sellcey@mips.com>
13944         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
13945         (EF_MIPS_ARCH_64): Fix value.
13946         (EF_MIPS_ARCH_32R2): New.
13947         (EF_MIPS_ARCH_64R2): New.
13949 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
13951         * Makeconfig (+link-pie-before-libc): New.
13952         (+link-pie-after-libc): Likewise.
13953         (+link-pie-tests): Likewise.
13954         (+link-pie): Rewritten.
13955         (link-before-libc): Remove $(config-LDFLAGS).
13956         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
13957         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
13958         (config-LDFLAGS): Renamed to ...
13959         (rtld-LDFLAGS): This.
13960         (rtld-tests-LDFLAGS): New macro.
13961         (link-libc-rpath-link): Likewise.
13962         (link-libc-tests-rpath-link): Likewise.
13963         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
13964         (link-libc): Prepand $(link-libc-rpath-link).
13965         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
13966         (test-program-prefix): New macro.
13967         (test-via-rtld-prefix): Likewise.
13968         (test-program-cmd): Likewise.
13969         (host-test-program-cmd): Likewise.
13970         * Makefile ($(common-objpfx)testrun.sh): Replace
13971         $(run-program-prefix) with $(test-program-prefix).
13972         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
13973         $(rtld-LDFLAGS).
13974         ($(common-objpfx)shlib.lds): Likewise.
13975         (build-module-helper): Likewise.
13976         ($(common-objpfx)format.lds): Likewise.
13977         * Rules (binaries-pie-tests): New.
13978         (binaries-pie-notests): Likewise.
13979         (binaries-pie): Rewritten.
13980         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
13981         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
13982         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
13983         (make-test-out): Replace $(host-built-program-cmd) with
13984         $(host-test-program-cmd).
13985         * config.make.in (build-hardcoded-path-in-tests): New variable.
13986         * configure.in (--enable-hardcoded-path-in-tests): New configure
13987         option.
13988         (hardcoded_path_in_tests): New AC_SUBST.
13989         * configure: Regenerated.
13990         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
13991         $(built-program-cmd) with $(test-program-cmd).
13992         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
13993         (test_program_cmd): This.
13994         * elf/Makefile ($(objpfx)order.out): Run test with
13995         $(test-program-prefix).
13996         ($(objpfx)order2.out): Likewise.
13997         ($(objpfx)tst-initorder.out): Likewise.
13998         ($(objpfx)tst-initorder2.out): Likewise.
13999         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
14000         $(test-program-cmd).
14001         ($(objpfx)tst-array1-static.out): Likewise.
14002         ($(objpfx)tst-array2.out): Likewise.
14003         ($(objpfx)tst-array3.out): Likewise.
14004         ($(objpfx)tst-array4.out): Likewise.
14005         ($(objpfx)tst-array5.out): Likewise.
14006         ($(objpfx)tst-array5-static.out): Likewise.
14007         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
14008         $(test-program-cmd).
14009         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
14010         $(run-program-prefix) with $(test-program-prefix).
14011         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
14012         (test_program_prefix): This.
14013         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
14014         $(run-program-prefix) with $(test-program-prefix).
14015         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
14016         (test_program_prefix): This.
14017         * iconvdata/tst-tables.sh: Likewise.
14018         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
14019         $(run-program-prefix) with $(test-program-prefix).
14020         ($(objpfx)tst-translit.out): Likewise.
14021         ($(objpfx)tst-gettext2.out): Likewise.
14022         ($(objpfx)tst-gettext4.out): Likewise.
14023         ($(objpfx)tst-gettext6.out): Likewise.
14024         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
14025         (test_program_prefix): This.
14026         * intl/tst-gettext2.sh: Likewise.
14027         * intl/tst-gettext4.sh  Likewise.
14028         * intl/tst-gettext6.sh: Likewise.
14029         * intl/tst-translit.sh: Likewise.
14030         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
14031         with $(test-program-cmd).
14032         * libio/Makefile ($(objpfx)test-freopen.out): Replace
14033         $(run-program-prefix) with $(test-program-prefix).
14034         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
14035         (test_program_prefix): This.
14036         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
14037         $(run-program-prefix) with $(test-program-prefix).
14038         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
14039         (test_program_prefix): This.
14040         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
14041         * posix/Makefile ($(objpfx)globtest.out): Replace
14042         $(run-via-rtld-prefix) and $(test-wrapper) with
14043         $(test-program-prefix) and $(test-via-rtld-prefix).
14044         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
14045         $(test-program-prefix).
14046         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
14047         $(host-test-program-cmd).
14048         (tst-spawn-ARGS): Likewise.
14049         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
14050         $(test-program-prefix).
14051         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
14052         (test_via_rtld_prefix): This.
14053         (test_wrapper): Renamed to ...
14054         (test_program_prefix): This.
14055         (run_program_prefix): Replaced by test_program_prefix.
14056         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
14057         (test_program_prefix): This.
14058         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
14059         with $(host-test-program-cmd).
14060         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
14061         $(run-program-prefix) with $(test-program-prefix).
14062         ($(objpfx)tst-printf.out): Likewise.
14063         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
14064         $(test-program-cmd).
14065         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
14066         (test_program_prefix): This.
14067         * stdio-common/tst-unbputc.sh: Likewise.
14068         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
14069         $(run-program-prefix) with $(test-program-prefix).
14070         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
14071         (test_program_prefix): This.
14072         * string/Makefile ($(objpfx)tst-svc.out):  Replace
14073         $(built-program-cmd) with $(test-program-cmd).
14075 2013-01-11  Andreas Jaeger  <aj@suse.de>
14077         [BZ #15003]
14078         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
14079         value. Sync with Linux 3.7.
14081 2013-01-10  David S. Miller  <davem@davemloft.net>
14083         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
14084         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14085         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14087 2013-01-10  Roland McGrath  <roland@hack.frob.com>
14089         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
14090         never set.
14091         * configure: Regenerated.
14093 2013-01-10  David S. Miller  <davem@davemloft.net>
14095         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14096         sparc V9 rather than using V8 code.
14097         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14098         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14100 2013-01-10  Roland McGrath  <roland@hack.frob.com>
14102         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
14103         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
14104         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
14105         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
14106         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
14107         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
14108         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
14109         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
14110         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
14111         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
14112         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
14113         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
14114         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
14115         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
14116         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
14117         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
14118         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
14119         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
14120         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
14121         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
14122         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
14123         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
14124         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
14125         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
14126         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
14127         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
14128         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
14130 2013-01-10  David S. Miller  <davem@davemloft.net>
14132         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14134 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
14136         * posix/Makefile (tests-static): New variable.
14137         (tests): Add $(tests-static).
14138         (tst-exec-static-ARGS): New variable.
14139         (tst-spawn-static-ARGS): Likewise.
14140         * posix/tst-exec-static.c: New file.
14141         * posix/tst-spawn-static.c: Likewise.
14142         * posix/tst-exec.c: Support run directly.
14143         * posix/tst-spawn.c: Likewise.
14145 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
14147         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
14148         long.
14149         * math/bits/mathcalls.h (llrint): Likewise.
14150         (llround): Likewise.
14151         * stdlib/stdlib.h (struct drand48_data): Likewise.
14152         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
14153         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
14154         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
14155         Likewise.
14156         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
14157         Likewise.
14158         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
14159         (elf_greg_t): Likewise.
14160         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
14161         (__jmp_buf): Likewise.
14162         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
14163         definitions.
14164         (llrint): Likewise, for all definitions.
14165         (llrintl): Likewise.
14167         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
14168         Remove [__GNUC__] condition.
14169         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
14170         condition to just [__USE_ISOC99].
14171         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
14173 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
14175         [BZ #14200]
14176         * sysdeps/unix/sysv/linux/x86/bits/environments.h
14177         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
14178         defined.
14179         (_POSIX_V6_ILP32_OFF32): Likewise.
14180         (_XBS5_ILP32_OFF32): Likewise.
14181         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
14182         (__ILP32_OFFBIG_LDFLAGS): Likewise.
14184 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
14186         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
14188         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
14189         doubles __mpexp_twomm1.  Adjust usage.
14190         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
14191         Remove.
14193 2013-01-10  Andreas Schwab  <schwab@suse.de>
14195         [BZ #14964]
14196         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
14197         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
14199 2013-01-09  David S. Miller  <davem@davemloft.net>
14201         [BZ #15003]
14202         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
14203         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
14204         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
14205         TCP_FASTOPEN): Define.
14206         (tcp_repair_opt): New structure.
14207         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
14208         enum values.
14209         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
14210         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
14211         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
14212         (tcp_cookie_transactions): New structure.
14214 2013-01-09  Anton Blanchard  <anton@samba.org>
14216         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
14217         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
14218         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
14219         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
14221 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
14223         * include/features.h (__USE_ANSI): Remove.
14225 2013-01-09  Roland McGrath  <roland@hack.frob.com>
14227         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
14229         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
14231 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
14233         * sysdeps/s390/fpu/libm-test-ulps: Update.
14235         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14237         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
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/powerpc32/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.
14265         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
14266         (__acr): Likewise.
14267         (__cpy): Likewise.
14268         (norm): Likewise.
14269         (denorm): Likewise.
14270         (__mp_dbl): Likewise.
14271         (__dbl_mp): Likewise.
14272         (add_magnitudes): Likewise.
14273         (sub_magnitudes): Likewise.
14274         (__add): Likewise.
14275         (__sub): Likewise.
14276         (__mul): Likewise.
14277         (__inv): Likewise.
14278         (__dvd): Likewise.
14280 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
14282         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
14283         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
14284         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
14285         2 && __USE_EXTERN_INLINES]: Likewise.
14287 2013-01-08  Andreas Jaeger  <aj@suse.de>
14289         [BZ# 14985]
14290         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
14291         Remove.
14292         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14293         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14295 2013-01-07  Anton Blanchard  <anton@samba.org>
14297         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
14298         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
14299         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
14300         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
14301         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
14302         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14303         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
14304         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
14305         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14306         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14307         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14308         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14309         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
14310         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14311         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14312         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14313         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14314         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14315         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
14316         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
14317         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
14318         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
14319         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14320         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14321         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
14322         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
14323         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14324         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
14325         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
14326         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
14327         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
14328         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14329         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14330         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14331         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14332         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14333         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14334         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
14335         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
14336         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
14337         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
14338         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14339         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14341 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
14343         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
14344         (__MALLOC_PMT): Likewise.
14345         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
14346         [__GNUC__], only on [_LIBC].
14347         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
14348         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
14349         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
14350         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
14351         forward declaration.
14352         (realloc_hook_ini): Likewise.
14353         (memalign_hook_ini): Likewise.
14354         (__libc_memalign): Do not use __MALLOC_PMT in variable
14355         declaration.
14356         (__libc_valloc): Likewise.
14357         (__libc_pvalloc): Likewise.
14358         (__libc_calloc): Likewise.
14359         (__posix_memalign): Likewise.
14361         [BZ #14996]
14362         * math/s_casinh.c: Include <float.h>.
14363         (__casinh): Do not do computation with squaring and square root
14364         for large arguments.
14365         * math/s_casinhf.c: Include <float.h>.
14366         (__casinhf): Do not do computation with squaring and square root
14367         for large arguments.
14368         * math/s_casinhl.c: Include <float.h>.
14369         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
14370         (__casinhl): Do not do computation with squaring and square root
14371         for large arguments.
14372         * math/libm-test.inc (casin_test): Add more tests.
14373         (casinh_test): Likewise.
14374         * sysdeps/i386/fpu/libm-test-ulps: Update.
14375         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14377 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
14379         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
14380         (__x86_64_raw_data_cache_size): Likewise.
14381         (__x86_64_data_cache_size_half): Likewise.
14382         (__x86_64_raw_data_cache_size_half): Likewise.
14383         (__x86_64_shared_cache_size): Likewise.
14384         (__x86_64_raw_shared_cache_size): Likewise.
14385         (__x86_64_shared_cache_size_half): Likewise.
14386         (__x86_64_raw_shared_cache_size_half): Likewise.
14387         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
14388         to ...
14389         (__x86_data_cache_size): This.
14390         (__x86_64_raw_data_cache_size): Renamed to ...
14391         (__x86_raw_data_cache_size): This.
14392         (__x86_64_data_cache_size_half): Renamed to ...
14393         (__x86_data_cache_size_half): This.
14394         (__x86_64_raw_data_cache_size_half): Renamed to ...
14395         (__x86_raw_data_cache_size_half): This.
14396         (__x86_64_shared_cache_size): Renamed to ...
14397         (__x86_shared_cache_size): This.
14398         (__x86_64_raw_shared_cache_size): Renamed to ...
14399         (__x86_raw_shared_cache_size): This.
14400         (__x86_64_shared_cache_size_half): Renamed to ...
14401         (__x86_shared_cache_size_half): This.
14402         (__x86_64_raw_shared_cache_size_half): Renamed to ...
14403         (__x86_raw_shared_cache_size_half): This.
14404         * sysdeps/x86_64/memcpy.S: Updated.
14405         * sysdeps/x86_64/memset.S: Likewise.
14406         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
14407         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14408         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14410 2013-01-04  David S. Miller  <davem@davemloft.net>
14412         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14414 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
14416         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
14417         1 to avoid redefinition warning.
14418         (__USE_GNU): Don't define.
14419         (init_signaling_nan): Protoize.
14421         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14423 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14425         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
14426         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
14427         (__cpymn): Likewise.
14428         (norm): Remove commented code.
14429         (denorm): Likewise.
14430         (__mp_dbl): Likewise.
14431         (__inv): Likewise.
14432         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
14433         (__cpymn): Likewise.
14434         (norm): Remove commented code.
14435         (denorm): Likewise.
14436         (__mp_dbl): Likewise.
14437         (__inv): Likewise.
14439         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
14440         mp_no value for 1.0 and 2.0.
14441         (norm): Use RADIXI instead of radixi.d.
14442         (denorm): Likewise.
14443         (__mul): Use 0.0 instead of zero.d.
14444         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
14445         mp_no value for 1.0 and 2.0.
14446         (norm): Use RADIXI instead of radixi.d.
14447         (denorm): Likewise.
14448         (__mul): Use 0.0 instead of zero.d.
14450 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
14452         [BZ #14994]
14453         * math/s_casinh.c (__casinh): Reduce finite argument to first
14454         quadrant then set signs of results at the end.
14455         * math/s_casinhf.c (__casinhf): Likewise.
14456         * math/s_casinhl.c (__casinhl): Likewise.
14457         * math/libm-test.inc (casin_test): Add more tests.
14458         (casinh_test): Likewise.
14459         * sysdeps/i386/fpu/libm-test-ulps: Update.
14460         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14462 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14464         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
14466         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
14468         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
14469         declarations.
14470         (denorm): Likewise.
14471         (__mp_dbl): Likewise.
14472         (__inv): Likewise.
14474         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
14475         and adjust the header comment.
14477         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
14478         variable name from declaration.
14480 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
14482         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14483         Initialize COMMON_CPUID_INDEX_7 element.
14484         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
14485         (CPUID_RTM): Likewise.
14486         (HAS_RTM): Likewise.
14487         (COMMON_CPUID_INDEX_7): New enum.
14489 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
14491         [BZ #14981]
14492         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
14493         size is zero, record memory as freed.
14495 2013-01-03  Andreas Jaeger  <aj@suse.de>
14497         * po/ia.po: Add new Interlingua translation.
14499 2012-01-03  Allan McRae  <allan@archlinux.org>
14501         * locale/programs/localedef.c: Fix description of '--posix' flag.
14503 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
14505         * NEWS: Update dates in second copyright notice.
14506         * README: Update copyright dates in example.
14507         * manual/libc.texinfo: Update copyright dates.
14508         * scripts/test-installation.pl: Update copyright date in --version
14509         output.
14511         * hurd/ctty-input.c: Fix copyright notice formatting.
14512         * hurd/ctty-output.c: Likewise.
14513         * hurd/dtable.c: Likewise.
14514         * hurd/hurd-raise.c: Likewise.
14515         * hurd/hurdprio.c: Likewise.
14516         * hurd/msgportdemux.c: Likewise.
14517         * misc/sys/file.h: Likewise.
14518         * misc/sys/ioctl.h: Likewise.
14519         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
14520         * sysdeps/mach/hurd/chdir.c: Likewise.
14521         * sysdeps/mach/hurd/fchdir.c: Likewise.
14522         * sysdeps/mach/hurd/rename.c: Likewise.
14523         * sysdeps/mach/hurd/rmdir.c: Likewise.
14524         * sysdeps/mach/hurd/seekdir.c: Likewise.
14525         * sysdeps/mach/hurd/setsid.c: Likewise.
14526         * sysdeps/posix/wait3.c: Likewise.
14528         * All files with FSF copyright notices: Update copyright dates
14529         using scripts/update-copyrights.
14530         * intl/plural.c: Regenerated.
14531         * locale/programs/charmap-kw.h: Likewise.
14532         * locale/programs/locfile-kw.h: Likewise.
14534 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14536         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
14537         four values.
14539         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
14540         calculation loop and add branch prediction.
14542         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
14543         check access beyond bounds of m1np.
14545         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
14546         MPTWO.
14547         (__inv): Remove local variable MPTWO to use the global
14548         constant.
14549         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
14550         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
14551         variable MPTWO.
14552         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
14553         MP3HALFS static const.
14555 2013-01-01  David S. Miller  <davem@davemloft.net>
14557         * po/ca.po: Update from translation team.
14559 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
14561         * scripts/update-copyrights: New file.
14562         * Makeconfig: Reformat copyright notice.
14563         * ctype/ctype.h: Likewise.
14564         * debug/swprintf_chk.c: Likewise.
14565         * elf/dl-cache.c: Likewise.
14566         * elf/dl-debug.c: Likewise.
14567         * elf/dl-object.c: Likewise.
14568         * grp/initgroups.c: Likewise.
14569         * hurd/Makefile: Likewise.
14570         * hurd/hurd/signal.h: Likewise.
14571         * hurd/hurdfault.c: Likewise.
14572         * hurd/hurdioctl.c: Likewise.
14573         * hurd/hurdlookup.c: Likewise.
14574         * hurd/intr-msg.c: Likewise.
14575         * iconv/gconv_open.c: Likewise.
14576         * libio/swprintf.c: Likewise.
14577         * locale/lc-ctype.c: Likewise.
14578         * locale/nl_langinfo.c: Likewise.
14579         * mach/Machrules: Likewise.
14580         * mach/Makefile: Likewise.
14581         * malloc/obstack.h: Likewise.
14582         * manual/Makefile: Likewise.
14583         * manual/tsort.awk: Likewise.
14584         * misc/bits/stab.def: Likewise.
14585         * nis/nis_print_group_entry.c: Likewise.
14586         * nis/nis_table.c: Likewise.
14587         * nis/nss_compat/compat-pwd.c: Likewise.
14588         * nis/nss_compat/compat-spwd.c: Likewise.
14589         * po/Makefile: Likewise.
14590         * posix/fnmatch.c: Likewise.
14591         * posix/regex.h: Likewise.
14592         * resolv/Makefile: Likewise.
14593         * resolv/nss_dns/dns-network.c: Likewise.
14594         * resolv/res_hconf.c: Likewise.
14595         * scripts/gen-sorted.awk: Likewise.
14596         * soft-fp/soft-fp.h: Likewise.
14597         * stdio-common/printf.h: Likewise.
14598         * stdlib/monetary.h: Likewise.
14599         * stdlib/random.c: Likewise.
14600         * stdlib/random_r.c: Likewise.
14601         * sysdeps/generic/Makefile: Likewise.
14602         * sysdeps/gnu/Makefile: Likewise.
14603         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
14604         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14605         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14606         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14607         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14608         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14609         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14610         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14611         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14612         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14613         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14614         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14615         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
14616         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
14617         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
14618         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
14619         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14620         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14621         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14622         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14623         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
14624         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
14625         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14626         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
14627         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
14628         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
14629         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
14630         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
14631         * sysdeps/mach/hurd/errnos.awk: Likewise.
14632         * sysdeps/mach/hurd/fork.c: Likewise.
14633         * sysdeps/mach/hurd/getcwd.c: Likewise.
14634         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
14635         * sysdeps/mach/hurd/mmap.c: Likewise.
14636         * sysdeps/mach/hurd/utimes.c: Likewise.
14637         * sysdeps/mach/hurd/xmknod.c: Likewise.
14638         * sysdeps/posix/profil.c: Likewise.
14639         * sysdeps/posix/readdir_r.c: Likewise.
14640         * sysdeps/powerpc/bits/mathdef.h: Likewise.
14641         * sysdeps/powerpc/bits/setjmp.h: Likewise.
14642         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
14643         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
14644         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14645         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
14646         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14647         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
14648         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14649         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
14650         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14651         * sysdeps/pthread/lio_listio.c: Likewise.
14652         * sysdeps/sparc/dl-procinfo.h: Likewise.
14653         * sysdeps/unix/i386/sysdep.S: Likewise.
14654         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
14655         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
14656         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
14657         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
14658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14659         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
14660         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
14661         * sysdeps/unix/sysv/linux/speed.c: Likewise.
14662         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
14663         * sysdeps/wordsize-32/divdi3.c: Likewise.
14664         * time/sys/time.h: Likewise.
14665         * wcsmbs/Makefile: Likewise.
14667 2013-01-01  David S. Miller  <davem@davemloft.net>
14669         * po/fr.po: Update from translation team.
14671         * catgets/gencat.c: Update copyright year.
14672         * csu/version.c: Likewise.
14673         * debug/catchsegv.sh: Likewise.
14674         * debug/pcprofiledump.c: Likewise.
14675         * debug/xtrace.sh: Likewise.
14676         * elf/ldconfig.c: Likewise.
14677         * elf/ldd.bash.in: Likewise.
14678         * elf/pldd.c: Likewise.
14679         * elf/sotruss.ksh: Likewise.
14680         * elf/sprof.c: Likewise.
14681         * iconv/iconv_prog.c: Likewise.
14682         * iconv/iconvconfig.c: Likewise.
14683         * locale/programs/locale.c: Likewise.
14684         * locale/programs/localedef.c: Likewise.
14685         * login/programs/pt_chown.c: Likewise.
14686         * malloc/memusage.sh: Likewise.
14687         * malloc/memusagestat.c: Likewise.
14688         * malloc/mtrace.pl: Likewise.
14689         * nscd/nscd.c: Likewise.
14690         * nss/getent.c: Likewise.
14691         * nss/makedb.c: Likewise.
14692         * posix/getconf.c: Likewise.
14694 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
14696         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
14697         numbers.
14699 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
14701         * math/bits/mathcalls.h (modf): Use __nonnull.
14703 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
14705         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
14706         (split): Use macro CN instead of the bare value.
14707         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
14708         could be used.
14709         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
14710         instead of the bare value.
14711         (power1): Likewise.
14713 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14715         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
14716         __ATAN_TWOM.
14717         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14719         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
14720         their values.
14721         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
14722         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
14723         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
14724         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
14726 2012-12-28  Andreas Jaeger  <aj@suse.de>
14728         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
14729         values are from Linux 3.7.
14731         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
14732         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
14734 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14736         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
14737         TRUE case.
14739         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
14740         (norm): Likewise.
14741         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
14742         variables with preprocessor constants.
14743         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14744         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
14745         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
14747 2012-12-27  Bruno Haible  <bruno@clisp.org>
14749         [BZ #14317]
14750         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
14751         only if needed.
14753 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
14755         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
14756         and use variable directly.
14757         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
14759         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
14760         MPONE.
14761         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
14762         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
14763         variable MPONE.
14764         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
14765         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
14766         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
14767         include directive.  Remove local variable MPONE.
14768         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
14769         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
14770         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
14772 2012-12-25  David S. Miller  <davem@davemloft.net>
14774         * version.h (RELEASE): Set to "development".
14775         (VERSION): Set to "2.17.90".
14776         * NEWS: Add 2.18 section.
14778 2012-12-21  David S. Miller  <davem@davemloft.net>
14780         * po/hr.po: Update from translation team.
14782 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14784         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
14786 2012-12-19  Steve Ellcey  <sellcey@mips.com>
14788         * NEWS:  Mention new memcpy for MIPS.
14790 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
14792         * manual/contrib.texi (Contributors): Spelling correction.
14794 2012-12-15  David S. Miller  <davem@davemloft.net>
14796         * po/ru.po: Update from translation team.
14798 2012-12-13  David S. Miller  <davem@davemloft.net>
14800         * NEWS: Mention IFUNC testsuite enhancements.
14802         * po/pl.po: Update from translation team.
14803         * po/bg.po: Likewise.
14805         * manual/contrib.texi (Contributors): Update entries for Hongjiu
14806         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
14808 2012-12-11  David S. Miller  <davem@davemloft.net>
14810         * po/sv.po: Update from translation team.
14812         * po/vi.po: Update from translation team.
14814         * po/cs.po: Update from translation team.
14816         * po/de.po: Update from translation team.
14817         * po/eo.po: Likewise.
14818         * po/nl.po: Likewise.
14820 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
14822         [BZ #14246]
14823         * manual/argp.texi (Argp Helper Functions): Move node to follow
14824         Argp Parsing State.
14826         [BZ #14872]
14827         * manual/conf.texi (Limits on File System Capacity): Mention if
14828         terminating null is included in the max size.
14830 2012-12-10  Andreas Jaeger  <aj@suse.de>
14832         * po/cs.po: Update from translation team.
14834 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
14836         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
14837         void pointer and cast to uintptr_t.
14838         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
14839         path.
14840         * sysdeps/s390/s390-64/memcpy.S: Likewise.
14841         * sysdeps/s390/s390-64/memset.S: Likewise.
14843 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
14845         [BZ #14833]
14846         * menual/message.texi (Message Translation): Fix typos.
14847         (Helper programs for gettext): Likewise.
14849 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
14851         [BZ #14898]
14852         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
14853         Change to -1.
14855 2012-12-07  David S. Miller  <davem@davemloft.net>
14857         * po/libc.pot: Update.
14859 2012-12-07  Richard Henderson  <rth@redhat.com>
14861         [BZ #10114]
14862         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
14863         normal/normal case to before the switch.
14864         (_FP_DIV): Likewise.
14866 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
14867             Mike Frysinger  <vapier@gentoo.org>
14869         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
14870         check for __NR_fadvise64_64.
14872 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
14874         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
14875         0, not just to plain "0" as a statement.
14876         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
14877         with cw.
14879 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
14881         * NEWS: Use sourceware.org in Bugzilla URL.
14883 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
14885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
14886         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
14888         * stdio-common/tst-put-error.c (do_test): Add newline to the
14889         padded test to ensure flush.
14891 2012-12-05  Jeff Law  <law@redhat.com>
14893         * sunrpc/etc.rpc (fedfs_admin): Add entry.
14895 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
14897         * README: Don't refer to ports add-on as distributed separately.
14898         Mention AArch64 in list of systems supported in the ports add-on.
14900         * LICENSES: Add more non-FSF copyright and license notices.
14902         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
14903         ((unused)).
14905         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
14907         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
14908         10000 as width of padded output.
14910 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
14912         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
14914         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
14915         variable LX with __attribute__ ((unused)).
14916         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
14917         Likewise.
14918         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
14919         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14920         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
14921         with __attribute__ ((unused)).
14923 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
14925         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
14927 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
14929         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
14930         (CFLAGS-nldbl-acos.c): New variable.
14931         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
14932         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
14933         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
14934         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
14935         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
14936         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
14937         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
14938         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
14939         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
14940         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
14941         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
14942         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
14943         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
14944         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
14945         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
14946         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
14947         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
14948         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
14949         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
14950         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
14951         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
14952         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
14953         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
14954         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
14955         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
14956         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
14957         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
14958         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
14959         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
14960         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
14961         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
14962         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
14963         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
14964         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
14965         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
14966         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
14967         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
14968         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
14969         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
14970         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
14971         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
14972         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
14973         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
14974         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
14975         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
14976         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
14977         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
14978         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
14979         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
14980         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
14981         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
14982         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
14983         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
14984         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
14985         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
14986         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
14987         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
14988         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
14989         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
14990         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
14991         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
14992         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
14993         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
14994         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
14995         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
14996         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
14997         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
14998         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
14999         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
15000         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
15001         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
15002         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
15003         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
15004         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
15005         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
15006         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
15007         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
15008         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
15009         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
15010         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
15011         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
15012         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
15013         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
15014         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
15015         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
15016         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
15017         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
15018         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
15019         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
15020         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
15021         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
15022         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
15023         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
15024         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
15025         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
15026         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
15027         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
15029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15030         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15032         [BZ #14914]
15033         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
15034         whole low double instead of just low 47 bits when splitting values
15035         into two parts.
15037 2012-12-03  Allan McRae  <allan@archlinux.org>
15039         * manual/stdio.texi (Predefined Printf Handlers): Remove
15040         @hsep and @vsep usage.
15042 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
15044         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
15045         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
15047 2012-12-03  Jeff Law  <law@redhat.com>
15049         * time/sys/time.h (settimeofday): Do not mark TV argument
15050         as __nonnull.
15052 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
15054         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
15055         when currently writing and seek to current position when not.
15056         * libio/Makefile (tests): Remove bug-fclose1.
15057         * libio/bug-fclose1.c: Delete.
15059 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
15061         * manual/arith.texi (feenableexcept): Fix typo.
15062         (fedisableexcept): Likewise.
15064 2012-11-30  Roland McGrath  <roland@hack.frob.com>
15066         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
15067         second, differently-typed declaration, rather than a cast.
15069 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
15071         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
15072         * include/rpc/svc.h: ... here.
15074 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
15076         [BZ #13013]
15077         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
15078         depending n and resplen2 to catch cases where answer
15079         equals answerp2.
15081 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
15083         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
15084         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
15086 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
15088         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
15090 2012-11-29  Roland McGrath  <roland@hack.frob.com>
15092         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
15094 2012-11-28  Jeff Law  <law@redhat.com>
15096         [BZ #13761]
15097         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
15098         dataset_temporary.  Track alloca usage into alloca_used.
15099         If dataset is large allocate and release it via malloc/free.
15101 2012-06-04  Florian Weimer  <fweimer@redhat.com>
15103         [BZ #14197]
15104         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
15106 2012-11-28  David S. Miller  <davem@davemloft.net>
15108         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15110 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
15112         [BZ #14803]
15113         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
15114         of pi/2 rounded to nearest to 64 bits.
15115         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
15116         nearest to 64 bits.
15117         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
15118         bits.
15120 2012-11-28  Jeff Law <law@redhat.com>
15121             Martin Osvald <mosvald@redhat.com>
15123         [BZ #14889]
15124         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
15125         * sunrpc/svc.c: Include time.h.
15126         (__svc_accept_failed): New function.
15127         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
15128         any reason other than EINTR, call __svc_accept_failed.
15129         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
15130         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
15132 2012-11-28  Andreas Schwab  <schwab@suse.de>
15134         * scripts/abilist.awk: Also handle indirect functions in .opd
15135         section.
15137 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
15139         [BZ #13881]
15140         * sysdeps/x86/fpu/powl_helper.c: New file.
15141         * sysdeps/x86/fpu/Makefile: Likewise.
15142         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
15143         (p3): New object.
15144         (__ieee754_powl): Use __powl_helper for finite arguments except
15145         integer exponents below 8.
15146         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
15147         (p3): New object.
15148         (__ieee754_powl): Use __powl_helper for finite arguments except
15149         integer exponents below 8.
15150         * math/libm-test.inc (pow_test): Add more tests and enable some
15151         previously disabled tests.
15152         * sysdeps/i386/fpu/libm-test-ulps: Update.
15153         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15155 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15156             Carlos O'Donell  <carlos_odonell@mentor.com>
15158         * nss/makedb.c (is_prime): Assert that input is odd and greater
15159         than 4.  Note that fact in a comment too.
15160         (next_prime): Add 4 to input.
15162 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
15164         [BZ #11741]
15165         * libio/Makefile (tests): Add test case tst-fwrite-error.
15166         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
15167         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
15168         * libio/tst-fwrite-error.c: New test case.
15170 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
15172         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
15173         before casting to void *.
15174         * include/libc-internal.h (__pointer_type): New macro.
15175         (__integer_if_pointer_type_sub): Likewise.
15176         (__integer_if_pointer_type): Likewise.
15177         (cast_to_integer): Likewise.
15178         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
15179         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
15180         before casting to atomic64_t.
15181         (atomic_exchange_acq): Likewise.
15182         (__arch_exchange_and_add_body): Likewise.
15183         (__arch_add_body): Likewise.
15184         (atomic_add_negative): Likewise.
15185         (atomic_add_zero): Likewise.
15187 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
15189         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
15190         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
15191         (add_fdes): Likewise.
15192         (linear_search_fdes): Likewise.
15193         (binary_search_unencoded_fdes): Likewise.
15195 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
15197         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
15199 2012-11-24  Adam Conrad  <adconrad@0c3.net>
15201         * configure.in: Autodetect C++ header directories.
15202         * configure: Regenerated.
15204 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
15206         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
15208 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
15210         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15212 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
15214         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
15215         LDBL_MANT_DIG == 106]: Disable some tests.
15216         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15217         Likewise.
15218         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15219         Likewise.
15221         [BZ #14871]
15222         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
15223         input for small inputs.  Return +/- pi/2 for large inputs.
15224         * math/libm-test.inc (atan_test): Add more tests.
15226         * sysdeps/generic/unwind-dw2-fde-glibc.c
15227         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
15228         __attribute__ ((unused)).
15230         [BZ #14645]
15231         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
15232         x * y if x and y are nonzero and z is zero.
15234         [BZ #14811]
15235         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
15236         nonzero exponents with absolute value below 0x1p-117 to +/-
15237         0x1p-117.
15239         [BZ #14869]
15240         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
15241         up arguments below 2**-450, not just those below 2**-500.
15242         * math/libm-test.inc (hypot_test): Add another test.
15244         [BZ #14868]
15245         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
15246         Return a+b for ratio over 2**120, not 2**60.
15247         * math/libm-test.inc (hypot_test): Add another test.
15249         * math/libm-test.inc (clog_test): Use
15250         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
15251         (clog10_test): Likewise.
15253         [BZ #6778]
15254         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
15256 2012-11-22  Andreas Schwab  <schwab@suse.de>
15258         * sysdeps/i386/fpu/libm-test-ulps: Update.
15260 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
15262         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
15263         printf output with newline.
15265 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
15267         [BZ #14865]
15268         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
15269         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
15270         -z nodlopen, -z initfirst and -z execstack support.
15271         * configure: Regenerated.
15273         * elf/elf.h (DF_1_NODIRECT): New macro.
15274         (DF_1_IGNMULDEF): Likewise.
15275         (DF_1_NOKSYMS): Likewise.
15276         (DF_1_NOHDR): Likewise.
15277         (DF_1_EDITED): Likewise.
15278         (DF_1_NORELOC): Likewise.
15279         (DF_1_SYMINTPOSE): Likewise.
15280         (DF_1_GLOBAUDIT): Likewise.
15281         (DF_1_SINGLETON): Likewise.
15282         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
15283         DT_1_SUPPORTED_MASK bits.
15284         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
15286 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
15288         * sysdeps/unix/make-syscalls.sh: Document prefixes.
15290 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
15292         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
15293         macro.
15295         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
15296         (sendmmsg): Move declarations...
15297         * socket/sys/socket.h: ... here.
15298         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
15299         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
15300         include it from...
15301         * socket/recvmmsg.c: ... this new file.
15302         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
15303         (sendmmsg): Rename to __sendmmsg, create weak alias and make
15304         definition of __sendmmsg hidden.
15305         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
15306         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
15307         Move ENOSYS stub into and include it from...
15308         * socket/sendmmsg.c: ... this new file.
15309         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
15310         (sysdep_routines): Move recvmmsg and sendmmsg...
15311         * socket/Makefile (routines): ... here.
15312         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
15313         (GLIBC_PRIVATE): Add __sendmmsg.
15314         * include/sys/socket.h (__sendmmsg): Add declarations.
15315         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
15316         sendmmsg.
15318 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
15320         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
15321         variable I1 with __attribute__ ((unused)).
15322         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
15324 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
15326         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
15327         DUMMY variables with __attribute__ ((unused)).
15329         * bits/byteswap.h: Include <bits/types.h>.
15330         (__bswap_64): Use __uint64_t instead of unsigned long long int.
15332 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
15334         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
15335         string_t.  Do not manually set errno.
15336         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
15337         length with __strnlen.  Make sure to both set errno and return it on
15338         failure.
15340 2012-11-19  David S. Miller  <davem@davemloft.net>
15342         With help from Joseph Myers.
15343         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
15344         very large arguments properly.
15345         * math/libm-test.inc (atan_test): New tests.
15346         (atan2_test): New tests.
15347         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15348         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15350 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
15352         [BZ #14856]
15353         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
15354         Define to 3.
15356         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
15357         [POSIX] (EADDRNOTAVAIL): Likewise.
15358         [POSIX] (EAFNOSUPPORT): Likewise.
15359         [POSIX] (EALREADY): Likewise.
15360         [POSIX] (ECONNABORTED): Likewise.
15361         [POSIX] (ECONNREFUSED): Likewise.
15362         [POSIX] (ECONNRESET): Likewise.
15363         [POSIX] (EDESTADDRREQ): Likewise.
15364         [POSIX] (EDQUOT): Likewise.
15365         [POSIX] (EHOSTUNREACH): Likewise.
15366         [POSIX] (EIDRM): Likewise.
15367         [POSIX] (EISCONN): Likewise.
15368         [POSIX] (ELOOP): Likewise.
15369         [POSIX] (EMULTIHOP): Likewise.
15370         [POSIX] (ENETDOWN): Likewise.
15371         [POSIX] (ENETUNREACH): Likewise.
15372         [POSIX] (ENOBUFS): Likewise.
15373         [POSIX] (ENODATA): Likewise.
15374         [POSIX] (ENOLINK): Likewise.
15375         [POSIX] (ENOMSG): Likewise.
15376         [POSIX] (ENOPROTOOPT): Likewise.
15377         [POSIX] (ENOSR): Likewise.
15378         [POSIX] (ENOSTR): Likewise.
15379         [POSIX] (ENOTCONN): Likewise.
15380         [POSIX] (ENOTSOCK): Likewise.
15381         [POSIX] (EOPNOTSUPP): Likewise.
15382         [POSIX] (EOVERFLOW): Likewise.
15383         [POSIX] (EPROTO): Likewise.
15384         [POSIX] (EPROTONOSUPPORT): Likewise.
15385         [POSIX] (EPROTOTYPE): Likewise.
15386         [POSIX] (ESTALE): Likewise.
15387         [POSIX] (ETIME): Likewise.
15388         [POSIX] (ETXTBSY): Likewise.
15389         [POSIX] (EWOULDBLOCK): Likewise.
15390         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
15391         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
15392         [POSIX] (SEEK_CUR): Likewise.
15393         [POSIX] (SEEK_END): Likewise.
15394         [POSIX || UNIX98] (mode_t): Do not require.
15395         [POSIX] (off_t): Likewise.
15396         [POSIX] (pid_t): Likewise.
15397         [POSIX] (sys/stat.h): Do not allow header.
15398         [POSIX] (unistd.h): Likewise.
15399         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
15400         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
15401         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
15402         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
15403         require.
15404         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
15405         sigevent): Specify elements.
15406         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
15407         entry.
15408         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
15409         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
15411         * conform/data/cpio.h-data [POSIX]: Disable whole file.
15412         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
15413         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
15414         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
15415         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
15416         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
15417         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
15418         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
15419         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
15420         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
15421         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
15422         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
15423         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
15424         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
15425         Likewise.
15426         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
15427         Likewise.
15428         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
15429         Likewise.
15430         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
15431         Likewise.
15432         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
15433         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
15434         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
15435         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
15436         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
15437         Specify lower bound on value.
15438         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
15439         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
15440         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
15441         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
15442         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
15443         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
15444         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
15445         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
15446         value.
15447         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
15448         as optional.
15449         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
15450         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
15451         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
15452         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
15453         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
15454         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
15455         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
15456         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
15457         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
15458         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
15459         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
15460         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
15461         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
15462         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
15463         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
15464         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
15465         entry.
15466         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
15467         optional.
15468         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
15469         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
15470         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
15471         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
15472         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
15473         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
15474         Likewise.
15475         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
15476         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
15477         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
15478         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
15479         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
15480         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
15481         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
15482         as optional.
15483         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
15484         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
15485         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
15486         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
15487         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
15488         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
15489         specify as optional.
15490         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
15491         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
15492         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
15493         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
15494         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
15495         [XPG3] (NL_LANGMAX): Likewise.
15496         [POSIX || XPG3] (NL_MSGMAX): Likewise.
15497         [POSIX || XPG3] (NL_NMAX): Likewise.
15498         [POSIX || XPG3] (NL_SETMAX): Likewise.
15499         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
15500         [XPG3] (NZERO): Likewise.
15501         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
15502         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
15503         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
15504         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
15505         (REG_ERANGE): Expect.
15506         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
15507         optional-constant.
15508         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
15509         Use (void) in prototype.
15510         [POSIX] (*_t): Allow.
15511         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
15512         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
15513         (WRDE_BADVAL): Expect.
15515         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
15516         expect.
15517         [XPG3 || XPG4] (O_RSYNC): Likewise.
15518         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
15519         Likewise.
15520         [XPG3 || XPG4] (pthread_sigmask): Likewise.
15521         [XPG3 || XPG4] (sigqueue): Likewise.
15522         [XPG3 || XPG4] (sigtimedwait): Likewise.
15523         [XPG3 || XPG4] (sigwaitinfo): Likewise.
15524         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
15525         [XPG3 || XPG4] (vsnprintf): Likewise.
15526         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
15527         Likewise.
15528         [XPG3 || XPG4] (blksize_t): Likewise.
15529         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
15530         Likewise.
15531         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
15532         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
15533         [XPG3 || XPG4] (struct itimerspec): Likewise.
15534         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
15535         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
15536         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
15537         [XPG3 || XPG4] (clockid_t): Likewise.
15538         [XPG3 || XPG4] (timer_t): Likewise.
15539         [XPG3 || XPG4] (clock_getres): Likewise.
15540         [XPG3 || XPG4] (clock_gettime): Likewise.
15541         [XPG3 || XPG4] (clock_settime): Likewise.
15542         [XPG3 || XPG4] (nanosleep): Likewise.
15543         [XPG3 || XPG4] (timer_create): Likewise.
15544         [XPG3 || XPG4] (timer_delete): Likewise.
15545         [XPG3 || XPG4] (timer_gettime): Likewise.
15546         [XPG3 || XPG4] (timer_getoverrun): Likewise.
15547         [XPG3 || XPG4] (timer_settime): Likewise.
15548         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
15549         [XPG3 || XPG4] (getlogin_r): Likewise.
15550         [XPG3 || XPG4] (pread): Likewise.
15551         [XPG3 || XPG4] (pthread_atfork): Likewise.
15552         [XPG3 || XPG4] (pwrite): Likewise.
15554         [BZ #14835]
15555         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
15556         <bits/siginfo.h>.
15558 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
15560         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
15561         finalizing MALLSTREAM.
15563         * sysdeps/mach/hurd/syncfs.c: New file.
15565 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
15567         [BZ #14719]
15568         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
15569         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
15570         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
15571         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
15572         (_nss_dns_gethostbyname4_r): Likewise.
15573         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
15574         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
15576 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
15578         [BZ #13763]
15579         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
15581 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
15583         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
15584         * elf/cache.c (print_entry): Print ",AArch64" for
15585         FLAG_AARCH64_LIB64
15587         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
15588         * elf/cache.c (print_entry): Print ",hard-float" for
15589         FLAG_ARM_LIBHF.
15591 2012-11-18  David S. Miller  <davem@davemloft.net>
15593         With help from Joseph Myers.
15594         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
15595         cutoff to 2**-13.
15596         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
15597         cutoff to 2**-25.
15598         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
15599         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
15600         small.
15601         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
15602         * math/libm-test.inc (y0_test): New tests.
15603         (y1_test): New tests.
15604         * sysdeps/i386/fpu/libm-test-ulps: Update.
15605         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15606         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15608 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
15610         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
15611         64-bit targets.
15612         * configure: Regenerated.
15614 2012-11-17  David S. Miller  <davem@davemloft.net>
15616         [BZ #14811]
15617         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
15618         nonzero exponents with absolute value below 0x1p-128 to +/-
15619         0x1p-128.
15621 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
15623         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
15625         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
15627         * posix/getconf-speclist.c: New file.
15628         * posix/posix-envs.def: Likewise.
15629         * posix/confstr.c (START_ENV_GROUP): New macro.
15630         (END_ENV_GROUP): Likewise.
15631         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
15632         (KNOWN_PRESENT_ENV_STRING): Likewise.
15633         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
15634         (UNKNOWN_ENVIRONMENT): Likewise.
15635         (confstr): Include posix-envs.def instead of handling
15636         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
15637         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
15638         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
15639         (END_ENV_GROUP): Likewise.
15640         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
15641         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
15642         (UNKNOWN_ENVIRONMENT): Likewise.
15643         (__sysconf): Include posix-envs.def instead of handling associated
15644         cases directly here.
15645         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
15646         preprocessing getconf-speclist.c rather than running getconf or
15647         generating empty file.
15649 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
15651         * scripts/check-local-headers.sh: Ignore 'mach' headers.
15653 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
15655         [BZ #14672]
15656         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
15658 2012-11-16  David S. Miller  <davem@davemloft.net>
15660         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
15661         smaller than LDBL_EPSILON/2.0L, just return xm1.
15663 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
15665         * elf/tst-array1.c (init): Set constructor priority to 1000.
15666         (fini): Set destructor priority to 1000.
15667         * elf/tst-array2dep.c: Likewise.
15669 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
15671         [BZ #11741]
15672         * libio/fileops.c (_IO_new_file_write): Correctly return error.
15673         (_IO_new_file_xsputn): Also return EOF if none of the input
15674         data was written when overflow failed.
15675         * libio/iopadn.c (_IO_padn): Likewise.
15676         * libio/iowpadn.c (_IO_wpadn): Likewise.
15677         * stdio-common/tst-put-error.c: Add copyright notice.
15678         (do_test): Add case for printing padded string.
15679         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
15680         _IO_padn returned error.
15681         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
15682         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
15683         return EOF.
15685 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
15687         * libio/libioP.h: Add comment note that the references to C++
15688         bits are now obsolete.
15690 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15692         * math/libm-test.inc (check_complex): Use asprintf.
15694 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
15696         * debug/pcprofiledump.c (print_version): Update copyright year.
15697         * malloc/memusagestat.c (print_version): Likewise.
15699 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
15701         [BZ #14831]
15702         * elf/Makefile (tests): Add tst-audit8.
15703         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
15704         ($(objpfx)tst-audit8.out): New target.
15705         (tst-audit8-ENV): New variable.
15706         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
15707         audit if l_reloc_result is NULL.
15708         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
15709         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
15710         * elf/tst-audit8.c: New file.
15712 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15714         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
15715         * misc/Makefile (CFLAGS-select.c): Define.
15716         * posix/Makefile (CFLAGS-pause.c): Define.
15718 2012-11-13  David S. Miller  <davem@davemloft.net>
15720         * crypt/Makefile: Move test targets after toplevel Rules
15721         inclusion.  Grab any necessary sysdep routines when linking.
15722         * crypt/md5.c (md5_process_block): Remove define, we will always
15723         name it __md5_process_block.
15724         (md5_finish_ctx): Update md5_process_block call.
15725         (md5_stream): Likewise.
15726         (md5_process_bytes): Likewise.
15727         (md5_process_block): Rename to __md5_process_block and move to ...
15728         * crypt/md5-block.c: ... here.
15729         * crypt/sha256.c (sha256_process_block): Move to ...
15730         * crypt/sha256-block.c: ... here.
15731         * crypt/sha512.c (sha512_process_block): Move to ...
15732         * crypt/sha512-block.c: ... here.
15733         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
15734         path.
15735         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
15736         * sysdeps/sparc/sparc64/multiarch/Makefile
15737         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
15738         crypt subdir.
15739         (localedef-aux): Add md5 crypto assembler when in locale subdir.
15740         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
15741         multiarch changes.
15742         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
15743         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
15744         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
15745         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
15746         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
15747         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
15748         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
15749         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
15750         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
15751         file.
15752         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
15753         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
15754         file.
15755         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
15757 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
15759         * timezone/tzselect.ksh: Update from tzcode git revision
15760         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
15761         * timezone/zdump.c: Likewise.
15762         * timezone/zic.c: Likewise.
15763         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
15764         in TZVERSION setting, not $(PKGVERSION).
15765         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
15766         REPORT_BUGS_TO settings.
15768         [BZ #14838]
15769         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
15770         macro.
15772 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15774         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
15775         detection to immediately after _FP_ROUND().
15776         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
15777         bits are 0.
15779 2012-11-11  David S. Miller  <davem@davemloft.net>
15781         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
15782         inttypes.h
15783         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
15784         __close rather than their public counterparts.
15786 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
15788         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
15789         file.
15790         [UNIX98] (sem_timedwait): Do not expect.
15791         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
15792         [XPG4 || UNIX98] (sockatmark): Do not expect.
15793         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
15794         (clock_getcpuclockid): Do not expect.
15795         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
15796         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
15797         Do not expect.
15798         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
15799         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
15800         [UNIX98] (vwscanf): Likewise.
15801         [UNIX98] (vswscanf): Likewise.
15803 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
15805         * timezone/version.h: Remove file.
15806         * timezone/README: Do not refer to version.h.
15807         * timezone/Makefile ($(objpfx)zic.o): New dependency on
15808         $(objpfx)version.h.
15809         ($(objpfx)zdump.o): Likewise.
15810         ($(objpfx)version.h): New target.
15812         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
15813         2012i.
15814         * timezone/README: Don't mention modification to tzselect.ksh.
15815         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
15816         work on unmodified tzselect.ksh.  Substitute version numbers in
15817         tzselect.ksh.
15819         * Makefile (format-me): Remove.
15820         (INSTALL): Adjust indentation.  Use commands directly instead of
15821         using $(format-me).
15823         * aclocal.m4 (ACX_PKGVERSION): New macro.
15824         (ACX_BUGURL): Likewise.
15825         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
15826         (PKGVERSION): New AC_DEFINE_UNQUOTED.
15827         (REPORT_BUGS_TO): Likewise.
15828         * configure: Regenerated.
15829         * config.h.in (PKGVERSION): New macro.
15830         (REPORT_BUGS_TO): Likewise.
15831         * config.make.in (PKGVERSION): New variable.
15832         (PKGVERSION_TEXI): Likewise.
15833         (REPORT_BUGS_TO): Likewise.
15834         (REPORT_BUGS_TEXI): Likewise.
15835         * Makefile (format-me): Use -I$(common-objpfx)manual.
15836         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
15837         ($(common-objpfx)manual/%): New target.
15838         (manual/%): Remove target.
15839         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
15840         (print_version): Use PKGVERSION.
15841         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
15842         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
15843         and REPORT_BUGS_TO.
15844         ($(objpfx)xtrace): Likewise.
15845         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
15846         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
15847         (print_version): Use PKGVERSION.
15848         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
15849         (do_version): Use PKGVERSION.
15850         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
15851         REPORT_BUGS_TO.
15852         (common-ldd-rewrite): Likewise.
15853         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
15854         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
15855         (print_version): Use PKGVERSION.
15856         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
15857         * elf/pldd.c (argp_program_bug_address): Remove variable.
15858         (more_help): New function.
15859         (argp): Use more_help.
15860         (print_version): Use PKGVERSION.
15861         * elf/sln.c (main): Use PKGVERSION.
15862         (usage): Use REPORT_BUGS_TO.
15863         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
15864         (top level): Use PKGVERSION.
15865         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
15866         (print_version): Use PKGVERSION.
15867         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
15868         (print_version): Use PKGVERSION.
15869         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
15870         (print_version): Use PKGVERSION.
15871         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
15872         (print_version): Use PKGVERSION.
15873         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
15874         (print_version): Use PKGVERSION.
15875         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
15876         (print_version): Use PKGVERSION.
15877         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
15878         and BUGURL.
15879         ($(objpfx)memusage): Likewise.
15880         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
15881         (do_version): Use PKGVERSION.
15882         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
15883         (print_version): Use PKGVERSION.
15884         * malloc/mtrace.pl ($PACKAGE): Remove variable.
15885         ($PKGVERSION): New variable.
15886         ($REPORT_BUGS_TO): Likewise.
15887         (usage): Use $REPORT_BUGS_TO.
15888         (top level): Use $PKGVERSION.
15889         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
15890         ($(objpfx)pkgvers.texi): New rule.
15891         ($(objpfx)stamp-pkgvers): Likewise.
15892         * manual/install.texi: Include pkgvers.texi.
15893         (--with-pkgversion): Document new configure option.
15894         (--with-bugurl): Likewise.
15895         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
15896         than necessarily for this particular distribution.  Use
15897         REPORT_BUGS_TO for where to report bugs.
15898         * INSTALL: Regenerated.
15899         * manual/libc.texinfo: Include pkgvers.texi.
15900         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
15901         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
15902         (print_version): Use PKGVERSION.
15903         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
15904         (print_version): Use PKGVERSION.
15905         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
15906         (print_version): Use PKGVERSION.
15907         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
15908         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
15909         macro.
15910         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
15911         (print_version): Use PKGVERSION.
15912         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
15913         (print_version): Use PKGVERSION.
15914         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
15915         and PKGVERSION.
15917         * timezone/checktab.awk: Update from tzcode 2012i.
15918         * timezone/ialloc.c: Likewise.
15919         * timezone/private.h: Likewise.
15920         * timezone/scheck.c: Likewise.
15921         * timezone/tzfile.h: Likewise.
15922         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
15923         (TZVERSION): Hardcode tzcode version number.
15924         * timezone/zdump.c: Update from tzcode 2012i.
15925         * timezone/zic.c: Likewise.
15926         * timezone/version.h: New file.
15927         * timezone/README: Describe version.h.  Update upstream location.
15929         [BZ #14824]
15930         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
15931         (mktemp): Enable declaration.
15932         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
15933         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
15934         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
15935         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
15936         Likewise.
15937         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
15938         Likewise.
15939         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
15940         Likewise.
15941         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
15942         Likewise.
15943         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
15944         Likewise.
15945         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
15946         Likewise.
15948         [BZ #14821]
15949         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
15950         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
15951         for copies of such integer values.
15952         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
15953         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
15955 2012-11-09  Andreas Jaeger  <aj@suse.de>
15957         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
15958         definitions and declarations that are provided by
15959         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
15961 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15963         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
15964         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
15965         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
15966         definition.
15968 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15970         * elf/elf.h: Update comment before AArch64 relocations.
15972 2012-11-07  David S. Miller  <davem@davemloft.net>
15974         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
15975         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
15976         (__start_context): Declare.
15977         (__makecontext_ret): Delete.
15978         (__makecontext): Hook up __start_context instead of
15979         __makecontext_ret.
15980         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
15981         (sysdep_routines): Add __start_context when in stdlib.
15983 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
15985         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
15986         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
15987         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
15988         hardcoded "nm".
15989         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
15990         (READELF): New variable.  Use it instead of hardcoded "readelf".
15992 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
15994         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
15995         * sysdeps/x86/Makefile: Here.
15996         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
15997         * sysdeps/x86/tst-xmmymm.sh: This.
15999 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
16001         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
16002         expectations.
16003         [UNIX98] (pthread_barrier_t): Do not expect.
16004         [UNIX98] (pthread_barrierattr_t): Likewise.
16005         [UNIX98] (pthread_spinlock_t): Likewise.
16006         [UNIX98] (pthread_barrier_destroy): Likewise.
16007         [UNIX98] (pthread_barrier_init): Likewise.
16008         [UNIX98] (pthread_barrier_wait): Likewise.
16009         [UNIX98] (pthread_barrierattr_destroy): Likewise.
16010         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
16011         [UNIX98] (pthread_barrierattr_init): Likewise.
16012         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
16013         [UNIX98] (pthread_getcpuclockid): Likewise.
16014         [UNIX98] (pthread_mutex_timedlock): Likewise.
16015         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
16016         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
16017         [UNIX98] (pthread_sigmask): Likewise.
16018         [UNIX98] (pthread_spin_destroy): Likewise.
16019         [UNIX98] (pthread_spin_init): Likewise.
16020         [UNIX98] (pthread_spin_lock): Likewise.
16021         [UNIX98] (pthread_spin_trylock): Likewise.
16022         [UNIX98] (pthread_spin_unlock): Likewise.
16023         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
16024         Do not expect.
16025         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
16026         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
16027         [XPG3 || XPG4] (pthread_cond_t): Likewise.
16028         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
16029         [XPG3 || XPG4] (pthread_key_t): Likewise.
16030         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
16031         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
16032         [XPG3 || XPG4] (pthread_once_t): Likewise.
16033         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
16034         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
16035         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
16036         [XPG3 || XPG4] (pthread_t): Likewise.
16038         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
16039         not expect.
16040         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
16042         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
16043         Change function return type to int.
16045         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
16046         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
16047         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
16048         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
16049         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
16050         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
16051         [!POSIX] (posix_madvise): Likewise.
16052         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
16053         && !UNIX98].
16054         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
16055         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
16056         (mode_t): Likewise.
16057         (posix_mem_offset): Likewise.
16058         (posix_typed_mem_get_info): Likewise.
16059         (posix_typed_mem_open): Likewise.
16061         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
16062         Change condition to [XOPEN2K8].
16064         * conform/conformtest.pl: Preprocess allow-header data with -x c
16065         instead of from stdin.
16066         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
16067         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
16068         [C99-based standards] (cerfc): Likewise.
16069         [C99-based standards] (cexp2): Likewise.
16070         [C99-based standards] (cexpm1): Likewise.
16071         [C99-based standards] (clog10): Likewise.
16072         [C99-based standards] (clog1p): Likewise.
16073         [C99-based standards] (clog2): Likewise.
16074         [C99-based standards] (clgamma): Likewise.
16075         [C99-based standards] (ctgamma): Likewise.
16076         [C99-based standards] (cerff): Likewise.
16077         [C99-based standards] (cerfcf): Likewise.
16078         [C99-based standards] (cexp2f): Likewise.
16079         [C99-based standards] (cexpm1f): Likewise.
16080         [C99-based standards] (clog10f): Likewise.
16081         [C99-based standards] (clog1pf): Likewise.
16082         [C99-based standards] (clog2f): Likewise.
16083         [C99-based standards] (clgammaf): Likewise.
16084         [C99-based standards] (ctgammaf): Likewise.
16085         [C99-based standards] (cerfl): Likewise.
16086         [C99-based standards] (cerfcl): Likewise.
16087         [C99-based standards] (cexp2l): Likewise.
16088         [C99-based standards] (cexpm1l): Likewise.
16089         [C99-based standards] (clog10l): Likewise.
16090         [C99-based standards] (clog1pl): Likewise.
16091         [C99-based standards] (clog2l): Likewise.
16092         [C99-based standards] (clgammal): Likewise.
16093         [C99-based standards] (ctgammal): Likewise.
16094         * conform/data/inttypes.h-data [C99-based standards]: Include
16095         stdint.h-data.  Remove all expectations for stdint.h contents.
16096         [C99-based standards] (PRI*): Do not allow.
16097         [C99-based standards] (SCN*): Likewise.
16098         [C99-based standards] (*_t): Likewise.
16099         [C99-based-standards] (PRId8): Expect macro.
16100         [C99-based-standards] (PRIi8): Likewise.
16101         [C99-based-standards] (PRIo8): Likewise.
16102         [C99-based-standards] (PRIu8): Likewise.
16103         [C99-based-standards] (PRIx8): Likewise.
16104         [C99-based-standards] (PRIX8): Likewise.
16105         [C99-based-standards] (SCNd8): Likewise.
16106         [C99-based-standards] (SCNi8): Likewise.
16107         [C99-based-standards] (SCNo8): Likewise.
16108         [C99-based-standards] (SCNu8): Likewise.
16109         [C99-based-standards] (SCNx8): Likewise.
16110         [C99-based-standards] (PRIdLEAST8): Likewise.
16111         [C99-based-standards] (PRIiLEAST8): Likewise.
16112         [C99-based-standards] (PRIoLEAST8): Likewise.
16113         [C99-based-standards] (PRIuLEAST8): Likewise.
16114         [C99-based-standards] (PRIxLEAST8): Likewise.
16115         [C99-based-standards] (PRIXLEAST8): Likewise.
16116         [C99-based-standards] (SCNdLEAST8): Likewise.
16117         [C99-based-standards] (SCNiLEAST8): Likewise.
16118         [C99-based-standards] (SCNoLEAST8): Likewise.
16119         [C99-based-standards] (SCNuLEAST8): Likewise.
16120         [C99-based-standards] (SCNxLEAST8): Likewise.
16121         [C99-based-standards] (PRIdFAST8): Likewise.
16122         [C99-based-standards] (PRIiFAST8): Likewise.
16123         [C99-based-standards] (PRIoFAST8): Likewise.
16124         [C99-based-standards] (PRIuFAST8): Likewise.
16125         [C99-based-standards] (PRIxFAST8): Likewise.
16126         [C99-based-standards] (PRIXFAST8): Likewise.
16127         [C99-based-standards] (SCNdFAST8): Likewise.
16128         [C99-based-standards] (SCNiFAST8): Likewise.
16129         [C99-based-standards] (SCNoFAST8): Likewise.
16130         [C99-based-standards] (SCNuFAST8): Likewise.
16131         [C99-based-standards] (SCNxFAST8): Likewise.
16132         [C99-based-standards] (PRId16): Likewise.
16133         [C99-based-standards] (PRIi16): Likewise.
16134         [C99-based-standards] (PRIo16): Likewise.
16135         [C99-based-standards] (PRIu16): Likewise.
16136         [C99-based-standards] (PRIx16): Likewise.
16137         [C99-based-standards] (PRIX16): Likewise.
16138         [C99-based-standards] (SCNd16): Likewise.
16139         [C99-based-standards] (SCNi16): Likewise.
16140         [C99-based-standards] (SCNo16): Likewise.
16141         [C99-based-standards] (SCNu16): Likewise.
16142         [C99-based-standards] (SCNx16): Likewise.
16143         [C99-based-standards] (PRIdLEAST16): Likewise.
16144         [C99-based-standards] (PRIiLEAST16): Likewise.
16145         [C99-based-standards] (PRIoLEAST16): Likewise.
16146         [C99-based-standards] (PRIuLEAST16): Likewise.
16147         [C99-based-standards] (PRIxLEAST16): Likewise.
16148         [C99-based-standards] (PRIXLEAST16): Likewise.
16149         [C99-based-standards] (SCNdLEAST16): Likewise.
16150         [C99-based-standards] (SCNiLEAST16): Likewise.
16151         [C99-based-standards] (SCNoLEAST16): Likewise.
16152         [C99-based-standards] (SCNuLEAST16): Likewise.
16153         [C99-based-standards] (SCNxLEAST16): Likewise.
16154         [C99-based-standards] (PRIdFAST16): Likewise.
16155         [C99-based-standards] (PRIiFAST16): Likewise.
16156         [C99-based-standards] (PRIoFAST16): Likewise.
16157         [C99-based-standards] (PRIuFAST16): Likewise.
16158         [C99-based-standards] (PRIxFAST16): Likewise.
16159         [C99-based-standards] (PRIXFAST16): Likewise.
16160         [C99-based-standards] (SCNdFAST16): Likewise.
16161         [C99-based-standards] (SCNiFAST16): Likewise.
16162         [C99-based-standards] (SCNoFAST16): Likewise.
16163         [C99-based-standards] (SCNuFAST16): Likewise.
16164         [C99-based-standards] (SCNxFAST16): Likewise.
16165         [C99-based-standards] (PRId32): Likewise.
16166         [C99-based-standards] (PRIi32): Likewise.
16167         [C99-based-standards] (PRIo32): Likewise.
16168         [C99-based-standards] (PRIu32): Likewise.
16169         [C99-based-standards] (PRIx32): Likewise.
16170         [C99-based-standards] (PRIX32): Likewise.
16171         [C99-based-standards] (SCNd32): Likewise.
16172         [C99-based-standards] (SCNi32): Likewise.
16173         [C99-based-standards] (SCNo32): Likewise.
16174         [C99-based-standards] (SCNu32): Likewise.
16175         [C99-based-standards] (SCNx32): Likewise.
16176         [C99-based-standards] (PRIdLEAST32): Likewise.
16177         [C99-based-standards] (PRIiLEAST32): Likewise.
16178         [C99-based-standards] (PRIoLEAST32): Likewise.
16179         [C99-based-standards] (PRIuLEAST32): Likewise.
16180         [C99-based-standards] (PRIxLEAST32): Likewise.
16181         [C99-based-standards] (PRIXLEAST32): Likewise.
16182         [C99-based-standards] (SCNdLEAST32): Likewise.
16183         [C99-based-standards] (SCNiLEAST32): Likewise.
16184         [C99-based-standards] (SCNoLEAST32): Likewise.
16185         [C99-based-standards] (SCNuLEAST32): Likewise.
16186         [C99-based-standards] (SCNxLEAST32): Likewise.
16187         [C99-based-standards] (PRIdFAST32): Likewise.
16188         [C99-based-standards] (PRIiFAST32): Likewise.
16189         [C99-based-standards] (PRIoFAST32): Likewise.
16190         [C99-based-standards] (PRIuFAST32): Likewise.
16191         [C99-based-standards] (PRIxFAST32): Likewise.
16192         [C99-based-standards] (PRIXFAST32): Likewise.
16193         [C99-based-standards] (SCNdFAST32): Likewise.
16194         [C99-based-standards] (SCNiFAST32): Likewise.
16195         [C99-based-standards] (SCNoFAST32): Likewise.
16196         [C99-based-standards] (SCNuFAST32): Likewise.
16197         [C99-based-standards] (SCNxFAST32): Likewise.
16198         [C99-based-standards] (PRId64): Likewise.
16199         [C99-based-standards] (PRIi64): Likewise.
16200         [C99-based-standards] (PRIo64): Likewise.
16201         [C99-based-standards] (PRIu64): Likewise.
16202         [C99-based-standards] (PRIx64): Likewise.
16203         [C99-based-standards] (PRIX64): Likewise.
16204         [C99-based-standards] (SCNd64): Likewise.
16205         [C99-based-standards] (SCNi64): Likewise.
16206         [C99-based-standards] (SCNo64): Likewise.
16207         [C99-based-standards] (SCNu64): Likewise.
16208         [C99-based-standards] (SCNx64): Likewise.
16209         [C99-based-standards] (PRIdLEAST64): Likewise.
16210         [C99-based-standards] (PRIiLEAST64): Likewise.
16211         [C99-based-standards] (PRIoLEAST64): Likewise.
16212         [C99-based-standards] (PRIuLEAST64): Likewise.
16213         [C99-based-standards] (PRIxLEAST64): Likewise.
16214         [C99-based-standards] (PRIXLEAST64): Likewise.
16215         [C99-based-standards] (SCNdLEAST64): Likewise.
16216         [C99-based-standards] (SCNiLEAST64): Likewise.
16217         [C99-based-standards] (SCNoLEAST64): Likewise.
16218         [C99-based-standards] (SCNuLEAST64): Likewise.
16219         [C99-based-standards] (SCNxLEAST64): Likewise.
16220         [C99-based-standards] (PRIdFAST64): Likewise.
16221         [C99-based-standards] (PRIiFAST64): Likewise.
16222         [C99-based-standards] (PRIoFAST64): Likewise.
16223         [C99-based-standards] (PRIuFAST64): Likewise.
16224         [C99-based-standards] (PRIxFAST64): Likewise.
16225         [C99-based-standards] (PRIXFAST64): Likewise.
16226         [C99-based-standards] (SCNdFAST64): Likewise.
16227         [C99-based-standards] (SCNiFAST64): Likewise.
16228         [C99-based-standards] (SCNoFAST64): Likewise.
16229         [C99-based-standards] (SCNuFAST64): Likewise.
16230         [C99-based-standards] (SCNxFAST64): Likewise.
16231         [C99-based-standards] (PRIdMAX): Likewise.
16232         [C99-based-standards] (PRIiMAX): Likewise.
16233         [C99-based-standards] (PRIoMAX): Likewise.
16234         [C99-based-standards] (PRIuMAX): Likewise.
16235         [C99-based-standards] (PRIxMAX): Likewise.
16236         [C99-based-standards] (PRIXMAX): Likewise.
16237         [C99-based-standards] (SCNdMAX): Likewise.
16238         [C99-based-standards] (SCNiMAX): Likewise.
16239         [C99-based-standards] (SCNoMAX): Likewise.
16240         [C99-based-standards] (SCNuMAX): Likewise.
16241         [C99-based-standards] (SCNxMAX): Likewise.
16242         [C99-based-standards] (PRIdPTR): Likewise.
16243         [C99-based-standards] (PRIiPTR): Likewise.
16244         [C99-based-standards] (PRIoPTR): Likewise.
16245         [C99-based-standards] (PRIuPTR): Likewise.
16246         [C99-based-standards] (PRIxPTR): Likewise.
16247         [C99-based-standards] (PRIXPTR): Likewise.
16248         [C99-based-standards] (SCNdPTR): Likewise.
16249         [C99-based-standards] (SCNiPTR): Likewise.
16250         [C99-based-standards] (SCNoPTR): Likewise.
16251         [C99-based-standards] (SCNuPTR): Likewise.
16252         [C99-based-standards] (SCNxPTR): Likewise.
16253         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
16254         allow.
16255         * conform/data/stdint.h-data: Update comments to clarify
16256         requirements.
16257         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
16258         type.
16259         [C99-based standards] (INT8_MAX): Likewise.
16260         [C99-based standards] (INT16_MIN): Likewise.
16261         [C99-based standards] (INT16_MAX): Likewise.
16262         [C99-based standards] (INT32_MIN): Likewise.
16263         [C99-based standards] (INT32_MAX): Likewise.
16264         [C99-based standards] (INT64_MIN): Likewise.
16265         [C99-based standards] (INT64_MAX): Likewise.
16266         [C99-based standards] (UINT8_MAX): Likewise.
16267         [C99-based standards] (UINT16_MAX): Likewise.
16268         [C99-based standards] (UINT32_MAX): Likewise.
16269         [C99-based standards] (UINT64_MAX): Likewise.
16270         [C99-based standards] (INT_LEAST8_MIN): Likewise.
16271         [C99-based standards] (INT_LEAST8_MAX): Likewise.
16272         [C99-based standards] (INT_LEAST16_MIN): Likewise.
16273         [C99-based standards] (INT_LEAST16_MAX): Likewise.
16274         [C99-based standards] (INT_LEAST32_MIN): Likewise.
16275         [C99-based standards] (INT_LEAST32_MAX): Likewise.
16276         [C99-based standards] (INT_LEAST64_MIN): Likewise.
16277         [C99-based standards] (INT_LEAST64_MAX): Likewise.
16278         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
16279         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
16280         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
16281         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
16282         [C99-based standards] (INT_FAST8_MIN): Likewise.
16283         [C99-based standards] (INT_FAST8_MAX): Likewise.
16284         [C99-based standards] (INT_FAST16_MIN): Likewise.
16285         [C99-based standards] (INT_FAST16_MAX): Likewise.
16286         [C99-based standards] (INT_FAST32_MIN): Likewise.
16287         [C99-based standards] (INT_FAST32_MAX): Likewise.
16288         [C99-based standards] (INT_FAST64_MIN): Likewise.
16289         [C99-based standards] (INT_FAST64_MAX): Likewise.
16290         [C99-based standards] (UINT_FAST8_MAX): Likewise.
16291         [C99-based standards] (UINT_FAST16_MAX): Likewise.
16292         [C99-based standards] (UINT_FAST32_MAX): Likewise.
16293         [C99-based standards] (UINT_FAST64_MAX): Likewise.
16294         [C99-based standards] (INTPTR_MIN): Likewise.
16295         [C99-based standards] (INTPTR_MAX): Likewise.
16296         [C99-based standards] (UINTPTR_MAX): Likewise.
16297         [C99-based standards] (INTMAX_MIN): Likewise.
16298         [C99-based standards] (INTMAX_MAX): Likewise.
16299         [C99-based standards] (UINTMAX_MAX): Likewise.
16300         [C99-based standards] (PTRDIFF_MIN): Likewise.
16301         [C99-based standards] (PTRDIFF_MAX): Likewise.
16302         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
16303         [C99-based standards] (SIZE_MAX): Likewise.
16304         [C99-based standards] (WCHAR_MAX): Likewise.
16305         [C99-based standards] (WINT_MAX): Likewise.
16306         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
16307         constraint on value.
16308         [C99-based standards] (WCHAR_MIN): Likewise.
16309         [C99-based standards] (WINT_MIN): Likewise.
16310         [C99-based standards] (*_t): Allow.
16311         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
16312         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
16313         Include math.h-data and complex.h-data.  Remove all expectations
16314         of math.h and complex.h contents.
16315         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
16316         at end of line.
16317         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
16318         (struct tm): Expect tag.
16319         [C99-based-standards] (wcstof): Expect function.
16320         [C99-based-standards] (wcstold): Likewise.
16321         [C99-based-standards] (wcstoll): Likewise.
16322         [C99-based-standards] (wcstoull): Likewise.
16323         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
16324         macro-int-constant.  Specify type.
16325         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
16326         constraint on value.
16327         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16328         Specify type.
16329         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
16330         Specify value.
16331         [ISO C standards]: Do not allow headers.
16332         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
16333         wcs[abcdefghijklmnopqrstuvwxyz]*.
16334         [ISO C standards] (*_t): Do not allow.
16335         * conform/data/wctype.h-data [C99-based standards] (iswblank):
16336         Expect function.
16337         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
16338         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16339         Specify type.
16340         [ISO C standards]: Do not allow headers.
16341         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
16342         is[abcdefghijklmnopqrstuvwxyz]*.
16343         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
16344         to[abcdefghijklmnopqrstuvwxyz]*.
16345         [ISO C standards] (*_t): Do not allow.
16346         * conform/data/stdalign.h-data: New file.
16347         * conform/data/stdbool.h-data: Likewise.
16348         * conform/data/stdnoreturn.h-data: Likewise.
16350 2012-11-07  Roland McGrath  <roland@hack.frob.com>
16352         [BZ #14815]
16353         * manual/filesys.texi (Directory Entries): Typo fix.
16354         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
16356 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16358         * elf/elf.h (EM_AARCH64): New macro.
16359         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
16360         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
16361         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
16362         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
16363         (R_AARCH64_TLSDESC): Likewise.
16364         (NT_ARM_TLS): Likewise.
16365         (NT_ARM_HW_BREAK): Likewise.
16366         (NT_ARM_HW_WATCH): Likewise.
16368 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
16370         [BZ #14811]
16371         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
16372         (__ieee754_powl): Saturate nonzero exponents with absolute value
16373         below 0x1p-79 to +/- 0x1p-79.
16374         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
16375         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
16376         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
16377         nonzero exponents with absolute value below 0x1p-32 to +/-
16378         0x1p-32.
16379         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
16380         (__ieee754_powl): Saturate nonzero exponents with absolute value
16381         below 0x1p-79 to +/- 0x1p-79.
16382         * math/libm-test.inc (pow_test): Add more tests.
16384 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16386         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
16387         _dl_s390_cap_flags with kernel. Increase string length.
16388         (_dl_s390_platforms): Add z196 and zEC12.
16390 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
16392         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
16393         Change XOPEN21K to XOPEN2K.
16395 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
16397         * string/memmove.c: Use memcpy when possible.
16399 2012-11-06  Andreas Jaeger  <aj@suse.de>
16401         * po/eo.po: Update from translation team.
16403 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
16405         [BZ #14793]
16406         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
16407         exponent and small x and y exponents, scale x or y up.  Increase
16408         by 2 the exponent used in scaling up.
16409         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16410         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16411         * math/libm-test.inc (fma_test): Add more tests.
16412         (fma_test_towardzero): Likewise.
16413         (fma_test_downward): Likewise.
16414         (fma_test_upward): Likewise.
16416 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
16418         [BZ #14805]
16419         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
16420         fenv_t *.
16422         [BZ #14801]
16423         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
16424         namespace for names of struct fields.
16425         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
16426         fenv_t fields.
16427         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
16428         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
16430 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16432         [BZ #3665]
16433         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
16435 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
16437         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
16438         PTR_DEMANGLE.
16440         [BZ #5246]
16441         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
16442         PTR_DEMANGLE.
16444 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
16446         [BZ #14797]
16447         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
16448         definitely overflow as x * y not x * y + z.
16449         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16450         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16451         * math/libm-test.inc (fma_test): Add more tests.
16452         (fma_test_towardzero): Likewise.
16453         (fma_test_downward): Likewise.
16454         (fma_test_upward): Likewise.
16456 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
16458         [BZ #157]
16460         * include/stub-tag.h: Remove file.
16461         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
16462         '#include' of it.
16463         * manual/maint.texi (Porting): Don't reference it.
16464         * Makerules ($(objpfx)stubs): Likewise.
16465         * dirent/closedir.c: Don't include <stub-tag.h>.
16466         * dirent/dirfd.c: Likewise.
16467         * dirent/fdopendir.c: Likewise.
16468         * dirent/getdents.c: Likewise.
16469         * dirent/getdents64.c: Likewise.
16470         * dirent/opendir.c: Likewise.
16471         * dirent/readdir.c: Likewise.
16472         * dirent/readdir64.c: Likewise.
16473         * dirent/readdir64_r.c: Likewise.
16474         * dirent/readdir_r.c: Likewise.
16475         * dirent/rewinddir.c: Likewise.
16476         * dirent/seekdir.c: Likewise.
16477         * dirent/telldir.c: Likewise.
16478         * gmon/profil.c: Likewise.
16479         * grp/setgroups.c: Likewise.
16480         * inet/if_index.c: Likewise.
16481         * io/access.c: Likewise.
16482         * io/chdir.c: Likewise.
16483         * io/chmod.c: Likewise.
16484         * io/chown.c: Likewise.
16485         * io/close.c: Likewise.
16486         * io/dup.c: Likewise.
16487         * io/dup2.c: Likewise.
16488         * io/dup3.c: Likewise.
16489         * io/euidaccess.c: Likewise.
16490         * io/faccessat.c: Likewise.
16491         * io/fchdir.c: Likewise.
16492         * io/fchmod.c: Likewise.
16493         * io/fchmodat.c: Likewise.
16494         * io/fchown.c: Likewise.
16495         * io/fchownat.c: Likewise.
16496         * io/fcntl.c: Likewise.
16497         * io/flock.c: Likewise.
16498         * io/fstatfs.c: Likewise.
16499         * io/fstatfs64.c: Likewise.
16500         * io/fstatvfs.c: Likewise.
16501         * io/fstatvfs64.c: Likewise.
16502         * io/futimens.c: Likewise.
16503         * io/fxstat.c: Likewise.
16504         * io/fxstat64.c: Likewise.
16505         * io/fxstatat.c: Likewise.
16506         * io/fxstatat64.c: Likewise.
16507         * io/getcwd.c: Likewise.
16508         * io/isatty.c: Likewise.
16509         * io/lchmod.c: Likewise.
16510         * io/lchown.c: Likewise.
16511         * io/link.c: Likewise.
16512         * io/linkat.c: Likewise.
16513         * io/lseek.c: Likewise.
16514         * io/lseek64.c: Likewise.
16515         * io/lxstat64.c: Likewise.
16516         * io/mkdir.c: Likewise.
16517         * io/mkdirat.c: Likewise.
16518         * io/mkfifo.c: Likewise.
16519         * io/mkfifoat.c: Likewise.
16520         * io/open.c: Likewise.
16521         * io/open64.c: Likewise.
16522         * io/openat.c: Likewise.
16523         * io/openat64.c: Likewise.
16524         * io/pipe.c: Likewise.
16525         * io/pipe2.c: Likewise.
16526         * io/poll.c: Likewise.
16527         * io/posix_fadvise.c: Likewise.
16528         * io/posix_fadvise64.c: Likewise.
16529         * io/posix_fallocate.c: Likewise.
16530         * io/posix_fallocate64.c: Likewise.
16531         * io/read.c: Likewise.
16532         * io/readlink.c: Likewise.
16533         * io/readlinkat.c: Likewise.
16534         * io/rmdir.c: Likewise.
16535         * io/sendfile.c: Likewise.
16536         * io/sendfile64.c: Likewise.
16537         * io/statfs.c: Likewise.
16538         * io/statfs64.c: Likewise.
16539         * io/statvfs.c: Likewise.
16540         * io/statvfs64.c: Likewise.
16541         * io/symlink.c: Likewise.
16542         * io/symlinkat.c: Likewise.
16543         * io/ttyname.c: Likewise.
16544         * io/ttyname_r.c: Likewise.
16545         * io/umask.c: Likewise.
16546         * io/unlink.c: Likewise.
16547         * io/unlinkat.c: Likewise.
16548         * io/utime.c: Likewise.
16549         * io/utimensat.c: Likewise.
16550         * io/write.c: Likewise.
16551         * io/xmknod.c: Likewise.
16552         * io/xmknodat.c: Likewise.
16553         * io/xstat.c: Likewise.
16554         * io/xstat64.c: Likewise.
16555         * login/getpt.c: Likewise.
16556         * login/grantpt.c: Likewise.
16557         * login/unlockpt.c: Likewise.
16558         * math/e_acoshl.c: Likewise.
16559         * math/e_acosl.c: Likewise.
16560         * math/e_asinl.c: Likewise.
16561         * math/e_atan2l.c: Likewise.
16562         * math/e_atanhl.c: Likewise.
16563         * math/e_coshl.c: Likewise.
16564         * math/e_expl.c: Likewise.
16565         * math/e_fmodl.c: Likewise.
16566         * math/e_gammal_r.c: Likewise.
16567         * math/e_hypotl.c: Likewise.
16568         * math/e_j0l.c: Likewise.
16569         * math/e_j1l.c: Likewise.
16570         * math/e_jnl.c: Likewise.
16571         * math/e_lgammal_r.c: Likewise.
16572         * math/e_log10l.c: Likewise.
16573         * math/e_log2l.c: Likewise.
16574         * math/e_logl.c: Likewise.
16575         * math/e_powl.c: Likewise.
16576         * math/e_rem_pio2l.c: Likewise.
16577         * math/e_sinhl.c: Likewise.
16578         * math/e_sqrtl.c: Likewise.
16579         * math/fclrexcpt.c: Likewise.
16580         * math/fedisblxcpt.c: Likewise.
16581         * math/feenablxcpt.c: Likewise.
16582         * math/fegetenv.c: Likewise.
16583         * math/fegetexcept.c: Likewise.
16584         * math/fegetround.c: Likewise.
16585         * math/feholdexcpt.c: Likewise.
16586         * math/fesetenv.c: Likewise.
16587         * math/fesetround.c: Likewise.
16588         * math/feupdateenv.c: Likewise.
16589         * math/fgetexcptflg.c: Likewise.
16590         * math/fraiseexcpt.c: Likewise.
16591         * math/fsetexcptflg.c: Likewise.
16592         * math/ftestexcept.c: Likewise.
16593         * math/k_cosl.c: Likewise.
16594         * math/k_rem_pio2l.c: Likewise.
16595         * math/k_sinl.c: Likewise.
16596         * math/k_tanl.c: Likewise.
16597         * math/s_asinhl.c: Likewise.
16598         * math/s_atanl.c: Likewise.
16599         * math/s_cbrtl.c: Likewise.
16600         * math/s_erfl.c: Likewise.
16601         * math/s_expm1l.c: Likewise.
16602         * math/s_log1pl.c: Likewise.
16603         * math/s_tanhl.c: Likewise.
16604         * misc/acct.c: Likewise.
16605         * misc/brk.c: Likewise.
16606         * misc/chflags.c: Likewise.
16607         * misc/chroot.c: Likewise.
16608         * misc/fchflags.c: Likewise.
16609         * misc/fgetxattr.c: Likewise.
16610         * misc/flistxattr.c: Likewise.
16611         * misc/fremovexattr.c: Likewise.
16612         * misc/fsetxattr.c: Likewise.
16613         * misc/fsync.c: Likewise.
16614         * misc/ftruncate.c: Likewise.
16615         * misc/futimes.c: Likewise.
16616         * misc/futimesat.c: Likewise.
16617         * misc/getdomain.c: Likewise.
16618         * misc/getdtsz.c: Likewise.
16619         * misc/gethostid.c: Likewise.
16620         * misc/gethostname.c: Likewise.
16621         * misc/getloadavg.c: Likewise.
16622         * misc/getpagesize.c: Likewise.
16623         * misc/getsysstats.c: Likewise.
16624         * misc/getxattr.c: Likewise.
16625         * misc/gtty.c: Likewise.
16626         * misc/ioctl.c: Likewise.
16627         * misc/lgetxattr.c: Likewise.
16628         * misc/listxattr.c: Likewise.
16629         * misc/llistxattr.c: Likewise.
16630         * misc/lremovexattr.c: Likewise.
16631         * misc/lsetxattr.c: Likewise.
16632         * misc/lutimes.c: Likewise.
16633         * misc/madvise.c: Likewise.
16634         * misc/mincore.c: Likewise.
16635         * misc/mlock.c: Likewise.
16636         * misc/mlockall.c: Likewise.
16637         * misc/mmap.c: Likewise.
16638         * misc/mprotect.c: Likewise.
16639         * misc/msync.c: Likewise.
16640         * misc/munlock.c: Likewise.
16641         * misc/munlockall.c: Likewise.
16642         * misc/munmap.c: Likewise.
16643         * misc/preadv.c: Likewise.
16644         * misc/preadv64.c: Likewise.
16645         * misc/ptrace.c: Likewise.
16646         * misc/pwritev.c: Likewise.
16647         * misc/pwritev64.c: Likewise.
16648         * misc/readv.c: Likewise.
16649         * misc/reboot.c: Likewise.
16650         * misc/remap_file_pages.c: Likewise.
16651         * misc/removexattr.c: Likewise.
16652         * misc/revoke.c: Likewise.
16653         * misc/select.c: Likewise.
16654         * misc/setdomain.c: Likewise.
16655         * misc/setegid.c: Likewise.
16656         * misc/seteuid.c: Likewise.
16657         * misc/sethostid.c: Likewise.
16658         * misc/sethostname.c: Likewise.
16659         * misc/setregid.c: Likewise.
16660         * misc/setreuid.c: Likewise.
16661         * misc/setxattr.c: Likewise.
16662         * misc/sstk.c: Likewise.
16663         * misc/stty.c: Likewise.
16664         * misc/swapoff.c: Likewise.
16665         * misc/swapon.c: Likewise.
16666         * misc/sync.c: Likewise.
16667         * misc/syncfs.c: Likewise.
16668         * misc/syscall.c: Likewise.
16669         * misc/truncate.c: Likewise.
16670         * misc/ualarm.c: Likewise.
16671         * misc/usleep.c: Likewise.
16672         * misc/ustat.c: Likewise.
16673         * misc/utimes.c: Likewise.
16674         * misc/vhangup.c: Likewise.
16675         * misc/writev.c: Likewise.
16676         * posix/_exit.c: Likewise.
16677         * posix/alarm.c: Likewise.
16678         * posix/execve.c: Likewise.
16679         * posix/fexecve.c: Likewise.
16680         * posix/fork.c: Likewise.
16681         * posix/fpathconf.c: Likewise.
16682         * posix/getaddrinfo.c: Likewise.
16683         * posix/getegid.c: Likewise.
16684         * posix/geteuid.c: Likewise.
16685         * posix/getgid.c: Likewise.
16686         * posix/getgroups.c: Likewise.
16687         * posix/getlogin.c: Likewise.
16688         * posix/getlogin_r.c: Likewise.
16689         * posix/getpgid.c: Likewise.
16690         * posix/getpid.c: Likewise.
16691         * posix/getppid.c: Likewise.
16692         * posix/getresgid.c: Likewise.
16693         * posix/getresuid.c: Likewise.
16694         * posix/getsid.c: Likewise.
16695         * posix/getuid.c: Likewise.
16696         * posix/glob64.c: Likewise.
16697         * posix/nanosleep.c: Likewise.
16698         * posix/pathconf.c: Likewise.
16699         * posix/pause.c: Likewise.
16700         * posix/posix_madvise.c: Likewise.
16701         * posix/pread.c: Likewise.
16702         * posix/pread64.c: Likewise.
16703         * posix/pwrite.c: Likewise.
16704         * posix/pwrite64.c: Likewise.
16705         * posix/sched_getaffinity.c: Likewise.
16706         * posix/sched_getp.c: Likewise.
16707         * posix/sched_gets.c: Likewise.
16708         * posix/sched_primax.c: Likewise.
16709         * posix/sched_primin.c: Likewise.
16710         * posix/sched_rr_gi.c: Likewise.
16711         * posix/sched_setaffinity.c: Likewise.
16712         * posix/sched_setp.c: Likewise.
16713         * posix/sched_sets.c: Likewise.
16714         * posix/sched_yield.c: Likewise.
16715         * posix/setgid.c: Likewise.
16716         * posix/setlogin.c: Likewise.
16717         * posix/setpgid.c: Likewise.
16718         * posix/setresgid.c: Likewise.
16719         * posix/setresuid.c: Likewise.
16720         * posix/setsid.c: Likewise.
16721         * posix/setuid.c: Likewise.
16722         * posix/sleep.c: Likewise.
16723         * posix/spawni.c: Likewise.
16724         * posix/sysconf.c: Likewise.
16725         * posix/times.c: Likewise.
16726         * posix/wait.c: Likewise.
16727         * posix/wait3.c: Likewise.
16728         * posix/wait4.c: Likewise.
16729         * posix/waitpid.c: Likewise.
16730         * resolv/gai_sigqueue.c: Likewise.
16731         * resource/getpriority.c: Likewise.
16732         * resource/getrlimit.c: Likewise.
16733         * resource/getrusage.c: Likewise.
16734         * resource/nice.c: Likewise.
16735         * resource/setpriority.c: Likewise.
16736         * resource/setrlimit.c: Likewise.
16737         * resource/ulimit.c: Likewise.
16738         * rt/aio_cancel.c: Likewise.
16739         * rt/aio_fsync.c: Likewise.
16740         * rt/aio_read.c: Likewise.
16741         * rt/aio_sigqueue.c: Likewise.
16742         * rt/aio_suspend.c: Likewise.
16743         * rt/aio_write.c: Likewise.
16744         * rt/clock_getres.c: Likewise.
16745         * rt/clock_gettime.c: Likewise.
16746         * rt/clock_nanosleep.c: Likewise.
16747         * rt/clock_settime.c: Likewise.
16748         * rt/lio_listio.c: Likewise.
16749         * rt/mq_close.c: Likewise.
16750         * rt/mq_getattr.c: Likewise.
16751         * rt/mq_notify.c: Likewise.
16752         * rt/mq_open.c: Likewise.
16753         * rt/mq_receive.c: Likewise.
16754         * rt/mq_send.c: Likewise.
16755         * rt/mq_setattr.c: Likewise.
16756         * rt/mq_timedreceive.c: Likewise.
16757         * rt/mq_timedsend.c: Likewise.
16758         * rt/mq_unlink.c: Likewise.
16759         * rt/shm_open.c: Likewise.
16760         * rt/shm_unlink.c: Likewise.
16761         * rt/timer_create.c: Likewise.
16762         * rt/timer_delete.c: Likewise.
16763         * rt/timer_getoverr.c: Likewise.
16764         * rt/timer_gettime.c: Likewise.
16765         * rt/timer_settime.c: Likewise.
16766         * setjmp/__longjmp.c: Likewise.
16767         * setjmp/setjmp.c: Likewise.
16768         * signal/kill.c: Likewise.
16769         * signal/killpg.c: Likewise.
16770         * signal/raise.c: Likewise.
16771         * signal/sigaction.c: Likewise.
16772         * signal/sigaltstack.c: Likewise.
16773         * signal/sigblock.c: Likewise.
16774         * signal/sigignore.c: Likewise.
16775         * signal/sigintr.c: Likewise.
16776         * signal/signal.c: Likewise.
16777         * signal/sigpause.c: Likewise.
16778         * signal/sigpending.c: Likewise.
16779         * signal/sigqueue.c: Likewise.
16780         * signal/sigreturn.c: Likewise.
16781         * signal/sigset.c: Likewise.
16782         * signal/sigsetmask.c: Likewise.
16783         * signal/sigstack.c: Likewise.
16784         * signal/sigsuspend.c: Likewise.
16785         * signal/sigtimedwait.c: Likewise.
16786         * signal/sigvec.c: Likewise.
16787         * signal/sigwait.c: Likewise.
16788         * signal/sigwaitinfo.c: Likewise.
16789         * signal/sysv_signal.c: Likewise.
16790         * socket/accept.c: Likewise.
16791         * socket/accept4.c: Likewise.
16792         * socket/bind.c: Likewise.
16793         * socket/connect.c: Likewise.
16794         * socket/getpeername.c: Likewise.
16795         * socket/getsockname.c: Likewise.
16796         * socket/getsockopt.c: Likewise.
16797         * socket/isfdtype.c: Likewise.
16798         * socket/listen.c: Likewise.
16799         * socket/recv.c: Likewise.
16800         * socket/recvfrom.c: Likewise.
16801         * socket/recvmsg.c: Likewise.
16802         * socket/send.c: Likewise.
16803         * socket/sendmsg.c: Likewise.
16804         * socket/sendto.c: Likewise.
16805         * socket/setsockopt.c: Likewise.
16806         * socket/shutdown.c: Likewise.
16807         * socket/sockatmark.c: Likewise.
16808         * socket/socket.c: Likewise.
16809         * socket/socketpair.c: Likewise.
16810         * stdio-common/ctermid.c: Likewise.
16811         * stdio-common/cuserid.c: Likewise.
16812         * stdio-common/remove.c: Likewise.
16813         * stdio-common/rename.c: Likewise.
16814         * stdio-common/renameat.c: Likewise.
16815         * stdio-common/tempname.c: Likewise.
16816         * stdlib/getcontext.c: Likewise.
16817         * stdlib/makecontext.c: Likewise.
16818         * stdlib/setcontext.c: Likewise.
16819         * stdlib/swapcontext.c: Likewise.
16820         * stdlib/system.c: Likewise.
16821         * streams/fattach.c: Likewise.
16822         * streams/fdetach.c: Likewise.
16823         * streams/getmsg.c: Likewise.
16824         * streams/getpmsg.c: Likewise.
16825         * streams/putmsg.c: Likewise.
16826         * streams/putpmsg.c: Likewise.
16827         * sysdeps/unix/bsd/getpt.c: Likewise.
16828         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
16829         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
16830         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
16831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
16832         Likewise.
16833         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
16834         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
16835         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
16836         * sysvipc/msgctl.c: Likewise.
16837         * sysvipc/msgget.c: Likewise.
16838         * sysvipc/msgrcv.c: Likewise.
16839         * sysvipc/msgsnd.c: Likewise.
16840         * sysvipc/semctl.c: Likewise.
16841         * sysvipc/semget.c: Likewise.
16842         * sysvipc/semop.c: Likewise.
16843         * sysvipc/semtimedop.c: Likewise.
16844         * sysvipc/shmat.c: Likewise.
16845         * sysvipc/shmctl.c: Likewise.
16846         * sysvipc/shmdt.c: Likewise.
16847         * sysvipc/shmget.c: Likewise.
16848         * termios/tcdrain.c: Likewise.
16849         * termios/tcflow.c: Likewise.
16850         * termios/tcflush.c: Likewise.
16851         * termios/tcgetattr.c: Likewise.
16852         * termios/tcgetpgrp.c: Likewise.
16853         * termios/tcsendbrk.c: Likewise.
16854         * termios/tcsetattr.c: Likewise.
16855         * termios/tcsetpgrp.c: Likewise.
16856         * time/adjtime.c: Likewise.
16857         * time/clock.c: Likewise.
16858         * time/getitimer.c: Likewise.
16859         * time/gettimeofday.c: Likewise.
16860         * time/setitimer.c: Likewise.
16861         * time/settimeofday.c: Likewise.
16862         * time/stime.c: Likewise.
16863         * time/time.c: Likewise.
16865 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
16867         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
16868         /usr/old/bin.
16870         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
16871         instead of spaces.
16872         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
16874 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
16876         [BZ #14796]
16877         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
16878         FE_TONEAREST before applying Dekker multiplication and Knuth
16879         addition.  Clear inexact exceptions and check for exact zero
16880         results afterwards.
16881         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16882         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16883         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16884         * math/libm-test.inc (fma_test): Add more tests.
16885         (fma_test_towardzero): Likewise.
16886         (fma_test_downward): Likewise.
16887         (fma_test_upward): Likewise.
16888         * sysdeps/generic/math_private.h (default_libc_fesetround): New
16889         function.
16890         (libc_fesetround): New macro.
16891         (libc_fesetroundf): Likewise.
16892         (libc_fesetroundl): Likewise.
16893         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
16894         function.
16895         (libc_fesetround_387): Likewise.
16896         (libc_fesetroundf): New macro.
16897         (libc_fesetround): Likewise.
16898         (libc_fesetroundl): Likewise.
16899         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
16900         function.
16901         (libc_fesetroundf): New macro.
16902         (libc_fesetround): Likewise.
16903         (libc_fesetroundl): Likewise.
16904         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
16905         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
16906         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
16907         libm_hidden_ver.
16908         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
16909         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
16910         libm_hidden_def.
16911         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
16912         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
16913         libm_hidden_ver.
16914         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
16915         libm_hidden_def.
16917         [BZ #3439]
16918         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
16919         integer constant usable in #if and use that to give value to enum
16920         constant.
16921         (FE_DIVBYZERO): Likewise.
16922         (FE_UNDERFLOW): Likewise.
16923         (FE_OVERFLOW): Likewise.
16924         (FE_INVALID): Likewise.
16925         (FE_INVALID_SNAN): Likewise.
16926         (FE_INVALID_ISI): Likewise.
16927         (FE_INVALID_IDI): Likewise.
16928         (FE_INVALID_ZDZ): Likewise.
16929         (FE_INVALID_IMZ): Likewise.
16930         (FE_INVALID_COMPARE): Likewise.
16931         (FE_INVALID_SOFTWARE): Likewise.
16932         (FE_INVALID_SQRT): Likewise.
16933         (FE_INVALID_INTEGER_CONVERSION): Likewise.
16934         (FE_TONEAREST): Likewise.
16935         (FE_TOWARDZERO): Likewise.
16936         (FE_UPWARD): Likewise.
16937         (FE_DOWNWARD): Likewise.
16938         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
16939         (FE_DIVBYZERO): Likewise.
16940         (FE_OVERFLOW): Likewise.
16941         (FE_UNDERFLOW): Likewise.
16942         (FE_INEXACT): Likewise.
16943         (FE_TONEAREST): Likewise.
16944         (FE_DOWNWARD): Likewise.
16945         (FE_UPWARD): Likewise.
16946         (FE_TOWARDZERO): Likewise.
16947         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
16948         (FE_UNDERFLOW): Likewise.
16949         (FE_OVERFLOW): Likewise.
16950         (FE_DIVBYZERO): Likewise.
16951         (FE_INVALID): Likewise.
16952         (FE_TONEAREST): Likewise.
16953         (FE_TOWARDZERO): Likewise.
16954         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
16955         (FE_OVERFLOW): Likewise.
16956         (FE_UNDERFLOW): Likewise.
16957         (FE_DIVBYZERO): Likewise.
16958         (FE_INEXACT): Likewise.
16959         (FE_TONEAREST): Likewise.
16960         (FE_TOWARDZERO): Likewise.
16961         (FE_UPWARD): Likewise.
16962         (FE_DOWNWARD): Likewise.
16963         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
16964         (FE_DIVBYZERO): Likewise.
16965         (FE_OVERFLOW): Likewise.
16966         (FE_UNDERFLOW): Likewise.
16967         (FE_INEXACT): Likewise.
16968         (FE_TONEAREST): Likewise.
16969         (FE_DOWNWARD): Likewise.
16970         (FE_UPWARD): Likewise.
16971         (FE_TOWARDZERO): Likewise.
16973 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
16975         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
16977 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
16979         * scripts/cross-test-ssh.sh (command): Use newlines to separate
16980         commands.  Quote $PWD.
16981         (blacklist_exports): Don't use remove_newlines.  Replace "declare
16982         -x" by "export".
16983         (remove_newlines): Remove.
16985 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
16987         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
16988         * stdlib/stdlib.h (atof): Moved to ...
16989         * include/bits/stdlib-float.h: Here.  New file.
16990         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
16991         * stdlib/bits/stdlib-float.h: New file.
16992         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
16993         -mno-sse -mno-mmx.
16994         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
16995         <xmmintrin.h>.
16997 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
16999         * conform/conformtest.pl (@headers): Add fenv.h.
17000         * conform/data/fenv.h-data: New file.
17001         * include/fenv.h [_ISOMAC]: Disable all contents of file except
17002         include of <math/fenv.h>.
17004         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
17005         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
17006         && !UNIX98].  Enables tests for XOPEN2K8.
17007         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
17008         POSIX2008]: Likewise.
17010         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
17011         (struct rusage): Do not expect type or its members.
17013         [BZ #3439]
17014         * math/math.h (FP_NAN): Define macro to integer constant usable in
17015         #if and use that to give value to enum constant.
17016         (FP_INFINITE): Likewise.
17017         (FP_ZERO): Likewise.
17018         (FP_SUBNORMAL): Likewise.
17019         (FP_NORMAL): Likewise.
17021 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
17023         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
17024         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
17025         arguments.
17027 2012-11-02  Roland McGrath  <roland@hack.frob.com>
17029         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
17030         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
17031         autoconf-time if not.
17032         * configure.in: Remove AC_PREREQ.
17034 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17036         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
17037         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
17038         of the internal implementation.
17040 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
17042         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
17043         except include of <misc/sys/syslog.h>.
17045 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
17047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
17048         function returns with a NULL context exit with zero.
17050 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17052         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
17054 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
17056         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
17057         (run_program_cmd): This.
17058         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
17059         (tst_langinfo): New variable.  Use it.
17061 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
17063         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
17064         floating point opcodes.
17066 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
17068         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
17069         variable.
17071         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
17073         * sysdeps/mach/hurd/powerpc: Remove directory.
17074         * sysdeps/mach/powerpc: Likewise.
17076 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
17078         * scripts/check-local-headers.sh: Ignore c++ headers.
17080 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
17082         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
17083         __libc_cleanup_region_start argument.
17085 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
17087         [BZ #14784]
17088         [BZ #14785]
17089         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
17090         x * y using scaling, not as x * y + z.
17091         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17092         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17093         * math/libm-test.inc (fma_test): Add more tests.
17094         (fma_test_towardzero): Likewise.
17095         (fma_test_downward): Likewise.
17096         (fma_test_upward): Likewise.
17098 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
17100         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
17102 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
17104         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
17105         New variable.
17107 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
17109         * rt/tst-shm.c (worker): Correct checking for mmap failure.
17111 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
17113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17114         Fix sort order.
17115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17116         Likewise.
17118 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17121         Fix the order of the list for glibc 2.17.
17122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17123         Likewise.
17125 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
17127         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17129 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
17131         [BZ #14610]
17132         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
17133         for low part of x being zero before using __atanl (y).
17134         * math/libm-test.inc (atan2_test): Add another test.
17136         * manual/install.texi (Configuring and compiling): Document
17137         general use of test-wrapper and test-wrapper-env.
17138         * INSTALL: Regenerated.
17140         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
17141         (__fma): Do not extract and scale down low bits on after-rounding
17142         systems when result rounded to normal precision would have normal
17143         exponent.
17144         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
17145         (__fmal): Do not extract and scale down low bits on after-rounding
17146         systems when result rounded to normal precision would have normal
17147         exponent.
17148         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
17149         (__fmal): Do not extract and scale down low bits on after-rounding
17150         systems when result rounded to normal precision would have normal
17151         exponent.
17152         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
17153         macro.
17154         (fma_test): Add more tests.
17155         (fma_test_towardzero): Likewise.
17156         (fma_test_downward): Likewise.
17157         (fma_test_upward): Likewise.
17159 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
17161         * sysdeps/i386/tininess.h: Renamed to ...
17162         * sysdeps/x86/tininess.h: This.
17163         * sysdeps/x86_64/tininess.h: Removed.
17165 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
17167         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
17168         input.  Use $(build-program-cmd).
17169         ($(objpfx)tst-array1-static.out): Likewise.
17170         ($(objpfx)tst-array2.out): Likewise.
17171         ($(objpfx)tst-array3.out): Likewise.
17172         ($(objpfx)tst-array4.out): Likewise.
17173         ($(objpfx)tst-array5.out): Likewise.
17174         ($(objpfx)tst-array5-static.out): Likewise.
17176 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
17178         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
17179         if defined.
17181         * nss/nsswitch.h (nss_interface_function): Provide new
17182         macro for use with NSS functions.
17183         * grp/initgroups.c: Use new macro.
17184         * nss/getXXbyYY.c: Likewise.
17185         * nss/getXXbyYY_r.c: Likewise.
17186         * nss/getXXent.c: Likewise.
17187         * nss/getXXent_r.c: Likewise.
17188         * sysdeps/posix/getaddrinfo.c: Likewise.
17190 2012-10-30  Andreas Jaeger  <aj@suse.de>
17192         * po/ru.po: Update Russion translation from translation project.
17194 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
17196         [BZ #14152]
17197         [BZ #14783]
17198         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
17199         result and shift together with sticky bit instead of replicating
17200         round-to-nearest rounding.
17201         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17202         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17203         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
17204         missing underflow exceptions.
17205         (fma_test_towardzero): Add more tests.
17206         (fma_test_downward): Likewise.
17207         (fma_test_upward): Likewise.
17209         [BZ #14047]
17210         * sysdeps/generic/tininess.h: New file.
17211         * sysdeps/i386/tininess.h: Likewise.
17212         * sysdeps/sh/tininess.h: Likewise.
17213         * sysdeps/x86_64/tininess.h: Likewise.
17214         * stdlib/tst-strtod-underflow.c: Likewise.
17215         * stdlib/tst-tininess.c: Likewise.
17216         * stdlib/strtod_l.c: Include <tininess.h>.
17217         (round_and_return): Do not set errno for exact underflow cases.
17218         Force an underflow exception when setting errno for underflow.
17219         Determine underflow based on rounding to normal precision if
17220         TININESS_AFTER_ROUNDING.
17221         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
17222         ERANGE for exact underflow cases.
17223         * stdlib/Makefile (tests): Add tst-tininess and
17224         tst-strtod-underflow.
17225         ($(objpfx)tst-tininess): Use $(link-libm).
17226         ($(objpfx)tst-strtod-underflow): Likewise.
17228 2012-10-30  Andreas Jaeger  <aj@suse.de>
17230         [BZ#14767]
17231         * elf/Makefile (tests): Remove conditional for have-initfini-array
17232         since this is now always required and the variable does not exist
17233         anymore.
17234         (tests-static): Likewise.
17235         (modules-names): Likewise.
17237         * po/eo.po: Add Esperanto translation from translation project.
17239         * elf/tst-array1.c (fini_array): Make writeable so that it can be
17240         merged with constructor/destructor.
17241         (init_array): Likewise.
17242         * elf/tst-array2dep.c (fini_array): Likewise.
17243         (init_array): Likewise.
17245 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
17247         * manual/message.texi: Delete @cartouche tags.
17249 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
17251         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
17252         EOPNOTSUPP.
17253         * sysdeps/mach/hurd/fsync.c: Likewise.
17255         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
17256         [_POSIX_REALTIME_SIGNALS]: Change condition to
17257         [_POSIX_REALTIME_SIGNALS > 0].
17259 2012-10-27  Andreas Jaeger  <aj@suse.de>
17261         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
17262         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
17263         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
17264         [__WORDSIZE != 64]: Likewise.
17266 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
17268         *  iconvdata/tst-table.sh: Remove ${SHELL}.
17269         *  iconvdata/tst-tables.sh: Likewise.
17271 2012-10-25  David S. Miller  <davem@davemloft.net>
17273         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17274         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
17275         of strtoull.
17277         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
17278         ifunc-impl-list.c
17279         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17280         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
17281         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
17282         file.
17284 2012-10-25  Roland McGrath  <roland@hack.frob.com>
17286         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17287         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
17288         __getdirentries.
17290 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
17291             Jim Blandy  <jimb@codesourcery.com>
17293         * scripts/cross-test-ssh.sh: New file.
17294         * manual/install.texi (Configuring and compiling): Document use of
17295         cross-test-ssh.sh.
17296         * INSTALL: Regenerated.
17298 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
17300         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
17301         EOPNOTSUPP.
17303 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
17305         * Makeconfig (run-program-prefix): Fix comment.
17307 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
17308             Jim Blandy  <jimb@codesourcery.com>
17310         * Makeconfig (test-wrapper): New variable,
17311         (test-wrapper-env): Likewise.
17312         [$(cross-compiling) = yes && $(test-wrapper) != ""]
17313         (run-built-tests): Define to yes.
17314         (run-program-prefix): Use $(test-wrapper).
17315         (built-program-cmd): Likewise.
17316         * Rules (make-test-out): Use $(test-wrapper-env) and
17317         $(host-built-program-cmd).
17318         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
17319         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
17320         tst-pathopt.sh.
17321         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
17322         $(test-wrapper-env) to tst-rtld-load-self.sh.
17323         ($(objpfx)order2.out): Use $(test-wrapper).
17324         ($(objpfx)tst-initorder.out): Likewise.
17325         ($(objpfx)tst-initorder2.out): Likewise.
17326         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
17327         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
17328         (test_wrapper_env): New variable.  Use it to run ld.so.
17329         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
17330         Use it to run ld.so.
17331         (test_wrapper_env): Likewise.
17332         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
17333         $(test-wrapper) to run-iconv-test.sh.
17334         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
17335         (ICONV): Use $test_wrapper.
17336         * posix/Makefile ($(objpfx)globtest.out): Pass
17337         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
17338         globtest.sh, not $(run-program-prefix).
17339         * posix/globtest.sh (run_via_rtld_prefix): New variable.
17340         (test_wrapper): Likewise.
17341         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
17342         set together with run_via_rtld_prefix.
17343         (run_program_prefix): Define in terms of test_wrapper and
17344         run_via_rtld_prefix.
17346 2012-10-24  Roland McGrath  <roland@hack.frob.com>
17348         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
17349         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
17350         Targets removed.
17352         [BZ #14743]
17353         * include/time.h: Remove librt_hidden_proto (clock_gettime).
17354         Declare __clock_getres, __clock_gettime, __clock_settime,
17355         __clock_nanosleep, and __clock_getcpuclockid.
17356         * rt/clock_gettime.c: Define __clock_gettime as an alias.
17357         Remove librt_hidden_def (clock_gettime).
17358         * sysdeps/unix/clock_gettime.c: Likewise.
17359         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
17360         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
17361         * rt/clock_getres.c: Define __clock_getres as an alias.
17362         * sysdeps/posix/clock_getres.c: Likewise.
17363         * rt/clock_settime.c: Define __clock_settime as an alias.
17364         * sysdeps/unix/clock_settime.c: Likewise.
17365         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
17366         * sysdeps/unix/clock_nanosleep.c: Likewise.
17367         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
17368         * rt/clock-compat.c: New file.
17369         * rt/Makefile (librt-routines): Add clock-compat and move
17370         $(clock-routines) to ...
17371         (routines): ... here, new variable.
17372         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
17373         Don't add get_clockfreq here.
17374         * rt/Versions (libc: GLIBC_2.17): New version set.
17375         Add clock_* symbols here.
17376         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
17377         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
17378         (GLIBC_2.17): Add clock_* symbols.
17379         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
17380         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
17381         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17383         Likewise.
17384         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17385         Likewise.
17386         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17387         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
17388         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
17389         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
17390         * NEWS: Mention the move.
17392         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
17393         Use __open, __read, __close rather than their public counterparts.
17394         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17395         (__get_clockfreq_via_cpuinfo): Likewise.
17396         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
17397         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
17399         * config.h.in (HAVE_IFUNC): New #undef.
17400         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
17401         was successful.
17402         * configure: Regenerated.
17404 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
17406         * configure.in: Move READELF check to start of file.
17407         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
17408         libc_cv_asm_gnu_indirect_function in the process.
17409         * configure: Regenerated.
17411 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
17413         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
17414         send the output to /dev/null.
17415         (libc_cv_cc_with_libunwind): Likewise.
17416         (libc_cv_as_noexecstack): Likewise.
17417         * configure: Regenerate.
17419 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
17421         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
17423         * posix/globtest.sh (TMPDIR): Do not set.
17424         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
17425         (testout): Likewise.
17427 2012-10-24  Andreas Jaeger  <aj@suse.de>
17429         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
17430         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
17431         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
17432         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
17433         posix_fadvise64, posix_fallocate64.
17435         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
17436         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
17437         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
17438         Likewise.
17439         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
17440         Likewise.
17441         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
17443         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
17444         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
17445         <bits/fcntl-linux.h>.
17446         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
17448         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
17449         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
17450         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
17451         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
17452         [__WORDSIZE != 64]: Likewise.
17454 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
17456         * Makeconfig (run-built-tests): New variable.
17457         * Rules [$(cross-compiling) = yes]: Change condition to
17458         [$(run-built-tests) = no].
17459         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
17460         to [$(run-built-tests) = yes].
17461         * elf/Makefile [$(cross-compiling) = no]: Likewise
17462         * grp/Makefile [$(cross-compiling) = no]: Likewise.
17463         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
17464         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
17465         * intl/Makefile [$(cross-compiling) = no]: Likewise.
17466         * io/Makefile [$(cross-compiling) = no]: Likewise.
17467         * libio/Makefile [$(cross-compiling) = no]: Likewise.
17468         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
17469         * misc/Makefile [$(cross-compiling) = no]: Likewise.
17470         * posix/Makefile [$(cross-compiling) = no]: Likewise.
17471         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
17472         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
17473         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
17474         * string/Makefile [$(cross-compiling) = no]: Likewise.
17476         * posix/Makefile ($(objpfx)globtest.out): Pass
17477         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
17478         $(rtld-installed-name).
17479         * posix/globtest.sh (elf_objpfx): Remove variable.
17480         (rtld_installed_name): Likewise.
17481         (library_path): Likewise.
17482         (run_program_prefix): New variable.  Use for running globtest
17483         binary.
17485 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
17486             Joseph Myers  <joseph@codesourcery.com>
17488         * Makeconfig (host-built-program-cmd): New variable.
17489         * elf/Makefile (tst-stackguard1-ARGS): Use
17490         $(host-built-program-cmd).
17491         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
17492         (tst-spawn-ARGS): Likewise.
17493         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
17495 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
17496             Jim Blandy  <jimb@codesourcery.com>
17498         * Makeconfig (run-via-rtld-prefix): New variable.
17499         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
17500         (built-program-cmd): Likewise.
17502 2012-10-22  Andreas Jaeger  <aj@suse.de>
17504         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
17505         __O_RSYNC if it exists, otherwise to O_SYNC.
17507 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
17508             Joseph Myers  <joseph@codesourcery.com>
17510         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
17511         /dev/null.
17512         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
17513         from /dev/null
17514         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
17515         /dev/null.
17517 2012-10-22  Andreas Jaeger  <aj@suse.de>
17519         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
17520         Define always.
17521         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
17523         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17524         bits/fcntl-linux.h.
17526         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
17527         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
17529         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
17530         to __O_LARGEFILE.
17531         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
17532         to __O_LARGEFILE.
17534 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
17535             Joseph Myers  <joseph@codesourcery.com>
17537         * config.make.in (NM): New variable.
17539 2012-10-21  Andreas Jaeger  <aj@suse.de>
17541         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
17542         definitions and declarations that are provided by
17543         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
17545 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
17547         [BZ #14683]
17548         * elf/Makefile (tests-static): Add tst-leaks1-static.
17549         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
17550         ($(objpfx)tst-leaks1-static): New rule.
17551         ($(objpfx)tst-leaks1-static-mem): Likewise.
17552         (tst-leaks1-static-ENV): New macro.
17553         * elf/dl-open.c (dl_open_worker): Check the main application
17554         only if SHARED is defined.
17555         * elf/tst-leaks1-static.c: New file.
17557 2012-10-20  Andreas Jaeger  <aj@suse.de>
17559         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
17560         generic values for Linux.
17561         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
17562         and declarations that are provided by <bits/fcntl-linux.h> and
17563         include <bits/fcntl-linux.h>.
17564         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17565         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17567 2012-10-20  Roland McGrath  <roland@hack.frob.com>
17569         * io/fcntl.h: Move include of <bits/types.h> to the top and
17570         include it unconditionally.
17572 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
17574         * wcsmbs/Makefile (tests-ifunc): New variable.
17575         (tests): Add $(tests-ifunc).
17576         * wcsmbs/test-wcschr-ifunc.c: New file.
17577         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
17578         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
17579         * wcsmbs/test-wcslen-ifunc.c: Likewise.
17580         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
17581         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
17583         * string/Makefile (tests-ifunc): New variable.
17584         (tests): Add $(tests-ifunc).
17585         * string/test-memccpy.c (TEST_NAME): New macro.
17586         * string/test-memchr.c (TEST_NAME): Likewise.
17587         * string/test-memcmp.c (TEST_NAME): Likewise.
17588         * string/test-memcpy.c (TEST_NAME): Likewise.
17589         * string/test-memmem.c (TEST_NAME): Likewise.
17590         * string/test-memmove.c (TEST_NAME): Likewise.
17591         * string/test-memset.c (TEST_NAME): Likewise.
17592         * string/test-rawmemchr.c (TEST_NAME): Likewise.
17593         * string/test-stpcpy.c (TEST_NAME): Likewise.
17594         * string/test-stpncpy.c (TEST_NAME): Likewise.
17595         * string/test-strcasecmp.c (TEST_NAME): Likewise.
17596         * string/test-strcasestr.c (TEST_NAME): Likewise.
17597         * string/test-strcat.c (TEST_NAME): Likewise.
17598         * string/test-strchr.c (TEST_NAME): Likewise.
17599         * string/test-strcmp.c(TEST_NAME): Likewise.
17600         * string/test-strcpy.c (TEST_NAME): Likewise.
17601         * string/test-strcspn.c (TEST_NAME): Likewise.
17602         * string/test-strlen.c (TEST_NAME): Likewise.
17603         * string/test-strncasecmp.c (TEST_NAME): Likewise.
17604         * string/test-strncmp.c (TEST_NAME): Likewise.
17605         * string/test-strncpy.c (TEST_NAME): Likewise.
17606         * string/test-strnlen.c (TEST_NAME): Likewise.
17607         * string/test-strpbrk.c (TEST_NAME): Likewise.
17608         * string/test-strrchr.c (TEST_NAME): Likewise.
17609         * string/test-strspn.c (TEST_NAME): Likewise.
17610         * string/test-strstr.c (TEST_NAME): Likewise.
17611         * string/test-bcopy-ifunc.c: New file.
17612         * string/test-bzero-ifunc.c: Likewise.
17613         * string/test-memccpy-ifunc.c: Likewise.
17614         * string/test-memchr-ifunc.c: Likewise.
17615         * string/test-memcmp-ifunc.c: Likewise.
17616         * string/test-memcpy-ifunc.c: Likewise.
17617         * string/test-memmem-ifunc.c: Likewise.
17618         * string/test-memmove-ifunc.c: Likewise.
17619         * string/test-mempcpy-ifunc.c: Likewise.
17620         * string/test-memset-ifunc.c: Likewise.
17621         * string/test-rawmemchr-ifunc.c: Likewise.
17622         * string/test-stpcpy-ifunc.c: Likewise.
17623         * string/test-stpncpy-ifunc.c: Likewise.
17624         * string/test-strcasecmp-ifunc.c: Likewise.
17625         * string/test-strcasestr-ifunc.c: Likewise.
17626         * string/test-strcat-ifunc.c: Likewise.
17627         * string/test-strchr-ifunc.c: Likewise.
17628         * string/test-strchrnul-ifunc.c: Likewise.
17629         * string/test-strcmp-ifunc.c: Likewise.
17630         * string/test-strcpy-ifunc.c: Likewise.
17631         * string/test-strcspn-ifunc.c: Likewise.
17632         * string/test-strlen-ifunc.c: Likewise.
17633         * string/test-strncasecmp-ifunc.c: Likewise.
17634         * string/test-strncat-ifunc.c: Likewise.
17635         * string/test-strncmp-ifunc.c: Likewise.
17636         * string/test-strncpy-ifunc.c: Likewise.
17637         * string/test-strnlen-ifunc.c: Likewise.
17638         * string/test-strpbrk-ifunc.c: Likewise.
17639         * string/test-strrchr-ifunc.c: Likewise.
17640         * string/test-strspn-ifunc.c: Likewise.
17641         * string/test-strstr-ifunc.c: Likewise.
17643         * debug/Makefile (tests-ifunc): New variable.
17644         (tests): Add $(tests-ifunc).
17645         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
17646         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
17647         * debug/test-stpcpy_chk-ifunc.c: New file.
17648         * debug/test-strcpy_chk-ifunc.c: Likewise.
17650 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
17652         [BZ #13601]
17653         * elf/dl-load.c (open_verify): Retry read if the entire ELF
17654         header is not read in.
17656 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
17658         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
17659         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
17660         directly.  Pass built executable to script as
17661         $(built-program-cmd).
17662         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
17663         $testprogram without using LD_LIBRARY_PATH and $ldso.
17665         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
17666         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
17667         $(rtld-installed-name).
17668         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
17669         (rtld_installed_name): Likewise.
17670         (library_path): Likewise.
17671         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
17672         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
17673         $(run-program-prefix) to tst-tables.sh.
17674         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
17675         it to run tst-table-from and tst-table-to.
17676         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
17677         Pass it to tst-table.sh.
17678         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
17679         $(run-program-prefix) to tst-gettext.sh.
17680         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
17681         tst-translit.sh.
17682         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
17683         tst-gettext2.sh.
17684         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
17685         to run tst-gettext.
17686         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
17687         to run tst-gettext2.
17688         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
17689         to run tst-translit.
17690         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
17691         $(run-program-prefix) to tst-mtrace.sh.
17692         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
17693         to run tst-mtrace.
17694         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
17695         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
17696         $(rtld-installed-name).
17697         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
17698         (rtld_installed_name): Likewise.
17699         (run_program_prefix): New variable.  Use it to run wordexp-test.
17701         * Makeconfig (ARCH): Remove all definitions.
17702         (machine): Likewise.
17703         [ARCH]: Remove conditional code.
17704         [!objdir]: Give error.
17705         [!objdir] (objpfx): Remove.
17706         [!objdir] (common-objpfx): Likewise.
17707         [!objdir] (common-objdir): Likewise.
17708         * configure.in (config_makefile): Remove.  Hardcode Makefile in
17709         AC_CONFIG_FILES call.
17710         * configure: Regenerated.
17712         [BZ #13888]
17713         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
17714         or TMPDIR.
17715         (testout): Likewise.
17717         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
17718         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
17719         $(rtld-installed-name).
17720         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
17721         (rtld_installed_name): Likwise.
17722         (runit): Remove function.
17723         (run_getconf): New variable,  Use it for running getconf binary.
17725 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
17727         [BZ #14716]
17728         * string/test-memmem.c (check_result): New function.
17729         (do_one_test): Use it.
17730         (check1): New function.
17731         (test_main): Use it.
17733 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
17735         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
17737 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
17739         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
17740         (_G_LSEEK64): Likewise.
17741         (_G_MMAP64): Likewise.
17742         (_G_FSTAT64): Likewise.
17743         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
17744         (_G_LSEEK64): Likewise.
17745         (_G_MMAP64): Likewise.
17746         (_G_FSTAT64): Likewise.
17747         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
17748         unconditional.  Call __mmap64 directly.
17749         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
17750         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
17751         __lseek64 directly.
17752         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
17753         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
17754         __mmap64 directly.
17755         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
17756         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
17757         __lseek64 directly.
17758         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
17759         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
17760         __lseek64 directly.
17761         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
17762         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
17763         __lseek64 directly.
17764         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
17765         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
17766         __fxstat64 directly.
17767         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
17768         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
17769         unconditional.
17770         (freopen64) [!_G_OPEN64]: Remove conditional code.
17771         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
17772         unconditional.
17773         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
17774         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
17775         unconditional.
17776         (ftello64) [!_G_LSEEK64]: Remove conditional code.
17777         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
17778         unconditional.
17779         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
17780         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
17781         unconditional.
17782         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
17783         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
17784         unconditional.
17785         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
17786         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
17787         unconditional.
17788         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
17789         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
17790         unconditional.
17791         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
17793 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
17795         [BZ #12140]
17796         * manual/memory.texi (Malloc Tunable Parameters): Add note
17797         about free list pointers overwriting some perturb bytes.
17798         Wording suggested by Roland McGrath.
17800 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
17802         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
17803         (lgamma_test): Likewise.
17804         (tgamma_test): Likewise.
17806 2012-10-16  Florian Weimer  <fweimer@redhat.com>
17808         [BZ #14700]
17809         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
17810         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
17812 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
17814         * NEWS: Mention BZ #14716.
17815         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
17816         when removing AVAILABLE1_USES_J macro.
17818 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
17820         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
17821         (__bswap_64): __uint64_t for unsigned 64-bit int.
17823 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
17825         * include/string.h (memmem): Declare libc hidden alias.
17826         * string/memmem.c (memmem): Define libc hidden alias.
17827         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
17828         __read, __close instead of open, read, close.
17830 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
17832         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
17833         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
17834         global and hidden.
17835         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
17836         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
17837         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
17838         Likewise.
17839         (__rawmemchr_sse2): Likewise.
17840         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
17841         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
17842         (__strchr_sse2): Likewise.
17843         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
17844         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
17845         (__strcasecmp_sse2): Likewise.
17846         (__strncasecmp_sse2): Likewise.
17847         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
17848         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
17849         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
17850         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
17851         (__strrchr_sse2): Likewise.
17852         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
17853         ifunc-impl-list.c.
17854         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
17855         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
17856         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
17857         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17858         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
17859         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
17860         * sysdeps/x86_64/multiarch/memset.S: Likewise.
17861         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17862         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
17863         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
17864         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
17865         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
17866         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
17867         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
17868         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
17869         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17870         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
17871         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
17872         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
17873         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
17874         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
17875         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
17876         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
17877         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
17878         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
17879         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17880         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
17881         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
17882         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
17883         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
17885         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
17886         global and hidden.
17887         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
17888         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
17889         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
17890         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
17891         Likewise.
17892         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
17893         Likewise.
17894         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
17895         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
17896         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
17897         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
17898         ifunc-impl-list.c.
17899         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
17900         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
17901         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
17902         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
17903         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
17904         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
17905         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
17906         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
17907         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
17908         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
17909         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
17910         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
17911         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
17912         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
17913         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
17914         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17915         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
17916         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
17917         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
17918         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
17919         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17920         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
17921         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
17922         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
17923         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17924         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
17925         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
17926         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
17927         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
17928         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
17929         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
17930         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
17931         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
17932         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
17933         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
17934         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
17935         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
17936         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
17937         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
17938         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
17939         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
17941         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
17942         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
17943         * include/ifunc-impl-list.h: New file.
17944         * misc/ifunc-impl-list.c: Likewise.
17945         * misc/Makefile (routines): Add ifunc-impl-list.
17946         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
17947         * string/test-string.h: Include <ifunc-impl-list.h>.
17948         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
17949         impl_array): New variables.
17950         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
17951         are defined.
17952         (test_init): Call __libc_ifunc_impl_list to initialize
17953         func_list if TEST_IFUNC and TEST_NAME are defined.
17955         * string/Makefile (strop-tests): Add bcopy and bzero.
17956         * string/test-bcopy.c: New file.
17957         * string/test-bzero.c: Likewise.
17958         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
17959         defined.
17960         * string/test-memset.c: Support bzero test if TEST_BZERO is
17961         defined.
17962         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
17963         __libc_memmove.
17964         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
17965         __libc_memset.
17966         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
17967         of memset.
17969 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
17971         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
17972         * configure: Regenerated.
17974         * Makeconfig (+link-static-before-libc): Don't include
17975         $(link-static-libc).
17977         * libio/libio.h (_IO_pos_t): Remove.
17979 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
17981         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
17982         McGrath.
17984 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
17986         * crypt/crypt-entry.c: Include fips-private.h.
17987         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
17988         * crypt/md5c-test.c (main): Tolerate disabled MD5.
17989         * sysdeps/unix/sysv/linux/fips-private.h: New file.
17990         * sysdeps/generic/fips-private.h: New file, dummy fallback.
17992 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
17994         * crypt/crypt-private.h: Include stdbool.h.
17995         (_ufc_setup_salt_r): Return bool.
17996         * crypt/crypt-entry.c: Include errno.h.
17997         (__crypt_r): Return NULL with EINVAL for bad salt.
17998         * crypt/crypt_util.c (bad_for_salt): New.
17999         (_ufc_setup_salt_r): Check that salt is long enough and within
18000         the specified alphabet.
18001         * crypt/badsalttest.c: New file.
18002         * crypt/Makefile (tests): Add it.
18003         ($(objpfx)badsalttest): New.
18005 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
18007         * NEWS: Add entry for BZ #14602.
18009 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
18011         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
18012         type-generic.
18013         * math/libm-test.inc: Update comment listing what functions and
18014         macros are tested.
18015         (isgreater_test): New function.
18016         (isgreaterequal_test): Likewise.
18017         (isless_test): Likewise.
18018         (islessequal_test): Likewise.
18019         (islessgreater_test): Likewise.
18020         (isunordered_test): Likewise.
18021         (main): Call the new functions.
18023 2012-10-09  Roland McGrath  <roland@hack.frob.com>
18025         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
18026         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
18027         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
18028         * sysdeps/i386/configure: Regenerated.
18029         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
18030         * sysdeps/mach/configure: Regenerated.
18031         * sysdeps/mach/hurd/configure: Regenerated.
18032         * sysdeps/powerpc/configure: Regenerated.
18033         * sysdeps/powerpc/powerpc32/configure: Regenerated.
18034         * sysdeps/powerpc/powerpc64/configure: Regenerated.
18035         * sysdeps/s390/s390-32/configure: Regenerated.
18036         * sysdeps/s390/s390-64/configure: Regenerated.
18037         * sysdeps/sh/configure: Regenerated.
18038         * sysdeps/sparc/configure: Regenerated.
18039         * sysdeps/unix/sysv/linux/configure: Regenerated.
18040         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
18041         * sysdeps/x86_64/configure: Regenerated.
18043         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
18044         defined.  Don't check if MAP is NULL.
18046 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
18048         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
18049         (_G_stat64): Likewise.
18050         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
18051         (_G_stat64): Likewise.
18052         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
18053         instead of struct _G_stat64.
18054         * libio/fileops.c (mmap_remap_check): Likewise.
18055         (decide_maybe_mmap): Likewise.
18056         (_IO_new_file_seekoff): Likewise.
18057         (_IO_file_stat): Likewise.
18058         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
18059         _G_off64_t.
18060         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
18061         instead of struct _G_stat64.
18062         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18064 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
18066         [BZ #14602]
18067         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18068         Replace with ...
18069         (CHECK_EOL): New macro.
18070         (two_way_short_needle): Check beginning of haystack for EOL.  Use
18071         CHECK_EOL.
18072         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18073         Replace with CHECK_EOL.
18074         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18075         Replace with CHECK_EOL.
18077 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
18079         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
18080         type-generic.
18081         * math/libm-test.inc: Update comment listing what functions and
18082         macros are tested.
18083         (finite_test): New function.
18084         (isinf_test): Likewise.
18085         (isnan_test): Likewise.
18086         (fpclassify_test): Test subnormal input.
18087         (isfinite_test): Likewise.
18088         (isnormal_test): Likewise.
18089         (main): Call the new functions.
18091 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
18093         [BZ #14660]
18094         * Makerules (%.dynsym): Force C locale when running
18095         $(OBJDUMP) --dynamic-syms.
18097 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
18099         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
18100         <stdint.h>.
18102 2012-10-06  David S. Miller  <davem@davemloft.net>
18104         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
18105         upper 32-bits of the length value in %o2 since we use branch-on-register
18106         tests which consider the entire 64-bit register.
18108 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
18110         * string/test-strstr.c (check2): Add a test for page boundary.
18112 2012-10-05  David S. Miller  <davem@davemloft.net>
18114         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
18115         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
18116         file.
18117         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18118         sysdep_routines.
18119         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18120         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
18121         and bzero when HWCAP_SPARC_CRYPTO is present.
18123 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
18125         [BZ #14602]
18126         * string/test-strstr.c (check2): New function.
18127         (test_main): Call check2.
18129         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
18130         and bug-strchr1.
18131         * string/bug-strcasestr1.c (do_test): Moved to ...
18132         * string/test-strcasestr.c (check1): Here.  New function.
18133         (do_one_test): Break out result checking code into ...
18134         (check_result): This.  New function.
18135         (do_one_test): Call check_result.
18136         (test_main): Call check1.
18137         * string/bug-strchr1.c (do_test): Moved to ...
18138         * string/test-strchr.c (check1): Here.  New function.
18139         (do_one_test): Break out result checking code into ...
18140         (check_result): This.  New function.
18141         (do_one_test): Call check_result.
18142         (test_main): Call check1.
18143         * string/bug-strstr1.c (main): Moved to ...
18144         * string/test-strstr.c (check1): Here.  New function.
18145         (do_one_test): Break out result checking code into ...
18146         (check_result): This.  New function.
18147         (do_one_test): Call check_result.
18148         (test_main): Call check1.
18149         * string/bug-strcasestr1.c: Removed.
18150         * string/bug-strchr1.c: Likewise.
18151         * string/bug-strstr1.c: Likewise.
18153         * elf/Makefile (dl-routines): Add hwcaps.
18154         * elf/dl-support.c (_dl_important_hwcaps): Removed.
18155         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
18156         (_dl_important_hwcaps): Moved to ...
18157         * elf/dl-hwcaps.c: Here.  New file.
18158         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
18160         [BZ #14557]
18161         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
18162         if IS_IN_rtld isn't defined.
18164         * elf/dl-support.c (_dl_sysinfo_map): New.
18165         Include "get-dynamic-info.h" and "setup-vdso.h".
18166         (_dl_non_dynamic_init): Call setup_vdso.
18167         * elf/dynamic-link.h: Don't include <assert.h>.
18168         (elf_get_dynamic_info): Moved to ...
18169         * elf/get-dynamic-info.h: Here.  New file.
18170         * elf/dynamic-link.h: Include "get-dynamic-info.h".
18171         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
18172         * elf/setup-vdso.h: Here.  New file.
18173         * elf/rtld.c: Include "setup-vdso.h".
18174         (dl_main): Call setup_vdso.
18176 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
18178         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
18179         creal in comment listing functions tested.  List finite, isinf,
18180         isnan, isless, islessequal, isgreater, isgreaterequal,
18181         islessgreater, isunordered, lgamma_r and pow10 as functions and
18182         macros not tested.  Mention which functions not tested are aliases
18183         for other functions.  Fix typo.  Note that signs of NaNs are not
18184         tested.
18186         * scripts/config.guess: Update from config.git.
18187         * scripts/config.sub: Likewise.
18189 2012-10-04  Roland McGrath  <roland@hack.frob.com>
18191         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
18192         * misc/madvise.c (madvise): Renamed to __madvise.
18193         Make madvise a weak alias.
18194         * include/sys/mman.h: Declare __madvise.
18195         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
18196         * sysdeps/unix/syscalls.list
18197         (madvise): Make __madvise the strong name, and madvise a weak alias.
18198         * sysdeps/unix/sysv/linux/syscalls.list
18199         (madvise, mmap): Remove redundant entries.
18200         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
18201         * malloc/malloc.c (mtrim): Likewise.
18202         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
18204 2012-10-03  Roland McGrath  <roland@hack.frob.com>
18206         * sysdeps/mach/hurd/dl-cache.c: File removed.
18207         * config.h.in (USE_LDCONFIG): New #undef.
18208         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
18209         * configure: Regenerated.
18210         * elf/Makefile (dl-routines): Add dl-cache only under
18211         [$(use-ldconfig) = yes].
18212         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
18213         cache on [USE_LDCONFIG].
18214         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
18215         [USE_LDCONFIG].
18216         * elf/rtld.c (dl_main): Likewise.
18218 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
18220         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
18221         _SC_LEVEL4_CACHE_LINESIZE.
18223 2012-10-03  Roland McGrath  <roland@hack.frob.com>
18225         * sysdeps/unix/bsd/confstr.h: File removed.
18227 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
18229         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
18230         sys/sdt-config.h.
18232 2012-10-02  Roland McGrath  <roland@hack.frob.com>
18234         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
18235         Make 'mapoff' field ElfW(Off) rather than off_t.
18237 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
18239         * nscd/Makefile: Remove nscd-cflags and all its users.
18240         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
18241         (CFLAGS-nonlib): Add compiler flags for nscd modules.
18243         [BZ #10631]
18244         * malloc.c (malloc_printerr): Clarify error message.
18246 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
18248         [BZ #14648]
18249         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18250         Set bit_FMA_Usable if FMA is supported.
18251         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
18252         macro.
18253         (bit_FMA4_Usable): Updated.
18254         (index_FMA_Usable): New macro.
18255         (CPUID_FMA): Likewise
18256         (HAS_FMA): Defined with bit_FMA_Usable.
18258 2012-10-01  Roland McGrath  <roland@hack.frob.com>
18260         * bits/types.h (__swblk_t): Type removed.
18261         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
18262         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
18263         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18264         (__SWBLK_T_TYPE): Likewise.
18265         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18266         (__SWBLK_T_TYPE): Likewise.
18267         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18268         (__SWBLK_T_TYPE): Likewise.
18269         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18270         (__SWBLK_T_TYPE): Likewise.
18272 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
18273             Honza Horak <hhorak@redhat.com>
18275         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
18276         (xdr_mapname): Use YPMAXMAP as maxsize.
18277         (xdr_peername): Use YPMAXPEER as maxsize.
18278         (xdr_keydat): Use YPAXRECORD as maxsize.
18279         (xdr_valdat): Use YPMAXRECORD as maxsize.
18281 2012-10-01  Roland McGrath  <roland@hack.frob.com>
18283         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
18285         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
18286         * csu/init-first.c: ... here.
18287         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
18288         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
18289         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
18290         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
18291         * sysdeps/i386/init-first.c: File removed.
18292         * sysdeps/sh/init-first.c: File removed.
18294 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
18296         [BZ #14645]
18297         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
18298         if x * y might underflow to zero and z is zero.
18299         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18300         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18301         * math/libm-test.inc (min_subnorm_value): New variable.
18302         (fma_test): Add more tests.
18303         (fma_test_towardzero): Likewise.
18304         (fma_test_downward): Likewise
18305         (fma_test_upward): Likewise.
18306         (initialize): Set min_subnorm_value.
18308 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
18310         [BZ #14638]
18311         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
18312         0 + 0.
18313         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
18314         mode for addition resulting in exact zero.
18315         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
18316         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
18317         exact 0 + 0.
18318         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18319         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18320         * math/libm-test.inc (fma_test): Add more tests.
18321         (fma_test_towardzero): New function.
18322         (fma_test_downward): Likewise.
18323         (fma_test_upward): Likewise.
18324         (main): Call the new functions.
18326 2012-09-28  David S. Miller  <davem@davemloft.net>
18328         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
18330 2012-09-28  Roland McGrath  <roland@hack.frob.com>
18332         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
18333         instead of SIGALRM.
18335         * sysdeps/gnu/_G_config.h: Moved to ...
18336         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
18337         * sysdeps/mach/hurd/_G_config.h: Moved to ...
18338         * sysdeps/generic/_G_config.h: ... here.
18340         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
18342         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
18344         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
18345         Conditionalize target on [libnss_test1.so-version].
18347         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
18349         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
18350         (elfobjdir): Move out of conditionals.
18352         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
18353         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
18354         (__nss_lookup_function): Conditionalize label remove_from_tree on
18355         [!DO_STATIC_NSS || SHARED], matching its only use.
18357 2012-09-28  David S. Miller  <davem@davemloft.net>
18359         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
18360         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
18361         file.
18362         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18363         sysdep_routines.
18364         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18365         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
18366         when HWCAP_SPARC_CRYPTO is present.
18368 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
18370         * io/tst-mknodat.c: Create a FIFO instead of a socket.
18372 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
18374         [BZ #6530]
18375         * stdio-common/vfprintf.c (process_string_arg): Revert
18376         2000-07-22 change.
18378 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
18380         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
18381         for testcase.
18382         * stdio-common/tst-sprintf.c: Include <locale.h>
18383         (main): Test sprintf's handling of incomplete multibyte
18384         characters.
18386 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
18388         * elf/dl-runtime.c (VERSYMIDX): Removed.
18389         * elf/dl-version.c (VERSYMIDX): Likewise.
18390         * elf/do-rel.h (VERSYMIDX): Likewise.
18391         (VALIDX): Likewise.
18392         * elf/dynamic-link.h (VERSYMIDX): Likewise.
18393         * elf/rtld.c (VALIDX): Likewise.
18394         (ADDRIDX): Likewise.
18395         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
18396         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
18397         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
18398         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
18399         (VALIDX): Likewise.
18400         (ADDRIDX): Likewise.
18402 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
18404         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
18406 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
18408         [BZ #11438]
18409         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
18410         to global scope.
18411         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
18412         addresses are in the same scope as 192.0.2/24.
18413         * posix/gai.conf: Document new scope table defaults.
18415 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
18417         [BZ #5298]
18418         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
18419         for ftell.  Compute offsets from write pointers instead.
18420         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18422 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
18424         [BZ #14543]
18425         * libio/Makefile (tests): New test case tst-fseek.
18426         * libio/tst-fseek.c: New test case to verify that fseek/ftell
18427         combination works in wide mode.
18428         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
18429         state when the external buffer state changes.
18431 2012-09-27  David S. Miller  <davem@davemloft.net>
18433         [BZ #14376]
18434         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
18435         pass reloc->r_addend in as the 'high' argument to
18436         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
18438         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18440 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
18442         * rt/tst-aio2.c: Include <pthread.h>.
18443         * rt/tst-aio3.c: Likewise.
18445 2012-09-27  Steve Ellcey  <sellcey@mips.com>
18447         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
18449 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
18451         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
18452         contents on [SHARED].
18454 2012-09-26  Marek Polacek  <polacek@redhat.com>
18456         [BZ #14530]
18457         [BZ #13741]
18458         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
18459         for C++ and GCC <4.3 as well as for non GCC compilers.
18461 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
18463         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18465 2012-09-25  Roland McGrath  <roland@hack.frob.com>
18467         * Makefile.in (all, install): Declare with .PHONY.
18468         Reported by Michael Hope <michael.hope@linaro.org>.
18470 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18472         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
18473         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
18474         system header.
18475         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
18476         Likewise.
18477         (sydep_routines): Add the new and the internal functions.
18478         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
18479         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
18480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
18481         (GLIBC_2.17): Add the new function.
18482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
18483         (GLIBC_2.17): Likewise.
18484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
18485         (GLIBC_2.17): Likewise.
18486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
18487         (GLIBC_2.17): Likewise.
18488         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
18490 2012-09-25  Alan Modra  <amodra@gmail.com>
18492         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
18493         Add release barrier before setting once_control to say
18494         initialisation is done.  Add hints on lwarx.  Use macro in
18495         place of isync.
18496         (clear_once_control): Add release barrier.
18498 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
18500         [BZ #13629]
18501         * math/s_clog.c (__clog): Handle more values close to |z| = 1
18502         specially.
18503         * math/s_clog10.c (__clog10): Likewise.
18504         * math/s_clog10f.c (__clog10f): Likewise.
18505         * math/s_clog10l.c (__clog10l): Likewise.
18506         * math/s_clogf.c (__clogf): Likewise.
18507         * math/s_clogl.c (__clogl): Likewise.
18508         * math/Makefile (libm-calls): Add x2y2m1.
18509         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
18510         (__x2y2m1): Likewise.
18511         (__x2y2m1l): Likewise.
18512         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
18513         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
18514         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
18515         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
18516         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
18517         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
18518         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
18519         * sysdeps/i386/fpu/libm-test-ulps: Update.
18520         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18522         [BZ #14621]
18523         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
18524         int as type of variable DEPTH.
18525         (glob): Use size_t instead of int as type of variables NEWCOUNT
18526         and OLD_PATHC.
18528 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18530         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
18531         Add s_sincosf-sse2.
18532         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
18533         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
18534         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
18535         macros for using routine as __sincosf_ia32.
18536         Use macro for function declaration and weak_alias.
18537         * sysdeps/i386/fpu/libm-test-ulps: Update.
18539         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
18540         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18542         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
18543         subnormal argument.
18544         * math/s_cexpf.c (__cexpf): Likewise.
18545         * math/s_csinf.c (__csinf): Likewise.
18546         * math/s_csinhf.c (__csinhf): Likewise.
18547         * math/s_ctanf.c (__ctanf): Likewise.
18548         * math/s_ctanhf.c (__ctanhf): Likewise.
18549         * math/s_ccosh.c (__ccoshf): Likewise.
18550         * math/s_cexp.c (__cexpl): Likewise.
18551         * math/s_csin.c (__csin): Likewise.
18552         * math/s_csinh.c (__csinh): Likewise.
18553         * math/s_ctan.c (__ctan): Likewise.
18554         * math/s_ctanh.c (ctanh): Likewise.
18555         * math/s_ccoshl.c (__ccoshl): Likewise.
18556         * math/s_cexpl.c (__cexpl): Likewise.
18557         * math/s_csinl.c (__csinl): Likewise.
18558         * math/s_csinhl.c (__csinhl): Likewise.
18559         * math/s_ctanl.c (__ctanl): Likewise.
18560         * math/s_ctanhl.c (__ctanhl): Likewise.
18562 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
18564         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
18565         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
18566         (_IO_off_t): Define to __off_t, not _G_off_t.
18567         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
18568         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
18569         (_IO_wint_t): Define to wint_t, not _G_wint_t.
18570         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
18571         type of __dummy and __dummy2 fields.
18572         * sysdeps/generic/_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.
18579         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
18580         (_G_ssize_t): Likewise.
18581         (_G_off_t): Likewise.
18582         (_G_pid_t): Likewise.
18583         (_G_uid_t): Likewise.
18584         (_G_wchar_t): Likewise.
18585         (_G_wint_t): Likewise.
18586         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
18587         (_G_ssize_t): Likewise.
18588         (_G_off_t): Likewise.
18589         (_G_pid_t): Likewise.
18590         (_G_uid_t): Likewise.
18591         (_G_wchar_t): Likewise.
18592         (_G_wint_t): Likewise.
18594 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
18596         * malloc/arena.c: Include malloc-sysdep.h.
18597         (shrink_heap): Use check_may_shrink_heap to decide if madvise
18598         is sufficient to shrink the heap or an unmap is needed.
18599         * sysdeps/generic/malloc-sysdep.h: New file.  Define
18600         new function check_may_shrink_heap.
18601         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
18602         new function check_may_shrink_heap.
18604 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
18606         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
18607         comments.
18609 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
18611         * catgets/test-gencat.sh: Add "set -e".
18612         * elf/tst-pathopt.sh: Likewise.
18613         * grp/tst_fgetgrent.sh: Likewise.
18614         * iconvdata/run-iconv-test.sh: Likewise.
18615         * intl/tst-gettext.sh: Likewise.
18616         * intl/tst-gettext2.sh: Likewise.
18617         * intl/tst-gettext4.sh: Likewise.
18618         * intl/tst-gettext6.sh: Likewise.
18619         * intl/tst-translit.sh: Likewise.
18620         * io/ftwtest-sh: Likewise.
18621         * libio/test-freopen.sh: Likewise.
18622         * malloc/tst-mtrace.sh: Likewise.
18623         * posix/globtest.sh: Likewise.
18624         * posix/tst-getconf.sh: Likewise.
18625         * posix/wordexp-tst.sh: Likewise.
18626         * stdio-common/tst-printf.sh: Likewise.
18627         * stdio-common/tst-unbputc.sh: Likewise.
18628         * stdlib/tst-fmtmsg.sh: Likewise.
18629         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
18630         * catgets/Makefile: Do not specify -e option when running
18631         testsuite shell scripts.
18632         * elf/Makefile: Likewise.
18633         * grp/Makefile: Likewise.
18634         * iconvdata/Makefile: Likewise.
18635         * intl/Makefile: Likewise.
18636         * io/Makefile: Likewise.
18637         * libio/Makefile: Likewise.
18638         * malloc/Makefile: Likewise.
18639         * posix/Makefile: Likewise.
18640         * stdio-common/Makefile: Likewise.
18641         * stdlib/Makefile: Likewise.
18642         * sysdeps/x86_64/Makefile: Likewise.
18644         * io/ftwtest-sh: Add copyright header.
18645         * posix/globtest.sh: Likewise.
18646         * posix/tst-getconf.sh: Likewise.
18647         * posix/wordexp-tst.sh: Likewise.
18648         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
18650 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
18652         [BZ #13679]
18653         * Makeconfig (+link): Defined as $(+link-static) if
18654         $(build-shared) isn't yes.
18655         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
18656         isn't yes.
18657         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
18659         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
18661         [BZ #14562]
18662         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
18663         new chunk size with MALLOC_ALIGN_MASK.
18665 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
18667         [BZ #5044]
18668         * stdio-common/printf_fphex.c: Include <stdbool.h> and
18669         <rounding-mode.h>.
18670         (__printf_fphex): Determine rounding using get_rounding_mode and
18671         round_away.
18672         * stdio-common/tst-printf-round.c (struct hex_test): New
18673         structure.
18674         (hex_tests): New variable.
18675         (test_hex_in_one_mode): New function.
18676         (do_test): Also run tests for hex float output.
18678 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
18680         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
18681         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
18682         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
18683         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
18684         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
18685         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
18686         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
18687         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
18689 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
18691         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
18692         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
18693         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
18694         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
18696 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
18698         [BZ #14579]
18699         * elf/rtld.c (dl_main): Limit the check for self loading to normal
18700         mode only.
18701         * elf/tst-rtld-load-self.sh: New test.
18702         * elf/Makefile: Run it.
18704 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
18706         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
18707         (tst-writev-ENV): Remove.
18708         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
18710 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
18712         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
18714 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
18716         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
18717         unconditional.
18718         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
18719         Likewise.
18720         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
18721         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
18722         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
18723         Likewise.
18725 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
18727         [BZ #14587]
18728         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
18729         * config.make.in (have-cpp-asm-debuginfo): Removed.
18730         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
18731         * configure: Regenerated.
18733 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
18735         [BZ #5044]
18736         * stdio-common/printf_fp.c: Include <stdbool.h> and
18737         <rounding-mode.h>.
18738         (___printf_fp): Determine rounding using get_rounding_mode and
18739         round_away.
18740         * stdio-common/tst-printf-round.c: New file.
18741         * stdio-common/Makefile (tests): Add tst-printf-round.
18742         (link-libm): New variable.
18743         ($(objpfx)tst-printf-round): Depend in $(link-libm).
18745 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
18747         [BZ #14576]
18748         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
18749         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
18750         Likewise.
18751         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
18752         Likewise.
18754 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
18756         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
18757         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18758         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18759         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18761 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
18763         [BZ #14518]
18764         * include/rounding-mode.h: New file.
18765         * sysdeps/generic/get-rounding-mode.h: Likewise.
18766         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
18767         * stdlib/strtod_l.c: Include <rounding-mode.h>.
18768         (MAX_VALUE): New macro.
18769         (MIN_VALUE): Likewise.
18770         (overflow_value): New function.
18771         (underflow_value): Likewise.
18772         (round_and_return): Use overflow_value and underflow_value to
18773         determine return values in overflow and underflow cases.  Use
18774         round_away to determine rounding depending on rounding mode.
18775         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
18776         determine return values in overflow and underflow cases.
18777         * stdlib/tst-strtod-round.c: Include <fenv.h>.
18778         (struct test_results): New structure.
18779         (struct test): Use struct test_results to store expected results
18780         for all rounding modes.
18781         (TEST): Include expected results for all rounding modes.
18782         (test_in_one_mode): New function.
18783         (do_test): Use test_in_one_mode to compute and check results.
18784         Check results for all rounding modes.
18785         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
18786         $(link-libm).
18788 2012-12-09  Allan McRae  <allan@archlinux.org>
18790         * sysdeps/i386/fpu/libm-test-ulps: Update
18792 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
18794         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
18795         (_G_int32_t): Likewise.
18796         (_G_uint16_t): Likewise.
18797         (_G_uint32_t): Likewise.
18798         (_G_HAVE_BOOL): Likewise.
18799         (_G_HAVE_ATEXIT): Likewise.
18800         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18801         (_G_HAVE_IO_FILE_OPEN): Likewise.
18802         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
18803         (_G_int32_t): Likewise.
18804         (_G_uint16_t): Likewise.
18805         (_G_uint32_t): Likewise.
18806         (_G_HAVE_BOOL): Likewise.
18807         (_G_HAVE_ATEXIT): Likewise.
18808         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18809         (_G_HAVE_IO_FILE_OPEN): Likewise.
18810         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
18811         (_G_int32_t): Likewise.
18812         (_G_uint16_t): Likewise.
18813         (_G_uint32_t): Likewise.
18814         (_G_HAVE_BOOL): Likewise.
18815         (_G_HAVE_ATEXIT): Likewise.
18816         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18817         (_G_HAVE_IO_FILE_OPEN): Likewise.
18819 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
18821         * csu/libc-tls.c: Update copyright years.
18823 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
18825         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
18826         [!_G_USING_THUNKS]: Remove conditional code.
18827         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
18828         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
18830         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
18831         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
18832         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18833         (_G_VTABLE_LABEL_PREFIX): Likewise.
18834         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18835         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18836         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18837         (_G_VTABLE_LABEL_PREFIX): Likewise.
18838         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
18839         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18840         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18841         (_G_VTABLE_LABEL_PREFIX): Likewise.
18842         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
18844 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
18846         * libio/Makefile: Include ../Makeconfig before tests.
18847         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
18848         only if $(build-shared) is yes.
18850         * iconv/gconv_db.c: Update copyright years.
18852 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18854         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
18855         unwind info if defined PIC. Fix special cases description.
18856         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
18858         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
18859         DP_HI_MASK entry.
18860         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
18862 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
18864         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
18866         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
18867         is NULL.
18869         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
18870         (LDLIBS-tst-chk4): This.
18871         (LDFLAGS-tst-chk5): Renamed to ...
18872         (LDLIBS-tst-chk5): This.
18873         (LDFLAGS-tst-chk6): Renamed to ...
18874         (LDLIBS-tst-chk6): This.
18875         (LDFLAGS-tst-lfschk4): Renamed to ...
18876         (LDLIBS-tst-lfschk4): This.
18877         (LDFLAGS-tst-lfschk5): Renamed to ...
18878         (LDLIBS-tst-lfschk5): This.
18879         (LDFLAGS-tst-lfschk6): Renamed to ...
18880         (LDLIBS-tst-lfschk6): This.
18882         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
18883         on $(common-objpfx)soversions.mk.
18885 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
18887         [BZ #10014]
18888         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
18889         example host name.
18891 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
18893         * malloc/arena.c (arena_get_retry): New function that gets
18894         another arena for the caller to try its request on.
18895         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
18896         current arena cannot fulfill the request.
18897         (__libc_memalign): Likewise.
18898         (__libc_memalign): Likewise.
18899         (__libc_pvalloc): Likewise.
18900         (__libc_calloc): Likewise.
18902 2012-09-05  John Tobey  <john.tobey@gmail.com>
18904         [BZ #13542]
18905         * manual/arith.texi (Operations on Complex): Fix description
18906         of carg branch cut.
18908 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
18910         [BZ #10014]
18911         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
18912         host name.
18914         [BZ #10038]
18915         * manual/memory.texi (Memory): Make order of menu items match
18916         order of sections.
18918 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
18920         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
18921         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
18922         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
18924 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
18926         * csu/libc-tls.c (static_dtv): Renamed to ...
18927         (_dl_static_dtv): This.  Make it global.
18928         (_dl_initial_dtv): Removed.
18929         (__libc_setup_tls): Updated.
18930         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
18931         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
18932         DL_INITIAL_DTV.
18934 2012-09-06  Petr Machata  <pmachata@redhat.com>
18936         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
18937         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
18938         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
18939         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
18941 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
18943         [BZ #14545]
18944         * csu/libc-tls.c (_dl_initial_dtv): New variable.
18945         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
18946         freeing dtv[-1].
18948 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
18950         [BZ #14544]
18951         * Makeconfig (link-static-before-libc): Replace $(+prector)
18952         with $(+prectorT).
18953         (link-static-after-libc): Replace $(+postctor) with
18954         $(+postctorT).
18955         (link-bounded): Replace $(+prector)/$(+postctor) with
18956         $(+prectorT)/$(+postctorT).
18957         (+prectorT): New macro.
18958         (+postctorT): Likewise.
18960 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
18962         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
18963         (round_str): Handle values above the maximum for IBM long double
18964         as inexact.
18965         * stdlib/tst-strtod-round.c (tests): Regenerated.
18967 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18969         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
18970         assembler flag.
18971         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
18972         zarch_nohighgprs around the zarch optimized routines.
18973         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
18974         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
18975         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
18976         for zarch.
18978 2012-09-05  David S. Miller  <davem@davemloft.net>
18980         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18982         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
18983         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
18984         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
18985         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
18986         entries.
18988 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
18990         * malloc/arena.c: Fold copyright years.
18991         * malloc/mcheck.c, malloc/memusage.c: Likewise.
18993 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
18995         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
18997 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
18999         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
19001 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
19003         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
19004         change internal state upon failure.
19006 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
19008         * malloc/mcheck.c (mcheck_check_all): Fix typo.
19009         * malloc/memusage.c (mmap): Likewise.
19010         (mmap64, mremap): Likewise.  Adjust name in comment.
19012 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
19014         * libio/fileops.c: Fix typos in comments.
19015         * libio/oldfileops.c: Likewise.
19016         * libio/wfileops.c: Likewise.
19018 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
19020         [BZ #1349]
19021         * malloc/Makefile (tests): Add tst-malloc-usable test case.
19022         (tst-malloc-usable-ENV): Set environment for test case.
19023         * malloc/hooks.c (malloc_check_get_size): New function to get
19024         requested size.
19025         * malloc/malloc.c (musable): Use malloc_check_get_size.
19026         * malloc/tst-malloc-usable.c: New test case.
19028 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
19030         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
19032 2012-09-05  Allan McRae  <allan@archlinux.org>
19034         [BZ #13966]
19035         * configure.in (CXX_SYSINCLUDES): Use compiler output to
19036         determine header location.
19037         * configure: Regenerated.
19039 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
19041         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
19042         float format.
19043         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
19044         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
19045         format.
19046         (test): Regenerate.
19048 2012-09-04  David S. Miller  <davem@davemloft.net>
19050         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
19051         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
19052         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
19054 2012-09-04  Florian Weimer  <fweimer@redhat.com>
19056         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
19057         failures.
19059         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
19061 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
19063         [BZ #9914]
19064         * libio/iogetdelim.c: Include <limits.h>.
19065         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
19066         + len + 1 would overflow.
19068 2012-09-03  Andreas Jaeger  <aj@suse.de>
19070         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19071         * sysdeps/i386/fpu/libm-test-ulps: Update.
19073 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19075         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
19076         Add s_sinf-sse2, s_conf-sse2.
19078         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
19079         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
19080         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
19081         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
19083         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
19084         for using routine as __sinf_ia32.
19085         Use macro for function declaration and weak_alias.
19086         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
19087         for using routine as __cosf_ia32.
19088         Use macro for function declaration and weak_alias.
19090         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
19091         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
19093         * sysdeps/x86_64/fpu/s_sinf.S: New file.
19094         * sysdeps/x86_64/fpu/s_cosf.S: New file.
19095         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19097         * math/libm-test.inc (cos_test): Add more test cases.
19098         (sin_test): Likewise.
19099         (sincos_test): Likewise.
19101 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19103         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
19104         (IFUNC_RESOLVE): Make pointers to the specialized implementations
19105         hidden.
19106         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19108 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
19110         [BZ #14538]
19111         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
19112         first element of the GOT.
19113         (elf_machine_load_address): Return the difference between
19114         the runtime address of _DYNAMIC and elf_machine_dynamic ().
19116 2012-09-01  Allan McRae  <allan@archlinux.org>
19118         [BZ #13412]
19119         * configure.in (AWK): Require gawk version 3.0 or later.
19120         * configure: Regenerated.
19122 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
19124         * sysdeps/unix/sysv/linux/kernel-features.h
19125         (__ASSUME_POSIX_CPU_TIMERS): Remove.
19126         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19127         [__NR_clock_getres]: Make code unconditional.
19128         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
19129         (clock_getcpuclockid): Remove code left unreachable by removal of
19130         conditionals.
19131         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
19132         code unconditional.
19133         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19134         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19135         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
19136         Make code unconditional.
19137         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19138         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19139         * sysdeps/unix/sysv/linux/clock_settime.c
19140         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
19141         conditional code.
19142         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
19143         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19145 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
19147         [BZ #14476]
19148         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
19149         scripts/test-installation.pl.
19151         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
19152         and $ld_so_version if it is set.
19154 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
19156         [BZ #14516]
19157         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
19158         failure if reading from procfs failed.
19159         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
19161 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
19163         * sysdeps/unix/sysv/linux/kernel-features.h
19164         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
19165         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19166         Remove conditional code.
19167         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19168         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
19169         Remove conditional code.
19170         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19171         * sysdeps/unix/sysv/linux/i386/fxstat.c
19172         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19173         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19174         * sysdeps/unix/sysv/linux/i386/fxstatat.c
19175         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19176         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19177         * sysdeps/unix/sysv/linux/i386/lxstat.c
19178         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19179         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19180         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
19181         Remove conditional code.
19182         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19183         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19184         Remove conditional code.
19185         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19186         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
19187         <kernel-features.h>.
19188         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
19189         Remove.
19190         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
19191         Remove conditional code.
19192         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19193         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
19194         Remove conditional.
19196 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
19198         [BZ #5400]
19199         * NEWS: Add fixed bug number.
19201 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
19203         [BZ #14519]
19204         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
19205         underflowing exponent in case of negative sign.
19206         * stdlib/tst-strtod-round-data: Add more tests.
19207         * stdlib/tst-strtod-round.c (tests): Regenerated.
19209         [BZ #3479]
19210         * stdlib/strtod_l.c (NDIG): Remove.
19211         (HEXNDIG): Likewise.
19212         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
19213         smallest representable value.
19214         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
19215         lie within an exact representation of 1/2 ulp of the result.
19216         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
19217         unconditionally.
19218         (TENS_P9_IDX): Define unconditionally.
19219         (TENS_P9_SIZE): Likewise.
19220         (TENS_P10_IDX): Likewise.
19221         (TENS_P10_SIZE): Likewise.
19222         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
19223         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
19224         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
19225         entries for 10^2^13 and 10^2^14.
19226         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
19227         (TENS_P13_IDX): Define.
19228         (TENS_P13_SIZE): Likewise.
19229         (TENS_P14_IDX): Likewise.
19230         (TENS_P14_SIZE): Likewise.
19231         (_fpioconst_pow10): Change array size to
19232         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
19233         unconditional.
19234         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
19235         1024]: Add entries for 10^2^13 and 10^2^14.
19236         [LAST_POW10 > _LAST_POW10]: Remove #error.
19237         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
19238         (_fpioconst_pow10): Change array size to
19239         FPIOCONST_POW10_ARRAY_SIZE.
19240         * stdlib/gen-fpioconst.c: New file.
19241         * stdlib/gen-tst-strtod-round.c: Likewise.
19242         * stdlib/tst-strtod-round-data: Likewise.
19243         * stdlib/tst-strtod-round.c: Likewise.
19244         * stdlib/Makefile (tests): Add tst-strtod-round.
19246         [BZ #14459]
19247         * stdlib/strtod_l.c: Include <stdint.h>.
19248         (NDEBUG): Do not define.
19249         (round_and_return): Change EXPONENT parameter to type intmax_t.
19250         Rearrange calculations to avoid internal overflow possibilities.
19251         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
19252         Rearrange calculations to avoid internal overflow possibilities.
19253         Assert that number fits inside MPNSIZE limbs.
19254         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
19255         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
19256         calculations and add assertions to avoid internal overflow
19257         possibilities.  Add casts to avoid signed/unsigned operations.
19258         * stdlib/tst-strtod-overflow.c: New file.
19259         * stdlib/Makefile (tests): Add tst-strtod-overflow.
19261 2012-08-25  Marek Polacek  <polacek@redhat.com>
19263         * time/time.h: Fix some typos in comments.
19265 2012-08-23  Roland McGrath  <roland@hack.frob.com>
19267         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
19268         * posix/tst-rfc3484-2.c: Likewise.
19269         * posix/tst-rfc3484-3.c: Likewise.
19271 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
19273         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
19274         (EF_ARM_ABI_FLOAT_HARD): Likewise.
19276 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
19278         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
19279         #include of fxstatat64.c.
19281 2012-08-22  Roland McGrath  <roland@hack.frob.com>
19283         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
19284         * shadow/getspent_r.c: Likewise.
19285         * shadow/getspnam.c: Likewise.
19286         * shadow/getspnam_r.c: Likewise.
19287         * gshadow/getsgent.c: Likewise.
19288         * gshadow/getsgent_r.c: Likewise.
19289         * gshadow/getsgnam.c: Likewise.
19290         * gshadow/getsgnam_r.c: Likewise.
19291         * inet/getnetbyad.c: Likewise.
19292         * inet/getnetbyad_r.c: Likewise.
19293         * inet/getnetbynm.c: Likewise.
19294         * inet/getnetbynm_r.c: Likewise.
19295         * inet/getnetent.c: Likewise.
19296         * inet/getnetent_r.c: Likewise.
19297         * inet/getproto.c: Likewise.
19298         * inet/getproto_r.c: Likewise.
19299         * inet/getprtent.c: Likewise.
19300         * inet/getprtent_r.c: Likewise.
19301         * inet/getprtname.c: Likewise.
19302         * inet/getprtname_r.c: Likewise.
19303         * inet/getrpcbyname.c: Likewise.
19304         * inet/getrpcbyname_r.c: Likewise.
19305         * inet/getrpcbynumber.c: Likewise.
19306         * inet/getrpcbynumber_r.c: Likewise.
19307         * inet/getrpcent.c: Likewise.
19308         * inet/getrpcent_r.c: Likewise.
19309         * inet/getaliasent.c: Likewise.
19310         * inet/getaliasent_r.c: Likewise.
19311         * inet/getaliasname.c: Likewise.
19312         * inet/getaliasname_r.c: Likewise.
19313         * nscd/getgrgid_r.c: Likewise.
19314         * nscd/getgrnam_r.c: Likewise.
19315         * nscd/gethstbyad_r.c: Likewise.
19316         * nscd/gethstbynm3_r.c: Likewise.
19317         * nscd/getpwnam_r.c: Likewise.
19318         * nscd/getpwuid_r.c: Likewise.
19319         * nscd/getsrvbynm_r.c: Likewise.
19320         * nscd/getsrvbypt_r.c: Likewise.
19321         * nscd/gai.c: Likewise.
19323         * configure.in (build_nscd): New substituted variable, set
19324         by --disable-build-nscd and defaults to $use_nscd.
19325         * configure: Regenerated.
19326         * config.make.in (build-nscd): New substituted variable.
19327         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
19328         Change conditional to require [$(build-nscd) = yes] as well.
19329         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
19331         [BZ# 13696]
19332         * configure.in (use_nscd): New substituted variable, set by
19333         --disable-nscd.  If enabled, define USE_NSCD.
19334         * configure: Regenerated.
19335         * config.h.in: Add USE_NSCD.
19336         * config.make.in (use-nscd): New substituted variable.
19337         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
19338         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
19339         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
19340         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
19341         (CFLAGS-getgrnam_r.c): Likewise.
19342         (CFLAGS-initgroups.c): Likewise.
19343         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
19344         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
19345         Variables removed.
19346         * inet/getnetgrent_r.c
19347         (nscd_setnetgrent): New function, broken out of ...
19348         (setnetgrent): ... here.  Call it.
19349         (innetgr): Conditionalize nscd bits on [USE_NSCD].
19350         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
19351         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
19352         * nscd/Makefile (routines, aux): Move definitions after include of
19353         Makeconfig.  Conditionalize on [$(use-nscd) != no].
19354         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
19355         Conditionalize on [USE_NSCD].
19356         (is_nscd, nscd_init_cb): Likewise.
19357         (nss_load_library): Conditionalize init callback on [USE_NSCD].
19358         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
19359         * nss/nss_db/db-init.c: Likewise.
19360         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
19361         [USE_NSCD].
19362         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
19363         (make_request): Use it.
19364         (cache_valid_p): New function.
19365         (__check_pf): Use it.
19366         * NEWS: Add item for --disable-nscd.
19368 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
19370         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
19371         to support sed >= 4.2.1-20-ga9bf076.
19372         * configure: Regenerated.
19374 2012-08-22  Roland McGrath  <roland@hack.frob.com>
19376         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
19377         Conditionalize whole body on [IREL].
19379 2012-08-22  Jeff Law <law@redhat.com>
19381         [BZ #14505]
19382         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
19383         if the family is PF_UNSPEC.
19385 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
19387         * Makerules (lib-version): Rename from V.
19388         (install-lib-nosubdir): Change V to lib-version.
19390 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
19392         [BZ #14252]
19393         * powerpc32/power6/wcschr.c: New file.
19394         * powerpc32/power6/wcscpy.c: New file.
19395         * powerpc32/power6/wcsrchr.c: New file.
19396         * powerpc64/power6/wcschr.c: New file.
19397         * powerpc64/power6/wcscpy.c: New file.
19398         * powerpc64/power6/wcsrchr.c: New file.
19400 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
19402         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
19403         (two_way_short_needle): Use it.
19404         * string/strstr.c (AVAILABLE1_USES_J): Define.
19405         * string/strcasestr.c: Likewise.
19407         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
19408         array references.
19409         * string/strcasestr.c (TOLOWER): Make side-effect safe.
19411         [BZ #11607]
19412         * NEWS: Add an entry.
19413         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
19414         define their defaults.
19415         (two_way_short_needle): Detect end-of-string on-the-fly.
19416         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
19417         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
19418         * string/bug-strcasestr1.c: New test.
19419         * string/Makefile: Run it.
19421 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
19423         [BZ #11607]
19424         * string/str-two-way.h (two_way_short_needle): Optimize matching of
19425         the first character.
19427 2012-08-21  Roland McGrath  <roland@hack.frob.com>
19429         * csu/elf-init.c (__libc_csu_irel): Function removed.
19430         * csu/libc-start.c (apply_irel): New function.
19431         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
19433 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
19435         * sysdeps/unix/sysv/linux/kernel-features.h
19436         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
19437         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
19438         <kernel-features.h>.
19439         [__NR_fadvise64_64]: Make code unconditional.
19440         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
19441         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
19442         !__NR_fadvise64_64)]: Likewise.
19443         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
19444         !__NR_fadvise64_64))]: Likewise.
19445         [__NR_fadvise64]: Make code unconditional.
19446         [!__NR_fadvise64]: Remove conditional code.
19447         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
19448         <kernel-features.h>.
19449         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19450         unconditional.
19451         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19452         conditional code.
19453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
19454         not include <kernel-features.h>.
19455         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19456         unconditional.
19457         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19458         conditional code.
19459         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
19460         include <kernel-features.h>.
19461         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19462         unconditional.
19463         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19464         conditional code.
19466 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
19468         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
19469         slight instruction rearrangements per scrollpipe analysis.
19470         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
19472 2012-08-20  Roland McGrath  <roland@hack.frob.com>
19474         * manual/syslog.texi (syslog; vsyslog, closelog):
19475         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
19476         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
19478         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
19479         DSOCAPS to match condition on defining it.
19481 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
19483         * sysdeps/unix/sysv/linux/kernel-features.h
19484         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
19485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
19486         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19487         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19488         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
19489         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19490         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
19492         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19493         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19495         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
19496         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
19498         * sysdeps/unix/sysv/linux/kernel-features.h
19499         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
19500         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
19501         unconditional.
19502         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19503         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
19504         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
19505         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19506         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
19507         Make code unconditional.
19508         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19509         (__mmap64) [!__NR_mmap2]: Likewise.
19510         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
19511         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
19512         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19513         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
19514         [__NR_mmap2]: Make code unconditional.
19515         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19516         (__mmap64) [!__NR_mmap2]: Likewise.
19518 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19520         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
19522 2012-08-18  Andreas Jaeger  <aj@suse.de>
19524         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
19526 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
19528         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
19529         * include/unistd.h (__have_sock_cloexec): Likewise.
19530         (__have_pipe2): Likewise.
19531         (__have_dup3): Likewise.
19533 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
19535         [BZ #9685]
19536         * include/unistd.h (__have_pipe2): Change define into an extern int.
19537         (__have_dup3): Likewise.
19538         * socket/have_sock_cloexec.c: Include fcntl.h.
19539         (__have_pipe2): New variable.
19540         (__have_dup3): Likewise.
19542 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
19544         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
19546 2012-08-17  Marek Polacek  <polacek@redhat.com>
19548         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
19549         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
19551 2012-08-17  Roland McGrath  <roland@hack.frob.com>
19553         * configure.in: Add AC_SUBST for sysheaders.
19554         * configure: Regenerated.
19555         * config.make.in (sysheaders): New substituted variable.
19557         * sysdeps/unix/mkfifo.c: Moved ...
19558         * sysdeps/posix/mkfifo.c: ... here.
19559         * sysdeps/unix/mkfifoat.c: Moved ...
19560         * sysdeps/posix/mkfifoat.c: ... here.
19562         * sysdeps/unix/utime.c: Moved ...
19563         * sysdeps/posix/utime.c: ... here.
19565         * sysdeps/unix/time.c: Moved ...
19566         * sysdeps/posix/time.c: ... here.
19567         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
19568         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
19570         * sysdeps/unix/nice.c: Moved ...
19571         * sysdeps/posix/nice.c: ... here.
19573         * sysdeps/unix/alarm.c: Moved ...
19574         * sysdeps/posix/alarm.c: ... here.
19576         * intl/Makefile ($(codeset_mo)): Depend on the input file.
19578 2012-08-17  Jeff Law <law@redhat.com>
19580         * intl/Makefile (codeset_mo): New variable.
19581         ($(codeset_mo)): New target.
19582         (tst-codeset.out): Depend on that.  Remove explicit rule.
19583         (tst-gettext3.out, tst-gettext5.out): Likewise.
19584         (LOCPATH-ENV, tst-codeset-ENV): New variables.
19585         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
19586         * intl/tst-codeset.sh: Remove.
19587         * intl/tst-gettext3.sh: Likewise.
19588         * intl/tst-gettext5.sh: Likewise.
19590 2012-08-17  Roland McGrath  <roland@hack.frob.com>
19592         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
19593         * sysdeps/unix/syscalls.list: ... here.
19595         * sysdeps/posix/getaddrinfo.c
19596         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
19597         (gaiconf_init, gaiconf_reload): Use them.
19598         [!_STATBUF_ST_NSEC]
19599         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
19600         Define using time_t rather than struct timespec.
19602         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
19603         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
19604         Macros removed.
19605         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
19606         [!NO_THREADS].
19607         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
19608         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
19609         Likewise.
19611         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
19612         __libc_cleanup_push argument.
19614         * bits/param.h: New file.
19615         * misc/sys/param.h: New file.
19616         * include/sys/param.h: New file.
19617         * misc/Makefile (headers): Add bits/param.h.
19618         * sysdeps/generic/sys/param.h: File removed.
19619         * sysdeps/unix/sysv/linux/bits/param.h: New file.
19620         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
19621         * sysdeps/mach/hurd/bits/param.h: New file.
19622         * sysdeps/mach/hurd/sys/param.h: File removed.
19624         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
19625         last change.
19627         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
19628         [_IO_MTSAFE_IO].
19629         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
19630         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
19631         New macros.
19633         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
19634         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
19635         rather than -D_IO_MTSAFE_IO conditionally.
19636         * stdio-common/Makefile (CPPFLAGS): Likewise.
19637         * wcsmbs/Makefile (CPPFLAGS): Likewise.
19638         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
19639         Use $(libio-mtsafe).
19640         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
19641         of -D_IO_MTSAFE_IO.
19642         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
19643         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
19644         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
19645         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
19646         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
19647         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
19648         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
19649         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
19650         (CFLAGS-fread_u_chk.c): Likewise.
19651         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
19652         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
19653         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
19654         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
19655         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
19656         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
19657         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
19658         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
19659         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
19661         * libio/Makefile: Test [$(libc-reentrant) = yes]
19662         instead of [$(filter %REENTRANT, $(defines)) nonempty].
19664         * Makeconfig
19665         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
19666         * sysdeps/pthread/configure: File removed.
19667         * sysdeps/pthread/Makeconfig: New file.
19668         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
19669         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
19671 2012-08-16  Gary Benson  <gbenson@redhat.com>
19673         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
19674         unmapping the first object in a namespace.
19676 2012-08-16  Roland McGrath  <roland@hack.frob.com>
19678         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
19679         (__internal_setnetgrent): ... this.  Add internal_function to
19680         definition.  Add libc_hidden_def.
19681         (setnetgrent): Update caller.
19682         (internal_endnetgrent): Renamed to ...
19683         (__internal_endnetgrent): ... this.  Add internal_function to
19684         definition.  Add libc_hidden_def.
19685         (endnetgrent): Update caller.
19686         (internal_getnetgrent_r): Renamed to ...
19687         (__internal_getnetgrent_r): ... this.  Add internal_function to
19688         definition.  Add libc_hidden_def.
19689         (__getnetgrent_r): Update caller.
19690         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
19692 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
19694         * stdlib/longlong.h: Update from GCC.
19696 2012-08-16  Roland McGrath  <roland@hack.frob.com>
19698         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
19699         on _QL, which is set by umul_ppmm but never used.
19700         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
19701         variables, which are set by GMP macros but never used.
19702         * stdio-common/_itowa.c (_itowa): Likewise.
19703         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
19704         * stdlib/mod_1.c (mpn_mod_1): Likewise.
19706 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
19708         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
19709         struct La_sh_regs is not constant.
19710         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
19711         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
19712         and struct La_sparc64_regs are not constant.
19714 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
19716         * sysdeps/unix/sysv/linux/kernel-features.h
19717         (__ASSUME_POSIX_TIMERS): Remove.
19718         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19719         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19720         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
19721         Make code unconditional.
19722         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19723         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
19724         Make code unconditional.
19725         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19726         * sysdeps/unix/sysv/linux/clock_nanosleep.c
19727         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
19728         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19729         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
19730         Make code unconditional.
19731         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19732         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
19733         (__libc_missing_posix_timers): Remove.
19735 2012-08-15  Roland McGrath  <roland@hack.frob.com>
19737         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
19738         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
19740         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
19742         * elf/dl-sym.c: Include <stdlib.h>.
19744         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
19745         constants, which avoids warnings in 32-bit builds.
19747         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
19748         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
19750         * misc/lseek.c: File moved to ...
19751         * io/lseek.c: ... here.
19753         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
19755         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
19756         shifting LEN more than 31 bits at once.
19758 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19760         [BZ #14195]
19761         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
19762         segmentation fault for a case of two empty input strings.
19763         * string/test-strncasecmp.c (check1): Renamed to...
19764         (bz12205): ...this.
19765         (bz14195): Add new testcase for two empty input strings and N > 0.
19766         (test_main): Call new testcase, adapt for renamed function.
19768 2012-08-15  Andreas Jaeger  <aj@suse.de>
19770         [BZ #14090]
19771         * crypt/md5test2.c: New test, based on test supplied by Serge
19772         Belyshev <belyshev@depni.sinp.msu.ru>.
19773         * crypt/Makefile (xtests): Add md5test-giant..
19774         * crypt/Makefile ($(objpfx)md5test-giant): Add.
19776 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
19778         [BZ #14090]
19779         * crypt/md5.c (md5_process_block): Don't assume the buffer
19780         length is less than 2**32.
19781         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
19782         length is less than 2**64.
19784 2012-08-15  Roland McGrath  <roland@hack.frob.com>
19786         * string/str-two-way.h: Include <sys/param.h>.
19787         (MAX): Macro removed.
19789         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
19790         Move #define and #undef of memmove to just before and after
19791         including <string.h>.
19793         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
19794         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
19795         and after including <string.h>.  Move declarations of
19796         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
19797         to before #include "string/memmove.c".
19799         * include/dirent.h: Declare __getdirentries.
19801         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
19802         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
19804 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
19806         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
19807         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
19808         * sysdeps/i386/configure: Regenerated.
19809         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
19810         STABS_CURRENT_FILE, and STABS_FUN.
19811         (END): Remove call to STABS_FUN_END.
19812         (STABS_CURRENT_FILE1): Delete.
19813         (STABS_CURRENT_FILE): Likewise.
19814         (STABS_FUN): Likewise.
19815         (STABS_FUN_END): Likewise.
19816         (STABS_FUN2): Likewise.
19817         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
19818         * sysdeps/x86_64/configure: Regenerated.
19820 2012-08-14  Roland McGrath  <roland@hack.frob.com>
19822         * elf/dl-open.c: Include <atomic.h>.
19823         * elf/dl-lookup.c: Likewise.
19825 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
19827         * sysdeps/unix/sysv/linux/kernel-features.h
19828         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
19829         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
19830         unconditionally.
19831         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
19832         unconditionally.
19833         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
19834         condition on __ASSUME_CLONE_THREAD_FLAGS.
19836 2012-08-14  Andreas Jaeger  <aj@suse.de>
19838         * sysdeps/i386/fpu/libm-test-ulps: Update.
19840 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
19842         * include/atomic.h (atomic_exchange_and_add): Split into ...
19843         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
19844         New atomic macros.
19846 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
19848         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19850 2012-08-13  Jeff Law <law@redhat.com>
19852         * manual/stdio.texi (snprintf): Clarify handling of the trailing
19853         null byte in the output string.
19855 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
19857         * sysdeps/unix/sysv/linux/kernel-features.h
19858         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
19859         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
19860         (__ASSUME_ARG_MAX_STACK_BASED): Define.
19861         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
19862         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
19863         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
19864         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
19866 2012-08-09  Jeff Law <law@redhat.com>
19868         [BZ #13939]
19869         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
19870         When avoid_arena is set, don't retry in the that arena.  Pick the
19871         next one, whatever it might be.
19872         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
19873         (arena_lock): Pass in new parameter to arena_get2.
19874         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
19875         arena_get2.
19876         (__libc_malloc): Unify retrying after main arena failure with
19877         __libc_memalign version.
19878         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
19880 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
19882         [BZ #14166]
19883         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
19884         to __redirect_strstr.
19885         (__strstr_sse42): Use typeof __redirect_strstr.
19886         (__strstr_ia32): Likewise.
19887         (__libc_strstr): New prototype.
19888         (strstr): Renamed to ...
19889         (__libc_strstr): This.
19890         (strstr): New strong alias of __libc_strstr.
19891         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
19892         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
19893         __redirect_time.
19894         Include <time.h>.
19895         (__libc_time): New prototype.
19896         (time_ifunc): Replace time with __libc_time.
19897         (time): New strong alias and hidden definition of __libc_time.
19898         (__GI_time): Remove strong alias.
19899         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
19900         Include <stddef.h>.
19901         (memmove): Redefined to __redirect_memmove.
19902         (__memmove_sse2): Use typeof __redirect_memmove.
19903         (__memmove_ssse3): Likewise.
19904         (__memmove_ssse3_back): Likewise.
19905         (__libc_memmove): New prototype.
19906         (memmove): Renamed to ...
19907         (__libc_memmove): This.
19908         (memmove): New strong alias of __libc_memmove.
19910 2012-08-08  Mark Salter  <msalter@redhat.com>
19912         * elf/elf.h
19913         (R_MN10300_TLS_GD): Define.
19914         (R_MN10300_TLS_LD): Likewise.
19915         (R_MN10300_TLS_LDO): Likewise.
19916         (R_MN10300_TLS_GOTIE): Likewise.
19917         (R_MN10300_TLS_IE): Likewise.
19918         (R_MN10300_TLS_LE): Likewise.
19919         (R_MN10300_TLS_DTPMOD): Likewise.
19920         (R_MN10300_TLS_DTPOFF): Likewise.
19921         (R_MN10300_TLS_TPOFF): Likewise.
19922         (R_MN10300_SYM_DIFF): Likewise.
19923         (R_MN10300_ALIGN): Likewise.
19924         (R_MN10300_NUM): Update.
19926 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
19928         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
19929         Remove.
19931 2012-08-08  Roland McGrath  <roland@hack.frob.com>
19933         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
19935         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
19936         sysdeps/unix -> sysdeps/posix move.
19937         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
19939 2012-08-07      Allan McRae     <allan@archlinux.org>
19941         [BZ #14303]
19942         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
19943         (SUNOS_CPP): Likewise.
19944         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
19945         not found.
19946         (open_input): Call CPP using execvp.
19948 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
19950         * sysdeps/unix/sysv/linux/kernel-features.h
19951         (__ASSUME_PROT_GROWSUPDOWN): Remove.
19952         (__ASSUME_NO_CLONE_DETACHED): Likewise.
19953         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
19954         (__ASSUME_WAITID_SYSCALL): Likewise.
19955         * sysdeps/unix/sysv/linux/dl-execstack.c
19956         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
19957         code unconditional.
19958         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
19959         conditional code.
19960         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
19961         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
19962         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
19963         code.
19964         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
19965         unconditional.
19966         [__ASSUME_WAITID_SYSCALL]: Likewise.
19967         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
19969 2012-08-07  Roland McGrath  <roland@hack.frob.com>
19971         * sysdeps/unix/closedir.c: Renamed to ...
19972         * sysdeps/posix/closedir.c: ... here.
19973         * sysdeps/unix/dirfd.c: Renamed to ...
19974         * sysdeps/posix/dirfd.c: ... here.
19975         * sysdeps/unix/dirstream.h: Renamed to ...
19976         * sysdeps/posix/dirstream.h: ... here.
19977         * sysdeps/unix/fdopendir.c: Renamed to ...
19978         * sysdeps/posix/fdopendir.c: ... here.
19979         * sysdeps/unix/opendir.c: Renamed to ...
19980         * sysdeps/posix/opendir.c: ... here.
19981         * sysdeps/unix/readdir.c: Renamed to ...
19982         * sysdeps/posix/readdir.c: ... here.
19983         * sysdeps/unix/readdir_r.c: Renamed to ...
19984         * sysdeps/posix/readdir_r.c: ... here.
19985         * sysdeps/unix/rewinddir.c: Renamed to ...
19986         * sysdeps/posix/rewinddir.c: ... here.
19987         * sysdeps/unix/seekdir.c: Renamed to ...
19988         * sysdeps/posix/seekdir.c: ... here.
19989         * sysdeps/unix/telldir.c: Renamed to ...
19990         * sysdeps/posix/telldir.c: ... here.
19991         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
19992         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
19993         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
19994         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
19996         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
19997         * bits/fcntl.h: ... here.
19999         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
20000         not 0.
20001         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
20002         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
20003         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
20004         (struct flock): Move l_start, l_len to the beginning.
20005         Use __pid_t for l_pid.
20006         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
20007         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
20008         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
20009         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
20010         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
20011         [__USE_LARGEFILE64] (struct flock64): New type.
20012         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
20014         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
20015         * bits/dirent.h: ... here.
20017         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
20018         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
20020 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
20022         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20023         Change from 2.6.0 to 2.6.16.
20024         * sysdeps/unix/sysv/linux/configure: Regenerated.
20025         * sysdeps/unix/sysv/linux/kernel-features.h
20026         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
20027         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
20028         version.
20029         (__ASSUME_UTIMES): Likewise.
20030         (__ASSUME_CLONE_STOPPED): Remove.
20031         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
20032         architectures, not kernel version.
20033         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
20034         (__ASSUME_NO_CLONE_DETACHED): Likewise.
20035         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20036         (__ASSUME_WAITID_SYSCALL): Likewise.
20037         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
20038         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
20039         * README: State 2.6.16 as minimum Linux kernel version.  Do not
20040         refer to older versions.
20042 2012-08-06  Roland McGrath  <roland@hack.frob.com>
20044         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
20045         Define alphasort64 as an alias.
20046         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
20047         Define versionsort64 as an alias.
20048         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
20049         Define scandir64 as an alias.
20050         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
20051         Define scandirat64 as an alias.
20052         * dirent/alphasort64.c (alphasort64):
20053         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
20054         * dirent/versionsort64.c: Likewise.
20055         * dirent/scandir64.c: Likewise.
20056         * dirent/scandirat64.c: Likewise.
20057         * sysdeps/wordsize-64/alphasort.c: File removed.
20058         * sysdeps/wordsize-64/alphasort64.c: File removed.
20059         * sysdeps/wordsize-64/scandir.c: File removed.
20060         * sysdeps/wordsize-64/scandir64.c: File removed.
20061         * sysdeps/wordsize-64/scandirat.c: File removed.
20062         * sysdeps/wordsize-64/scandirat64.c: File removed.
20063         * sysdeps/wordsize-64/versionsort.c: File removed.
20064         * sysdeps/wordsize-64/versionsort64.c: File removed.
20065         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
20066         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
20067         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
20068         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
20069         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
20070         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
20071         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
20072         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
20074         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
20075         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20076         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
20077         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20078         [defined __arch64__ || defined __sparcv9]
20079         (__INO_T_MATCHES_INO64_T): New macro.
20080         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20081         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
20082         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
20083         * sysdeps/unix/sysv/linux/bits/dirent.h
20084         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
20085         (_DIRENT_MATCHES_DIRENT64): New macro.
20087         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
20088         Define lockf64 as an alias.
20089         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
20090         Define fseeko64 as an alias.
20091         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
20092         Define ftello64 as an alias.
20093         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
20094         Define _IO_fgetpos64 and fgetpos64 as aliases.
20095         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
20096         Define _IO_fsetpos64 and fsetpos64 as aliases.
20097         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
20098         Conditionalize body on this.
20099         * libio/fseeko64.c: Likewise.
20100         * libio/ftello64.c: Likewise.
20101         * libio/iofgetpos64.c: Likewise.
20102         * libio/iofsetpos64.c: Likewise.
20103         * sysdeps/wordsize-64/lockf.c: File removed.
20104         * sysdeps/wordsize-64/lockf64.c: File removed.
20105         * sysdeps/wordsize-64/fseeko.c: File removed.
20106         * sysdeps/wordsize-64/fseeko64.c: File removed.
20107         * sysdeps/wordsize-64/ftello.c: File removed.
20108         * sysdeps/wordsize-64/ftello64.c: File removed.
20109         * sysdeps/wordsize-64/iofgetpos.c: File removed.
20110         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
20111         * sysdeps/wordsize-64/iofsetpos.c: File removed.
20112         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
20113         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
20114         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
20115         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
20116         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
20117         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
20118         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
20119         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
20120         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
20121         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
20122         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
20124         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20125         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20126         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
20127         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20128         [defined __arch64__ || defined __sparcv9]
20129         (__OFF_T_MATCHES_OFF64_T): New macro.
20130         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20131         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20132         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20133         (__OFF_T_MATCHES_OFF64_T): New macro.
20135 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
20137         * stdlib/secure-getenv.c (__secure_getenv): Replace
20138         GLIBC_2_16 with GLIBC_2_17.
20140 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
20142         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
20143         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
20145 2012-08-03  David S. Miller  <davem@davemloft.net>
20147         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20149 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
20151         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
20152         Remove.
20153         (__ASSUME_CORRECT_SI_PID): Likewise.
20154         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
20155         (__ASSUME_TMPFS_NAME): Likewise.
20156         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
20157         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
20158         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
20159         (HAVE_AUX_SECURE): Make definition unconditional.
20160         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
20161         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
20163 2012-08-03  Roland McGrath  <roland@hack.frob.com>
20165         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
20166         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
20167         * sysdeps/mach/hurd/eloop-threshold.h: New file.
20168         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
20169         __eloop_threshold instead of SYMLOOP_MAX.
20171         * sysdeps/generic/eloop-threshold.h: New file.
20172         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
20173         of MAXSYMLINKS.
20174         * elf/chroot_canon.c (chroot_canon): Likewise.
20176 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
20178         [BZ #13717]
20179         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20180         Change to 2.6.0 everywhere.
20181         * sysdeps/unix/sysv/linux/configure: Regenerated.
20182         * sysdeps/unix/sysv/linux/kernel-features.h
20183         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
20184         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
20185         kernel versions.
20186         (__ASSUME_POSIX_TIMERS): Define unconditionally.
20187         (__ASSUME_FUTEX_REQUEUE): Remove.
20188         (__ASSUME_STATFS64): Define unconditionally.
20189         (__ASSUME_AT_SECURE): Likewise.
20190         (__ASSUME_CORRECT_SI_PID): Likewise.
20191         (__ASSUME_TGKILL): Define without depending on kernel version for
20192         i386.
20193         (__ASSUME_UTIMES): Likewise.
20194         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
20195         kernel version.
20196         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
20197         (__ASSUME_TMPFS_NAME): Likewise.
20198         * README: Update reference to Linux kernel versions.
20200 2012-08-02  Marek Polacek  <polacek@redhat.com>
20202         [BZ# 14150]
20203         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
20204         libc_cv_asm_type_prefix with %.
20205         * configure: Regenerated.
20206         * include/libc-symbols.h: Remove comment about
20207         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
20208         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
20209         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
20210         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
20211         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
20212         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
20213         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
20214         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
20215         * elf/tst-unique2mod1.c: Likewise.
20216         * elf/tst-unique1mod2.c: Likewise.
20217         * elf/tst-unique1mod1.c: Likewise.
20218         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
20219         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
20220         Replace ASM_TYPE_DIRECTIVE with .type.
20221         * sysdeps/s390/s390-64/sysdep.h: Likewise.
20222         * sysdeps/i386/sysdep.h: Likewise.
20223         * sysdeps/x86_64/sysdep.h: Likewise.
20224         * sysdeps/sh/sysdep.h: Likewise.
20225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
20226         Do not define ASM_TYPE_DIRECTIVE.
20227         * sysdeps/powerpc/sysdep.h: Likewise.
20228         * sysdeps/powerpc/powerpc32/sysdep.h:
20229         Replace ASM_TYPE_DIRECTIVE with .type.
20230         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
20231         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20232         * sysdeps/i386/fpu/e_powf.S: Likewise.
20233         * sysdeps/i386/fpu/e_expl.S: Likewise.
20234         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20235         * sysdeps/i386/fpu/e_acosh.S: Likewise.
20236         * sysdeps/i386/fpu/e_pow.S: Likewise.
20237         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
20238         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20239         * sysdeps/i386/fpu/s_expm1.S: Likewise.
20240         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
20241         * sysdeps/i386/fpu/e_log2.S: Likewise.
20242         * sysdeps/i386/fpu/e_log2l.S: Likewise.
20243         * sysdeps/i386/fpu/e_scalb.S: Likewise.
20244         * sysdeps/i386/fpu/e_powl.S: Likewise.
20245         * sysdeps/i386/fpu/e_log10f.S: Likewise.
20246         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
20247         * sysdeps/i386/fpu/e_logl.S: Likewise.
20248         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
20249         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
20250         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
20251         * sysdeps/i386/fpu/e_log2f.S: Likewise.
20252         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20253         * sysdeps/i386/fpu/e_log.S: Likewise.
20254         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20255         * sysdeps/i386/fpu/e_logf.S: Likewise.
20256         * sysdeps/i386/fpu/e_log10l.S: Likewise.
20257         * sysdeps/i386/fpu/e_atanh.S: Likewise.
20258         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
20259         * sysdeps/i386/fpu/e_log10.S: Likewise.
20260         * sysdeps/i386/fpu/s_frexp.S: Likewise.
20261         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20262         * sysdeps/i386/fpu/s_asinh.S: Likewise.
20263         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
20264         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20265         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
20266         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
20267         * sysdeps/i386/i686/strtok.S: Likewise.
20268         * sysdeps/i386/i386-mcount.S: Likewise.
20269         * sysdeps/i386/strtok.S: Likewise.
20270         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
20271         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20272         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20273         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20274         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
20275         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20276         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
20277         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
20278         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20279         * sysdeps/x86_64/_mcount.S: Likewise.
20280         * sysdeps/x86_64/strtok.S: Likewise.
20281         * sysdeps/sh/_mcount.S: Likewise.
20283 2012-08-01  Roland McGrath  <roland@hack.frob.com>
20285         * libio/iofopen.c: Include <fcntl.h>.
20286         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
20287         (_IO_fopen64, fopen64): Define as aliases.
20288         * libio/iofopen64.c: Include <fcntl.h>.
20289         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
20290         Conditionalize body on this.
20291         * sysdeps/wordsize-64/iofopen.c: File removed.
20292         * sysdeps/wordsize-64/iofopen64.c: File removed.
20294 2012-08-01  Marek Polacek  <polacek@redhat.com>
20296         * libc/Makeconfig: Use elf in place of binfmt-subdir.
20297         Use dlfcn directly instead of a variable.
20298         (binfmt-subdir): Do not define.
20299         (dlfcn): Likewise.
20301 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
20303         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
20304         Remove all definitions.
20305         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
20306         <kernel-features.h>.
20307         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20308         (miss_F_GETOWN_EX): Remove all definitions.
20309         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
20310         macro definition.
20311         [!__ASSUME_FCNTL64]: Remove conditional code.
20312         [__ASSUME_FCNTL64]: Make code unconditional.
20313         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
20314         <kernel-features.h>.
20315         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20316         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
20317         (lockf64) [__NR_fcntl64]: Make code unconditional.
20318         (lockf64) [__ASSUME_FCNTL64]: Likewise.
20320         * sysdeps/unix/sysv/linux/kernel-features.h
20321         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
20322         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
20323         Make code unconditional.
20324         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20325         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
20327         [__NR_vfork]: Make code unconditional.
20328         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20329         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
20331         [__NR_vfork]: Make code unconditional.
20332         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20333         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20335 2012-08-01  Roland McGrath  <roland@hack.frob.com>
20337         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
20338         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
20340         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20341         Define mkstemp64 as an alias.
20342         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20343         Define mkstemps64 as an alias.
20344         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20345         Define mkostemp64 as an alias.
20346         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20347         Define mkostemps64 as an alias.
20348         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
20349         Conditionalize body on this.
20350         * misc/mkostemp64.c: Likewise.
20351         * misc/mkostemps64.c: Likewise.
20352         * misc/mkstemps64.c: Likewise.
20353         * sysdeps/wordsize-64/mkstemp64.c: File removed.
20354         * sysdeps/wordsize-64/mkostemp64.c: File removed.
20355         * sysdeps/wordsize-64/mkostemp.c: File removed.
20356         * sysdeps/wordsize-64/mkstemp.c: File removed.
20357         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
20358         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
20359         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
20360         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
20362         [BZ #14138]
20363         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
20364         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
20365         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
20366         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
20368         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
20369         compat_symbol macros from <shlib-compat.h> rather than the underlying
20370         default_symbol_version and symbol_version macros, so that DEFAULT
20371         lines in shlib-versions are respected.
20372         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
20374 2012-08-01  Florian Weimer  <fweimer@redhat.com>
20376         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
20377         Declare with warn_unused_result.
20378         (setgid, setregid, setegid, setresgid): Likewise.
20379         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
20380         Likewise.
20381         * WUR-REPORT: Remove set*id functions.
20383 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
20385         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
20387 2012-07-31  Roland McGrath  <roland@hack.frob.com>
20389         [BZ #10191]
20390         * include/sys/socket.h (__libc_accept, __libc_accept4):
20391         Add attribute_hidden.
20392         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
20394         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
20395         use of PTR_MANGLE.
20396         * inet/getnetgrent_r.c (setup): Likewise.
20398         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
20400 2012-07-31  David S. Miller  <davem@davemloft.net>
20402         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20404 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
20406         [BZ #13629]
20407         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
20408         value between 1.0 and 2.0 and smaller part has absolute value less
20409         than 1.0.
20410         * math/s_clog10.c (__clog10): Likewise.
20411         * math/s_clog10f.c (__clog10f): Likewise.
20412         * math/s_clog10l.c (__clog10l): Likewise.
20413         * math/s_clogf.c (__clogf): Likewise.
20414         * math/s_clogl.c (__clogl): Likewise.
20415         * math/libm-test.inc (clog_test): Add more tests.
20416         (clog10_test): Likewise.
20417         * sysdeps/i386/fpu/libm-test-ulps: Update.
20418         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20420 2012-07-31  Florian Weimer  <fweimer@redhat.com>
20422         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
20423         Exit with zero in case no suitable GID is found, and write a
20424         message to standard error.
20426 2012-07-30  Roland McGrath  <roland@hack.frob.com>
20428         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
20429         rather than to 1.
20430         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
20431         (MAXPATHLEN): Removed.
20432         (NOGROUP, NODEV): New macros.
20433         (setbit, clrbit, isset, isclr): New macros.
20434         (howmany, roundup, powerof2): New macros.
20435         (DEV_BSIZE): New macro.
20437         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
20438         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
20440         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
20441         definition on [!__NO_LONG_DOUBLE_MATH].
20443         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
20444         PTR_MANGLE and PTR_DEMANGLE.
20446         * socket/accept4.c (accept4): Rename to __libc_accept4.
20447         Define accept4 as a weak alias.
20449         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
20450         on [_DIRENT_HAVE_D_TYPE].
20451         * io/ftw.c (ftw_dir): Likewise.
20453         * io/xmknod.c (__xmknod): Don't check PATH for being null.
20455         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
20457         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
20458         Use the BSD numbers rather than the arbitrary ones we had.
20459         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
20460         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
20461         (SIGXCPU, SIGXFSZ): New macros.
20462         (_NSIG): Now 32.
20464         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
20465         initializer on [_LIBC_REENTRANT].
20467         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
20468         definitions inside [_POSIX_MAPPED_FILES].
20470         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
20472         * dirent/opendir.c: Include <fcntl.h>.
20474         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
20475         (__libc_getspecific): Likewise.
20476         (__libc_key_create): Likewise.
20478         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
20479         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
20480         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
20481         (tmpfile64): Define as alias.
20482         * sysdeps/wordsize-64/tmpfile.c: File removed.
20483         * sysdeps/wordsize-64/tmpfile64.c: File removed.
20484         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
20485         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
20487         * stdio-common/vfscanf.c: Include <stdbool.h>.
20488         * nss/makedb.c: Likewise.
20489         * stdio-common/_i18n_number.h: Likewise.
20490         * argp/argp-help.c: Likewise.
20491         * posix/wordexp.c: Likewise.
20492         * sysdeps/posix/spawni.c: Likewise.
20493         * nss/nss_files/files-initgroups.c: Likewise.
20494         * stdio-common/reg-modifier.c: Include <stdlib.h>.
20495         * nss/nss_files/files-initgroups.c: Likewise.
20496         * nss/nss_db/db-netgrp.c: Likewise.
20497         * nss/nss_db/db-initgroups.c: Likewise.
20498         * io/fchmodat.c: Include <sys/stat.h>.
20500         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
20501         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
20503         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
20504         [HAVE_MMAP].
20506         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
20507         Add multiple inclusion protection.
20509 2012-07-27  David S. Miller  <davem@davemloft.net>
20511         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20513 2012-07-27  Gary Benson  <gbenson@redhat.com>
20515         [BZ #14298]
20516         * elf/rtld.c: Include <stap-probe.h>.
20517         (dl_main): Added static probes "init_start" and "init_complete".
20518         * elf/dl-load.c: Include <stap-probe.h>.
20519         (lose): Take new parameter "nsid".
20520         Added static probe "map_failed".
20521         (_dl_map_object_from_fd): Pass namespace id to lose.
20522         Added static probe "map_start".
20523         (open_verify): Pass namespace id to lose.
20524         * elf/dl-open.c: Include <stap-probe.h>.
20525         (dl_open_worker) Added static probes "map_complete", "reloc_start"
20526         and "reloc_complete".
20527         * elf/dl-close.c: Include <stap-probe.h>.
20528         (_dl_close_worker): Added static probes "unmap_start" and
20529         "unmap_complete".
20530         * elf/rtld-debugger-interface.txt: New file documenting the above.
20532 2012-07-26  Roland McGrath  <roland@hack.frob.com>
20534         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
20535         rather than a string variable.
20536         * sunrpc/rpc_main.c (h_output): Likewise.
20537         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
20539 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
20541         * inet/check_native.c: New file.
20543 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
20545         [BZ #13629]
20546         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
20547         if larger part has absolute value 1.0.
20548         * math/s_clog10.c (__clog10): Likewise.
20549         * math/s_clog10f.c (__clog10f): Likewise.
20550         * math/s_clog10l.c (__clog10l): Likewise.
20551         * math/s_clogf.c (__clogf): Likewise.
20552         * math/s_clogl.c (__clogl): Likewise.
20553         * math/libm-test.inc (clog_test): Add more tests.
20554         (clog10_test): Likewise.
20555         * sysdeps/i386/fpu/libm-test-ulps: Update.
20556         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20558         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
20559         (pltexit): Likewise.
20560         (La_regs): Likewise.
20561         (La_retval): Likewise.
20562         (int_retval): Likewise.
20563         Update #error for removed macros to refer only to definitions in
20564         tst-audit.h.
20565         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
20566         macro.
20567         (pltexit): Likewise.
20568         (La_regs): Likewise.
20569         (La_retval): Likewise.
20570         (int_retval): Likewise.
20571         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
20572         macro.
20573         (pltexit): Likewise.
20574         (La_regs): Likewise.
20575         (La_retval): Likewise.
20576         (int_retval): Likewise.
20577         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
20578         macro.
20579         (pltexit): Likewise.
20580         (La_regs): Likewise.
20581         (La_retval): Likewise.
20582         (int_retval): Likewise.
20583         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
20584         macro.
20585         (pltexit): Likewise.
20586         (La_regs): Likewise.
20587         (La_retval): Likewise.
20588         (int_retval): Likewise.
20589         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
20590         macro.
20591         (pltexit): Likewise.
20592         (La_regs): Likewise.
20593         (La_retval): Likewise.
20594         (int_retval): Likewise.
20595         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
20596         macro.
20597         (pltexit): Likewise.
20598         (La_regs): Likewise.
20599         (La_retval): Likewise.
20600         (int_retval): Likewise.
20601         * sysdeps/generic/tst-audit.h: Update comment to refer only to
20602         macro definitions in tst-audit.h.
20603         * sysdeps/i386/tst-audit.h: New file.
20604         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
20605         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
20606         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
20607         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
20608         * sysdeps/sh/tst-audit.h: Likewise.
20609         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
20610         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
20611         * sysdeps/x86_64/tst-audit.h: Likewise.
20613 2012-07-26  Andreas Jaeger  <aj@suse.de>
20615         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
20616         ptrace.
20618         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
20619         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
20620         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
20621         PTRACE_O_MASK.
20622         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
20623         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
20624         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
20626         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
20627         value.
20629         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
20630         _sigsys.
20631         (si_call_addr, si_syscall, si_arch): Define new macro.
20632         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
20633         _sigsys.
20634         (si_call_addr, si_syscall, si_arch): Define new marcro.
20635         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
20636         _sigsys.
20637         (si_call_addr, si_syscall, si_arch): Define new macro.
20638         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
20639         _sigsys.
20640         (si_call_addr, si_syscall, si_arch): Define new macro.
20642 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
20644         [BZ #13717]
20645         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20646         Change to 2.4.21 where previously 2.4.1.
20647         * sysdeps/unix/sysv/linux/configure: Regenerated.
20648         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
20649         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
20650         Linux kernel version.
20651         (__ASSUME_STD_AUXV): Remove.
20652         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
20653         kernel version.
20654         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
20655         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
20656         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
20657         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
20658         (__ASSUME_NETLINK_SUPPORT): Likewise.
20659         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
20660         (__no_netlink_support): Remove conditional definition.
20661         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
20662         Remove.
20663         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
20664         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
20665         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
20666         (if_nameindex_ioctl): Remove.
20667         (if_nameindex_netlink): Do not handle __no_netlink_support.
20668         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
20669         code.
20670         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
20671         Remove conditional code.
20672         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
20673         code.
20674         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
20675         unconditional.
20676         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
20677         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
20678         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
20679         Remove.
20680         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
20681         [!__ASSUME_STD_AUXV]: Remove conditional code.
20682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
20683         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
20684         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
20685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
20686         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
20687         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
20688         code.
20689         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
20690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20691         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
20692         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
20693         conditional code.
20694         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
20695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
20696         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
20697         code.
20698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20699         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
20700         conditional code.
20701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
20702         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20703         code unconditional.
20704         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20705         conditional code.
20706         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20707         unconditional.
20708         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20709         conditional code.
20710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20711         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20712         unconditional.
20713         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20714         conditional code.
20715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
20716         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20717         code unconditional.
20718         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20719         conditional code.
20720         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20721         unconditional.
20722         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20723         conditional code.
20724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
20725         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20726         code unconditional.
20727         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20728         conditional code.
20729         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20730         unconditional.
20731         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20732         conditional code.
20734 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
20736         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
20737         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
20738         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
20739         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
20740         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
20741         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
20742         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
20743         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
20744         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
20745         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
20746         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
20747         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
20748         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
20749         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
20750         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
20751         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
20752         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
20753         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
20754         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
20755         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
20756         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
20757         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
20758         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
20760 2012-07-25  Florian Weimer  <fweimer@redhat.com>
20762         * Versions.def: Add GLIBC_2.17.
20763         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
20764         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
20765         Introduce __libc_secure_getenv.
20766         * stdlib/Versions (2.17): Add secure_getenv
20767         (GLIBC_PRIVATE): Add __libc_secure_getenv.
20768         * stdlib/secure-getenv.c: Rename __secure_getenv to
20769         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
20770         symbol __secure_getenv for GLIBC_2.0.
20771         * stdlib/tst-secure-getenv.c: New.
20772         * stdlib/Makefile (tests): Add testcase.
20773         * manual/startup.texi (Environment Access): Document
20774         secure_getenv.
20775         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
20776         __libc_secure_getenv.
20777         * inet/ruserpass.c (ruserpass): Likewise.
20778         * malloc/mtrace.c (mtrace): Likewise.
20779         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
20780         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
20781         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
20782         * sysdeps/posix/tempname.c: Likewise.  Evaluate
20783         HAVE_SECURE_GETENV.
20784         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
20785         __secure_getenv to __libc_secure_getenv.
20786         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
20787         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20788         Likewise.
20789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20790         Likewise.
20791         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
20792         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
20793         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
20794         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
20795         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
20796         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
20797         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
20799 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
20801         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
20802         (struct La_i86_retval): Likewise.
20803         (struct La_x86_64_regs): Likewise.
20804         (struct La_x86_64_retval): Likewise.
20805         (struct La_x32_regs): Likewise.
20806         (struct La_x32_retval): Likewise.
20807         (struct La_ppc32_regs): Likewise.
20808         (struct La_ppc32_retval): Likewise.
20809         (struct La_ppc64_regs): Likewise.
20810         (struct La_ppc64_retval): Likewise.
20811         (struct La_sh_regs): Likewise.
20812         (struct La_sh_retval): Likewise.
20813         (struct La_s390_32_regs): Likewise.
20814         (struct La_s390_32_retval): Likewise.
20815         (struct La_s390_64_regs): Likewise.
20816         (struct La_s390_64_retval): Likewise.
20817         (struct La_sparc32_regs): Likewise.
20818         (struct La_sparc32_retval): Likewise.
20819         (struct La_sparc64_regs): Likewise.
20820         (struct La_sparc64_retval): Likewise.
20821         (struct audit_ifaces): Remove architecture-specific pltenter and
20822         pltexit members.
20823         * sysdeps/i386/ldsodefs.h: New file.
20824         * sysdeps/powerpc/ldsodefs.h: Likewise.
20825         * sysdeps/s390/ldsodefs.h: Likewise.
20826         * sysdeps/sh/ldsodefs.h: Likewise.
20827         * sysdeps/sparc/ldsodefs.h: Likewise.
20828         * sysdeps/x86_64/ldsodefs.h: Likewise.
20830 2012-07-25  Marek Polacek  <polacek@redhat.com>
20832         [BZ #6808]
20833         * math/libm-test.inc (yn_test): Add another test.
20834         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
20835         to ERANGE when the result is +-Inf.
20836         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
20837         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
20838         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
20839         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
20841 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
20843         * conform/data/time.h-data (NULL): Use macro-constant.  Require
20844         equal to 0.
20845         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
20846         clock_t.
20847         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
20849 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
20851         * configure.in <sysdeps resolving>: Correct printing
20852         Implies_before.
20853         * configure: Regenerate.
20855 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
20857         * math/w_ilogb.c: Include <limits.h>.
20858         * math/w_ilogbl.c: Likewise.
20860 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
20862         * manual/lang.texi (__va_copy): Document primarily as ISO C99
20863         va_copy.  Document allowing for unavailable va_copy only as
20864         pre-C99 compatibility.
20865         * manual/string.texi (Copying and Concatenation): Use va_copy
20866         instead of __va_copy in concat example.
20868 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
20870         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
20871         (__sendto): Use create_address_port.  Initialize APORT and deallocate
20872         it if not null.
20874         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
20875         with O_NOLINK passed to __file_name_lookup.
20877         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
20878         with O_NOLINK passed to __file_name_lookup.
20880         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
20881         negative N or less than NGIDS.
20883         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
20884         type to string_t.  Set ERANGE as errno and return it if NAME is not big
20885         enough.  Use memcpy instead of strncpy.
20887 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
20889         * elf/Makefile (check-data): Remove.
20890         (localplt.data): New vpath directive.
20891         ($(objpfx)check-localplt.out): Use localplt.data from vpath
20892         instead of $(check-data).
20893         * scripts/data/localplt-generic.data: Move to ...
20894         * sysdeps/generic/localplt.data: ... here.
20895         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
20896         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
20897         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
20898         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
20899         ... here.
20900         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
20901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
20902         ... here.
20903         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
20904         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
20905         ... here.
20906         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
20907         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
20908         ... here.
20909         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
20910         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
20911         ... here.
20912         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
20913         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
20914         ... here.
20916 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20918         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
20919         PPC32 and PPC64 files.
20920         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
20921         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
20923 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20925         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
20926         __makecontext_ret to ...
20927         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
20928         ... here and call exit if uc_link is NULL.  New file.
20929         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
20930         __makecontext_ret.S.
20931         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
20932         __makecontext_ret to ...
20933         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
20934         ... here and call exit if uc_link is NULL.  New file.
20935         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
20936         __makecontext_ret.S.
20938 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20940         * elf/elf.h (R_390_IRELATIVE): New definition.
20941         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
20942         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
20943         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
20944         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
20945         (elf_machine_lazy_rel): Likewise.
20946         * sysdeps/s390/dl-irel.h: New file.
20947         * sysdeps/s390/s390-64/memcpy.S: New asm code.
20948         * sysdeps/s390/s390-64/memset.S: New asm code.
20949         * sysdeps/s390/s390-64/memcmp.S: New asm code.
20950         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
20951         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
20952         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
20953         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
20954         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
20955         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
20956         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
20957         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
20958         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
20959         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
20960         * sysdeps/s390/s390-32/memcpy.S: New asm code.
20961         * sysdeps/s390/s390-32/memset.S: New asm code.
20962         * sysdeps/s390/s390-32/memcmp.S: New asm code.
20964 2012-07-17  Marek Polacek  <polacek@redhat.com>
20966         [BZ #14349]
20967         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
20968         * sysdeps/s390/s390-64/configure.in: Likewise.
20969         * sysdeps/sparc/configure.in: Likewise.
20970         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
20971         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
20972         * sysdeps/i386/configure.in: Likewise.
20973         * sysdeps/x86_64/configure.in: Likewise.
20974         * sysdeps/sh/configure.in: Likewise.
20975         * sysdeps/s390/s390-32/configure: Regenerated.
20976         * sysdeps/s390/s390-64/configure: Likewise.
20977         * sysdeps/x86_64/configure: Likewise.
20978         * sysdeps/sh/configure: Likewise.
20979         * sysdeps/powerpc/powerpc64/configure: Likewise.
20980         * sysdeps/powerpc/powerpc32/configure: Likewise.
20981         * sysdeps/sparc/configure: Likwise.
20982         * sysdeps/i386/configure: Likewise.
20984         * elf/dl-open.c: Comment fixes.
20986 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
20988         * Makefile [CXX] (check-data): Remove.
20989         [CXX] (c++-types.data): New vpath directive.
20990         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
20991         vpath.  Do not allow for C++ type data being missing.
20992         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
20993         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
20994         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
20995         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
20996         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
20997         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
20998         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
20999         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
21000         ... here.
21001         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
21002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
21003         ... here.
21004         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
21005         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
21006         ... here.
21007         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
21008         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
21009         ... here.
21010         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
21011         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
21012         ... here.
21013         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
21014         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
21015         ... here.
21016         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
21017         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
21018         ... here.
21019         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
21020         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
21022         * elf/tls-macros.h (TLS_LE): Move architecture-specific
21023         definitions to architecture-specific files.
21024         (TLS_IE): Likewise.
21025         (TLS_LD): Likewise.
21026         (TLS_GD): Likewise.
21027         * sysdeps/i386/tls-macros.h: New file.
21028         * sysdeps/powerpc/tls-macros.h: Likewise.
21029         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
21030         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
21031         * sysdeps/sh/tls-macros.h: Likewise.
21032         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
21033         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
21034         * sysdeps/x86_64/tls-macros.h: Likewise.
21036 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
21038         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
21039         zero value for regular exit case.
21041         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
21042         (__start_context): Preserve zero value for regular exit case.
21044 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
21045             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21047         * manual/setjmp.texi (setcontext): Clarify normal process
21048         termination when uc_link is the null pointer.
21049         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
21050         exit call.
21052 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
21054         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
21055         preprocessor.  Test for each exception mask separately.
21057 2012-07-16  Andreas Jaeger  <aj@suse.de>
21059         * po/ru.po: Update from translation team.
21061 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
21063         * conform/data/string.h-data (NULL): Use macro-constant.  Require
21064         equal to 0.
21065         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
21066         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
21067         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
21068         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
21069         [ISO || ISO99 || ISO11] (*_t): Do not allow.
21071 2012-07-13  Andreas Jaeger  <aj@suse.de>
21073         * po/fr.po: Update from translation team.
21075 2012-07-12  Marek Polacek  <polacek@redhat.com>
21077         [BZ #14173]
21078         * math/libm-test.inc (yn_test): Add test for BZ #14173.
21079         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
21080         loop condition.
21082 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
21084         [BZ #13717]
21085         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21086         Change to 2.4.1 where previously 2.4.0.
21087         * sysdeps/unix/sysv/linux/configure: Regenerated.
21088         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
21089         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
21090         version.
21091         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
21092         (__ASSUME_AT_CLKTCK): Remove.
21093         (__ASSUME_AT_PAGESIZE): Likewise.
21094         (__ASSUME_AT_XID): Likewise.
21095         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
21096         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
21097         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
21098         unconditionally.
21099         (HAVE_AUX_PAGESIZE): Likewise.
21100         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
21101         [__ASSUME_AT_CLKTCK]: Make code unconditional.
21102         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
21104 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
21106         [BZ #14307]
21107         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
21108         the temporary buffer used to invoke __gethostbyname2_r,
21109         __gethostbyaddr_r and gethostbyname4_r to make room for struct
21110         host_data / struct gaih_addrtuple.
21111         * resolv/nss_dns/dns-host.c (global scope): Move definition of
21112         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
21113         header file nss/nsswitch.h.
21114         * nss/nsswitch.h (global scope): Add definition of implementation
21115         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
21116         resolv/nss_dns/dns-host.c).
21118 2012-07-11  Andreas Jaeger  <aj@suse.de>
21120         * po/fr.po: Update from translation team.
21122         * po/sv.po: Update from translation team
21123         * po/fr.po: Another update from translation team.
21125 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21127         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
21128         for subnormals or multiply small sinh result by itself.
21129         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21130         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21132 2012-07-11  David S. Miller  <davem@davemloft.net>
21134         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21136 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
21138         [BZ #14347]
21139         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
21140         (INTERNAL_MARK): Shift it here.
21142 2012-07-10  Marek Polacek  <polacek@redhat.com>
21144         [BZ #14151]
21145         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
21146         libc_cv_asm_global_directive with .globl.
21147         * configure: Regenerated.
21148         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
21149         with .globl.
21150         * sysdeps/i386/configure: Regenerated.
21151         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
21152         with .globl.
21153         * sysdeps/x86_64/configure: Regenerated.
21154         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
21155         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
21156         * elf/tst-unique2mod2.c: Likewise.
21157         * elf/tst-unique2mod1.c: Likewise.
21158         * elf/tst-unique1mod2.c: Likewise.
21159         * elf/tst-unique1mod1.c: Likewise.
21160         * sysdeps/s390/s390-32/sysdep.h: Likewise.
21161         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
21162         * sysdeps/s390/s390-64/sysdep.h: Likewise.
21163         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21164         * sysdeps/mach/sysdep.h: Likewise.
21165         * sysdeps/i386/sysdep.h: Likewise.
21166         * sysdeps/i386/i386-mcount.S: Likewise.
21167         * sysdeps/x86_64/_mcount.S: Likewise.
21168         * sysdeps/x86_64/sysdep.h: Likewise.
21169         * sysdeps/sh/_mcount.S: Likewise.
21170         * sysdeps/sh/sysdep.h: Likewise.
21171         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
21172         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
21173         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
21174         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21175         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
21176         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
21177         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
21178         * locale/localeinfo.h: Likewise.
21179         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
21180         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
21182 2012-07-09  Roland McGrath  <roland@hack.frob.com>
21184         [BZ #14336]
21185         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
21186         system".
21187         * manual/message.texi (The Uniforum approach): Likewise.
21188         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
21189         (glibc iconv Implementation): Likewise.
21191 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
21193         [BZ #14337]
21194         * math/s_clog.c (__clog): Avoid scaling a value down where that
21195         could result in underflow.
21196         * math/s_clog10.c (__clog10): Likewise.
21197         * math/s_clog10f.c (__clog10f): Likewise.
21198         * math/s_clog10l.c (__clog10l): Likewise.
21199         * math/s_clogf.c (__clogf): Likewise.
21200         * math/s_clogl.c (__clogl): Likewise.
21201         * math/libm-test.inc (clog_test): Add more tests.
21202         (clog10_test): Likewise.
21203         * sysdeps/i386/fpu/libm-test-ulps: Update.
21204         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21206 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
21208         [BZ #14283]
21209         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
21210         by 7 not 8 to examine high bit of fractional part.
21212         [BZ #14042]
21213         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
21214         for call to __mcount_internal.
21215         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
21216         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
21217         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
21219 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
21221         [BZ #14154]
21222         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
21223         approximation for values within 0x1p-13f of an odd multiple of
21224         pi/4.
21225         * math/libm-test.inc (tan_test): Do not allow spurious underflow
21226         exception.  Add more tests.
21227         * sysdeps/i386/fpu/libm-test-ulps: Update.
21229         [BZ #6778]
21230         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
21231         inputs and return -1 for them.  Do not check for +Inf in case not
21232         reachable for +Inf.
21233         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
21234         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
21235         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21236         and return -1 for them.  Do not check for +Inf in case not
21237         reachable for +Inf.
21238         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
21239         define.
21240         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21241         and return -1 for them.  Do not check for +Inf in case not
21242         reachable for +Inf.
21243         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
21244         spurious underflow.
21245         * sysdeps/i386/fpu/libm-test-ulps: Update.
21246         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21248 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
21250         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
21252 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
21254         [BZ #14157]
21255         [BZ #14331]
21256         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
21257         could result in spurious underflow.  Scale down values above
21258         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
21259         * math/s_csqrtf.c (__csqrtf): Likewise.
21260         * math/s_csqrtl.c (__csqrtl): Likewise.
21261         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
21262         spurious underflow.
21263         * sysdeps/i386/fpu/libm-test-ulps: Update.
21264         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21266 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
21268         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
21269         xopen-msg.sed.
21270         * catgets/xopen-msg.awk: New file.
21271         * catgets/xopen-msg.sed: Removed.
21273         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
21274         po2text.sed.
21275         * intl/po2test.awk: New file.
21276         * intl/po2test.sed: Removed.
21278 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
21280         [BZ #14328]
21281         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
21282         or multiply small sinh result by itself.
21283         * math/s_ctanf.c (__ctanf): Likewise.
21284         * math/s_ctanh.c (__ctanh): Likewise.
21285         * math/s_ctanhf.c (__ctanhf): Likewise.
21286         * math/s_ctanhl.c (__ctanhl): Likewise.
21287         * math/s_ctanl.c (__ctanl): Likewise.
21288         * math/libm-test.inc (ctan_test_tonearest): New function.
21289         (ctan_test_towardzero): Likewise.
21290         (ctan_test_downward): Likewise.
21291         (ctan_test_upward): Likewise.
21292         (ctanh_test_tonearest): Likewise.
21293         (ctanh_test_towardzero): Likewise.
21294         (ctanh_test_downward): Likewise.
21295         (ctanh_test_upward): Likewise.
21296         (main): Call these new functions.
21297         * sysdeps/i386/fpu/libm-test-ulps: Update.
21298         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21300 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
21302         * .gitignore: Delete /ports entry.
21304 2012-07-03  Andreas Jaeger  <aj@suse.de>
21306         * po/bg.po: Update from translation team.
21307         * po/cs.po: Likewise.
21308         * po/de.po: Likewise.
21309         * po/hr.po: Likewise.
21310         * po/nl.pl: Likewise.
21311         * po/pl.po: Likewise.
21312         * po/vi.po: Likewise.
21314 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
21316         * Makeconfig [!+link] (+link-before-libc): New variable.
21317         [!+link] (+link-after-libc): Likewise.
21318         [!+link] (+link-tests): Likewise.
21319         [!+link] (+link): Define in terms of $(+link-before-libc) and
21320         $(+link-after-libc).
21321         [!+link-static] (+link-static-before-libc): New variable.
21322         [!+link-static] (+link-static-after-libc): Likewise.
21323         [!+link-static] (+link-static-tests): Likewise.
21324         [!+link-static] (+link-static): Define in terms of
21325         $(+link-static-before-libc) and $(+link-static-after-libc).
21326         [build-shared] (link-libc-before-gnulib): New variable.
21327         [build-shared] (link-libc-tests): Likewise.
21328         [build-shared] (link-libc): Define in terms of
21329         $(link-libc-before-gnulib).
21330         [!build-shared] (link-libc-tests): New variable.
21331         (link-libc-static-tests): New variable.
21332         [!gnulib] (gnulib-arch): New variable.
21333         [!gnulib] (gnulib-tests): Likewise.
21334         [!gnulib] (static-gnulib-arch): Likewise.
21335         [!gnulib] (static-gnulib-tests): Likewise.
21336         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
21337         Define with "=" instead of ":=".
21338         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
21339         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
21340         * Rules (binaries-all-notests): New variable.
21341         (binaries-all-tests): Likewise.
21342         (binaries-static-notests): Likewise.
21343         (binaries-static-tests): Likewise.
21344         (binaries-all): Define using $(binaries-all-notests) and
21345         $(binaries-all-tests).
21346         (binaries-static): Define using $(binaries-static-notests) and
21347         $(binaries-static-tests).
21348         (binaries-shared-tests): New variable.
21349         (binaries-shared-notests): Likewise.
21350         (binaries-shared): Remove variable.
21351         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
21352         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
21353         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
21354         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
21355         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
21356         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
21357         * elf/Makefile (sln-modules): New variable.
21358         (extra-objs): Add $(sln-modules:=.o).
21359         (ldconfig-modules): Add static-stubs.
21360         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
21361         * elf/static-stubs.c: New file.
21363         [BZ #14283]
21364         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
21365         by 7 not 8 to examine high bit of fractional part.  Use volatile
21366         variables when splitting into final array of floats if
21367         __FLT_EVAL_METHOD__ != 0.
21368         * math/libm-test.inc (cos_test): Add another test.
21369         (sin_test): Likewise.
21370         * sysdeps/i386/fpu/libm-test-ulps: Update.
21372         [BZ #14273]
21373         * math/libm-test.inc (cosh_test): Add more tests.
21375         * version.h (RELEASE): Set to "development".
21376         (VERSION): Set to "2.16.90".
21378 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
21380         * NEWS: Update copyright. Remove last-updated date.
21381         Mention math library bug fixes and timezone data changes.
21382         * README: Mention GNU/Hurd, x32, and HPPA support status.
21384 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
21386         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
21388 2012-06-27  Andreas Jaeger  <aj@suse.de>
21390         * manual/contrib.texi (Contributors): Add Samuel Thibault.
21392 2012-06-25  Andreas Jaeger  <aj@suse.de>
21394         * sysdeps/s390/fpu/libm-test-ulps: Update.
21396 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
21397             Thomas Schwinge  <thomas@codesourcery.com>
21399         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
21400         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
21401         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
21402         fanotify_mark.
21404 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
21406         * sysdeps/mach/start.c: Remove file.
21407         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
21408         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
21409         * sysdeps/sh/init-first.c: Likewise.
21411         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
21412         registers for frame unwinding purposes, add CFI directives.
21413         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
21414         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
21415         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
21416         Likewise.
21418         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
21419         __fortify_fail returning.
21420         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
21422         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
21423         sysdeps/sh/____longjmp_chk.S.
21424         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
21425         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
21426         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
21427         (gen-as-const-headers): Append sigaltstack-offsets.sym.
21429         * sysdeps/sh/abort-instr.h: New file.
21430         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
21431         process in case exit returns.
21433         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
21434         initialize the GOT register before use.
21436         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
21437         calculation of ARGC > 4.
21439         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
21440         meaningful names to some local labels.
21442 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
21443             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21445         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
21446         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
21447         (__arch_compare_and_exchange_val_16_acq): Likewise.
21448         (__arch_compare_and_exchange_val_32_acq): Likewise.
21449         (atomic_exchange_and_add): Fix gUSA sequence.
21450         (atomic_add): Likewise.
21451         (atomic_add_negative): Likewise.
21452         (atomic_add_zero): Likewise.
21453         (atomic_bit_test_set): Likewise.
21455 2012-06-22  Andreas Schwab  <schwab@redhat.com>
21457         [BZ #13579]
21458         * include/link.h (struct link_map): Add l_free_initfini.
21459         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
21460         l_initfini.
21461         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
21462         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
21463         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
21464         set.
21466 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
21468         * configure.in: Use AC_LANG_SOURCE.
21469         * configure: Regenerate.
21471 2012-06-22  Roland McGrath  <roland@hack.frob.com>
21473         * configure.in (libc_cv_localstatedir): New substituted variable.
21474         * configure: Regenerated.
21475         * config.make.in (localstatedir): New variable, substituted from
21476         libc_cv_localstatedir.
21477         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
21478         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
21479         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
21480         * sysdeps/gnu/configure: Regenerated.
21482 2012-06-21  Jeff Law  <law@redhat.com>
21484         [BZ #14277]
21485         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
21486         free.  Simplify list management for _LIBC case.
21488 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
21490         [BZ #14273]
21491         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
21492         Clear sign bit of 64-bit integer value before comparing against
21493         overflow value.
21495         * sysdeps/mach/configure: Regenerated.
21497 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
21499         [BZ #14278]
21500         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
21502 2012-06-21  Jeff Law  <law@redhat.com>
21504         [BZ #13882]
21505         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
21506         uint16_t for elements in the "seen" array to avoid char overflows.
21507         * elf/dl-fini.c (_dl_sort_fini): Likewise.
21508         * elf/dl-open.c (dl_open_worker): Likewise.
21510 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
21512         * scripts/list-sources.sh: Scan PORTS for translations.
21513         * po/libc.pot: Regenerated.
21515 2012-06-21  Andreas Jaeger  <aj@suse.de>
21517         [BZ #12194]
21518         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
21519         warning.
21520         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
21521         * bits/byteswap-16.h (__bswap_16): Likewise.
21522         * bits/byteswap.h (__bswap_constant_16): Likewise.
21524 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
21526         [BZ #14117]
21527         * sysdeps/i386/fpu_control.h: Removed.
21528         * sysdeps/x86_64/fpu_control.h: Moved to ...
21529         * sysdeps/x86/fpu_control.h: Here.
21531         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
21532         (_FPU_SETCW): Likewise.
21534 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
21536         [BZ #14117]
21537         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
21538         * sysdeps/x86/fpu/bits/mathinline.h: This.
21539         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
21541         [BZ #14050]
21542         [BZ #14117]
21543         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
21544         functions if __x86_64__ is defined.
21546 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
21548         * string/endian.h: Add !__ASSEMBLER__ condition for including
21549         conversion interfaces.
21551 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
21553         [BZ #14241]
21554         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
21555         of ABS(x) in calculating zero to negative powers other than odd
21556         integers.
21557         * math/libm-test.inc (pow_test): Add more tests.
21559 2012-06-15  Andreas Jaeger  <aj@suse.de>
21561         * manual/contrib.texi (Contributors): Update entry of Liubov
21562         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
21563         Machado Filho.
21565 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
21567         * string/string.h: Add __wur to GNU version of strerror_r.
21569 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
21571         [BZ #14229]
21572         * string/Makefile (tests): Add tst-strtok_r.
21573         * string/tst-strtok_r.c: New file.
21574         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
21575         RAX_LP/RDX_LP on SAVE_PTR.
21577 2012-06-14  Roland McGrath  <roland@hack.frob.com>
21579         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
21581 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
21583         * libm_test.inc (csqrt_test): Allow more spurious underflow
21584         exceptions.
21585         (j0_test): Likewise.
21586         (j1_test): Likewise.
21587         (y0_test): Likewise.
21588         (y1_test): Likewise.
21590 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
21592         * po/Makefile (libc.pot): Use UTF-8 charset.
21594 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
21596         [BZ #14210]
21597         Suppress sign-conversion warning from FD_SET.
21598         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
21599         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
21600         not unsigned long int.
21601         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
21603 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
21605         [BZ #14050]
21606         [BZ #14117]
21607         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
21608         __extern_always_inline instead of __extern_inline.
21609         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
21610         (__signbit): Likewise.
21611         (__signbitl): Support C++ namespace.
21612         (lrintf): New inline function.
21613         (lrint): Likewise.
21614         (llrintf): Likewise.
21615         (llrint): Likewise.
21616         (fmaxf): Likewise.
21617         (fmax): Likewise.
21618         (fminf): Likewise.
21619         (fmin): Likewise.
21620         (rint): Likewise.
21621         (rintf): Likewise.
21622         (ceil): Likewise.
21623         (ceilf): Likewise.
21624         (floor): Likewise.
21625         (floorf): Likewise.
21626         (nearbyint): Likewise.
21627         (nearbyintf): Likewise.
21629 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
21631         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
21632         non-default versions.
21634 2012-06-11  Roland McGrath  <roland@hack.frob.com>
21636         [BZ #14218]
21637         * manual/argp.texi (Argp): Reword argp_parse description slightly.
21639 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
21641         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
21642         (FE_UPWARD, FE_DOWNWARD): Don't define.
21643         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
21644         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
21646         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
21647         reading it.
21648         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
21649         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21651 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21653         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
21654         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
21655         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
21656         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
21658 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
21660         [BZ #14117]
21661         * sysdeps/i386/fpu/bits/fenv.h: Removed.
21662         * sysdeps/i386/fpu/Implies: New file.
21663         * sysdeps/x86_64/fpu/Implies: Likewise.
21664         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
21665         * sysdeps/x86/fpu/bits/fenv.h: This.
21667         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
21668         __SSE_MATH__.
21670 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
21672         [BZ #14134]
21673         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
21674         character 0xffff that matches the last element of the
21675         conversion table.
21677 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21679         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
21680         fmodl commit.
21682 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21684         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
21685         values higher than 25.6283.
21687 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21689         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
21690         subnormal exponent extraction and add some __builtin_expect.
21691         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
21692         Fix for subnormal mantissa calculation.
21694 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
21696         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
21697         cpu2 is -1 and errno is not ENOSYS.
21699 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
21701         [BZ #14117]
21702         * sysdeps/i386/i486/bits/string.h: Renamed to ...
21703         * sysdeps/x86/bits/string.h: This.
21704         * sysdeps/x86_64/bits/string.h: Removed.
21706         * sysdeps/i386/i486/bits/string.h: Define inline functions only
21707         if not compiling for x86-64, but compiling for >= i486.
21709         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
21710         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
21712         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
21713         New macro from Linux kernel 3.4.0.
21714         (FP_XSTATE_MAGIC2): Likewise.
21715         (FP_XSTATE_MAGIC2_SIZE): Likewise.
21716         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
21717         (struct _fpx_sw_bytes): New struct.
21718         (struct _xsave_hdr): Likewise.
21719         (struct _ymmh_state): Likewise.
21720         (struct _xstate): Likewise.
21722         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
21723         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
21724         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
21725         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
21726         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
21727         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
21729         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
21730         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
21731         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
21732         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
21733         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
21734         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
21736 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
21738         [BZ #13743]
21739         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
21740         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
21741         (sysdep_headers): Include sys/platform/ppc.h.
21742         * sysdeps/powerpc/test-gettimebase.c: Test for
21743         __ppc_get_timebase() to catch future ISA opcode/insn changes.
21744         * manual/Makefile (appendices): Include platform.texi.
21745         * manual/contrib.texi (Contributors): Update @node pointers.
21746         * manual/maint.texi (Maintenance): Likewise.
21747         (Platform): New node.
21748         * manual/platform.texi: New file.  Document the new features.
21750 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
21751             Jakub Jelinek  <jakub@redhat.com>
21753         [BZ #14188]
21754         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
21755         where __builtin_expect is unavailable.
21757 2012-06-03  David S. Miller  <davem@davemloft.net>
21759         * stdlib/longlong.h: Updated from GCC.
21761 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
21763         [BZ #14042]
21764         * sysdeps/powerpc/powerpc32/mcount.c: New file.
21765         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
21766         __mcount_internal.
21767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
21768         (GLIBC_2.16): Likewise.
21770 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
21772         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
21774 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
21776         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
21777         (default-abi): New variable.
21778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
21779         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
21780         variable.
21781         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
21782         Likewise.
21783         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
21784         Likewise.
21785         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
21786         Likewise.
21788         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
21789         definition.  Document in comment.
21791 2012-06-01  David S. Miller  <davem@davemloft.net>
21793         * stdlib/longlong.h: Updated from GCC.
21795 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
21797         [BZ #14117]
21798         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
21799         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
21800         sys/debugreg.h sys/io.h here.
21801         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
21802         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
21803         sys/io.h.
21804         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
21805         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
21806         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
21807         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
21808         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
21809         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
21811         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
21812         Define only if __x86_64__ is defined.
21814 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
21816         [BZ #14048]
21817         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
21818         Use int64_t for variable i.
21819         * math/libm-test.inc (fmod_test): Add more tests.
21821         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
21822         z computation is not scheduled after fetestexcept.
21823         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
21824         Use math_force_eval instead of asm to ensure calculation scheduled
21825         before exception test.
21826         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
21827         Ensure a1 + u.d computation is not scheduled after fetestexcept.
21829 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
21831         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
21832         computation is not scheduled after fetestexcept.
21834 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
21836         [BZ #14117]
21837         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
21838         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
21840 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21842         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
21843         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
21845 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
21847         [BZ #14117]
21848         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
21849         <bits/wordsize.h>.
21850         (__WCHAR_MIN): Support __WORDSIZE == 64.
21851         (__WCHAR_MAX): Likewise.
21853         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
21854         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
21856         [BZ #14183]
21857         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
21858         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
21860         [BZ #14117]
21861         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
21862         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
21864         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
21865         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
21867         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
21868         Defined to 1 if __x86_64__ isn't defined.
21869         (_STAT_VER_LINUX_OLD): New.
21870         (st_atime): Remove duplicate.
21871         (st_mtime): Likewise.
21872         (st_ctime): Likewise.
21874 2012-05-31  David S. Miller  <davem@davemloft.net>
21876         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
21877         entries.
21879 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
21881         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
21882         gen-libm-test.pl.
21884         [BZ #14132]
21885         * elf/dl-reloc.c: Include <_itoa.h>.
21886         (_dl_reloc_bad_type): Remove use of INTUSE.
21887         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
21888         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
21889         * stdio-common/psiginfo.c (psiginfo): Likewise.
21890         * stdio-common/psignal.c (psignal): Likewise.
21891         * string/strsignal.c (strsignal): Likewise.
21892         * include/signal.h (_sys_siglist): Declare hidden proto.
21893         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
21894         INTVARDEF with libc_hidden_data_def.
21895         * stdio-common/itoa-udigits.c: Likewise.
21896         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
21897         (_itoa_lower_digits_internal): Remove declaration.
21898         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
21899         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
21900         (_sys_sigabbrev_internal): Remove aliases.
21901         (_sys_siglist): Define hidden alias.
21903 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
21905         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21906         bits/sysctl.h.
21908 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
21910         [BZ #14117]
21911         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
21912         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
21914         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
21915         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
21916         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
21917         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
21918         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
21919         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
21921         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
21922         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
21923         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
21925         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
21926         with __addr.
21927         (insw): Likewise.
21928         (insl): Likewise.
21929         (outsb): Likewise.
21930         (outsw): Likewise.
21931         (outsl): Likewise.
21933         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
21934         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
21935         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
21937         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
21938         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
21939         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
21940         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
21941         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
21942         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
21944         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
21945         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
21947         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
21948         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
21950         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
21951         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
21952         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
21954         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
21955         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
21956         to ...
21957         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
21959         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
21960         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
21961         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
21963         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
21964         for x86-64.
21965         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
21967 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
21969         * math/math.h (M_El): Use two more decimal places.
21970         (M_LOG2El): Likewise.
21971         (M_LOG10El): Likewise.
21972         (M_LN2l): Likewise.
21973         (M_LN10l): Likewise.
21974         (M_PIl): Likewise.
21975         (M_PI_2l): Likewise.
21976         (M_PI_4l): Likewise.
21977         (M_1_PIl): Likewise.
21978         (M_2_PIl): Likewise.
21979         (M_2_SQRTPIl): Likewise.
21980         (M_SQRT2l): Likewise.
21981         (M_SQRT1_2l): Likewise.
21983 2012-05-31  David S. Miller  <davem@davemloft.net>
21985         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
21986         values between float registers.
21987         * sysdeps/sparc/sparc64/memset.S: Likewise.
21988         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
21990 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
21992         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
21993         -D_FORTIFY_SOURCE=1.
21994         (CPPFLAGS-tst-longjmp_chk.c): Define.
21995         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
21996         (CPPFLAGS-tst-longjmp_chk2.c): Define.
21997         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
21998         CFLAGS-tst-wchar-h.c.
22000 2012-05-31  Marek Polacek  <polacek@redhat.com>
22002         [BZ #14132]
22003         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
22004         __endmntent_internal): Remove declaration.
22005         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
22006         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
22007         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
22009 2012-05-30  David S. Miller  <davem@davemloft.net>
22011         * sysdeps/sparc/sparc32/soft-fp/q_util.c
22012         (___Q_simulate_exceptions): Use real FP ops rather than writing
22013         into the %fsr.
22014         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
22015         Likewise.
22017 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
22019         [BZ #14117]
22020         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
22021         * sysdeps/x86/bits/xtitypes.h: This.
22023         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
22024         * sysdeps/x86/bits/wordsize.h: This.
22026         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
22027         * sysdeps/x86/bits/huge_vall.h: This.
22029         * sysdeps/i386/bits/select.h: Removed.
22030         * sysdeps/x86_64/bits/select.h: Renamed to ...
22031         * sysdeps/x86/bits/select.h: This.
22033         * sysdeps/i386/bits/setjmp.h: Removed.
22034         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
22035         * sysdeps/x86/bits/setjmp.h: This.
22037         * sysdeps/i386/bits/mathdef.h: Removed.
22038         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
22039         * sysdeps/x86/bits/mathdef.h: This.
22041 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
22043         [BZ #14132]
22044         * include/sys/socket.h (__connect_internal)
22045         (__libc_sa_len_internal): Remove declaration.
22046         (__connect, __libc_sa_len): Declare hidden_proto.
22047         (SA_LEN): Remove use of INTUSE.
22048         * socket/connect.c: Add libc_hidden_def.
22049         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
22050         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
22051         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
22052         alias.
22053         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
22054         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
22055         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
22056         of adding _internal alias.
22058 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
22060         [BZ #14117]
22061         * sysdeps/i386/bits/link.h: Removed.
22062         * sysdeps/i386/bits/linkmap.h: Likewise.
22063         * sysdeps/x86_64/bits/link.h: Renamed to ...
22064         * sysdeps/x86/bits/link.h: This.
22065         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
22066         * sysdeps/x86/bits/linkmap.h: This.
22068         * sysdeps/i386/bits/endian.h: Removed.
22069         * sysdeps/x86_64/bits/endian.h: Renamed to ...
22070         * sysdeps/x86/bits/endian.h: This.
22072         * sysdeps/i386/bits/byteswap.h: Removed.
22073         * sysdeps/i386/bits/byteswap-16.h: Likewise.
22074         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
22075         * sysdeps/x86/bits/byteswap.h: This.
22076         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
22077         * sysdeps/x86/bits/byteswap-16.h: This.
22078         * sysdeps/i386/Implies: Add x86.
22079         * sysdeps/x86_64/Implies: Likewise.
22081 2012-05-30  David S. Miller  <davem@davemloft.net>
22083         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
22084         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
22085         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
22086         (FP_TRAPPING_EXCEPTIONS): Define.
22087         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
22088         (FP_TRAPPING_EXCEPTIONS): Define.
22089         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
22090         subnormals only when inexact has been signalled or underflow
22091         exceptions are enabled.
22092         (_FP_PACK_CANONICAL): Likewise.
22094 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
22096         [BZ #14183]
22097         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
22098         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
22100 2012-05-30  Richard Henderson  <rth@twiddle.net>
22102         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
22103         with #ifndef NOT_IN_libc.
22105         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
22106         marked to avoid plt entry.
22108 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
22110         [BZ #14112]
22111         * Makeconfig (default-abi): New macro.
22112         (abi-includes): Likewise.
22113         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
22114         $(abi-$(default-abi)-lib-soname) for soname if defined.
22115         ($(common-objpfx)gnu/lib-names.stmp): Generate from
22116         abi-variants.
22117         * Makefile (installed-stubs): Likewise.
22118         * include/stubs-biarch.h: Removed.
22119         * scripts/lib-names.awk: Only handle one library at a time.
22120         * scripts/soversions.awk: Remove WORDSIZE support.
22121         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
22122         entries.
22123         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
22124         Removed.
22125         (syscall-list-default-condition): Likewise.
22126         (syscall-list-default-condition): Likewise.
22127         (syscall-list-includes): Likewise.
22128         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
22129         syscall-list-* with abi-*.  Handle undefined abi-variants.
22130         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
22131         * sysdeps/unix/sysv/linux/i386/Implies: New file.
22132         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
22133         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
22134         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
22135         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
22136         Removed.
22137         (syscall-list-32-options): Likewise.
22138         (syscall-list-32-condition): Likewise.
22139         (syscall-list-64-options): Likewise.
22140         (syscall-list-64-condition): Likewise.
22141         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
22142         macro.
22143         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
22144         Renamed to ...
22145         (abi-*): This.
22146         (abi-64-ld-soname): New macro.
22147         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
22148         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
22149         Renamed to ...
22150         (abi-*): This.
22151         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
22152         * sysdeps/x86_64/x32/shlib-versions: Likewise.
22154 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
22156         * sysdeps/unix/sysv/linux/kernel-features.h
22157         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
22158         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
22159         include <kernel-features.h>.
22160         [!__NR_ftruncate64]: Remove conditional code.
22161         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22162         [__NR_ftruncate64]: Make code unconditional.
22163         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22164         * sysdeps/unix/sysv/linux/truncate64.c: Do not
22165         include <kernel-features.h>.
22166         [!__NR_ftruncate64]: Remove conditional code.
22167         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22168         [__NR_ftruncate64]: Make code unconditional.
22169         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
22171         include <kernel-features.h>.
22172         [!__NR_ftruncate64]: Remove conditional code.
22173         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22174         [__NR_ftruncate64]: Make code unconditional.
22175         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
22177         include <kernel-features.h>.
22178         [!__NR_ftruncate64]: Remove conditional code.
22179         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22180         [__NR_ftruncate64]: Make code unconditional.
22181         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22183         * configure.in (libc_cv_fpie): Weaken to a compile test using
22184         LIBC_TRY_CC_OPTION.
22185         * configure: Regenerated.
22187 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22189         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
22190         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
22191         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
22192         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22193         Refreshed.
22194         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
22195         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
22196         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
22197         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
22198         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
22199         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22200         Refreshed.
22202 2012-05-27  David S. Miller  <davem@davemloft.net>
22204         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
22205         (___Q_zero): New.
22206         (__Q_simulate_exceptions): Return void.  Change to simulate
22207         exceptions by writing into the %fsr.
22208         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
22209         (__Qp_handle_exceptions): Likewise.
22210         (numbers): Delete.
22211         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
22212         __Qp_handle_exceptions.
22213         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
22214         __Qp_handle_exceptions.
22215         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22216         as unused and give dummy FP_RND_NEAREST initializer.
22217         (FP_INHIBIT_RESULTS): Define.
22218         (___Q_simulate_exceptions): Update declaration.
22219         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
22220         formatting.
22221         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22222         as unused and give dummy FP_RND_NEAREST initializer.
22223         (__Qp_handle_exceptions): Update declaration.
22224         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
22225         formatting.
22227 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
22229         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
22230         the temporary FPU control word.
22231         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
22232         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
22233         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
22234         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
22235         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22236         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
22237         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
22238         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22239         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
22240         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
22241         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22243 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22245         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
22246         fields.
22248 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
22250         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
22251         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
22252         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
22253         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
22254         Likewise.
22255         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
22256         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
22257         Likewise.
22259 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
22261         * po/h.po: Update from translation team.
22263 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
22265         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
22267         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
22268         handling of denormals.
22269         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22270         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
22271         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
22272         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
22273         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22274         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
22275         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
22276         Likewise.
22278 2012-05-26  Marek Polacek  <polacek@redhat.com>
22280         [BZ #14152]
22281         * math/libm-test.inc (fma_test): Don't always expect underflow
22282         exception.
22284 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22286         [BZ #12416]
22287         * elf/tst-execstack.c: Include stackinfo.h.
22288         (do_test): Adjust test case to ensure that pthread_getattr_np
22289         behaviour remains the same after marking stack executable.
22291 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
22293         * sysdeps/unix/sysv/linux/kernel-features.h
22294         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
22295         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
22296         kernel-features.h.
22297         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22298         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22299         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
22300         kernel-features.h.
22301         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22302         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22304 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
22306         * configure.in: Define the default includes to being none.
22307         * configure: Regenerated.
22309 2012-05-25  Roland McGrath  <roland@hack.frob.com>
22311         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
22312         * sysdeps/x86_64/setjmp.S: Likewise.
22313         * sysdeps/i386/bsd-setjmp.S: Likewise.
22314         * sysdeps/i386/bsd-_setjmp.S: Likewise.
22315         * sysdeps/i386/setjmp.S: Likewise.
22316         * sysdeps/i386/__longjmp.S: Likewise.
22317         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
22318         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
22320         * include/stap-probe.h: New file.
22321         * configure.in: Handle --enable-systemtap.
22322         * configure: Regenerated.
22323         * config.h.in (USE_STAP_PROBE): New #undef.
22324         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
22325         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
22326         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
22328 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
22330         [BZ #13717]
22331         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
22332         to 2.4.0 where earlier.
22333         * sysdeps/unix/sysv/linux/configure: Regenerated.
22334         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
22335         <kernel-features.h>.
22336         [__ASSUME_32BITUIDS]: Make code unconditional.
22337         [!__ASSUME_32BITUIDS]: Remove conditional code.
22338         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
22339         <kernel-features.h>.
22340         [__ASSUME_32BITUIDS]: Make code unconditional.
22341         [!__ASSUME_32BITUIDS]: Remove conditional code.
22342         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
22343         [__ASSUME_32BITUIDS]: Make code unconditional.
22344         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
22345         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
22346         <kernel-features.h>.
22347         [__ASSUME_32BITUIDS]: Make code unconditional.
22348         [!__ASSUME_32BITUIDS]: Remove conditional code.
22349         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
22350         <kernel-features.h>.
22351         [__ASSUME_32BITUIDS]: Make code unconditional.
22352         [!__ASSUME_32BITUIDS]: Remove conditional code.
22353         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
22354         <kernel-features.h>.
22355         [__ASSUME_32BITUIDS]: Make code unconditional.
22356         [!__ASSUME_32BITUIDS]: Remove conditional code.
22357         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
22358         <kernel-features.h>.
22359         [__ASSUME_32BITUIDS]: Make code unconditional.
22360         [!__ASSUME_32BITUIDS]: Remove conditional code.
22361         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
22362         <kernel-features.h>.
22363         [__ASSUME_32BITUIDS]: Make code unconditional.
22364         [!__ASSUME_32BITUIDS]: Remove conditional code.
22365         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
22366         <kernel-features.h>.
22367         [__ASSUME_32BITUIDS]: Make code unconditional.
22368         [!__ASSUME_32BITUIDS]: Remove conditional code.
22369         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
22370         <kernel-features.h>.
22371         [__ASSUME_32BITUIDS]: Make code unconditional.
22372         [!__ASSUME_32BITUIDS]: Remove conditional code.
22373         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
22374         <kernel-features.h>.
22375         [__ASSUME_32BITUIDS]: Make code unconditional.
22376         [!__ASSUME_32BITUIDS]: Remove conditional code.
22377         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
22378         <kernel-features.h>.
22379         [__ASSUME_32BITUIDS]: Make code unconditional.
22380         [!__ASSUME_32BITUIDS]: Remove conditional code.
22381         * sysdeps/unix/sysv/linux/i386/semctl.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/setegid.c: Do not include
22386         <kernel-features.h>.
22387         [__NR_setresgid] (__setresgid): Do not declare.
22388         [__ASSUME_32BITUIDS]: Make code unconditional.
22389         [!__ASSUME_32BITUIDS]: Remove conditional code.
22390         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
22391         <kernel-features.h>.
22392         [__NR_setresuid] (__setresuid): Do not declare.
22393         [__ASSUME_32BITUIDS]: Make code unconditional.
22394         [!__ASSUME_32BITUIDS]: Remove conditional code.
22395         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
22396         <kernel-features.h>.
22397         [__ASSUME_32BITUIDS]: Make code unconditional.
22398         [!__ASSUME_32BITUIDS]: Remove conditional code.
22399         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
22400         <kernel-features.h>.
22401         [__ASSUME_32BITUIDS]: Make code unconditional.
22402         [!__ASSUME_32BITUIDS]: Remove conditional code.
22403         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
22404         <kernel-features.h>.
22405         [__ASSUME_32BITUIDS]: Make code unconditional.
22406         [!__ASSUME_32BITUIDS]: Remove conditional code.
22407         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
22408         <kernel-features.h>.
22409         [__ASSUME_32BITUIDS]: Make code unconditional.
22410         [!__ASSUME_32BITUIDS]: Remove conditional code.
22411         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
22412         <kernel-features.h>.
22413         [__ASSUME_32BITUIDS]: Make code unconditional.
22414         [!__ASSUME_32BITUIDS]: Remove conditional code.
22415         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
22416         <kernel-features.h>.
22417         [__ASSUME_32BITUIDS]: Make code unconditional.
22418         [!__ASSUME_32BITUIDS]: Remove conditional code.
22419         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
22420         <kernel-features.h>.
22421         [__ASSUME_32BITUIDS]: Make code unconditional.
22422         [!__ASSUME_32BITUIDS]: Remove conditional code.
22423         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
22424         <kernel-features.h>.
22425         [__ASSUME_32BITUIDS]: Make code unconditional.
22426         [!__ASSUME_32BITUIDS]: Remove conditional code.
22427         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
22428         <kernel-features.h>.
22429         [__ASSUME_32BITUIDS]: Make code unconditional.
22430         [!__ASSUME_32BITUIDS]: Remove conditional code.
22431         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
22432         <kernel-features.h>.
22433         [__ASSUME_32BITUIDS]: Make code unconditional.
22434         [!__ASSUME_32BITUIDS]: Remove conditional code.
22435         * sysdeps/unix/sysv/linux/kernel-features.h
22436         (__ASSUME_SETRESUID_SYSCALL): Remove.
22437         (__ASSUME_SETRESGID_SYSCALL): Likewise.
22438         (__ASSUME_32BITUIDS): Likewise.
22439         (__ASSUME_LDT_WORKS): Likewise.
22440         (__ASSUME_O_DIRECTORY): Likewise.
22441         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
22442         architecture but not kernel version.
22443         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
22444         (__ASSUME_MMAP2_SYSCALL): Likewise.
22445         (__ASSUME_STAT64_SYSCALL): Likewise.
22446         (__ASSUME_IPC64): Likewise.
22447         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
22448         <kernel-features.h>.
22449         [__ASSUME_32BITUIDS]: Make code unconditional.
22450         [!__ASSUME_32BITUIDS]: Remove conditional code.
22451         * sysdeps/unix/sysv/linux/opendir.c: Do not include
22452         <kernel-features.h>.
22453         [__ASSUME_O_DIRECTORY]: Make code unconditional.
22454         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
22455         132096]: Remove conditional code.
22456         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
22457         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
22458         <kernel-features.h>.
22459         [__ASSUME_32BITUIDS]: Make code unconditional.
22460         [!__ASSUME_32BITUIDS]: Remove conditional code.
22461         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
22462         <kernel-features.h>.
22463         [__ASSUME_32BITUIDS]: Make code unconditional.
22464         [!__ASSUME_32BITUIDS]: Remove conditional code.
22465         * sysdeps/unix/sysv/linux/setegid.c: Do not include
22466         <kernel-features.h>.
22467         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
22468         unconditional.
22469         (__setresgid): Do not declare.
22470         [__ASSUME_32BITUIDS]: Make code unconditional.
22471         [!__ASSUME_32BITUIDS]: Remove conditional code.
22472         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
22473         <kernel-features.h>.
22474         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
22475         unconditional.
22476         (__setresuid): Do not declare.
22477         [__ASSUME_32BITUIDS]: Make code unconditional.
22478         [!__ASSUME_32BITUIDS]: Remove conditional code.
22479         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
22480         <kernel-features.h>.
22481         [__ASSUME_32BITUIDS]: Make code unconditional.
22482         [!__ASSUME_32BITUIDS]: Remove conditional code.
22483         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
22484         <kernel-features.h>.
22485         [__ASSUME_32BITUIDS]: Make code unconditional.
22486         [!__ASSUME_32BITUIDS]: Remove conditional code.
22488 2012-05-25  Richard Henderson  <rth@twiddle.net>
22490         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
22491         dl_hwcap to ifunc resolver.
22492         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
22493         elf_ifunc_invoke.
22494         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
22495         dl_hwcap to ifunc resolver.
22496         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
22498 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
22500         [BZ #14153]
22501         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
22502         for |x| <= 2**-26, not 2**-57.
22503         * math/libm-test.inc (acos_test): Do not allow spurious underflow
22504         exception.
22506 2012-05-24  Jeff Law  <law@redhat.com>
22508         * stdio-common/Makefile (tests): Add bug25.
22509         * stdio-common/bug25.c: New test.
22511 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
22513         [BZ #13576]
22514         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
22515         multiple of MALLOC_ALIGNMENT in size.
22516         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
22518 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
22520         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
22521         Require >= 256.
22522         (FILENAME_MAX): Use macro-int-constant.
22523         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
22524         (_IOFBF): Use macro-int-constant.
22525         (_IOLBF): Likewise.
22526         (_IONBF): Likewise.
22527         (SEEK_CUR): Likewise.
22528         (SEEK_END): Likewise.
22529         (SEEK_SET): Likewise.
22530         (TMP_MAX): Likewise.
22531         (EOF): Use macro-int-constant.  Require < 0.
22532         (NULL): Use macro-constant.  Require == 0.
22533         (stdin): Require type to be FILE *.
22534         (stdout): Likewise.
22535         (stderr): Likewise.
22536         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
22537         macro-int-constant.
22538         (EXIT_SUCCESS): Likewise.
22539         (NULL): Use macro-constant.  Require == 0.
22540         (RAND_MAX): Use macro-int-constant.
22541         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
22542         [C99-based standards] (strtof): Require function.
22543         [C99-based standards] (strtold): Likewise.
22544         [C99-based standards] (strtoll): Likewise.
22545         [C99-based standards] (strtoull): Likewise.
22546         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
22547         [ISO || ISO99 || ISO11] (limits.h): Likewise.
22548         [ISO || ISO99 || ISO11] (math.h): Likewise.
22549         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
22550         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
22551         [ISO || ISO99 || ISO11] (*_t): Do not allow.
22553 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
22555         [BZ #14132]
22556         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
22557         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
22558         * intl/dgettext.c (DCGETTEXT): Likewise.
22559         * intl/gettext.c (DCGETTEXT): Likewise.
22560         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
22561         * posix/regex_internal.h (gettext): Likewise.
22562         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
22563         Remove declaration.
22564         * include/argz.h (__argz_count_internal)
22565         (__argz_stringify_internal): Remove declaration.
22566         (__argz_count, __argz_stringify): Declare hidden proto.
22567         * intl/dcgettext.c: Remove use of INTDEF.
22568         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
22569         * string/argz-stringify.c: Likewise.
22570         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
22571         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
22572         Declare hidden proto.
22573         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
22574         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
22575         Declare hidden proto.
22576         * include/stdio.h (__asprintf_internal): Don't declare.
22577         (__asprintf): Don't define as macro.  Declare hidden proto.
22578         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
22579         (__fsetlocking): Declare hidden proto.
22580         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
22581         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
22582         hidden proto.
22583         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
22584         (_IO_setlinebuf): Remove use of INTUSE.
22585         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
22586         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
22587         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
22588         Remove declaration.
22589         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
22590         (_IO_do_flush): Remove use of INTUSE.
22591         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
22592         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
22593         (_IO_adjust_column, _IO_least_wmarker)
22594         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
22595         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
22596         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
22597         (_IO_default_doallocate, _IO_wdefault_doallocate)
22598         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
22599         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
22600         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
22601         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
22602         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
22603         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
22604         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
22605         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
22606         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
22607         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
22608         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
22609         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
22610         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
22611         proto.
22612         (_IO_flush_all_internal, _IO_adjust_column_internal)
22613         (_IO_default_uflow_internal, _IO_default_finish_internal)
22614         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
22615         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
22616         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
22617         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
22618         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
22619         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
22620         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
22621         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
22622         (_IO_file_close_internal, _IO_file_close_it_internal)
22623         (_IO_file_underflow_internal, _IO_file_overflow_internal)
22624         (_IO_file_init_internal, _IO_file_attach_internal)
22625         (_IO_file_fopen_internal, _IO_file_read_internal)
22626         (_IO_file_sync_internal, _IO_file_seek_internal)
22627         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
22628         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
22629         (_IO_str_underflow_internal, _IO_str_overflow_internal)
22630         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
22631         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
22632         (_IO_list_all_internal, _IO_link_in_internal)
22633         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
22634         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
22635         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
22636         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
22637         (_IO_do_write_internal, _IO_padn_internal)
22638         (_IO_getline_info_internal, _IO_getline_internal)
22639         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
22640         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
22641         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
22642         (_IO_vfscanf_internal, _IO_vfprintf_internal)
22643         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
22644         (_IO_init_internal, _IO_un_link_internal): Don't declare.
22645         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
22646         with libc_hidden_ver, remove use of INTUSE.
22647         * libio/genops.c: Likewise.
22648         * libio/freopen.c: Likewise.
22649         * libio/freopen64.c: Likewise.
22650         * libio/iofclose.c: Likewise.
22651         * libio/iofdopen.c: Likewise.
22652         * libio/iofflush.c: Likewise.
22653         * libio/iofflush_u.c: Likewise.
22654         * libio/iofgets.c: Likewise.
22655         * libio/iofgets_u.c: Likewise.
22656         * libio/iofopen.c: Likewise.
22657         * libio/iofopncook.c: Likewise.
22658         * libio/iofread.c: Likewise.
22659         * libio/iofread_u.c: Likewise.
22660         * libio/ioftell.c: Likewise.
22661         * libio/iofwrite.c: Likewise.
22662         * libio/iogetline.c: Likewise.
22663         * libio/iogets.c: Likewise.
22664         * libio/iogetwline.c: Likewise.
22665         * libio/iopadn.c: Likewise.
22666         * libio/iopopen.c: Likewise.
22667         * libio/ioseekoff.c: Likewise.
22668         * libio/ioseekpos.c: Likewise.
22669         * libio/iosetbuffer.c: Likewise.
22670         * libio/iosetvbuf.c: Likewise.
22671         * libio/ioungetc.c: Likewise.
22672         * libio/ioungetwc.c: Likewise.
22673         * libio/iovdprintf.c: Likewise.
22674         * libio/iovsprintf.c: Likewise.
22675         * libio/iovsscanf.c: Likewise.
22676         * libio/memstream.c: Likewise.
22677         * libio/obprintf.c: Likewise.
22678         * libio/oldfileops.c: Likewise.
22679         * libio/oldiofclose.c: Likewise.
22680         * libio/oldiofdopen.c: Likewise.
22681         * libio/oldiofopen.c: Likewise.
22682         * libio/oldiopopen.c: Likewise.
22683         * libio/oldstdfiles.c: Likewise.
22684         * libio/putc.c: Likewise.
22685         * libio/setbuf.c: Likewise.
22686         * libio/setlinebuf.c: Likewise.
22687         * libio/stdfiles.c: Likewise.
22688         * libio/strops.c: Likewise.
22689         * libio/vasprintf.c: Likewise.
22690         * libio/vscanf.c: Likewise.
22691         * libio/vsnprintf.c: Likewise.
22692         * libio/vswprintf.c: Likewise.
22693         * libio/wfiledoalloc.c: Likewise.
22694         * libio/wfileops.c: Likewise.
22695         * libio/wgenops.c: Likewise.
22696         * libio/wmemstream.c: Likewise.
22697         * libio/wstrops.c: Likewise.
22698         * libio/__fpurge.c: Likewise.
22699         * libio/__fsetlocking.c: Likewise.
22700         * assert/assert.c: Likewise.
22701         * debug/fgets_chk.c: Likewise.
22702         * debug/fgets_u_chk.c: Likewise.
22703         * debug/fread_chk.c: Likewise.
22704         * debug/fread_u_chk.c: Likewise.
22705         * debug/gets_chk.c: Likewise.
22706         * debug/obprintf_chk.c: Likewise.
22707         * debug/vasprintf_chk.c: Likewise.
22708         * debug/vdprintf_chk.c: Likewise.
22709         * debug/vsnprintf_chk.c: Likewise.
22710         * debug/vsprintf_chk.c: Likewise.
22711         * malloc/mtrace.c: Likewise.
22712         * misc/error.c: Likewise.
22713         * misc/syslog.c: Likewise.
22714         * stdio-common/asprintf.c: Likewise.
22715         * stdio-common/fxprintf.c: Likewise.
22716         * stdio-common/getw.c: Likewise.
22717         * stdio-common/isoc99_fscanf.c: Likewise.
22718         * stdio-common/isoc99_scanf.c: Likewise.
22719         * stdio-common/isoc99_vfscanf.c: Likewise.
22720         * stdio-common/isoc99_vscanf.c: Likewise.
22721         * stdio-common/isoc99_vsscanf.c: Likewise.
22722         * stdio-common/printf-prs.c: Likewise.
22723         * stdio-common/printf_fp.c: Likewise.
22724         * stdio-common/printf_fphex.c: Likewise.
22725         * stdio-common/printf_size.c: Likewise.
22726         * stdio-common/putw.c: Likewise.
22727         * stdio-common/scanf.c: Likewise.
22728         * stdio-common/sprintf.c: Likewise.
22729         * stdio-common/tmpfile.c: Likewise.
22730         * stdio-common/vfprintf.c: Likewise.
22731         * stdio-common/vfscanf.c: Likewise.
22732         * stdlib/strfmon_l.c: Likewise.
22733         * sunrpc/openchild.c: Likewise.
22734         * sunrpc/xdr_stdio.c: Likewise.
22735         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
22736         * sysdeps/mach/hurd/tmpfile.c: Likewise.
22738 2012-05-24  Roland McGrath  <roland@hack.frob.com>
22740         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
22742         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
22743         in the third column, to generate for the shared library an IFUNC
22744         that uses _dl_vdso_vsym.
22745         * Makerules (COMPILE.c, compile-stdin.c): New variables.
22746         * Makeconfig (object-suffixes-noshared): New variable.
22748         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
22749         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
22750         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
22751         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
22753         [BZ #14132]
22754         * include/sys/time.h (__gettimeofday): Remove macro.
22755         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
22756         * time/gettimeofday.c (__gettimeofday): Remove #undef.
22757         Remove INTDEF.
22758         (__gettimeofday): Add libc_hidden_def.
22759         (gettimeofday): Add libc_hidden_weak.
22760         * sysdeps/mach/gettimeofday.c: Likewise.
22761         * sysdeps/posix/gettimeofday.c: Likewise.
22762         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
22763         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
22764         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
22765         (__gettimeofday_internal): Remove strong_alias.
22766         (__gettimeofday): Add libc_hidden_def.
22767         (gettimeofday): Add libc_hidden_weak.
22768         * sysdeps/unix/syscalls.list (gettimeofday):
22769         Remove __gettimeofday_internal alias.
22771 2012-05-24  Daniel Jacobowitz  <drow@false.org>
22772             H.J. Lu  <hongjiu.lu@intel.com>
22774         [BZ #12495]
22775         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
22776         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
22777         (largebin_index_32_big): New.
22778         (largebin_index): Use it for 16-byte alignment.
22779         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
22780         correction with front_misalign.
22782 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
22784         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
22785         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
22786         Likewise.
22787         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
22788         Likewise.
22789         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
22790         Likewise.
22791         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
22792         Likewise.
22793         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
22794         Likewise.
22795         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
22796         Likewise.
22797         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
22798         Likewise.
22799         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
22800         Likewise.
22801         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
22802         Likewise.
22803         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
22804         Likewise.
22805         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
22806         Likewise.
22807         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
22808         Likewise.
22810         * scripts/data/c++-types-x32-linux-gnu.data: New file.
22811         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
22813 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
22815         [BZ #10846]
22816         [BZ #14036]
22817         * math/libm-test.inc (exp_test): Add test from bug 14036.
22818         (pow_test): Add test from bug 10846.
22820         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
22821         and other flags.
22822         (special_function): Do not include flags in test name.
22823         (parse_args): Likewise.
22824         * sysdeps/i386/fpu/libm-test-ulps: Update.
22825         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22826         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22827         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22828         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22830         * math/gen-libm-test.pl (%beautify): Add entries for underflow
22831         exceptions.
22832         * math/libm-test.inc ("Philosophy"): Update comment about
22833         exception testing.
22834         (UNDERFLOW_EXCEPTION): New macro.
22835         (UNDERFLOW_EXCEPTION_OK): Likewise.
22836         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
22837         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
22838         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
22839         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
22840         (INVALID_EXCEPTION_OK): Update value.
22841         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
22842         (OVERFLOW_EXCEPTION_OK): Likewise.
22843         (IGNORE_ZERO_INF_SIGN): Likewise.
22844         (test_exceptions): Handle underflow exceptions.
22845         (acos_test): Update for underflow exception expectations.
22846         (cexp_test): Likewise.
22847         (clog_test): Likewise.
22848         (clog10_test): Likewise.
22849         (csqrt_test): Likewise.
22850         (ctan_test): Likewise.
22851         (ctanh_test): Likewise.
22852         (exp_test): Likewise.
22853         (exp10_test): Likewise.
22854         (exp2_test): Likewise.
22855         (expm1_test): Likewise.
22856         (fma_test): Likewise.
22857         (j0_test): Likewise.
22858         (jn_test): Likewise.
22859         (nexttoward_test): Likewise.
22860         (pow_test): Likewise.
22861         (scalbn_test): Likewise.
22862         (scalbln_test): Likewise.
22863         (tan_test): Likewise.
22864         (y1_test): Likewise.
22865         * sysdeps/i386/fpu/libm-test-ulps: Update.
22866         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22868 2012-05-23  David S. Miller  <davem@davemloft.net>
22870         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
22871         (__libc_sigaction): Remove unused local variables.
22873 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
22875         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
22877 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
22879         mktime: avoid signed integer overflow
22880         * time/mktime.c (__mktime_internal): Do not mishandle the case
22881         where diff == INT_MIN.
22883         mktime: simplify computation of average
22884         * time/mktime.c (ranged_convert): Use new time_t_avg function
22885         instead of rolling our own (probably-slower) code.
22887         mktime: do not assume signed right shift propagates sign bit
22888         * time/mktime.c (isdst_differ): New static function.
22889         (__mktime_internal): No need to normalize tm_isdst now.
22890         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
22891         tm_isdst values.
22893         mktime: merge another wrapv change from gnulib
22894         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
22895         from some compilers.
22897         mktime: remove incorrect attempt at unusual arithmetics
22898         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
22899         The code didn't really work on such machines anyway.
22900         (TYPE_MINIMUM): Assume two's complement.
22901         (twos_complement_arithmetic): Verify that long_int and time_t
22902         are two's complement (or unsigned, in the latter case).
22904         mktime: check signed shifts on long_int and time_t, too
22905         * time/mktime.c (SHR): Check that shifts work as desired
22906         on the types long_int and time_t too, as SHR is used on
22907         such types.
22909         mktime: do not assume 'long' is wide enough
22910         * time/mktime.c (verify): Move decl up.
22911         (long_int): New type.
22912         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
22913         to remove assumption in the code that 'long' is wide enough to
22914         store year values.  This assumption is not true on x32 and on
22915         some non-glibc platforms.
22917         mktime: merge wrapv change from gnulib
22918         * time/mktime.c (WRAPV): New macro.
22919         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
22920         (guess_time_tm, __mktime_internal): Do not assume that signed
22921         integer overflow wraps around; modern compilers generate code
22922         where this assumption is no longer valid.
22924 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
22926         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
22927         Replace "jmp L(pseudo_end)" with "ret".
22928         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
22929         Likewise.
22931 2012-05-23  Andreas Jaeger  <aj@suse.de>
22933         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
22934         * sysdeps/unix/sysv/linux/poll.c: Remove file.
22936 2012-05-23  Andreas Jaeger  <aj@suse.de>
22937             Maximilian Attems  <max@stro.at>
22939         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
22940         New macros.
22942 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
22944         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
22945         code so that pseudo_end is just ret and the stack pointer is
22946         correct also for static library in error case.
22948 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
22950         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
22951         move to syscalls.list.
22952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
22953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
22954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
22955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
22957         * manual/install.texi (Running make install): Do not mention Linux
22958         kernel version for which pt_chown is not needed.
22959         (Linux): Do not mention problems with nscd with 2.0 kernels.
22960         * INSTALL: Regenerated.
22962 2012-05-23  Andreas Jaeger  <aj@suse.de>
22964         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
22965         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
22966         macro.
22967         * sysdeps/unix/sysv/linux/s390/bits/mman.h
22968         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22969         * sysdeps/unix/sysv/linux/sh/bits/mman.h
22970         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22971         * sysdeps/unix/sysv/linux/i386/bits/mman.h
22972         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22973         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
22974         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22975         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
22976         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22977         * sysdeps/unix/sysv/linux/bits/in.h
22978         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
22980 2012-05-22  Roland McGrath  <roland@hack.frob.com>
22982         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
22983         (PREPARE_VERSION): Just use assert instead, it will be elided
22984         under [NDEBUG] anyway.
22986 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
22988         * sysdeps/unix/sysv/linux/Makefile: Include
22989         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
22990         (sysdep_routines): Remove sysctl.
22991         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
22992         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
22993         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
22994         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
22995         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
22997 2012-05-22  Andreas Jaeger  <aj@suse.de>
22999         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
23000         that pseudo_end is just ret and the stack pointer is correct also
23001         for static library in error case.
23003 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
23005         [BZ #14122]
23006         * nss/nsswitch.c (defconfig_entries): New variable.
23007         (__nss_database_lookup): Don't leak defconfig entries.
23008         (nss_parse_service_list): Don't leak on error paths.
23009         (free_database_entries): New function.
23010         (free_defconfig): New function.
23011         (free_mem): Move common code to free_database_entries.
23013 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
23015         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
23016         Add arch_prctl.
23017         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
23019         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23020         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
23021         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
23022         New macro.
23023         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
23024         (INTERNAL_SYSCALL_TYPES): Likewise.
23025         (LOAD_ARGS_TYPES_[1-6]): Likewise.
23026         (LOAD_REGS_TYPES_[1-6]): Likewise.
23027         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
23028         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
23030 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23032         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
23033         copysignl for GLIBC_2_0.
23034         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
23035         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
23036         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
23037         logbl for GLIBC_2_0.
23038         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
23039         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
23041 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
23043         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
23044         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
23046         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23047         Use "neg %eax".
23049         * time/mktime.c: Update copyright years.
23051 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
23053         mktime: merge comment-quoting-style change from gnulib
23054         * time/mktime.c: Quote 'like this' in comments.
23055         The GNU coding standards suggest that we no longer quote `like this',
23056         as "`" and "'" are typically rendered asymmetrically nowadays.
23057         The typical gnulib style is to quote 'like this' when quoting
23058         code, and "like this" when quoting English.
23060         * time/mktime.c (compile-command): Add "-I.".
23062         mktime: merge mktime-internal.h change from gnulib
23063         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
23065         mktime: merge time_r change from gnulib
23066         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
23068         mktime: merge DEBUG change from gnulib
23069         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
23070         case system <time.h> has a #define.
23072         mktime: merge <sys/types.h> change from gnulib
23073         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
23074         since <time.t> is now guaranteed to define time_t.
23076         mktime: merge HAVE_CONFIG_H change from gnulib
23077         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
23079 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
23081         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23082         Use "neg %eax".
23084         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
23085         __rlim_t cast.
23086         (struct rusage): Use anonymous union to pad each field to
23087         __syscall_slong_t.
23089 2012-05-21  David S. Miller  <davem@davemloft.net>
23091         * Makefules (o-iterator): Remove .s cases.
23092         (compile-command.s): Delete.
23093         (COMPILE.s): Delete.
23094         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
23096 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
23098         * configure.in (libc_cv_predef_stack_protector): Only consider
23099         "foobar" and "__stack_chk_fail" lines in libc_undefs.
23100         * configure: Regenerated.
23102 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
23104         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23105         New macro.  Use R*LP on int and pointer.
23106         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
23107         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
23108         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
23109         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
23111         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
23112         [__WORDSIZE_TIME64_COMPAT32] instead of
23113         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
23114         (struct utmp): Likewise.
23115         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
23116         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
23117         Renamed to ...
23118         (__WORDSIZE_TIME64_COMPAT32): This.
23119         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
23120         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
23121         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
23122         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
23123         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
23124         (__WORDSIZE_TIME64_COMPAT32): New macro.
23126 2012-05-21  Andreas Jaeger  <aj@suse.de>
23128         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
23129         only if [SHARED]. Add prototype for __wcschr_ia32.
23131 2012-05-21  Roland McGrath  <roland@hack.frob.com>
23133         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
23134         of %rbp unmolested in the jmp_buf while mangling the low bits.
23135         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
23136         unmolested high bits of %rbp while demangling the low bits.
23137         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
23139 2012-05-21  Andreas Jaeger  <aj@suse.de>
23141         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
23142         * sunrpc/svc_simple.c: Use it for registerrpc.
23143         * sunrpc/xcrypt.c: Use it for passwd2des.
23145         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
23147 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
23149         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
23150         Don't define if [__SYSCALL_WORDSIZE != 32].
23151         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
23152         New macro.
23154 2012-05-21  Bruno Haible  <bruno@clisp.org>
23155             Andreas Jaeger  <aj@suse.de>
23157         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
23158         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
23159         inptr and inend for must_buffer_ch.
23160         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
23161         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
23162         * stdio-common/Makefile (tests): Remove bug15.
23163         (bug15-ENV): Remove macro.
23164         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
23165         anymore.
23167 2012-05-19  Andreas Jaeger  <aj@suse.de>
23168             Roland McGrath  <roland@hack.frob.com>
23170         * manual/contrib.texi: Completely rewritten. It contains now an
23171         alphabetical list of contributors and their contributions.
23173 2012-05-21  Richard Henderson  <rth@twiddle.net>
23175         * misc/getauxval.c (__getauxval): Use unsigned long int.
23176         * misc/sys/auxv.h: Include <sys/cdefs.h>.
23177         (getauxval): Use unsigned long int.
23179 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
23181         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
23183 2012-05-21  Roland McGrath  <roland@hack.frob.com>
23185         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
23186         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
23187         __alignof__ (long double).
23189 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23191         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23193 2012-05-20  Richard Henderson  <rth@twiddle.net>
23195         * misc/getauxval.c: New file.
23196         * misc/sys/auxv.h: New file.
23197         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
23198         (routines): Add getauxval.
23199         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
23200         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
23201         * elf/dl-sysdep.c (_dl_auxv): Remove.
23202         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
23203         * elf/dl-support.c (_dl_auxv): New variable.
23204         (_dl_aux_init): Initialize it.
23205         * manual/startup.texi (Auxiliary Vector): New node.
23206         * sysdeps/generic/bits/hwcap.h: New file.
23207         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
23208         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
23209         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
23210         * sysdeps/sparc/sysdep.h: ... here.  Include it.
23211         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
23212         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
23213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23214         Update.
23215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
23216         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
23217         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
23218         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
23219         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23220         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23221         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
23222         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
23224 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23226         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23228 2012-05-19  David S. Miller  <davem@davemloft.net>
23230         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23232 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
23234         [BZ #14123]
23235         * math/s_ccosh.c: Include <float.h>
23236         (__ccosh): Avoid internal overflow calculating sinh and cosh
23237         values before multiplying by sin and cos values.
23238         * math/s_ccoshf.c: Likewise.
23239         * math/s_ccoshl.c: Likewise.
23240         * math/s_csin.c: Likewise.
23241         * math/s_csinf.c: Likewise.
23242         * math/s_csinl.c: Likewise.
23243         * math/s_csinh.c: Likewise.
23244         * math/s_csinhf.c: Likewise.
23245         * math/s_csinhl.c: Likewise.
23246         * math/libm-test.inc (ccos_test): Add more tests.
23247         (ccosh_test): Likewise.
23248         (csin_test): Likewise.
23249         (csinh_test): Likewise.
23250         * sysdeps/i386/fpu/libm-test-ulps: Update.
23251         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23253 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
23255         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
23256         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
23258         * sysdeps/x86_64/x32/_itoa.h: Add comment.
23260 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
23262         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
23263         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
23264         * sysdeps/powerpc/soft-fp/Versions: Likewise.
23265         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
23266         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
23267         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
23268         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
23269         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
23270         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
23271         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
23272         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
23273         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
23274         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
23275         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
23276         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
23277         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
23278         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
23279         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
23280         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
23281         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
23282         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
23283         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
23284         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
23285         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
23286         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
23287         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
23288         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
23289         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
23290         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
23291         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
23292         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
23294 2012-05-18  Andreas Jaeger  <aj@suse.de>
23296         * csu/.gitignore: Delete.
23298 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
23300         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
23301         (timex): Use __syscall_slong_t.
23303 2012-05-18  Andreas Jaeger  <aj@suse.de>
23304             Carlos O'Donell  <carlos_odonell@mentor.com>
23306         * manual/install.texi (Configuring and compiling): Update
23307         description about files modified in the source directory.
23308         * INSTALL: Regenerated.
23310 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
23312         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
23313         value.  Use "or" to set return value to -1.
23314         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
23315         negate return value.
23317 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23319         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
23320         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
23321         failure if the compiler has Graphite support disabled.
23322         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
23323         Likewise.
23324         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
23325         CFLAGS-memmove.c): Likewise.
23326         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
23327         Likewise.
23329 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
23331         * sysdeps/x86_64/x32/_itoa.h: New file.
23333         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
23334         getdents system call only if kernel and user dirents have the
23335         same d_ino and d_off.
23337         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
23338         LLONG_MAX != LONG_MAX.
23339         (_itoa_word): Use _ITOA_WORD_TYPE on value.
23340         (_fitoa_word): Likewise.
23342         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
23343         years.
23344         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
23345         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
23346         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
23348         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
23349         include <bits/wordsize.h>.  Check __x86_64__ instead of
23350         __WORDSIZE.
23351         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
23352         if __x86_64__ is defined.  Use anonymous union on fpstate.
23354         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
23355         anonymous union.
23357 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
23359         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
23360         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
23361         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
23362         Refer to _rtld_local_ro instead of _rtld_global_ro.
23363         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
23364         Likewise.
23365         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
23366         Likewise.
23367         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
23368         Likewise.
23369         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
23370         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
23371         of _rtld_global, and rtld_progname instead of _dl_argv[0].
23373         * sysdeps/powerpc/powerpc32/dl-machine.c
23374         (__elf_machine_runtime_setup) [PROF]: Don't reference
23375         _dl_prof_resolve.
23377 2012-05-18  Andreas Jaeger  <aj@suse.de>
23379         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
23380         function only available for GCCs before 3.4 since GCC 3.4
23381         introduced a builtin.
23382         (lrint): Likewise.
23383         (llrintf): Likewise.
23384         (llrint): Likewise.
23385         (fmaxf): Likewise.
23386         (fmax): Likewise.
23387         (fminf): Likewise.
23388         (fmin): Likewise.
23389         (rint): Likewise.
23390         (rintf): Likewise.
23391         (nearbyint): Likewise.
23392         (nearbyintf): Likewise.
23393         (ceil): Likewise.
23394         (ceilf): Likewise.
23395         (floor): Likewise.
23396         (floorf): Likewise.
23398 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
23400         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
23401         on both fields and cast pointer to __syscall_ulong_t.
23403         * bits/types.h (__fsword_t): New type.
23404         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
23405         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
23406         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23407         (__FSWORD_T_TYPE): Likewise.
23408         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23409         (__FSWORD_T_TYPE): Likewise.
23410         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23411         (__FSWORD_T_TYPE): Likewise.
23412         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
23413         (__FSWORD_T_TYPE): Likewise.
23414         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
23415         __SWORD_TYPE with __fsword_t.
23416         (statfs64): Likewise.
23418 2012-05-17  David S. Miller  <davem@davemloft.net>
23420         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
23422 2012-05-17  Andreas Jaeger  <aj@suse.de>
23424         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
23425         warning.
23427 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
23429         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
23431 2012-05-17  Andreas Jaeger  <aj@suse.de>
23433         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
23434         when it is used.
23436 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
23438         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
23440 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
23442         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
23443         * sysdeps/x86_64/tst-mallocalign1.c: New file.
23445 2012-05-17  Andreas Jaeger  <aj@suse.de>
23446             Carlos O'Donell  <carlos_odonell@mentor.com>
23448         [BZ #14059]
23449         * sysdeps/x86_64/multiarch/init-arch.h
23450         (bit_YMM_Usable): Rename to...
23451         (bit_AVX_Usable): ... this.
23452         (bit_FMA4_Usable): New macro.
23453         (bit_XMM_state): New macro.
23454         (bit_YMM_state): New macro.
23455         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
23456         [__ASSEMBLER__] (index_AVX_Usable): ... this.
23457         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
23458         (CPUID_OSXSAVE): New macro.
23459         (CPUID_AVX): New macro.
23460         (CPUID_FMA4): New macro.
23461         (index_YMM_Usable): Rename to...
23462         (index_AVX_Usable): ... this.
23463         (HAS_AVX): Use HAS_ARCH_FEATURE.
23464         (HAS_FMA4): Likewise.
23465         (HAS_YMM_USABLE): Remove.
23466         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23467         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
23468         are present.
23469         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
23470         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
23471         * sysdeps/x86_64/multiarch/Makefile: Likewise.
23472         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
23473         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
23475 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
23477         * math/libm-test.c: Support platforms without multiple rounding modes.
23478         * math/bug-nextafter.c: Support platforms without FP exceptions.
23479         * math/bug-nexttoward.c: Likewise.
23480         * math/test-fenv.c: Likewise.
23481         * math/test-misc.c: Likewise.
23482         * stdlib/bug-getcontext.c: Likewise.
23484 2012-05-17  Andreas Jaeger  <aj@suse.de>
23486         * manual/examples/search.c (critter_cmp): Change signature to
23487         avoid warnings.
23488         * manual/string.texi (Collation Functions): Likewise.
23490 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
23492         * bits/types.h: Fold copyright years.
23493         * bits/typesizes.h: Likewise.
23494         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
23495         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
23496         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
23497         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
23498         * time/time.h: Likewise.
23500 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
23502         [BZ #208]
23503         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
23504         in instead of returning them.  Return void.
23505         (__libc_mallinfo): Accumulate over all arenas.
23506         (__malloc_stats): Adjust for change in int_mallinfo interface.
23508 2012-05-16  Roland McGrath  <roland@hack.frob.com>
23510         [BZ #10375]
23511         * configure.in (NM): Add AC_CHECK_TOOL for it.
23512         (libc_extra_cflags): New substituted variable.
23513         Check for -fstack-protector being used implicitly.
23514         * configure: Regenerated.
23515         * config.make.in (config-extra-cflags): New variable,
23516         gets @libc_extra_cflags@.
23517         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
23519         [BZ #10375]
23520         * configure.in: Check for _FORTIFY_SOURCE being predefined.
23521         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
23522         * configure: Regenerated.
23523         * config.make.in (CPPUNDEFS): New substituted variable.
23524         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
23525         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
23526         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
23528 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
23530         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
23531         (mq_attr): Use __syscall_slong_t.
23533 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
23535         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
23536         Check __x86_64__ instead of __WORDSIZE.
23537         (_STAT_VER_LINUX): Likewise.
23538         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
23539         __syscall_ulong_t and __syscall_slong_t.
23540         (stat64): Likewise.
23542 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
23544         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
23546 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
23548         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
23550 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
23552         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
23553         __syscall_ulong_t.
23555         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
23556         include <bits/wordsize.h>.  Check __x86_64__ instead of
23557         __WORDSIZE.
23558         (greg_t): Use "__extension__ long long int" if __x86_64__ is
23559         defined.
23560         (mcontext_t): Replace "unsigned long" with "unsigned long long".
23562         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
23563         include <bits/wordsize.h>.  Check __x86_64__ instead of
23564         __WORDSIZE.
23565         (user_regs_struct): Use "__extension__ unsigned long long"
23566         instead of "unsigned long" if __x86_64__ is defined.
23567         (user): Likewise.  Pad after pointer field if __ILP32__ is
23568         defined.
23570 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
23572         * configure.in (makeinfo): Require version 4.5 or later.  Allow
23573         versions 5 to 9.
23574         * configure: Regenerated.
23575         * manual/install.texi (texinfo): Increase version requirement to
23576         4.5 or later.
23577         * INSTALL: Regenerated.
23579         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
23581 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
23583         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
23585         * sysdeps/x86_64/x32/ffs.c: New file.
23587         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
23588         __syscall_ulong_t.
23589         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
23590         defined.  Use __syscall_ulong_t.
23591         (shminfo): Use __syscall_ulong_t.
23592         (shm_info): Likewise.
23594         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
23595         __syscall_ulong_t.
23597         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
23598         <bits/wordsize.h>.
23599         (msgqnum_t): Use __syscall_ulong_t.
23600         (msglen_t): Likewise.
23601         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
23602         __syscall_ulong_t.
23604         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
23605         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
23607         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
23609         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
23610         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
23612         * sysvipc/sys/msg.h (msgbuf): Replace long int with
23613         __syscall_slong_t.
23615         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
23616         include <bits/wordsize.h>.  Check __x86_64__ instead of
23617         __WORDSIZE.
23619         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
23620         "unsigned long long int" if __x86_64__ is defined.
23621         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
23623         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
23624         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
23625         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
23627         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
23628         <stdint.h>.
23629         (GET_PC): Cast to uintptr_t first.
23630         (GET_FRAME): Likewise.
23631         (GET_STACK): Likewise.
23633         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
23634         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
23635         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
23636         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
23637         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
23638         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
23639         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
23640         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
23641         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
23642         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
23643         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
23644         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
23645         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
23646         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
23647         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
23648         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
23649         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
23650         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
23651         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
23652         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
23653         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
23654         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
23655         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
23656         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
23657         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
23658         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
23659         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
23660         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
23661         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
23663 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
23665         * Makerules (+depfiles): Also collect depfiles from .oS in
23666         $(extra-objs).
23667         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
23668         .oS, $(libnldbl-routines)).
23670         * Makerules (native-compile-mkdep-flags): Define.
23671         * sunrpc/Makefile (extra-objs): Add $(addprefix
23672         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
23673         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
23674         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
23675         calling $(make-target-directory).
23677 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23679         * bits/types.h (__snseconds_t): Removed.
23680         * time/time.h (struct timespec): Replace __snseconds_t with
23681         __syscall_slong_t.
23682         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
23683         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
23684         Likewise.
23685         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23686         (__SNSECONDS_T_TYPE): Likewise.
23687         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23688         (__SNSECONDS_T_TYPE): Likewise.
23689         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23690         (__SNSECONDS_T_TYPE): Likewise.
23692 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23694         * sysdeps/mach/hurd/bits/typesizes.h
23695         (__SYSCALL_SLONG_TYPE): New macro.
23696         (__SYSCALL_ULONG_TYPE): Likewise.
23698 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23700         * bits/types.h (__syscall_slong_t): New type.
23701         (__syscall_ulong_t): Likewise.
23703         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
23704         (__SYSCALL_ULONG_TYPE): Likewise.
23705         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23706         (__SYSCALL_SLONG_TYPE): Likewise.
23707         (__SYSCALL_ULONG_TYPE): Likewise.
23708         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23709         (__SYSCALL_SLONG_TYPE): Likewise.
23710         (__SYSCALL_ULONG_TYPE): Likewise.
23711         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23712         (__SYSCALL_SLONG_TYPE): Likewise.
23713         (__SYSCALL_ULONG_TYPE): Likewise.
23715 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23717         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
23718         Add sigaltstack-offsets.sym.
23719         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
23720         <sigaltstack-offsets.h>.
23721         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
23722         longjmp_msg pointer.
23723         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
23724         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
23725         signal stack.
23726         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
23728 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
23730         * elf/stackguard-macros.h: Remove file.
23731         * sysdeps/generic/stackguard-macros.h: New file.
23732         * sysdeps/i386/stackguard-macros.h: Likewise.
23733         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
23734         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
23735         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
23736         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
23737         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
23738         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
23739         * sysdeps/x86_64/stackguard-macros.h: Likewise.
23740         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
23741         <elf/stackguard-macros.h>.
23743         [BZ #14109]
23744         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
23745         __aligned__ in attribute.
23746         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
23747         (gregset_t): Likewise.
23749 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23751         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
23752         * sysdeps/x86_64/64/Implies-after: Here.  New file.
23753         * sysdeps/x86_64/x32/Implies-after: New file.
23755 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23757         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
23758         and access return value for _dl_profile_fixup.  Use R10_LP to
23759         load frame size.
23761 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23763         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
23765 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23767         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
23768         * sysdeps/x86_64/x32/sysdep.h: New file.
23770 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23772         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
23773         * sysdeps/x86_64/setjmp.S: Likewise.
23775 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23777         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
23778         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
23779         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
23780         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
23781         remove unused global constant.
23783 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
23785         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
23786         include of <not-cancel.h>.
23788 2012-05-15  Roland McGrath  <roland@hack.frob.com>
23790         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
23792 2012-05-15  Jeff Law  <law@redhat.com>
23793             Andreas Jaeger  <aj@suse.de>
23795         [BZ #13594]
23796         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
23797         out from...
23798         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
23799         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
23800         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
23801         code changing __hst_map_handle.map.
23803 2012-05-15  Roland McGrath  <roland@hack.frob.com>
23805         * configure.in (sysnames): Look for Implies-before and Implies-after
23806         files.
23807         * configure: Regenerated.
23809 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23811         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
23812         8-byte data alignment with LP_SIZE alignment.
23814 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23816         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
23817         into R10_LP.
23819 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23821         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
23823 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23825         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
23826         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
23827         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
23828         Likewise.
23829         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
23831 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23833         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
23834         (stackinfo_sub_sp): Likewise.
23836 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23838         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
23839         RAX_LP.
23841 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23843         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
23844         into R*_LP.
23846 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23848         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
23849         sizes into R*_LP.
23851 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23853         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
23855 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23857         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
23858         into R11_LP and load __x86_64_shared_cache_size_half into
23859         R8_LP.
23861 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23863         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
23864         R8_LP.
23866 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23868         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
23869         logb for POWER7.
23870         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
23871         logbf for POWER7.
23872         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
23873         logbl for POWER7.
23874         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
23875         powerpc32/power7/fpu/s_logb.c via #include.
23876         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
23877         powerpc32/power7/fpu/s_logbf.c via #include.
23878         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
23879         powerpc32/power7/fpu/s_logbl.c via #include.
23881 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
23883         * README.libm: Remove file.
23885 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
23887         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
23888         count for x32.  Use R*_LP and omit operand-size suffix.
23890 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
23892         * shlib-versions: Move x86_64-.*-linux.* entries to ...
23893         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
23894         * sysdeps/x86_64/x32/shlib-versions: New file.
23896 2012-05-14  Roland McGrath  <roland@hack.frob.com>
23898         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
23899         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
23900         Use _dl_fatal_printf instead.
23902 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
23904         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
23905         set if not set by the user.  Do not allow for being unset.
23906         * sysdeps/unix/sysv/linux/configure: Regenerated.
23908 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
23910         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
23911         the `q' suffix from lea and replace .quad with ASM_ADDR.
23913 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
23915         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
23916         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
23917         instead of $17.
23918         (PTR_DEMANGLE): Likewise.
23920 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
23922         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
23923         (LP_OP): Likewise.
23924         (ASM_ADDR): Likewise.
23925         (RAX_LP): Likewise.
23926         (RBP_LP): Likewise.
23927         (RBX_LP): Likewise.
23928         (RCX_LP): Likewise.
23929         (RDI_LP): Likewise.
23930         (RSI_LP): Likewise.
23931         (RSP_LP): Likewise.
23932         (R8_LP): Likewise.
23933         (R9_LP): Likewise.
23934         (R10_LP): Likewise.
23935         (R10_LP): Likewise.
23936         (R11_LP): Likewise.
23937         (R12_LP): Likewise.
23938         (R13_LP): Likewise.
23939         (R14_LP): Likewise.
23940         (R15_LP): Likewise.
23942 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
23944         * sysdeps/x86_64/x32/dl-machine.h: New file.
23946 2012-05-14  Andreas Jaeger  <aj@suse.de>
23948         * manual/Makefile (subdir): Remove export of subdir.
23949         (all): Remove target.
23950         (.PHONY): Remove all from list.
23951         (mkinstalldirs): Remove.
23952         (.PHONY): Remove installdirs from list.
23953         ($(inst_infodir)/libc.info): Use make-target-directory.
23954         (installdirs): Remove.
23955         (subdir_%): Remove.
23956         (glibc-targets): Remove.
23957         (lib): Remove.
23958         (stubs): Remove.
23959         ($(objpfx)stubs ../po/manual.pot): Remove.
23960         ($(objpfx)stamp%): Remove.
23961         (make-target-directory): Remove.
23962         (subdir_install): Remove.
23963         (routines): Remove.
23964         (aux): Remove.
23965         (sources): Remove.
23966         (objects): Remove.
23967         (headers): Remove.
23969         [BZ #13750]
23970         * manual/.gitignore: Remove, it's not needed anymore.
23971         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
23972         all files in it.
23973         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
23974         directory.
23975         (texis): Renamed to $(objpfx)texis.
23976         (texis-path): New, contains path to generated files.
23977         (chapters.%): Use texis-path for complete path, add extra argument
23978         libc-texinfo.sh.
23979         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
23980         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
23981         (summary,texi, stamp-summary): Use complete path of
23982         files. Generate files in build dir.
23983         (dir-add.texi): Build in build dir.
23984         (libm-err.texi,stamp-libm-err): Likewise.
23985         (version.texi, stamp-version): Likewise.
23986         (.%c.texi): Likewise.
23987         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
23988         (mostlyclean): Remove target.
23989         (realclean): Remove target.
23990         (generated): Add new variable with contents from mostlyclean and
23991         realclean, remove entries duplicated in common-mostlyclean, add
23992         stamp-libm-err and stamp-version.
23993         (generated-dirs): Add libc directory.
23994         ($(inst_infodir)/libc.info): Install files from build dir.
23996         * manual/install.texi (Configuring and compiling): Adjust since
23997         the info files are not part of the tar ball anymore.
23999 2012-05-14  Andreas Jaeger  <aj@suse.de>
24001         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
24002         variable.
24004 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
24006         [BZ #13717]
24007         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
24008         to 2.2.0 where earlier.
24009         * sysdeps/unix/sysv/linux/configure: Regenerated.
24010         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
24011         Remove conditional code.
24012         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
24013         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
24014         Remove conditional code.
24015         [!__NR_lchown]: Likewise.
24016         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24017         [__NR_lchown]: Likewise.
24018         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
24019         comment referencing __ASSUME_LCHOWN_SYSCALL.
24020         * sysdeps/unix/sysv/linux/i386/sigaction.c
24021         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24022         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24023         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
24024         Remove conditional code.
24025         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
24026         (__protocol_available): Remove #if 0 code.
24027         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
24028         conditional code.
24029         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
24030         * sysdeps/unix/sysv/linux/kernel-features.h
24031         (__ASSUME_GETCWD_SYSCALL): Don't define.
24032         (__ASSUME_REALTIME_SIGNALS): Likewise.
24033         (__ASSUME_PREAD_SYSCALL): Likewise.
24034         (__ASSUME_PWRITE_SYSCALL): Likewise.
24035         (__ASSUME_POLL_SYSCALL): Likewise.
24036         (__ASSUME_LCHOWN_SYSCALL): Likewise.
24037         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
24038         non-SPARC.
24039         (__ASSUME_SIOCGIFNAME): Don't define.
24040         (__ASSUME_MSG_NOSIGNAL): Likewise.
24041         (__ASSUME_SENDFILE): Define unconditionally.
24042         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
24043         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
24044         conditional code.
24045         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
24046         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
24047         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24048         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24049         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
24050         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24051         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
24053         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24054         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
24056         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24057         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
24059         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24060         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
24062         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24063         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
24065         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24066         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
24068         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24069         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
24071         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24072         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
24074         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24075         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24076         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
24077         Remove conditional code.
24078         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24079         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24080         Remove conditional code.
24081         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24082         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
24083         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
24084         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24085         Remove conditional code.
24086         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24087         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
24088         Remove conditional code.
24089         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24090         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
24091         Remove conditional code.
24092         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24093         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24094         Remove conditional code.
24095         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24096         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24097         Remove conditional code.
24098         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24099         * sysdeps/unix/sysv/linux/sh/pwrite64.c
24100         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24101         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24102         * sysdeps/unix/sysv/linux/sigaction.c
24103         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24104         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24105         * sysdeps/unix/sysv/linux/sigpending.c
24106         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24107         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24108         * sysdeps/unix/sysv/linux/sigprocmask.c
24109         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24110         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24111         * sysdeps/unix/sysv/linux/sigsuspend.c
24112         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24113         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24114         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
24115         (__libc_missing_rt_sigs): Remove.
24116         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
24117         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
24118         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
24119         Remove conditional code.
24120         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
24121         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
24122         return 1.
24123         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
24124         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
24125         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
24126         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
24128 2012-05-14  Andreas Jaeger  <aj@suse.de>
24130         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
24131         it's not used in glibc.
24132         (__coshm1): Likewise.
24133         (__acosh1p): Likewise.
24134         (__sgn): Likewise.
24136         * manual/string.texi (Copying and Concatenation): Add missing
24137         variable in concat example.
24138         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
24140 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24142         [BZ #14103]
24143         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
24144         __builtin_clzl with __builtin_clzll.
24146 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24148         [BZ #14104]
24149         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
24150         libc_freeres_ptr.
24152 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24154         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
24155         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
24156         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
24157         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
24159 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
24161         * NEWS: Update ia64 info.
24163 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
24165         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
24166         used as bcopy.
24168 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
24170         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
24171         * sysdeps/unix/syscalls.list (dup3): Likewise.
24172         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
24173         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
24175 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
24177         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
24178         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
24180 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
24182         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
24183         thread pointer.
24184         (TLS_IE): Use mov/add instead of movq/addq to load thread
24185         pointer.
24186         (TLS_GD_PREFIX): New.
24187         (TLS_GD): Use it.
24189 2012-05-11  David S. Miller  <davem@davemloft.net>
24191         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
24192         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
24193         (_FPU_SETCW): Likewise.
24195 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
24197         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
24198         is 32-byte aligned.
24200 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
24202         [BZ #11837]
24203         * iconvdata/gb18030.c: Update tables.
24204         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
24205         characters specially.
24206         (BODY for TO_LOOP): Add encoding of missing ranges.
24208 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
24210         [BZ #13673]
24211         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
24212         * sysdeps/mach/hurd/dup3.c: Likewise.
24213         * sysdeps/mach/hurd/readlinkat.c: Likewise.
24214         * sysdeps/powerpc/memmove.c:: Likewise.
24216 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
24218         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
24219         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
24221 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
24223         * elf/elf.h (R_X86_64_RELATIVE64): New.
24224         (R_X86_64_NUM): Updated.
24225         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24226         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
24227         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
24228         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
24229         tst-quad1pie tst-quad2pie
24230         (modules-names): Add tst-quadmod1 tst-quadmod2.
24231         ($(objpfx)tst-quad1): New dependency.
24232         ($(objpfx)tst-quad2): Likewise.
24233         ($(objpfx)tst-quad1pie): Likewise.
24234         ($(objpfx)tst-quad2pie): Likewise.
24235         * sysdeps/x86_64/tst-quad1.c: New file.
24236         * sysdeps/x86_64/tst-quad1pie.c: New file.
24237         * sysdeps/x86_64/tst-quad2.c: Likewise.
24238         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
24239         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
24240         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
24241         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
24242         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
24244 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24246         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
24247         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
24248         * streams/stropts.h (t_scalar_t): Define type.
24250         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
24251         (_PATH_PRESERVE): Set to "/var/lib".
24252         (_PATH_RWHODIR): Set to "/var/spool/rwho".
24254         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
24255         instead of int.
24257         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
24258         if __dir_mkfile succeeded.
24260         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
24261         checking for _hurd_dtablesize.  Unlock it right after having
24262         finished _hurd_dtable allocation.
24264 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24266         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
24267         * sysdeps/mach/hurd/configure: Regenerated.
24268         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
24269         special-casing to...
24270         * sysdeps/gnu/configure.in: ... this new file.
24271         * sysdeps/unix/sysv/linux/configure: Regenerated.
24272         * sysdeps/gnu/configure: New generated file.
24274         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
24275         for Linux: use nsec instead of usec, as well as:
24276         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
24277         members of type struct timespec.
24278         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
24279         New macros.
24280         (struct stat64): Likewise.
24281         (_STATBUF_ST_NSEC): New macro.
24282         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
24284         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
24285         __strtoul_internal rather than strtoul.
24287 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
24289         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
24290         and reject them.
24292 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24294         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
24295         which preserves existing values.
24296         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
24298 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
24300         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
24301         TIMEOUT values.  Return EINVAL for NFDS values either negative or
24302         greater than FD_SETSIZE.
24304 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24306         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
24307         allocated, call __vm_protect to finish enabling the existing space, and
24308         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
24309         allocate the remainder.
24311 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
24313         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
24314         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
24316 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24318         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
24319         sysdeps/mach/hurd/readlink.c.
24321         * posix/tst-sysconf.c (posix_options): Only use
24322         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
24323         _POSIX_SYNCHRONIZED_IO when they are defined
24324         * sysdeps/mach/hurd/bits/posix_opt.h:
24325         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
24326         (_XOPEN_REALTIME): Undefine macro.
24327         (_XOPEN_REALTIME_THREADS): Undefine macro.
24328         (_XOPEN_SHM): Undefine macro.
24329         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
24330         macro to -1.
24331         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
24332         macro to -1.
24333         (_POSIX_ASYNC_IO): Undefine macro.
24334         (_POSIX_PRIORITIZED_IO): Undefine macro.
24335         (_POSIX_SPIN_LOCKS): Define macro to -1.
24337         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
24338         SA_NODEFER, SA_RESETHAND.
24339         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
24340         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
24341         F_DUPFD_CLOEXEC.
24343 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24345         * elf/Makefile (pldd-modules): Define unconditionally.
24347 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24349         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
24351 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24353         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
24354         Return ENOENT when name is empty.
24355         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
24357 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24359         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
24361         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
24363 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24365         Fix mlock in all cases except non-readable pages.
24366         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
24367         instead of VM_PROT_ALL as parameter to __vm_wire function.
24369         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
24370         (__mkdir): When path is `/', just fail with EEXIST.
24371         * sysdeps/mach/hurd/mkdirat.c: Likewise.
24373 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24375         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
24376         <sys/uio.h> (for writev).
24377         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
24378         and <sys/param.h> (for MIN).
24380 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
24382         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
24383         REQUESTED_TIME.  Properly set the remaining time and return EINTR
24384         if interrupted.
24386 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24388         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
24389         Depend on against $(link-rpcuserlibs).
24391 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24393         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
24394         (__libc_stack_end): Do not use attribute_relro.
24395         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
24396         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
24397         to libthread-provided value.
24398         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
24399         attribute_relro.
24401 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24403         [BZ #3748]
24404         * bits/libc-lock.h (__libc_once_get): New macro.
24405         * sysdeps/mach/bits/libc-lock.h: Likewise.
24406         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
24407         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
24408         instead of using implementation details.
24410         * libio/fileops.c: Unconditionally include <kernel-features.h>.
24411         * libio/freopen.c: Likewise.
24412         * libio/freopen64.c: Likewise.
24413         * misc/syslog.c: Likewise.
24414         * nscd/connections.c: Likewise.
24415         * nscd/netgroupcache.c: Likewise.
24416         * sysdeps/posix/getcwd.c: Likewise.
24418 2012-05-10  Roland McGrath  <roland@hack.frob.com>
24420         * math/w_ilogbf.c: Add #include <limits.h>.
24422 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24424         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
24425         path instead of returning without unlocking.
24427         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
24428         immediate-write ioctls.
24429         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
24431 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24433         * sysdeps/mach/hurd/i386/init-first.c (init): Use
24434         __builtin_frame_address instead of making assumptions about the
24435         location of the return address relative to DATA.  Force early load of
24436         the return address.
24437         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
24438         __builtin_frame_address.
24440         dup3 for GNU Hurd.
24441         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
24442         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
24443         implement dup3 and do some further code clean-ups.
24444         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
24445         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
24447 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24449         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
24451         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
24452         HURD_CRITICAL_END around holding _hurd_dtable_lock.
24453         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
24454         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
24455         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
24456         d->port.lock.
24458         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
24459         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
24460         when handler == SIG_ERR, not when handler != SIG_ERR.
24462 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24464         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
24465         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
24466         definitions.
24468         accept4 for GNU Hurd.
24469         * include/sys/socket.h (__libc_accept4): New prototype.
24470         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
24471         to implement __libc_accept4.
24472         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
24473         __libc_accept4.
24474         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
24476         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
24477         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
24478         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
24479         signal-defines.sym.
24481 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24483         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
24485 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24487         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
24488         assertion on O_CLOEXEC flag.
24489         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
24490         * hurd/intern-fd.c: Likewise.
24491         * hurd/port2fd.c: Likewise.
24493 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24495         [BZ #3906]
24496         * bits/in.h (IPV6_PKTINFO): Define new macro.
24497         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
24499 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24501         [BZ #13954]
24502         [BZ #13955]
24503         [BZ #13956]
24504         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
24505         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
24506         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
24507         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
24508         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24509         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
24510         * math/libm-test.inc (logb_test) : Additional logb tests.
24512 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
24513             Andreas Jaeger  <aj@suse.de>
24515         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
24516         * configure: Regenerated.
24517         * config.h.in (LINK_OBSOLETE_RPC): New macro.
24518         * config.make.in (link-obsolete-rpc): New substituted variable.
24519         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
24520         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
24521         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
24522         (shared-only-routines): Don't set it under [link-obsolete-rpc],
24523         so that libc.a contains the symbols.
24524         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
24525         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
24526         * sunrpc/auth_none.c: Likewise.
24527         * sunrpc/auth_unix.c: Likewise.
24528         * sunrpc/authdes_prot.c: Likewise.
24529         * sunrpc/authuxprot.c: Likewise.
24530         * sunrpc/clnt_gen.c: Likewise.
24531         * sunrpc/clnt_perr.c: Likewise.
24532         * sunrpc/clnt_raw.c: Likewise.
24533         * sunrpc/clnt_simp.c: Likewise.
24534         * sunrpc/clnt_tcp.c: Likewise.
24535         * sunrpc/clnt_udp.c: Likewise.
24536         * sunrpc/clnt_unix.c: Likewise.
24537         * sunrpc/des_crypt.c: Likewise.
24538         * sunrpc/des_soft.c: Likewise.
24539         * sunrpc/get_myaddr.c: Likewise.
24540         * sunrpc/key_call.c: Likewise.
24541         * sunrpc/key_prot.c: Likewise.
24542         * sunrpc/netname.c: Likewise.
24543         * sunrpc/pm_getmaps.c: Likewise.
24544         * sunrpc/pm_getport.c: Likewise.
24545         * sunrpc/pmap_clnt.c: Likewise.
24546         * sunrpc/pmap_prot.c: Likewise.
24547         * sunrpc/pmap_prot2.c: Likewise.
24548         * sunrpc/pmap_rmt.c: Likewise.
24549         * sunrpc/publickey.c: Likewise.
24550         * sunrpc/rpc_cmsg.c: Likewise.
24551         * sunrpc/rpc_common.c: Likewise.
24552         * sunrpc/rpc_dtable.c: Likewise.
24553         * sunrpc/rpc_prot.c: Likewise.
24554         * sunrpc/rpc_thread.c: Likewise.
24555         * sunrpc/rtime.c: Likewise.
24556         * sunrpc/svc.c: Likewise.
24557         * sunrpc/svc_auth.c: Likewise.
24558         * sunrpc/svc_raw.c: Likewise.
24559         * sunrpc/svc_run.c: Likewise.
24560         * sunrpc/svc_tcp.c: Likewise.
24561         * sunrpc/svc_udp.c: Likewise.
24562         * sunrpc/svc_unix.c: Likewise.
24563         * sunrpc/svcauth_des.c: Likewise.
24564         * sunrpc/xcrypt.c: Likewise.
24565         * sunrpc/xdr.c: Likewise.
24566         * sunrpc/xdr_array.c: Likewise.
24567         * sunrpc/xdr_float.c: Likewise.
24568         * sunrpc/xdr_intXX_t.c: Likewise.
24569         * sunrpc/xdr_mem.c: Likewise.
24570         * sunrpc/xdr_rec.c: Likewise.
24571         * sunrpc/xdr_ref.c: Likewise.
24572         * sunrpc/xdr_sizeof.c: Likewise.
24573         * sunrpc/xdr_stdio.c: Likewise.
24575 2012-05-10  Roland McGrath  <roland@hack.frob.com>
24577         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
24578         change.  Update copyright years.
24580 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
24582         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
24584 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
24585             Joseph Myers  <joseph@codesourcery.com>
24586             Paul Pluzhnikov  <ppluzhnikov@google.com>
24588         [BZ #14012]
24589         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
24590         requiring rpcgen.
24591         [cross-compiling] (extra-libs): Likewise.
24592         [cross-compiling] (extra-libs-others): Likewise.
24593         [cross-compiling] (librpcsvc-routines): Likewise.
24594         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
24595         [cross-compiling] (omit-deps): Likewise.
24596         (sunrpc-CPPFLAGS): New variable.
24597         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
24598         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
24599         (cross-rpcgen-objs): New variable.
24600         (extra-objs): Append $(cross-rpcgen-objs).
24601         ($(cross-rpcgen-objs)): New rule.
24602         ($(objpfx)cross-rpcgen): Likewise.
24603         (rpcgen-cmd): Define to use $(built-program-file).  Expand
24604         comment.
24605         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
24606         ($(objpfx)x%.stmp): Likewise.
24607         * sunrpc/proto.h [IS_IN_build] (_): Define.
24608         [IS_IN_build] (_libc_intl_domainname): Likewise.
24610 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
24612         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
24613         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
24614         and R_X86_64_TPOFF64.
24616 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
24618         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
24619         sysdeps/unix/sysv/syscalls.list.
24620         (stime): Likewise.
24621         (utime): Likewise.
24622         * sysdeps/unix/sysv/syscalls.list: Remove file.
24624 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
24626         [BZ #3440]
24627         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
24628         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
24629         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
24630         (__LC_IDENTIFICATION): Make these macros useful in #if
24631         expressions, as required by C99.
24633 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
24635         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
24636         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
24637         after this.
24639 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
24641         * stdlib/longlong.h: Updated from GCC.
24643 2012-05-09  Andreas Jaeger  <aj@suse.de>
24645         * nscd/nscd.c (run_modes): Make named enum, reorder so that
24646         default is first entry.
24647         (run_mode): Set type.
24648         (main): Remove informal message about syslog.
24649         (options): Fix typo.
24651         [BZ #14053]
24652         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
24653         to asm.
24654         (lrint): Likewise.
24655         (llrintf): Likewise.
24656         (llrint): Likewise.
24657         (rint): Likewise.
24658         (rintf): Likewise.
24659         (nearbyint): Likewise.
24660         (nearbyintf): Likewise.
24662 2012-05-09  Andreas Jaeger  <aj@suse.de>
24663             Pedro Alves  <palves@redhat.com>
24665         * nscd/nscd.c (run_mode): Use enum.
24666         (main): Cleanup coding style issue.
24668 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
24669             Andreas Jaeger  <aj@suse.de>
24671         * nscd/nscd.c (go_background): Replaced with...
24672         (run_mode): ... this.
24673         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
24674         (options): Add -F --foreground.
24675         (main): Implement it.
24676         (parse_opt): Parse it.
24678 2012-05-09  Andreas Jaeger  <aj@suse.de>
24680         [BZ #14083]
24681         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
24682         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
24683         -Wconversion warning.
24684         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
24685         Likewise.
24687 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
24689         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
24690         == 0.
24691         (LC_ALL): Use macro-int-constant.
24692         (LC_COLLATE): Likewise.
24693         (LC_CTYPE): Likewise.
24694         (LC_MESSAGES): Likewise.
24695         (LC_MONETARY): Likewise.
24696         (LC_NUMERIC): Likewise.
24697         (LC_TIME): Likewise.
24698         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
24699         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
24700         [ISO || ISO99 || ISO11] (*_t): Do not allow.
24701         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
24702         Specify type.
24703         [C99-based standards] (float_t): Expect type.
24704         [C99-based standards] (double_t): Expect type.
24705         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
24706         type.
24707         [C99-based standards] (HUGE_VALL): Likewise.
24708         [C99-based standards] (INFINITY): Likewise.
24709         [C99-based standards] (NAN): Likewise.
24710         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
24711         [C99-based standards] (FP_NAN): Likewise.
24712         [C99-based standards] (FP_NORMAL): Likewise.
24713         [C99-based standards] (FP_SUBNORMAL): Likewise.
24714         [C99-based standards] (FP_ZERO): Likewise.
24715         [C99-based standards] (FP_FAST_FMA): Use
24716         optional-macro-int-constant.  Specify type.  Require == 1.
24717         [C99-based standards] (FP_FAST_FMAF): Likewise.
24718         [C99-based standards] (FP_FAST_FMAL): Likewise.
24719         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
24720         [C99-based standards] (FP_ILOGBNAN): Likewise.
24721         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
24722         Specify type.
24723         [C99-based standards] (MATH_ERREXCEPT): Likewise.
24724         [C99-based standards] (math_errhandling): Specify type.
24725         [ISO99 || ISO11] (signgam): Do not allow.
24726         [non-C99-based standards] (copysignf): Do not allow.
24727         [non-C99-based standards] (exp2f): Likewise.
24728         [non-C99-based standards] (log2f): Likewise.
24729         [non-C99-based standards] (modff): Allow.
24730         [non-C99-based standards] (erff): Do not allow.
24731         [non-C99-based standards] (erfcf): Likewise.
24732         [non-C99-based standards] (gammaf): Likewise.
24733         [non-C99-based standards] (hypotf): Likewise.
24734         [non-C99-based standards] (j0f): Likewise.
24735         [non-C99-based standards] (j1f): Likewise.
24736         [non-C99-based standards] (jnf): Likewise.
24737         [non-C99-based standards] (lgammaf): Likewise.
24738         [non-C99-based standards] (tgammaf): Likewise.
24739         [non-C99-based standards] (y0f): Likewise.
24740         [non-C99-based standards] (y1f): Likewise.
24741         [non-C99-based standards] (ynf): Likewise.
24742         [non-C99-based standards] (isnanf): Likewise.
24743         [non-C99-based standards] (acoshf): Likewise.
24744         [non-C99-based standards] (asinhf): Likewise.
24745         [non-C99-based standards] (atanhf): Likewise.
24746         [non-C99-based standards] (cbrtf): Likewise.
24747         [non-C99-based standards] (expm1f): Likewise.
24748         [non-C99-based standards] (ilogbf): Likewise.
24749         [non-C99-based standards] (log1pf): Likewise.
24750         [non-C99-based standards] (logbf): Likewise.
24751         [non-C99-based standards] (nextafterf): Likewise.
24752         [non-C99-based standards] (remainderf): Likewise.
24753         [non-C99-based standards] (rintf): Likewise.
24754         [non-C99-based standards] (scalbf): Likewise.
24755         [non-C99-based standards] (copysignl): Likewise.
24756         [non-C99-based standards] (exp2l): Likewise.
24757         [non-C99-based standards] (log2l): Likewise.
24758         [non-C99-based standards] (modfl): Allow.
24759         [non-C99-based standards] (erfl): Do not allow.
24760         [non-C99-based standards] (erfcl): Likewise.
24761         [non-C99-based standards] (gammal): Likewise.
24762         [non-C99-based standards] (hypotl): Likewise.
24763         [non-C99-based standards] (j0l): Likewise.
24764         [non-C99-based standards] (j1l): Likewise.
24765         [non-C99-based standards] (jnl): Likewise.
24766         [non-C99-based standards] (lgammal): Likewise.
24767         [non-C99-based standards] (tgammal): Likewise.
24768         [non-C99-based standards] (y0l): Likewise.
24769         [non-C99-based standards] (y1l): Likewise.
24770         [non-C99-based standards] (ynl): Likewise.
24771         [non-C99-based standards] (isnanl): Likewise.
24772         [non-C99-based standards] (acoshl): Likewise.
24773         [non-C99-based standards] (asinhl): Likewise.
24774         [non-C99-based standards] (atanhl): Likewise.
24775         [non-C99-based standards] (cbrtl): Likewise.
24776         [non-C99-based standards] (expm1l): Likewise.
24777         [non-C99-based standards] (ilogbl): Likewise.
24778         [non-C99-based standards] (log1pl): Likewise.
24779         [non-C99-based standards] (logbl): Likewise.
24780         [non-C99-based standards] (nextafterl): Likewise.
24781         [non-C99-based standards] (remainderl): Likewise.
24782         [non-C99-based standards] (rintl): Likewise.
24783         [non-C99-based standards] (scalbl): Likewise.
24784         [ISO || ISO99 || ISO11] (*_t): Do not allow.
24785         [non-C99-based standards] (FP_*): Do not allow.
24786         [C99-based standards] (FP_*): Change to
24787         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
24788         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24789         allow.
24790         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
24791         (SIG_ERR): Likewise.
24792         [X/Open-based standards] (SIG_HOLD): Likewise.
24793         (SIG_IGN): Likewise.
24794         (SIGABRT): Use macro-int-constant.  Specify type.  Require
24795         positive value.
24796         (SIGFPE): Likewise.
24797         (SIGILL): Likewise.
24798         (SIGINT): Likewise.
24799         (SIGSEGV): Likewise.
24800         (SIGTER): Likewise.
24801         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
24802         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
24803         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
24804         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
24805         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
24806         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
24807         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
24808         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
24809         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
24810         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
24811         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
24812         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
24813         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
24814         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
24815         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
24816         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
24817         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
24818         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
24819         [X/Open-based standards] (SIGTRAP): Likewise.
24820         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
24821         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
24822         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
24823         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
24824         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24825         allow.
24827 2012-05-08  Ian Wienand  <ianw@vmware.com>
24829         [BZ #14080]
24830         * time/tzset.c (__tzset_parse_tz): Update default rules for
24831         daylight time changes in the Energy Policy Act of 2005.
24833 2012-05-09  Andreas Jaeger  <aj@suse.de>
24835         [BZ #13983]
24836         * elf/ldconfig.c (parse_conf): Change string to make clear that
24837         ldconfig only issued a warning if ld.so.conf does not exist.
24839 2012-05-08  David S. Miller  <davem@davemloft.net>
24841         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
24842         movxtod instead of popping the value on the stack.
24844         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24846 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
24848         * config.h.in: Add HAVE_ARM_PCS_VFP.
24850 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
24852         [BZ #13979]
24853         * include/features.h: Warn if user requests __FORTIFY_SOURCE
24854         checking but the checks are disabled for any reason.
24856 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
24858         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
24859         and ELF64_R_TYPE with ELFW(R_TYPE).
24861 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
24863         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
24864         (ulimit): Likewise.
24866         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
24867         (settimeofday): Likewise.
24869 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
24871         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
24872         a struct th_u2 inside the union, and move tu_block/tu_code into
24873         a new th_u3 union of tu_block/tu_code inside of that.  Move
24874         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
24875         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
24876         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
24877         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
24878         (th_stuff): Change to th_u1.tu_stuff.
24879         (th_data): Define.
24880         (th_msg): Change to th_u1.th_u2.tu_data.
24882 2012-05-07  David S. Miller  <davem@davemloft.net>
24884         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24886         [BZ #14074]
24887         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
24888         (SETUP_PIC_REG): Use it.
24889         (SETUP_PIC_REG_LEAF): Use it.
24891 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
24893         [BZ #13885]
24894         [BZ #13923]
24895         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24896         USE_AS_EXPM1L.
24897         (EXPL_FINITE): Likewise.
24898         (FLDLOG): Likewise.
24899         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
24900         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
24901         e_expl.S.
24902         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24903         USE_AS_EXPM1L.
24904         (EXPL_FINITE): Likewise.
24905         (FLDLOG): Likewise.
24906         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
24907         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
24908         e_expl.S.
24909         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
24910         test of -max_value argument for long double.
24911         * sysdeps/i386/fpu/libm-test-ulps: Update.
24912         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24914 2012-05-06  David S. Miller  <davem@davemloft.net>
24916         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
24917         quad soft-float symbols whose references which are compiler
24918         generated.
24919         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
24921 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
24923         [BZ #13884]
24924         [BZ #13914]
24925         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24926         USE_AS_EXP10L.
24927         (EXPL_FINITE): Likewise.
24928         (FLDLOG): Likewise.
24929         (c0): Likewise.
24930         (c1): Likewise.
24931         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
24932         Adjust comments for base varying.
24933         (__expl_finite): Change alias to EXPL_FINITE.
24934         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
24935         e_expl.S.
24936         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
24937         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
24938         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
24939         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
24940         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24941         USE_AS_EXP10L.
24942         (EXPL_FINITE): Likewise.
24943         (FLDLOG): Likewise.
24944         (c0): Likewise.
24945         (c1): Likewise.
24946         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
24947         Adjust comments for base varying.
24948         (__expl_finite): Change alias to EXPL_FINITE.
24949         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
24950         tests for bugs.
24951         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24953         [BZ #14064]
24954         * math/libm-test.inc (check_float_internal): Correct ulp
24955         calculation for subnormal expected results.
24957 2012-05-06  Andreas Jaeger  <aj@suse.de>
24959         * Makeconfig (+math-flags): New, set to -frounding-math.
24960         (+cflags): Add +math-flags so that all of glibc gets compiled with
24961         it.
24963         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
24965 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
24967         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
24968         Disable one test.
24970         [BZ #13787]
24971         [BZ #13922]
24972         [BZ #14036]
24973         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
24974         (__ieee754_expl): Allow for and saturate large arguments.
24975         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
24976         (u_threshold): Likewise.
24977         (__exp): Call __ieee754_exp before checking for overflow and
24978         underflow.
24979         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
24980         (u_threshold): Likewise.
24981         (__expf): Call __ieee754_expf before checking for overflow and
24982         underflow.
24983         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
24984         (u_threshold): Likewise.
24985         (__expl): Call __ieee754_expl before checking for overflow and
24986         underflow.
24987         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
24988         (__ieee754_expl): Allow for and saturate large arguments.
24989         * math/libm-test.inc (exp_test): Add another test.  Do not allow
24990         missing overflow exception on overflow.
24991         (expm1_test): Do not allow missing overflow exception on overflow.
24993         * sysdeps/i386/fpu/e_expl.c: Move to ...
24994         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
24995         rather than using inline asm.
24996         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
24997         * sysdeps/x86_64/fpu/e_expl.S: Copy from
24998         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
25000         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
25001         (nice): Likewise.
25002         (poll): Likewise.
25003         (signal): Likewise.
25004         (time): Likewise.
25005         (times): Likewise.
25007 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
25009         * sysdeps/unix/syscalls.list (adjtime): Add entry from
25010         sysdeps/unix/common/syscalls.list.
25011         (fchmod): Likewise.
25012         (fchown): Likewise.
25013         (ftruncate): Likewise.
25014         (getrusage): Likewise.
25015         (gettimeofday): Likewise.
25016         (setpgid): Likewise.
25017         (setregid): Likewise.
25018         (setreuid): Likewise.
25019         (sigaction): Likewise.
25020         (truncate): Likewise.
25021         (vhangup): Likewise.
25022         * sysdeps/unix/common/syscalls.list: Remove file.
25023         * sysdeps/unix/bsd/Implies: Don't include unix/common.
25024         * sysdeps/unix/sysv/linux/Implies: Likewise.
25026 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
25028         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
25029         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
25030         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
25031         Moved to ...
25032         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
25033         Here.
25034         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
25035         to ...
25036         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
25037         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
25038         to ...
25039         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
25040         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
25041         to ...
25042         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
25043         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
25044         to ...
25045         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
25046         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
25047         to ...
25048         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
25049         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
25050         to ...
25051         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
25052         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
25053         to ...
25054         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
25055         Here.
25056         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
25057         to ...
25058         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
25059         Here.
25060         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
25061         to ...
25062         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
25063         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
25064         Moved to ...
25065         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
25066         Here.
25067         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
25068         to ...
25069         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
25071 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
25073         * sysdeps/unix/common/bits/dirent.h: Remove file.
25074         * sysdeps/unix/common/bits/fcntl.h: Likewise.
25076         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
25077         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
25078         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
25079         * sysdeps/unix/bsd/isatty.c: Likewise.
25080         * sysdeps/unix/bsd/tcdrain.c: Likewise.
25081         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
25082         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
25084 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25086         [BZ #13563]
25087         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
25088         long double comparison inaccuracies.
25089         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
25090         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25092 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
25094         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
25095         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
25097 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
25099         [BZ #14049]
25100         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
25101         nonzero digits before rounding a hex value.
25102         * stdlib/tst-strtod.c (tests): Add another test.
25104 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25106         * sysdeps/s390/fpu/libm-test-ulps: Update.
25108 2012-05-03  Andreas Jaeger  <aj@suse.de>
25110         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
25111         does not get optimized out.
25112         (malloc_opt_barrier): New.
25114 2012-05-03  Andreas Jaeger  <aj@suse.de>
25115             Roland McGrath  <roland@hack.frob.com>
25117         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
25118         intermediate file deletion.
25119         (generated): Add .symlist files.
25121 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
25123         [BZ #13775]
25124         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
25125         Redirect under this condition.
25126         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25127         [__USE_GNU] (__dprintf_chk): Not under this condition.
25128         [__USE_GNU] (__vdprintf_chk): Likewise.
25129         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
25130         under this condition.
25131         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25132         [__USE_XOPEN2K8] (dprintf): Define under this condition.
25133         [__USE_XOPEN2K8] (vdprintf): Likewise.
25134         [__USE_GNU] (__dprintf_chk): Not under this condition.
25135         [__USE_GNU] (__vdprintf_chk): Likewise.
25136         [__USE_GNU] (dprintf): Likewise.
25137         [__USE_GNU] (vdprintf): Likewise.
25139 2012-05-03  Roland McGrath  <roland@hack.frob.com>
25141         * elf/Makefile (common-generated): Set this instead of generated for
25142         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
25143         $(all-built-dso)-derived lists.
25145 2012-05-03  Andreas Jaeger  <aj@suse.de>
25147         * sysdeps/i386/fpu/libm-test-ulps: Update.
25149         * FAQ: Removed.
25150         * FAQ.in: Likewise.
25151         * scripts/gen-FAQ.pl: Likewise.
25152         * manual/install.texi (Installation): Point to online location of
25153         FAQ.
25154         * Makefile (files-for-dist): Remove FAQ.
25155         (FAQ): Remove.
25157 2012-05-02  Allan McRae  <allan@archlinux.org>
25159         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
25160         (LDFLAGS-reldepmod5.so): Likewise.
25161         (LDFLAGS-reldep6mod1.so): Likewise.
25162         (LDFLAGS-reldep6mod4.so): Likewise.
25163         (LDFLAGS-reldep8mod3.so): Likewise.
25164         (LDFLAGS-unload4mod1.so): Likewise.
25165         (LDFLAGS-unload4mod2.so): Likewise.
25166         (LDFLAGS-tst-initorder): Likewise.
25167         (LDFLAGS-tst-initordera2.so): Likewise.
25168         (LDFLAGS-tst-initordera3.so): Likewise.
25169         (LDFLAGS-tst-initordera4.so): Likewise.
25170         (LDFLAGS-tst-initorderb2.so): Likewise.
25171         (LDFLAGS-noload): Likewise.
25172         (LDFLAGS-next): Likewise.
25173         (LDFLAGS-order2mod1.so): Likewise.
25174         (LDFLAGS-order2mod2.so): Likewise.
25175         (LDFLAGS-tst-initorder2): Likewise.
25176         (LDFLAGS-tst-initorder2a.so): Likewise.
25177         (LDFLAGS-tst-initorder2b.so): Likewise.
25178         (LDFLAGS-tst-initorder2c.so): Likewise.
25179         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
25181 2012-05-02  David S. Miller  <davem@davemloft.net>
25183         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25185 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
25187         [BZ #14055]
25188         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
25190 2012-05-02  Andreas Jaeger  <aj@suse.de>
25192         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
25193         since we manipulate rounding mode.
25194         (CPPFLAGS-test-idouble.c): Likewise.
25195         (CPPFLAGS-test-ifloat.c): Likewise.
25196         (CFLAGS-test-ldouble.c): Likewise.
25197         (CFLAGS-test-double.c): Likewise.
25198         (CFLAGS-test-float.c): Likewise.
25199         (CFLAGS-test-misc.c): Likewise.
25200         (CFLAGS-test-test-fenv.c): Likewise.
25202 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25204         [BZ #2550]
25205         [BZ #2570]
25206         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
25207         comparisons to determine direction to adjust input.
25209 2012-05-01  Roland McGrath  <roland@hack.frob.com>
25211         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
25212         output to the target.
25214         * scripts/localplt.awk: New file.
25215         * elf/Makefile ($(objpfx)check-localplt): Target removed.
25216         (check-localplt-CFLAGS): Variable removed.
25217         ($(all-built-dso:=.jmprel)): New static pattern rule.
25218         (generated): Add those targets.
25219         (localplt-built-dso): New variable.
25220         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
25222         * elf/check-localplt.c: File removed.
25224         * scripts/check-execstack.awk: New file.
25225         * elf/Makefile ($(objpfx)check-execstack): Target removed.
25226         (check-execstack-CFLAGS): Variable removed.
25227         ($(objpfx)check-execstack.h): Target removed.
25228         ($(objpfx)execstack-default): New target.
25229         (generated): Add that instead of check-execstack.h.
25230         ($(all-built-dso:=.phdr)): New static pattern rule.
25231         (generated): Add those targets.
25232         * elf/check-execstack.c: File removed.
25234         * scripts/check-textrel.awk: New file.
25235         * elf/Makefile ($(objpfx)check-textrel): Target removed.
25236         (check-textrel-CFLAGS): Variable removed.
25237         (all-built-dso): Use := to define.o
25238         ($(all-built-dso:=.dyn)): New static pattern rule.
25239         (generated): Add those targets.
25240         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
25241         * config.make.in (READELF): New substituted variable.
25242         * elf/check-textrel.c: File removed.
25244 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
25246         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25247         allow.
25248         * conform/data/ctype.h-data [C99-based standards] (isblank):
25249         Expect function.
25250         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
25251         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
25252         [ISO || ISO99 || ISO11] (*_t): Do not allow.
25253         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
25254         Specify type.  Require positive value.
25255         (EILSEQ): Likewise.
25256         (ERANGE): Likewise.
25257         [ISO || POSIX] (EILSEQ): Do not expect.
25258         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
25259         Specify type.  Require positive value.
25260         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
25261         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
25262         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
25263         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
25264         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
25265         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
25266         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
25267         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
25268         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
25269         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
25270         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
25271         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
25272         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
25273         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
25274         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
25275         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
25276         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
25277         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
25278         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
25279         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
25280         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
25281         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
25282         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
25283         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
25284         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
25285         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
25286         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
25287         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
25288         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
25289         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
25290         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
25291         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
25292         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
25293         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
25294         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
25295         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
25296         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
25297         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
25298         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
25299         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
25300         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
25301         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
25302         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
25303         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
25304         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
25305         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
25306         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
25307         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
25308         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
25309         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
25310         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
25311         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
25312         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
25313         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
25314         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
25315         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
25316         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
25317         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
25318         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
25319         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
25320         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
25321         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
25322         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
25323         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
25324         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
25325         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
25326         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
25327         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
25328         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
25329         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
25330         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
25331         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
25332         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
25333         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
25334         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
25335         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
25336         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
25337         Require >= 2.
25338         (FLT_ROUNDS): Expect as macro, not constant.
25339         (FLT_MANT_DIG): Use macro-int-constant.
25340         (DBL_MANT_DIG): Likewise.
25341         (LDBL_MANT_DIG): Likewise.
25342         (FLT_DIG): Likewise.
25343         (DBL_DIG): Likewise.
25344         (LDBL_DIG): Likewise.
25345         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
25346         (DBL_MIN_EXP): Likewise.
25347         (LDBL_MIN_EXP): Likewise.
25348         (FLT_MAX_EXP): Use macro-int-constant.
25349         (DBL_MAX_EXP): Likewise.
25350         (LDBL_MAX_EXP): Likewise.
25351         (FLT_MAX_10_EXP): Likewise.
25352         (DBL_MAX_10_EXP): Likewise.
25353         (LDBL_MAX_10_EXP): Likewise.
25354         (FLT_MAX): Use macro-constant.
25355         (DBL_MAX): Likewise.
25356         (LDBL_MAX): Likewise.
25357         (FLT_EPSILON): Use macro-constant.  Give upper bound.
25358         (DBL_EPSILON): Likewise.
25359         (LDBL_EPSILON): Likewise.
25360         (FLT_MIN): Likewise.
25361         (DBL_MIN): Likewise.
25362         (LDBL_MIN): Likewise.
25363         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
25364         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
25365         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
25366         [ISO11] (FLT_HAS_SUBNORM): Likewise.
25367         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
25368         [ISO11] (DBL_DECIMAL_DIG): Likewise.
25369         [ISO11] (FLT_DECIMAL_DIG): Likewise.
25370         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
25371         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
25372         [ISO11] (FLT_TRUE_MIN): Likewise.
25373         [ISO11] (LDBL_TRUE_MIN): Likewise.
25374         [ISO || ISO99 || ISO11] (*_t): Do not allow.
25375         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
25376         (SCHAR_MIN): Use macro-int-constant.  Specify type.
25377         (SCHAR_MAX): Likewise.
25378         (UCHAR_MAX): Likewise.
25379         (CHAR_MIN): Likewise.
25380         (CHAR_MAX): Likewise.
25381         (MB_LEN_MAX): Use macro-int-constant.
25382         (SHRT_MIN): Use macro-int-constant.  Specify type.
25383         (SHRT_MAX): Likewise.
25384         (USHRT_MAX): Likewise.
25385         (INT_MAX): Likewise.
25386         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
25387         bound negative.
25388         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
25389         bound with "U".
25390         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
25391         bound with "L".
25392         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
25393         bound negative.  Suffix upper bound with "L".
25394         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
25395         bound with "UL".
25396         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
25397         Specify type.
25398         [C99-based standards] (LLONG_MAX): Likewise.
25399         [C99-based standards] (ULLONG_MAX): Likewise.
25400         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
25401         == 0.
25402         [ISO11] (max_align_t): Require type.
25403         [ISO || ISO99 || ISO11] (*_t): Do not allow.
25405         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
25406         from $CFLAGS, without defining away __attribute__ calls.
25407         (checknamespace): Use $CFLAGS_namespace.
25409         * conform/conformtest.pl (@keywords): Only include C99 keywords
25410         for standards based on C99 or C11.
25412         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
25413         Disable tests.
25414         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
25415         UNIX98]: Likewise.
25417         * conform/conformtest.pl: Handle "macro-int-constant" and test for
25418         usability of symbols in #if.
25420         * conform/conformtest.pl: If macro or constant types start
25421         "promoted:", expect the symbol to be of the following type
25422         promoted by the integer promotions.
25424         * conform/conformtest.pl: Parse all "constant" and "macro" lines
25425         in one place.  Also handle "macro-constant".
25427         * conform/conformtest.pl: Only accept expected macro values with
25428         "==".  Parse all "macro" lines in one place.
25429         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
25431         * conform/conformtest.pl: Handle braced types on "constant" lines
25432         instead of handling "typed-constant".
25433         * conform/data/signal.h-data: Use "constant" instead of
25434         "typed-constant".
25436         * conform/conformtest.pl: Handle "optional-" at start of lines in
25437         one place rather than duplicating several cases.  Handle each
25438         format of "macro" line with initial "optional-".
25440         * conform/conformtest.pl: Only accept expected constant or
25441         optional-constant values with "==".  Parse all "constant" lines in
25442         one place.  Parse all "optional-constant" lines in one place.
25443         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
25444         * conform/data/fmtmsg.h-data: Likewise.
25445         * conform/data/netinet/in.h-data: Likewise.
25446         * conform/data/tar.h-data: Likewise.
25447         * conform/data/limits.h-data: Use "==" form on "constant" and
25448         "optional-constant" lines.
25450         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
25451         Use -std=c99 for XOPEN2K.
25452         (@knownproblems): Remove.
25453         (newtoken): Don't check %isknown.
25455         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
25456         Do not expect macro.
25457         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
25458         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
25459         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
25460         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
25461         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
25462         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
25463         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
25464         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
25465         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
25466         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
25467         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
25468         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
25469         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
25470         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
25471         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
25472         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
25473         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
25474         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
25475         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
25476         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
25477         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
25478         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
25479         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
25480         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
25481         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
25482         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
25483         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
25484         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
25485         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
25486         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
25487         [XPG3] (acosh): Likewise.
25488         [XPG3] (asinh): Likewise.
25489         [XPG3] (atanh): Likewise.
25490         [XPG3] (cbrt): Likewise.
25491         [XPG3] (expm1): Likewise.
25492         [XPG3] (ilogb): Likewise.
25493         [XPG3] (log1p): Likewise.
25494         [XPG3] (logb): Likewise.
25495         [XPG3] (nextafter): Likewise.
25496         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
25497         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
25498         [XPG3] (remainder): Likewise.
25499         [XPG3] (rint): Likewise.
25500         [XPG3 || XPG4 || UNIX98] (round): Likewise.
25501         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
25502         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
25503         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
25504         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
25505         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
25506         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
25507         [UNIX98 || XOPEN2K] (scalb): Expect.
25508         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
25509         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
25510         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
25511         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
25512         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
25513         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
25514         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
25515         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
25516         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
25517         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
25518         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
25519         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
25520         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
25521         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
25522         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
25523         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
25524         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
25525         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
25526         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
25527         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
25528         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
25529         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
25530         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
25531         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
25532         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
25533         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
25534         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
25535         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
25536         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
25537         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
25538         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
25539         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
25540         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
25541         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
25542         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
25543         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
25544         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
25545         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
25546         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
25547         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
25548         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
25549         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
25550         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
25551         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
25552         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
25553         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
25554         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
25555         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
25556         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
25557         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
25558         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
25559         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
25560         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
25561         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
25562         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
25563         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
25564         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
25565         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
25566         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
25567         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
25568         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
25569         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
25570         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
25571         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
25572         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
25573         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
25574         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
25575         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
25576         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
25577         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
25578         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
25579         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
25580         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
25581         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
25582         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
25583         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
25584         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
25585         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
25586         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
25587         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
25588         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
25589         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
25590         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
25591         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
25592         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
25593         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
25594         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
25595         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
25596         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
25597         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
25598         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
25599         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
25600         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
25601         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
25602         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
25603         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
25604         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
25605         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
25606         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
25607         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
25608         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
25609         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
25610         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
25611         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
25612         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
25613         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
25614         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
25615         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
25616         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
25617         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
25618         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
25619         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
25620         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
25621         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
25622         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
25623         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
25624         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
25625         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
25626         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
25627         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
25628         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
25629         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
25630         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
25631         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
25632         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
25633         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
25634         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
25635         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
25636         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
25637         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
25638         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
25639         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
25640         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
25641         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
25642         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
25643         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
25644         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
25646         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
25647         _XOPEN_SOURCE_EXTENDED for XPG4.
25649         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
25651         * Makeconfig (localtime): Remove variable.
25652         (inst_localtime-file): Likewise.
25654 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
25656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
25657         Update.
25658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25659         Update.
25660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
25661         Update.
25662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
25663         Update.
25664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
25665         Update.
25666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
25667         Update.
25668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25669         Update.
25670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
25671         Update.
25672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25673         Update.
25675 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
25677         [BZ #2550]
25678         [BZ #2570]
25679         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
25680         comparisons to determine direction to adjust input.
25681         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
25682         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
25683         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
25684         Likewise.
25685         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
25686         Likewise.
25687         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
25688         Likewise.
25689         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
25690         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
25691         Likewise.
25692         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
25693         Likewise.
25694         * math/libm-test.inc (nexttoward_test): Add more tests.
25696 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
25698         [BZ #14040]
25699         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
25700         in version GLIBC_2.1, not GLIBC_2.0.
25701         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
25702         Likewise.
25704 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
25706         [BZ #13942]
25707         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
25708         (1 - x) * (1 + x).
25709         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
25710         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
25711         * math/libm-test.inc (acos_test): Add more tests.
25712         (asin_test): Likewise.
25713         * sysdeps/i386/fpu/libm-test-ulps: Update.
25714         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25716         [BZ #14034]
25717         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
25718         of square root.
25719         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
25720         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
25721         * math/libm-test.inc (acos_test_tonearest): New function.
25722         (acos_test_towardzero): Likewise.
25723         (acos_test_downward): Likewise.
25724         (acos_test_upward): Likewise.
25725         (asin_test_tonearest): Likewise.
25726         (asin_test_towardzero): Likewise.
25727         (asin_test_downward): Likewise.
25728         (asin_test_upward): Likewise.
25729         (main): Call the new functions.
25730         * sysdeps/i386/fpu/libm-test-ulps: Update.
25731         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25733         [BZ #13884]
25734         [BZ #13924]
25735         * math/e_exp10.c: Include <float.h>.
25736         (__ieee754_exp10): Handle underflow here rather than multiplying
25737         large negative argument by M_LN10.
25738         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
25739         of __ieee754_expf.
25740         * math/e_exp10l.c: Include <float.h>.
25741         (__ieee754_exp10l): Handle underflow here rather than multiplying
25742         large negative argument by M_LN10l.
25743         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
25744         spurious overflow exception on underflow.
25746 2012-04-29  Marek Polacek  <polacek@redhat.com>
25748         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
25749         (__fortify_function): New macro.
25750         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
25751         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
25752         __extern_always_inline.
25753         * libio/bits/stdio2.h: Likewise.
25754         * libio/bits/stdio.h: Likewise.
25755         * string/string.h: Likewise.
25756         * string/bits/string3.h: Likewise.
25757         * include/stdio.h: Likewise.
25758         * stdlib/bits/stdlib.h: Likewise.
25759         * stdlib/stdlib.h: Likewise.
25760         * rt/bits/mqueue2.h: Likewise.
25761         * rt/mqueue.h: Likewise.
25762         * posix/bits/unistd.h: Likewise.
25763         * posix/unistd.h: Likewise.
25764         * io/bits/poll2.h: Likewise.
25765         * io/bits/fcntl2.h: Likewise.
25766         * io/fcntl.h: Likewise.
25767         * io/sys/poll.h: Likewise.
25768         * misc/bits/syslog.h: Likewise.
25769         * misc/bits/syslog-ldbl.h: Likewise.
25770         * misc/sys/syslog.h: Likewise.
25771         * socket/bits/socket2.h: Likewise.
25772         * socket/sys/socket.h: Likewise.
25773         * debug/tst-chk1.c: Likewise.
25774         * wcsmbs/bits/wchar2.h: Likewise.
25775         * wcsmbs/bits/wchar-ldbl.h: Likewise.
25776         * wcsmbs/wchar.h: Likewise.
25778 2012-04-29  Andreas Jaeger  <aj@suse.de>
25780         * Makerules (tests): Remove enable-check-abi protection.
25781         (check-abi-warn): Remove.
25782         (check-abi-%): Remove check-abi-warn usage.
25784         * configure.in: Remove check-abi configure option.
25785         * configure: Regenerated.
25786         * config.make.in (enable-check-abi): Remove.
25788 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
25790         [BZ #14033]
25791         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
25792         double functions to double *_finite functions.
25794         [BZ #13941]
25795         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
25796         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
25797         LDBL_MIN_EXP.
25798         * stdio-common/Makefile (tests): Add tst-sprintf3.
25799         * stdio-common/tst-sprintf3.c: New file.
25801         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
25802         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
25804 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
25806         * conform/conformtest.pl: Remove duplicate typed-constant
25807         handling.
25809 2012-04-28  David S. Miller  <davem@davemloft.net>
25811         * Makerules (%.abilist): Add vpath on sysdep_dirs.
25812         (check-abi-%): Remove AWK script prerequisite and explicit
25813         abilist directory.
25814         (check-abi): Rewrite to just diff the symlist with the abilist.
25815         (config-tls, config-abi-config): Delete, no longer used.
25816         (update-abi-%): Remove AWK script and explicit abilist directory.
25817         (update-abi): Rewrite to simply compare and conditionally copy the
25818         symlist and the sysdep abilist file.  Remove update-abi-config
25819         checks.
25820         * abilist/ld.abilist: Remove.
25821         * abilist/libBrokenLocale.abilist: Remove.
25822         * abilist/libanl.abilist: Remove.
25823         * abilist/libcrypt.abilist: Remove.
25824         * abilist/libdl.abilist: Remove.
25825         * abilist/librt.abilist: Remove.
25826         * abilist/libthread_db.abilist: Remove.
25827         * abilist/libutil.abilist: Remove.
25828         * scripts/extract-abilist.awk: Remove.
25829         * scripts/merge-abilist.awk: Remove.
25830         * sysdeps/generic/libcidn.abilist: New file.
25831         * sysdeps/generic/libnss_compat.abilist: New file.
25832         * sysdeps/generic/libnss_db.abilist: New file.
25833         * sysdeps/generic/libnss_dns.abilist: New file.
25834         * sysdeps/generic/libnss_files.abilist: New file.
25835         * sysdeps/generic/libnss_hesiod.abilist: New file.
25836         * sysdeps/generic/libnss_nis.abilist: New file.
25837         * sysdeps/generic/libnss_nisplus.abilist: New file.
25838         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
25839         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
25840         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
25841         file.
25842         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
25843         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
25844         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
25845         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
25846         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
25847         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
25848         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
25849         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
25850         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
25851         file.
25852         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
25853         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
25854         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
25855         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
25856         file.
25857         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
25858         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
25859         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
25860         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
25861         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
25862         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
25863         file.
25864         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
25865         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
25866         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
25867         file.
25868         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
25869         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
25870         New file.
25871         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
25872         New file.
25873         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
25874         New file.
25875         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
25876         New file.
25877         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
25878         New file.
25879         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
25880         New file.
25881         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
25882         New file.
25883         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
25884         New file.
25885         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
25886         New file.
25887         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
25888         New file.
25889         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
25890         New file.
25891         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
25892         New file.
25893         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
25894         New file.
25895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
25896         file.
25897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
25898         New file.
25899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
25900         New file.
25901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
25902         file.
25903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
25904         New file.
25905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
25906         New file.
25907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
25908         file.
25909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
25910         New file.
25911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25912         New file.
25913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
25914         New file.
25915         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
25916         New file.
25917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
25918         New file.
25919         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
25920         New file.
25921         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
25922         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
25923         file.
25924         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
25925         New file.
25926         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
25927         file.
25928         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
25929         file.
25930         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
25931         file.
25932         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
25933         file.
25934         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
25935         file.
25936         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25937         New file.
25938         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
25939         file.
25940         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
25941         file.
25942         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
25943         New file.
25944         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
25945         file.
25946         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
25947         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
25948         file.
25949         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
25950         New file.
25951         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
25952         file.
25953         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
25954         file.
25955         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
25956         file.
25957         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
25958         file.
25959         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
25960         file.
25961         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25962         New file.
25963         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
25964         file.
25965         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
25966         file.
25967         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
25968         New file.
25969         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
25970         file.
25971         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
25972         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
25973         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
25974         file.
25975         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
25976         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
25977         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
25978         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
25979         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
25980         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
25981         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
25982         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
25983         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
25984         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
25985         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
25986         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
25987         file.
25988         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
25989         New file.
25990         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
25991         file.
25992         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
25993         file.
25994         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
25995         file.
25996         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
25997         file.
25998         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
25999         file.
26000         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
26001         New file.
26002         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
26003         New file.
26004         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
26005         file.
26006         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
26007         New file.
26008         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
26009         file.
26010         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
26011         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
26012         file.
26013         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
26014         New file.
26015         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
26016         file.
26017         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
26018         file.
26019         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
26020         file.
26021         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
26022         file.
26023         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
26024         file.
26025         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
26026         New file.
26027         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
26028         New file.
26029         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
26030         file.
26031         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
26032         New file.
26033         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
26034         file.
26036 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
26038         * conform/conformtest.pl: Fix typo in handling typed-constant from
26039         allow-header.
26041 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
26043         * README: Cut down references to pre-2.6 Linux kernels and
26044         Linuxthreads.  Update lists of configurations in libc and ports
26045         and sort alphabetically.  Say "or newer" with Linux kernel version
26046         requirements.
26048         * config.h.in [IS_IN_build]: Allow compiling without optimization.
26050 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
26052         [BZ #887]
26053         * math/libm-test.inc (logb_test_downward): New test to expose
26054         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
26055         rounding mode.
26057 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
26059         [BZ #14027]
26060         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
26061         to be done.
26062         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
26063         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
26065 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
26067         * sysdeps/unix/i386/brk.S: Remove file.
26068         * sysdeps/unix/i386/dl-brk.S: Likewise.
26069         * sysdeps/unix/i386/pipe.S: Likewise.
26070         * sysdeps/unix/i386/sigreturn.S: Likewise.
26071         * sysdeps/unix/i386/syscall.S: Likewise.
26072         * sysdeps/unix/i386/vfork.S: Likewise.
26073         * sysdeps/unix/i386/wait.S: Likewise.
26075         * sysdeps/unix/common/tcsendbrk.c: Move to ...
26076         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
26078         * configure.in (arm*-none*): Do not allow without
26079         --enable-hacker-mode.
26080         (netbsd*): Remove case setting base_os.
26081         (386bsd*): Likewise.
26082         (freebsd*): Likewise.
26083         (bsdi*): Likewise.
26084         (osf*): Likewise.
26085         (sunos*): Likewise.
26086         (ultrix*): Likewise.
26087         (newsos*): Likewise.
26088         (dynix*): Likewise.
26089         (*bsd*): Likewise.
26090         (sysv*): Likewise.
26091         (isc*): Likewise.
26092         (esix*): Likewise.
26093         (sco*): Likewise.
26094         (minix*): Likewise.
26095         (irix4*): Likewise.
26096         (irix6*): Likewise.
26097         (solaris[2-9]*): Likewise.
26098         (none): Likewise.
26099         * configure: Regenerated.
26101 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26103         [BZ #11521]
26104         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
26105         overflow or cancellation in calculating denominator.
26106         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
26107         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
26108         down expression to avoid unexpected rounding in newer GCCs.
26109         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
26111 2012-04-26  David S. Miller  <davem@davemloft.net>
26113         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
26114         long-double compat symbols.
26115         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
26116         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
26117         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
26118         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
26119         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
26120         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
26121         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
26122         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
26123         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
26124         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
26125         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
26126         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
26127         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
26129 2012-04-25  David S. Miller  <davem@davemloft.net>
26131         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
26132         HWCAP_* values only after the memory barriers have been defined.
26133         (atomic_full_barrier): Define.
26134         (atomic_read_barrier): Define.
26135         (atomic_write_barrier): Define.
26137 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
26139         * shlib-versions: Add libgcc_s version information.
26140         * sysdeps/generic/libgcc_s.h: Remove.
26141         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
26142         libgcc_s.h.
26143         * sysdeps/gnu/unwind-resume.c: Likewise.
26144         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
26146 2012-04-25  David S. Miller  <davem@davemloft.net>
26148         * sysdeps/unix/sparc/brk.S: Delete.
26149         * sysdeps/unix/sparc/dl-brk.S: Delete.
26150         * sysdeps/unix/sparc/pipe.S: Delete.
26151         * sysdeps/unix/sparc/sysdep.S: Delete.
26152         * sysdeps/unix/sparc/sysdep.h: Delete.
26153         * sysdeps/unix/sparc/vfork.S: Delete.
26154         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
26155         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
26156         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
26157         ret_ERRVAL, r0, r1, MOVE): Define.
26158         (JUMPTARGET): Remove.
26159         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
26160         sysdeps/unix/sparc/sysdep.h
26161         (ENTRY, END): Remove.
26162         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26164 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
26166         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
26167         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
26168         -DIS_IN_build.
26170         * timezone/README: Update upstream location and email address for
26171         tzcode and tzdata.
26172         * timezone/zdump.c: Update from tzcode 2012b.
26173         * timezone/zic.c: Likewise.
26175         * configure.in (libc_cv_as_needed): Remove test.
26176         * configure: Regenerated.
26177         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
26178         conditional definition.
26179         [$(have-as-needed) != yes] (no-as-needed): Likewise.
26180         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
26181         * config.make.in (have-as-needed): Remove variable.
26183 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
26184             Paul Pluzhnikov  <ppluzhnikov@google.com>
26186         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
26187         strings correctly.
26189 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
26191         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
26192         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
26193         * sysdeps/sh/strlen.S: Likewise.
26195 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
26197         * sysdeps/unix/fork.S: Remove file.
26198         * sysdeps/unix/i386/fork.S: Likewise.
26199         * sysdeps/unix/sparc/fork.S: Likewise.
26201         * sysdeps/unix/system.c: Remove file.
26202         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
26204         * sysdeps/unix/getegid.S: Remove file.
26205         * sysdeps/unix/geteuid.S: Likewise.
26207 2012-04-24  Roland McGrath  <roland@hack.frob.com>
26209         * scripts/check-localplt.awk: New file.
26210         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
26211         of diff.
26212         * scripts/data/localplt-generic.data: Add a comment.
26214         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
26215         NODE when __dir_mkfile failed.
26216         * sysdeps/mach/hurd/symlinkat.c: Likewise.
26217         Reported by Ludovic Courtès <ludo@gnu.org>.
26219 2012-04-24  Andreas Jaeger  <aj@suse.de>
26221         * Makerules (common-clean): Also remove gen-as-const-headers
26222         files.
26224 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
26226         * Makerules (native-compile): Do not change working directory for
26227         build.  Use $(OUTPUT_OPTION) in command.
26228         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
26230 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26232         [BZ #13886]
26233         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
26234         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
26235         * math/libm-test.inc (floor_test): Add more tests.
26236         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
26238 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
26240         * sysdeps/unix/getdents.c: Remove file.
26241         * sysdeps/unix/sysv/getdents.c: Likewise.
26242         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
26244         * sysdeps/unix/syscalls.list (madvise): Add syscall from
26245         sysdeps/unix/mman/syscalls.list.
26246         (mmap): Likewise.
26247         (mprotect): Likewise.
26248         (msync): Likewise.
26249         (munmap): Likewise.
26250         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
26251         * sysdeps/unix/mman/syscalls.list: Remove.
26252         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
26254         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
26255         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
26256         * configure: Regenerated.
26257         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
26258         $(libgcc_s_suffix).
26259         * config.make.in (libgcc_s_suffix): Remove variable.
26261 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
26263         * sysdeps/unix/sysv/gethostname.c: Move to ...
26264         * sysdeps/posix/gethostname.c: ... here.
26266         * sysdeps/unix/execve.S: Remove file.
26268         * sysdeps/unix/_exit.S: Remove file.
26270 2012-04-23  Andreas Jaeger  <aj@suse.de>
26272         [BZ #13739]
26273         * manual/Makefile: Remove make dist support, there's no
26274         need for a stand-alone documentation tar ball.
26275         (TEXI2DVI): Define always, it's not in Makeconfig.
26276         (dist): Removed.
26277         (tar-it): Removed.
26278         (edition): Removed.
26279         (glibc-doc-$(edition).tar): Removed
26280         (%.Z): Removed.
26281         (%.gz): Removed.
26282         (%.uu): Removed.
26283         (ETAGS): Remove, it's in Makeconfig.
26284         (move-if-change): Remove, it's in Makeconfig.
26286 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
26288         [BZ #13970]
26289         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
26290         (strtod, strtof, strtold, strtol, strtoul, strtoq)
26291         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
26292         (strtod_l, strtof_l, strtold_l): Remove __wur.
26293         It is not necessarily an error to ignore strtol's return value.
26294         One can reliably look at the stored endptr to decide whether
26295         the number had valid syntax.
26297 2012-04-21  Andreas Jaeger  <aj@suse.de>
26299         [BZ #13739]
26300         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
26302 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
26304         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
26305         * sysdeps/unix/sysv/Versions: Remove file.
26307 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
26309         [BZ #13927]
26310         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26312 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
26314         [BZ #7064]
26315         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
26316         version from __vm86.
26318 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
26320         * sysdeps/unix/common/lxstat.c: Remove file.
26321         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
26323         * sysdeps/unix/sysv/Makefile: Remove file.
26325         * sysdeps/unix/sysv/direct.h: Remove file.
26327         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
26328         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
26329         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
26330         * sysdeps/unix/sysv/bits/signum.h: Likewise.
26331         * sysdeps/unix/sysv/bits/stat.h: Likewise.
26332         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
26333         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
26335         * sysdeps/unix/sysv/setrlimit.c: Remove file.
26337         * sysdeps/unix/xmknod.c: Remove file.
26338         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
26340         * sysdeps/unix/sysv/settimeofday.c: Remove file.
26342         * sysdeps/unix/sysv/i386/time.S: Remove file.
26344         * sysdeps/unix/fxstat.c: Remove file.
26345         * sysdeps/unix/xstat.c: Likewise.
26346         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
26348         * sysdeps/unix/sysv/sigaction.c: Remove file.
26350         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
26351         (sysdep_headers): Remove variable.
26352         [termio.h not in sysdep_headers] (generated): Likewise.
26353         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
26354         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
26355         * sysdeps/unix/sysv/tcdrain.c: Likewise.
26356         * sysdeps/unix/sysv/tcflow.c: Likewise.
26357         * sysdeps/unix/sysv/tcflush.c: Likewise.
26358         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
26359         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
26360         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
26361         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
26362         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
26364         * sysdeps/unix/siglist.c: Remove file.
26366         * sysdeps/unix/getppid.S: Remove file.
26368         * sysdeps/unix/mkdir.c: Remove file.
26369         * sysdeps/unix/rmdir.c: Likewise.
26371 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
26373         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
26374         ERR_MAX value.
26375         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
26376         errlist-compat value.
26378 2012-04-18  David S. Miller  <davem@davemloft.net>
26380         * sysdeps/generic/memcopy.h (reg_char): Delete.
26381         * debug/strcat_chk.c: Use char, not reg_char.
26382         * debug/strcpy_chk.c: Likewise.
26383         * debug/strncat_chk.c: Likewise.
26384         * debug/strncpy_chk.c: Likewise.
26385         * string/memchr.c: Likewise.
26386         * string/memrchr.c: Likewise.
26387         * string/rawmemchr.c: Likewise.
26388         * string/strcat.c: Likewise.
26389         * string/strchr.c: Likewise.
26390         * string/strchrnul.c: Likewise.
26391         * string/strcmp.c: Likewise.
26392         * string/strcpy.c: Likewise.
26393         * string/strncat.c: Likewise.
26394         * string/strncmp.c: Likewise.
26395         * string/strncpy.c: Likewise.
26397 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
26399         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
26400         __builtin_memcopy is called when src and dest ranges are known to not
26401         overlap.
26403 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
26405         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
26406         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
26407         fwd_align_merge macro call.
26408         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
26409         bwd_align_merge macro call.
26410         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26412 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
26414         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
26415         bwd_align_merge macros.
26416         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
26417         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
26418         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26420 2012-04-18  David S. Miller  <davem@davemloft.net>
26422         * sysdeps/sparc/sparc64/memcopy.h: Delete.
26424 2012-04-18  Andreas Jaeger  <aj@suse.de>
26426         [BZ# 6794]
26427         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
26428         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
26429         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26431         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
26432         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
26433         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26435         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
26436         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
26437         Adjust for changed ldbl-128 files.
26439         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
26440         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
26441         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26443 2012-04-17  David S. Miller  <davem@davemloft.net>
26445         * sysdeps/sparc/sparc32/memcopy.h: Delete.
26447 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
26449         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
26450         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
26451         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
26452         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
26453         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
26454         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
26456 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26458         [BZ #6794]
26459         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
26460         * math/libm-test.inc: Add ilogb errno and exception tests.
26461         * math/w_ilogb.c: New file: ilogb wrapper.
26462         * math/w_ilogbf.c: New file: ilogbf wrapper.
26463         * math/w_ilogbl.c: New file: ilogbl wrapper.
26464         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
26465         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
26466         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
26467         exception being thrown with 0.0 as argument.
26468         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
26469         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
26470         exception being thrown with 0.0 as argument.
26471         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
26472         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
26473         exception being thrown with 0.0 as argument.
26474         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
26475         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
26476         exception being thrown with 0.0 as argument.
26477         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
26478         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
26479         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
26480         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
26481         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
26482         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
26483         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
26484         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
26485         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
26487 2012-04-17  Petr Baudis  <pasky@ucw.cz>
26489         * include/sys/uio.h: Change __vector to __iovec to avoid clash
26490         with altivec.
26492 2012-04-16  Marek Polacek  <polacek@redhat.com>
26494         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
26496 2012-04-16  Marek Polacek  <polacek@redhat.com>
26498         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
26499         operands of fdivp instruction.
26501 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
26503         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
26504         * elf/tst-auditmod3b.c: Likewise.
26505         * elf/tst-auditmod4b.c: Likewise.
26506         * elf/tst-auditmod5b.c: Likewise.
26507         * elf/tst-auditmod6b.c: Likewise.
26508         * elf/tst-auditmod6c.c: Likewise.
26509         * elf/tst-auditmod7b.c: Likewise.
26510         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
26511         * sysdeps/x86_64/preconfigure.in: Likewise.
26512         * sysdeps/x86_64/preconfigure: Regenerated.
26514 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
26516         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
26517         __ILP32__.
26519 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
26521         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26522         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
26524 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
26526         [BZ #13973]
26527         * locale/iso-639.def: Fix gl language name. Spotted by
26528         Yaron Shahrabani.
26530 2012-04-12  Roland McGrath  <roland@hack.frob.com>
26532         [BZ #2074]
26533         * libio/libio.h (__io_write_fn): Update comment.
26535 2012-04-12  Petr Baudis  <pasky@ucw.cz>
26537         [BZ #2074]
26538         * stdio.texi (Hook Functions): The user provided writer function
26539         is not allowed to return -1.
26541 2012-04-11  David S. Miller  <davem@davemloft.net>
26543         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26545 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
26547         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
26548         Add a leading slash to rtkaio.
26550 2012-04-11  Jim Meyering  <meyering@redhat.com>
26552         [BZ #11959]
26553         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
26554         It is not necessarily an error to ignore fwrite's return
26555         value.  One can reliably use ferror to test for errors after
26556         the fact.
26558 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
26560         * bits/types.h (__snseconds_t): New type.
26561         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
26563         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
26564         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26565         (__SNSECONDS_T_TYPE): Likewise.
26566         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26567         (__SNSECONDS_T_TYPE): Likewise.
26568         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26569         (__SNSECONDS_T_TYPE): Likewise.
26571 2012-04-10  Andreas Jaeger  <aj@suse.de>
26573         [BZ #2636]
26574         * manual/time.texi (Processor Time): Return type of times is
26575         elapsed real time since an arbitrary point in the past.
26576         (CPU Time): Move CLK_TCK from here...
26577         (Processor Time): ...to here.  Correct description.
26578         * manual/conf.texi (Constants for Sysconf): Correct description of
26579         _SC_CLK_TCK.
26581 2012-04-10  David S. Miller  <davem@davemloft.net>
26583         [BZ #13967]
26584         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
26585         where the is a gap between DT_REL(A) and DT_JMPREL.
26587 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
26589         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
26590         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
26591         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
26593 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
26595         * elf/dl-support.c (_dl_inhibit_cache): New variable.
26596         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
26597         (dl_main): Handle --inhibit-cache.
26598         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
26599         _dl_inhibit_cache.
26600         * elf/dl-load.c (_dl_map_object): Use it.
26601         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
26603 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
26605         [BZ #13872]
26606         * sysdeps/i386/fpu/e_powl.S (p78): New object.
26607         (__ieee754_powl): Saturate large exponents rather than testing for
26608         overflow of y*log2(x).
26609         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26610         * math/libm-test.inc (pow_test): Do not permit spurious overflow
26611         exceptions.
26613         [BZ #11521]
26614         * math/s_ctan.c: Include <float.h>.
26615         (__ctan): Avoid internal overflow or cancellation in calculating
26616         denominator.
26617         * math/s_ctanf.c: Likewise.
26618         * math/s_ctanl.c: Likewise.
26619         * math/s_ctanh.c: Likewise.
26620         * math/s_ctanhf.c: Likewise.
26621         * math/s_ctanhl.c: Likewise.
26622         * math/libm-test.inc (ctan_test): Add more tests.
26623         (ctanh_test): Likewise.
26624         * sysdeps/i386/fpu/libm-test-ulps: Update.
26625         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26627 2012-04-09  Andreas Jaeger  <aj@suse.de>
26629         [BZ #6894]
26630         * manual/filesys.texi (Directory Entries): Mention that d_namlen
26631         is an optional BSD extension.
26633         [BZ #10254]
26634         * manual/stdio.texi (Opening Streams): Document additional fopen
26635         parameters.
26637 2012-04-09  Roland McGrath  <roland@hack.frob.com>
26639         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
26640         %eax without telling the compiler.
26642 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
26644         [BZ # 13963]
26645         * manual/install.texi: Use sourceware.org.
26647 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
26649         [BZ #13873]
26650         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
26651         (__ieee754_pow): Generate overflow and underflow using huge*huge
26652         and tiny*tiny rather than just returning constant infinity or zero
26653         for large exponents.
26654         * math/libm-test.inc (pow_test): Require overflow exceptions for
26655         applicable cases of large exponents.
26657         [BZ #706]
26658         * sysdeps/i386/fpu/e_pow.S (p10): New object.
26659         (__ieee754_pow): Use iterative multiplication algorithm only for
26660         integer exponents with absolute value below 1024.  Check for odd
26661         integer exponents when using algorithm for real exponents.
26662         * math/libm-test.inc (pow_test): Add more tests.
26663         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26665 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
26667         [BZ #13705]
26668         * math/libm-test.inc (exp_test): Do not allow overflow exception
26669         on underflow test.
26671 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
26673         [BZ #13705]
26674         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
26675         instead of __kernel_standard_f.
26677 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
26679         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
26680         * sysdeps/x86_64/memset_chk.S: Likewise.
26682 2012-04-08  Andreas Jaeger  <aj@suse.de>
26684         [BZ #10153]
26685         * manual/startup.texi (Environment Access): Describe return value
26686         for putenv and setenv.
26688         [BZ #6895]
26689         * manual/filesys.texi (Directory Entries): Add description for
26690         DT_LNK.
26692         [BZ #6890]
26693         * manual/filesys.texi (Directory Entries): Clarify that it's file
26694         system not operating system in the description of DT_UNKNOWN.
26696         [BZ #6578]
26697         * manual/syslog.texi (closelog): Fix reference, it's openlog.
26699 2012-04-08  Stephen Compall  <s11@member.fsf.org>
26701         [BZ #6649]
26702         * manual/llio.texi (Opening and Closing Files): Add cross
26703         reference to explain mode argument.
26705 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
26707         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
26708         * sysdeps/x86_64/memset_chk.S: Likewise.
26710 2012-04-07  David S. Miller  <davem@davemloft.net>
26712         * elf/elf.h (R_SPARC_WDISP10): Define.
26713         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
26714         R_SPARC_SIZE32.
26715         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
26716         R_SPARC_SIZE64 and R_SPARC_H34.
26718 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
26720         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
26721         conditions and remove no longer applicable assertion.
26723 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
26725         * bits/byteswap.h: Include <features.h>.
26726         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
26727         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
26729 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
26731         * bits/byteswap.h (__bswap_16): Removed.
26732         Include <bits/byteswap-16.h> to get __bswap_16.
26733         * sysdeps/i386/bits/byteswap.h: Likewise.
26734         * sysdeps/s390/bits/byteswap.h: Likewise.
26735         * sysdeps/x86_64/bits/byteswap.h: Likewise.
26736         * bits/byteswap-16.h: New file.
26737         * sysdeps/i386/bits/byteswap-16.h: Likewise.
26738         * sysdeps/s390/bits/byteswap-16.h: Likewise.
26739         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
26740         * string/Makefile (headers): Add bits/byteswap-16.h.
26742 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
26744         [BZ #13895]
26745         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
26746         extra indirection.
26747         * nss/Makefile (tests-static, tests): Add tst-nss-static.
26748         * nss/tst-nss-static.c: New.
26750 2012-04-06  Robert Millan  <rmh@gnu.org>
26752         [BZ #6486]
26753         * manual/llio.texi (File Position Primitive): lseek
26754         refers to WHENCE when it really means OFFSET.
26756 2012-04-06  Andreas Jaeger  <aj@suse.de>
26758         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
26759         strncmp declarations.
26761         * abilist/libc.abilist: Add __poll and __ppoll.
26763 2012-04-05  David S. Miller  <davem@davemloft.net>
26765         * scripts/check-local-headers.sh: Accept a host triplet in the
26766         path matched by the exclude regexp.
26768         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
26769         definition.
26770         * sysdeps/powerpc/powerpc32/dl-machine.h
26771         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
26772         * sysdeps/s390/s390-32/dl-machine.h
26773         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26774         * sysdeps/sparc/sparc32/dl-machine.h
26775         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26776         * sysdeps/sparc/sparc64/dl-machine.h
26777         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26779         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
26780         lazy binding.
26781         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
26782         undefined symbol errors.
26784         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
26785         DT_NEEDED entries.
26787 2012-04-05  Michael Matz  <matz@suse.de>
26789         [BZ #13592]
26790         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
26792 2012-04-05  Andreas Jaeger  <aj@suse.de>
26794         [BZ #13908]
26795         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
26796         comment.
26798 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
26800         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
26801         which ROUND is no valid rounding mode.
26803 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
26805         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
26806         read again.
26807         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
26809 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
26811         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
26812         an exception using FPU order intentionally.
26814 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
26816         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
26817         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
26818         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
26819         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
26821 2012-04-05  Simon Josefsson  <simon@josefsson.org>
26823         [BZ #12340]
26824         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
26825         EINVAL when BUFLEN is too smal.
26827 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
26829         [BZ #13553]
26830         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
26831         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
26833 2012-04-03  Andreas Jaeger  <aj@suse.de>
26835         [BZ #13938]
26836         * manual/setjmp.texi (System V contexts): Fix sentence.
26838         [BZ #13926]
26839         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
26840         New macro for this case.
26841         [!__GNUC__] (__bswap_64): New inline function for this case.
26842         * sysdeps/x86_64/bits/byteswap.h: Likewise.
26843         * bits/byteswap.h: Likewise.
26844         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
26845         ull, guard with __GLIBC_HAVE_LONG_LONG.
26847         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
26848         __GLIBC_HAVE_LONG_LONG.
26850         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
26851         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
26853 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26855         [BZ #13691]
26856         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
26857         inptr and inend, rather than using last_ch.
26859 2012-04-02  David S. Miller  <davem@davemloft.net>
26861         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
26862         * stdio-common/printf-parse.h (read_int): Change return type to
26863         'int', return -1 on INT_MAX overflow.
26864         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
26865         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
26866         overflows INT_MAX.  Check for overflow of in-format-string precision
26867         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
26868         SIZE_MAX not INT_MAX for integer overflow test.
26869         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
26870         skip the construct in the format string but do not record anything.
26871         * stdio-common/bug22.c: Adjust to test both width/prevision
26872         INT_MAX overflow as well as total length INT_MAX overflow.  Check
26873         explicitly for proper errno values.
26875 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
26877         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
26878         CHAR_MAX.
26879         * string/test-strcmp.c [! WIDE]: Likewise.
26880         * time/tst-mktime2.c: Likewise for INT_MAX.
26881         * string/test-string.h: #include <sys/param.h> for MIN.
26883         * csu/init-first.c (__libc_init_first): Call __ctype_init.
26884         * sysdeps/i386/init-first.c (init): Likewise.
26885         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
26886         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
26887         * sysdeps/sh/init-first.c (init): Likewise.
26889 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
26891         * po/ru.po: Update from translation team.
26892         * po/vi.po: Likewise.
26894 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
26896         * resolv/nss_dns/dns-host.c: Merge copyright years.
26898 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26900         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
26901         Optimize memcpy with prefetch if
26902         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
26903         src, dst pointers have unequal 16 byte alignments.
26905 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
26907         [BZ #13928]
26908         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
26909         from a CNAME entry and return the minimum ttl for the query.
26910         (gaih_getanswer_slice): Likewise.
26912 2012-03-30  Jeff Law  <law@redhat.com>
26914         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
26915         due to long keys.
26916         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
26917         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
26919         * resolv/nss_dns/dns-host.c: Update copyright year.
26921 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
26923         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
26924         requests to save a system call.  Fix check that all bytes are sent.
26926         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
26927         comments for sendmmsg.
26929 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
26931         [BZ #13691]
26932         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
26933         with only 1 character between 0x0041 and 0x01b0.
26934         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
26935         * wcsmbs/tst-mbsnrtowcs.c: New file.
26937 2012-03-29  David S. Miller  <davem@davemloft.net>
26939         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
26940         small copies by hand.
26942 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26944         [BZ #13761]
26945         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
26946         _nss_compat_initgroups_dyn): Fall back to malloc/free
26947         for large group memberships.
26949 2012-03-28  David S. Miller  <davem@davemloft.net>
26951         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
26952         that branches into memcpy.
26953         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
26954         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
26955         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
26956         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
26957         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
26958         bits.
26959         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
26960         implementation too.
26961         * sysdeps/sparc/mempcpy.S: New file.
26963         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
26964         the IFUNC routine in the libc case.
26965         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
26967         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
26968         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
26969         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
26970         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
26971         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
26972         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
26973         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
26974         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
26976         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
26977         loop to 256 bytes instead of 64 bytes and fix test signedness.
26979         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
26980         * sysdeps/sparc/sparc32/Makefile: rather than here...
26981         * sysdeps/sparc/sparc64/Makefile: and here.
26983 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
26985         * malloc/mallocbug.c: Avoid warnings about unused variables.
26987 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
26989         [BZ #13760]
26990         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
26991         in the right place. Discard and retry query if response is
26992         larger than input buffer size.
26994 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
26996         [BZ #369]
26997         [BZ #2678]
26998         [BZ #3866]
26999         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
27000         x for large integer exponent.
27001         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
27002         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
27003         sign of result as needed afterwards.
27004         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
27005         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
27006         result for underflowing pow the same as for overflow.
27007         (__kernel_standard_l): Handle powl overflow and underflow here
27008         rather than calling __kernel_standard.
27009         * math/libm-test.inc (pow_test): Add more tests.
27011         [BZ #3868]
27012         [BZ #13879]
27013         [BZ #13910]
27014         [BZ #13911]
27015         [BZ #13912]
27016         [BZ #13913]
27017         [BZ #13915]
27018         [BZ #13916]
27019         [BZ #13917]
27020         [BZ #13918]
27021         [BZ #13919]
27022         [BZ #13920]
27023         [BZ #13921]
27024         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
27025         * sysdeps/ieee754/k_standard.c: Include <float.h>.
27026         (__kernel_standard_l): New function.
27027         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
27028         __kernel_standard.
27029         * math/w_acosl.c (__acosl): Likewise.
27030         * math/w_asinl.c (__asinl): Likewise.
27031         * math/w_atan2l.c (__atan2l): Likewise.
27032         * math/w_atanhl.c (__atanhl): Likewise.
27033         * math/w_coshl.c (__coshl): Likewise.
27034         * math/w_exp10l.c (__exp10l): Likewise.
27035         * math/w_exp2l.c (__exp2l): Likewise.
27036         * math/w_fmodl.c (__fmodl): Likewise.
27037         * math/w_hypotl.c (__hypotl): Likewise.
27038         * math/w_j0l.c (__j0l, __y0l): Likewise.
27039         * math/w_j1l.c (__j1l, __y1l): Likewise.
27040         * math/w_jnl.c (__jnl, __ynl): Likewise.
27041         * math/w_lgammal.c (__lgammal): Likewise.
27042         * math/w_log10l.c (__log10l): Likewise.
27043         * math/w_log2l.c (__log2l): Likewise.
27044         * math/w_logl.c (__logl): Likewise.
27045         * math/w_powl.c (__powl): Likewise.
27046         * math/w_remainderl.c (__remainderl): Likewise.
27047         * math/w_scalbl.c (sysv_scalbl): Likewise.
27048         * math/w_sinhl.c (__sinhl): Likewise.
27049         * math/w_sqrtl.c (__sqrtl): Likewise.
27050         * math/w_tgammal.c (__tgammal): Likewise.
27051         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
27052         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
27053         * math/libm-test.inc (acos_test): Add more tests.
27054         (acosh_test): Likewise.
27055         (asin_test): Likewise.
27056         (atanh_test): Likewise.
27057         (exp_test): Likewise.
27058         (exp10_test): Likewise.
27059         (exp2_test): Likewise.
27060         (expm1_test): Likewise.
27061         (lgamma_test): Likewise.
27062         (log_test): Likewise.
27063         (log10_test): Likewise.
27064         (log1p_test): Likewise.
27065         (log2_test): Likewise.
27066         (pow_test): Do not allow some spurious overflow exceptions.
27067         (sqrt_test): Add more tests.
27068         (tgamma_test): Likewise.
27069         (y0_test): Likewise.
27070         (y1_test): Likewise.
27071         (yn_test): Likewise.
27073 2012-03-27  Anton Blanchard  <anton@samba.org>
27075         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
27076         MAP_HUGETLB.
27077         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27078         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
27079         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27081 2012-03-27  David S. Miller  <davem@davemloft.net>
27083         * conform/Makefile: Run run-conformtest.sh using $(BASH).
27085         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
27086         have-as-vis3 check.
27088 2012-03-27  Andreas Jaeger  <aj@suse.de>
27090         * sysdeps/x86_64/elf/configure.in: Moved to ...
27091         * sysdeps/x86_64/configure.in: ... here.
27092         * sysdeps/x86_64/elf/start.S: Moved to ...
27093         * sysdeps/x86_64/start.S: ... here.
27094         * sysdeps/x86_64/elf/configure: Delete.
27096         * sysdeps/x86_64/configure.in: Merge contents from
27097         sysdeps/i386/configure.in (without i686 check).
27099         * sysdeps/i386/elf/Versions: Merge into ...
27100         * sysdeps/i386/Versions: ... this.
27101         * sysdeps/i386/elf/Versions: Delete file.
27102         * sysdeps/i386/elf/start.S: Moved to ...
27103         * sysdeps/i386/start.S: ...here.
27104         * sysdeps/i386/elf/configure.in: Merge into...
27105         * sysdeps/i386/configure.in: ...here.
27106         * sysdeps/i386/elf/configure.in: Delete file.
27107         * sysdeps/i386/elf/configure: Delete file.
27109         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
27110         * debug/backtracesyms.c: ... here.
27111         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
27112         * debug/backtracesymsfd.c: ... here.
27113         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
27114         * sysdeps/generic/ifunc-sel.h: ... here.
27116         * sysdeps/unix/i386/start.c: Delete file.
27117         * sysdeps/unix/sparc/start.c: Delete file.
27118         * sysdeps/unix/start.c: Delete file.
27120         * sysdeps/sh/elf/configure.in: Moved to ...
27121         * sysdeps/sh/configure.in: ... here.
27122         * sysdeps/sh/elf/start.S: Moved to ...
27123         * sysdeps/sh/start.S: ... here.
27124         * sysdeps/sh/elf/configure: Delete file.
27126         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
27127         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
27128         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
27129         * sysdeps/powerpc/powerpc64/entry.h: ... here.
27130         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
27131         * sysdeps/powerpc/powerpc64/start.S: here.
27132         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
27133         * sysdeps/powerpc/powerpc64/Makefile: ... this.
27134         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
27135         * sysdeps/powerpc/powerpc64/configure.in: ... this.
27136         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
27138         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
27139         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
27140         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
27141         * sysdeps/powerpc/powerpc32/start.S: ... here.
27142         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
27143         * sysdeps/powerpc/powerpc32/configure.in: ... this.
27144         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
27146         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
27147         * sysdeps/powerpc/ifunc-sel.h: ... here.
27148         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
27149         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
27151         * sysdeps/sparc/elf/configure.in: Moved to ...
27152         * sysdeps/sparc/configure.in: ... here.
27153         * sysdeps/sparc/elf/configure: Delete file.
27154         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
27155         * sysdeps/sparc/sparc32/start.S: ... here.
27156         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
27157         * sysdeps/sparc/sparc64/start.S: ... here.
27158         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
27159         * sysdeps/sparc/sparc32/Makefile: ... this.
27160         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
27161         * sysdeps/sparc/sparc64/Makefile: ... this.
27163         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
27164         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
27165         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
27166         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
27167         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
27168         * sysdeps/s390/s390-32/setjmp.S: ... here.
27169         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
27170         * sysdeps/s390/s390-32/configure.in: ... here.
27171         * sysdeps/s390/s390-32/elf/configure: Delete file.
27172         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
27173         * sysdeps/s390/s390-32/start.S: ... here.
27175         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
27176         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
27177         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
27178         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
27179         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
27180         * sysdeps/s390/s390-64/setjmp.S: ... here.
27181         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
27182         * sysdeps/s390/s390-64/configure.in: ... here
27183         * sysdeps/s390/s390-64/elf/configure: Delete file.
27184         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
27185         * sysdeps/s390/s390-64/start.S: ... here.
27186         * sysdeps/s390/s390-64/elf/configure: Delete.
27188         * configure.in: Remove support for elf directories in sysdeps.
27190         * configure: Regenerated.
27191         * sysdeps/i386/configure: Regenerated.
27192         * sysdeps/powerpc/powerpc32/configure: Regenerated.
27193         * sysdeps/powerpc/powerpc64/configure: Regenerated.
27194         * sysdeps/s390/s390-32/configure: Regenerated.
27195         * sysdeps/s390/s390-64/configure: Regenerated.
27196         * sysdeps/sh/configure: Regenerated.
27197         * sysdeps/sparc/configure: Regenerated.
27198         * sysdeps/x86_64/configure: Regenerated.
27200 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
27202         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27204         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
27205         denormal result into account.
27207 2012-03-25  Roland McGrath  <roland@hack.frob.com>
27209         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
27210         Reported by Allan McRae <allan@archlinux.org>.
27212 2012-03-23  Jeff Law  <law@redhat.com>
27214         * nss/getnssent.c (__nss_getent): Fix typo.
27216 2012-03-23  David S. Miller  <davem@davemloft.net>
27218         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27220 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
27222         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
27223         to pad to uint64_t for each field.
27224         (dl_tls_index): Replace unsigned long with uint64_t.
27226 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
27227         Paul Pluzhnikov  <ppluzhnikov@google.com>
27229         [BZ #6528]
27230         * grp/Makefile (otherlibs): Don't set it.
27231         * inet/Makefile (otherlibs): Likewise.
27232         * login/Makefile (otherlibs): Likewise.
27233         * nscd/Makefile (otherlibs): Likewise.
27234         * posix/Makefile (otherlibs): Likewise.
27235         * pwd/Makefile (otherlibs): Likewise.
27236         * rt/Makefile (otherlibs): Likewise.
27237         * sunrpc/Makefile (otherlibs): Likewise.
27238         * nss/Makefile (otherlibs): Likewise.
27239         Add libnss_files to routines and static-only-routines.
27240         ($(objpfx)getent): Remove rule.
27241         * resolv/Makefile: Add libnss_dns and libresolv to routines and
27242         static-only-routines.
27244 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
27246         [BZ #13892]
27247         * math/s_cexp.c: Include <float.h>.
27248         (__cexp): Handle exp result overflowing not necessarily
27249         overflowing both real and imaginary parts of result.
27250         * math/s_cexpf.c: Likewise.
27251         * math/s_cexpl.c: Likewise.
27252         * math/libm-test.inc (cexp_test): Add more tests.
27253         * sysdeps/i386/fpu/libm-test-ulps: Update.
27254         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27256 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
27258         * include/link.h (ELFW): New macro.
27259         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
27260         Replace ELF64_R_TYPE with ELFW(R_TYPE).
27262 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
27264         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
27265         with uint64_t.
27267 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
27269         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
27270         declaration.
27271         (struct La_x32_retval): Likewise.
27273 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
27275         * sysdeps/x86_64/preconfigure.in: New file.
27276         * sysdeps/x86_64/preconfigure: New generated file.
27278 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
27280         [BZ #13824]
27281         * math/e_exp2l.c: Include <float.h>.
27282         (__ieee754_exp2l): Handle overflow and underflow cases
27283         separately.  Only pass fractional part of argument to
27284         __ieee754_expl.
27285         * math/libm-test.inc (exp2_test): Add more tests.
27287         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
27288         negating x to take absolute value.
27289         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
27290         Likewise.
27291         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
27292         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
27293         Likewise.
27294         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
27295         computing low part if x was negated.
27296         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
27298 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
27300         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
27301         la_x32_gnu_pltexit.
27302         (pltexit): Cast int_retval to ptrdiff_t.
27303         * elf/tst-auditmod3b.c: Likewise.
27304         * elf/tst-auditmod4b.c: Likewise.
27305         * elf/tst-auditmod5b.c: Likewise.
27306         * elf/tst-auditmod6b.c: Likewise.
27307         * elf/tst-auditmod6c.c: Likewise.
27308         * elf/tst-auditmod7b.c: Likewise.
27310         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
27311         and x32_gnu_pltexit.
27313         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
27314         __ELF_NATIVE_CLASS.
27315         (La_x32_regs): New macro.
27316         (La_x32_retval): Likewise.
27317         (la_x32_gnu_pltenter): New function prototype.
27318         (la_x32_gnu_pltexit): Likewise.
27320 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
27322         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
27323         exponent.
27325         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27327         * configure.in (libc_cv_cc_nofma): Check for option to disable
27328         generation of FMA instructions.
27329         * configure: Regenerate.
27330         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
27331         * sysdeps/ieee754/dbl-64/Makefile: New file.
27332         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27333         Remove brandred-fma4.
27334         (CFLAGS-brandred-fma4.c): Remove.
27335         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
27336         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
27337         define.
27338         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
27339         define.
27341 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
27343         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
27344         LLONG_MAX != LONG_MAX.
27345         (_itoa_word): Use _ITOA_WORD_TYPE on value.
27346         (_fitoa_word): Likewise.
27347         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
27348         LLONG_MAX != LONG_MAX.
27349         * stdio-common/_itowa.h: Include <_itoa.h>.
27350         (_itowa_word): Use _ITOA_WORD_TYPE on value.
27351         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
27352         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
27353         only if not defined.
27354         (_ITOA_WORD_TYPE): Likewise.
27355         (_itoa_word): Use _ITOA_WORD_TYPE on value.
27356         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
27358 2012-03-21  David S. Miller  <davem@davemloft.net>
27360         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27362 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
27364         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
27365         of x86_64 when setting libc_cv_slibdir, libdir and
27366         libc_cv_localedir.
27367         * sysdeps/unix/sysv/linux/configure: Regenerated.
27369 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
27371         * manual/lang.texi (Old Varargs): Remove section.
27372         (How Variadic): Update menu.
27373         (va_start): Do not mention varargs.h.
27375 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
27376             Joseph Myers  <joseph@codesourcery.com>
27378         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
27379         link test.
27380         * configure: Regenerated.
27382 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
27384         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
27385         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
27386         conformtest.pl
27388 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
27390         * NOTES: Remove.
27391         * Makefile (files-for-dist): Remove NOTES.
27392         (NOTES): Remove rule.
27393         * README: Don't refer to NOTES.
27394         * manual/creature.texi: Don't include macros.texi.
27395         * manual/intro.texi (creature.texi): Remove comment referring to
27396         NOTES.
27398         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
27399         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
27400         * configure: Regenerated.
27401         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
27402         LIBC_TRY_CC_OPTION.
27403         (libc_cv_as_i686): Likewise.
27404         (libc_cv_cc_avx): Likewise.
27405         (libc_cv_cc_sse2avx): Likewise.
27406         (libc_cv_cc_fma4): Likewise.
27407         (libc_cv_cc_novzeroupper): Likewise.
27408         * sysdeps/i386/configure: Regenerated.
27410         [BZ #13883]
27411         * sysdeps/i386/fpu/s_cexp.S: Remove.
27412         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
27413         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
27414         * math/libm-test.inc (cexp_test): Add more tests.
27415         * sysdeps/i386/fpu/libm-test-ulps: Update.
27416         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27418 2012-03-21  Allan McRae  <allan@archlinux.org>
27420         * timezone/Makefile: Do not install iso3166.tab and zone.tab
27422 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
27424         [BZ #13871]
27425         * math/w_exp2.c: Do not include <float.h>.
27426         (o_threshold, u_threshold): Remove.
27427         (__exp2): Calculate result before checking finiteness and calling
27428         __kernel_standard.
27429         * math/w_exp2f.c: Likewise.
27430         * math/w_exp2l.c: Likewise.
27431         * math/libm-test.inc (exp2_test): Require overflow exception for
27432         1e6 input.
27434         [BZ #3866]
27435         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
27436         range of signed 64-bit integers before using fistpll.  Remove
27437         checks for whether integers fit in mantissa bits.
27438         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
27439         the range of signed 32-bit integers before using fistpl.  Remove
27440         checks for whether integers fit in mantissa bits.
27441         * sysdeps/i386/fpu/e_powl.S (p64): New object.
27442         (__ieee754_powl): Test for y outside the range of signed 64-bit
27443         integers before using fistpll.  Reduce 64-bit values to 63-bit
27444         ones as needed.
27445         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
27446         divide-by-zero is raised for zero to large negative powers.
27447         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
27448         (__ieee754_powl): Test for y outside the range of signed 64-bit
27449         integers before using fistpll.  Reduce 64-bit values to 63-bit
27450         ones as needed.
27451         * math/libm-test.inc (pow_test): Add more tests.
27453 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
27455         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
27456         <stdio-common/_itoa.h>.
27457         * debug/segfault.c: Likewise.
27458         * elf/dl-cache.c: Likewise.
27459         * elf/dl-minimal.c: Likewise.
27460         * elf/dl-misc.c: Likewise.
27461         * elf/dl-sysdep.c: Likewise.
27462         * elf/dl-version.c: Likewise.
27463         * elf/rtld.c: Likewise.
27464         * hurd/hurdsock.c: Likewise.
27465         * hurd/lookup-retry.c: Likewise.
27466         * malloc/malloc.c: Likewise.
27467         * malloc/mtrace.c: Likewise.
27468         * nscd/nscd_getgr_r.c: Likewise.
27469         * nscd/nscd_getpw_r.c: Likewise.
27470         * nscd/nscd_getserv_r.c: Likewise.
27471         * posix/getopt_init.c: Likewise.
27472         * posix/wordexp.c: Likewise.
27473         * stdio-common/_itoa.c: Likewise.
27474         * stdio-common/printf_fphex.c: Likewise.
27475         * stdio-common/vfprintf.c: Likewise.
27476         * string/_strerror.c: Likewise.
27477         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
27478         * sysdeps/i386/i686/hp-timing.h: Likewise.
27479         * sysdeps/mach/_strerror.c: Likewise.
27480         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
27481         * sysdeps/mach/hurd/sethostid.c: Likewise.
27482         * sysdeps/mach/hurd/xmknodat.c: Likewise.
27483         * sysdeps/mach/xpg-strerror.c: Likewise.
27484         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
27485         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
27486         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
27487         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
27488         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
27489         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
27490         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
27491         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
27492         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
27493         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
27494         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
27495         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
27496         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
27497         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
27498         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
27499         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
27500         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
27501         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
27502         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
27503         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
27504         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
27506         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
27508         * stdio-common/_itoa.h: Moved to ...
27509         * sysdeps/generic/_itoa.h: Here.
27511         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
27513         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
27514         instead of "_itoa.h" and "_itowa.h".
27515         * stdio-common/vfprintf.: Likewise.
27517 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
27519         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
27520         <bits/wordsize.h>.
27521         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
27522         (__signbit): Likwise.
27523         (llrintf): Likwise.
27524         (llrint): Likwise.
27526 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
27528         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
27529         __WORDSIZE != 64.
27531 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
27533         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
27534         OVERFLOW_EXCEPTION_OK.
27535         * math/libm-test.inc ("Philosophy"): Update comment about
27536         exception testing.
27537         (OVERFLOW_EXCEPTION): Define.
27538         (OVERFLOW_EXCEPTION_OK): Likewise.
27539         (INVALID_EXCEPTION_OK): Renumber.
27540         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27541         (IGNORE_ZERO_INF_SIGN): Likewise.
27542         (test_exceptions): Handle FE_OVERFLOW.
27543         (exp10_test): Expect overflow exceptions.
27544         (exp2_test): Likewise.
27545         (expm1_test): Likewise.
27546         (nextafter_test): Likewise.
27547         (pow_test): Likewise.
27548         (scalbn_test): Likewise.
27549         (scalbln_test): Likewise.
27551 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
27553         * sysdeps/x86_64/bits/atomic.h
27554         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
27555         64bit integer.
27556         (atomic_exchange_acq): Likewise.
27557         (__arch_exchange_and_add_body): Likewise.
27558         (__arch_add_body): Likewise.
27559         (atomic_add_negative): Likewise.
27560         (atomic_add_zero): Likewise.
27562 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
27564         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
27565         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
27567 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
27569         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
27570         Check __x86_64__ instead of __WORDSIZE.
27572 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
27574         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
27576 2012-03-19  David S. Miller  <davem@davemloft.net>
27578         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27580         * sysdeps/sparc/fpu/fenv_private.h: New file.
27581         * sysdeps/sparc/fpu/math_private.h: Use it.
27582         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
27583         Remove.
27584         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
27585         (libc_feholdexcept_setroundl): Remove.
27586         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
27587         Remove.
27588         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
27589         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
27591 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
27593         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
27594         int64_t instead of long int.
27595         (INSERT_WORDS64): Likwise.
27597 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
27599         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
27600         _Unwind_GetCFA return to _Unwind_Ptr first.
27602 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
27604         [BZ #13629]
27605         * math/s_clog.c: Include <float.h>.
27606         (__clog): Scale large or subnormal inputs.
27607         * math/s_clogf.c: Likewise.
27608         * math/s_clogl.c: Likewise.
27609         * math/s_clog10.c: Include <float.h>.
27610         (M_LOG10_2): Define.
27611         (__clog10): Scale large or subnormal inputs.
27612         * math/s_clog10f.c: Likewise.
27613         * math/s_clog10l.c: Likewise.
27614         * math/libm-test.inc (clog_test): Add more tests.
27615         (clog10_test): Likewise.
27616         * sysdeps/i386/fpu/libm-test-ulps: Update.
27617         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27619         [BZ #11451]
27620         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
27621         x and y.
27622         * math/libm-test.inc (atan2_test): Add another test.
27624         * Makerules (common-objdir-compile): Remove.
27625         * sysdeps/unix/Makefile (config-generated): Do not add
27626         $(unix-generated) to variable.
27627         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
27628         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
27629         Remove rule.
27630         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
27631         Likewise.
27632         [generic bits/local_lim.h] (before-compile): Do not append to
27633         variable.
27634         [generic bits/local_lim.h] (common-generated): Likewise.
27635         [generic sys/param.h] (before-compile): Do not append to variable.
27636         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
27637         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
27638         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
27639         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
27640         include.
27641         [generic sys/param.h] (sys/param.h-includes): Remove variable.
27642         [generic sys/param.h] (sys/param.h-includes): Remove rule.
27643         [generic sys/param.h] ($(addprefix
27644         $(common-objpfx),$(sys/param.h-includes))): Likewise.
27645         [generic sys/param.h] (common-generated): Do not append to
27646         variable.
27647         [generic sys/param.h] (sysdep_headers): Likewise.
27648         [generic bits/errno.h] (before-compile): Do not append to
27649         variable.
27650         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
27651         rule.
27652         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
27653         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
27654         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
27655         [generic bits/errno.h] (common-generated): Do not append to
27656         variable.
27657         [generic bits/ioctls.h] (before-compile): Do not append to
27658         variable.
27659         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
27660         rule.
27661         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
27662         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
27663         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
27664         rule.
27665         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
27666         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
27667         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
27668         [generic bits/ioctls.h] (common-generated): Do not append to
27669         variable.
27670         [generic sys/syscall.h] (syscall.h): Remove variable.
27671         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
27672         rule.
27673         [generic sys/syscall.h] (before-compile): Do not append to
27674         variable.
27675         [generic sys/syscall.h] (common-generated): Likewise.
27676         * sysdeps/unix/errnos-tmpl.c: Remove file.
27677         * sysdeps/unix/errnos.awk: Likewise.
27678         * sysdeps/unix/ioctls-tmpl.c: Likewise.
27679         * sysdeps/unix/ioctls.awk: Likewise.
27680         * sysdeps/unix/mk-local_lim.c: Likewise.
27681         * sysdeps/unix/snarf-ioctls: Likewise.
27683 2012-03-19  Richard Henderson  <rth@twiddle.net>
27685         * sysdeps/i386/fpu/fenv_private.h: New file.
27686         * sysdeps/i386/fpu/math_private.h: Use it.
27687         (math_opt_barrier, math_force_eval): Remove.
27688         (libc_feholdexcept_setround_53bit): Remove.
27689         (libc_feupdateenv_53bit): Remove.
27690         * sysdeps/x86_64/fpu/math_private.h: Likewise.
27691         (math_opt_barrier, math_force_eval): Remove.
27692         (libc_feholdexcept): Remove.
27693         (libc_feholdexcept_setround): Remove.
27694         (libc_fetestexcept, libc_fesetenv): Remove.
27695         (libc_feupdateenv_test): Remove.
27696         (libc_feupdateenv, libc_feholdsetround): Remove.
27697         (libc_feresetround): Remove.
27699         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
27700         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
27702         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
27703         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
27704         (libc_feupdateenv_testl): New.
27705         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
27706         (libc_feupdateenv_testf): New.
27707         (libc_feupdateenv): Use libc_feupdateenv_test.
27708         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
27709         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
27711         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
27712         (libc_feholdsetroundf, libc_feholdsetroundl): New.
27713         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
27714         (libc_feresetround_noex): New.
27715         (libc_feresetround_noexf): New.
27716         (libc_feresetround_noexl): New.
27717         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
27718         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
27719         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
27720         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
27721         SET_RESTORE_ROUND.
27722         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
27723         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
27724         (__cos): Likewise.
27725         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
27726         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
27727         SET_RESTORE_ROUND_NOEX.
27728         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
27729         SET_RESTORE_ROUND_NOEXF.
27730         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
27731         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
27732         (libc_feholdsetroundf): New.
27733         (libc_feresetround, libc_feresetroundf): New.
27735         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
27736         (libc_feholdexcept_setround_53bit): Convert from macro to function.
27737         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
27739         * sysdeps/generic/math_private.h: Include <fenv.h>.
27740         (default_libc_feholdexcept): New.
27741         (default_libc_feholdexcept_setround): New.
27742         (default_libc_fesetenv, default_libc_feupdateenv): New.
27743         (libc_feholdexcept): Only define if undefined.
27744         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
27745         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
27746         (libc_feholdexcept_setroundl): Likewise.
27747         (libc_feholdexcept_setround_53bit): Likewise.
27748         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
27749         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
27750         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
27751         (libc_feupdateenv_53bit): Likewise.
27752         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
27753         (libc_feholdexcept): Convert from macro to inline function.
27754         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
27755         (libc_fesetenv, libc_feupdateenv): Likewise.
27757         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
27758         not previously defined.
27759         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
27760         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
27761         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
27762         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
27763         * sysdeps/ieee754/flt-32/math_private.h: New file.
27764         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
27765         math_private.h below SET_FLOAT_WORD.
27766         (__isnan, __isinf_ns, __finite): Remove.
27767         (__isnanf, __isinf_nsf, __finitef): Remove.
27769 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
27771         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27773 2012-03-17  David S. Miller  <davem@davemloft.net>
27775         [BZ #6471]
27776         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
27777         for 2.16.
27779 2012-03-16  David S. Miller  <davem@davemloft.net>
27781         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
27782         warnings.
27784         [BZ #6471]
27785         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
27786         properly.
27787         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
27788         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
27789         sysdep_routines when subdir is sysvipc.
27790         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
27791         __getshmlba helper.
27793         * sysdeps/sparc/fpu/libm-test/ulps: Update.
27795 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
27797         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
27798         [__LP64__].
27800 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
27802         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
27803         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
27804         (__lround): Renamed to ...
27805         (__llround): This.  Replace long int with long long int.
27806         Define lround functions as aliases of llround functions.
27807         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
27809 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
27811         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
27812         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
27813         adresses to uintptr_t.  Replace "long int" and "unsigned long
27814         int" with "greg_t" on va_arg.
27816 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
27818         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
27819         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
27821         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
27822         Move e_machine check before EI_CLASS check.  Handle x32
27823         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
27824         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
27825         SKIP_EM_IA_64 and include
27826         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
27828         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
27829         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
27830         (add_system_dir): New macro.
27832         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
27833         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
27835 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
27837         [BZ #2551]
27838         [BZ #2552]
27839         [BZ #2553]
27840         [BZ #2554]
27841         [BZ #2562]
27842         [BZ #2563]
27843         [BZ #2565]
27844         [BZ #2566]
27845         [BZ #2576]
27846         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
27847         (y0): Likewise.
27848         * math/w_j0f.c (j0f): Likewise.
27849         (y0f): Likewise.
27850         * math/w_j0l.c (__j0l): Likewise.
27851         (__y0l): Likewise.
27852         * math/w_j1.c (j1): Likewise.
27853         (y1): Likewise.
27854         * math/w_j1f.c (j1f): Likewise.
27855         (y1f): Likewise.
27856         * math/w_j1l.c (__j1l): Likewise.
27857         (__y1l): Likewise.
27858         * math/w_jn.c (jn): Likewise.
27859         (yn): Likewise.
27860         * math/w_jnf.c (jnf): Likewise.
27861         (ynf): Likewise.
27862         * math/w_jnl.c (__jnl): Likewise.
27863         (__ynl): Likewise.
27864         * math/libm-test.inc (j0_test): Add more tests.
27865         (j1_test): Likewise.
27866         (jn_test): Likewise.  Add trailing semicolon to existing test.
27867         (y0_test): Likewise.
27868         (y1_test): Likewise.
27869         * sysdeps/i386/fpu/libm-test-ulps: Update.
27870         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27872         [BZ #13851]
27873         [BZ #13854]
27874         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
27875         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
27876         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
27877         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
27878         (__tanl): Set errno for infinite argument.
27879         * sysdeps/i386/fpu/mptan.c: Remove.
27880         * sysdeps/i386/fpu/s_tan.S: Likewise.
27881         * sysdeps/i386/fpu/s_tanl.S: Likewise.
27882         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
27883         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
27884         * math/libm-test.inc (tan_test): Add more tests and enable more
27885         tests for double and long double.
27886         * sysdeps/i386/fpu/libm-test-ulps: Update.
27887         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27889 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
27891         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
27892         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
27894 2012-03-16  Roland McGrath  <roland@hack.frob.com>
27896         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
27897         * configure.in: Use it for both main tree and add-ons.
27898         * configure: Regenerated.
27900 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
27902         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
27904 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
27906         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
27907         in comment.
27909         [BZ #13851]
27910         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
27911         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
27912         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
27913         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
27914         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
27915         infinite argument.
27916         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
27917         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
27918         != 0 for prec == 2.
27919         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
27920         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
27921         * sysdeps/i386/fpu/s_cosl.S: Likewise.
27922         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
27923         * sysdeps/i386/fpu/s_sinl.S: Likewise.
27924         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
27925         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
27926         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
27927         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
27928         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
27929         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
27930         * math/libm-test.inc (cos_test): Add more tests and enable more
27931         tests for long double.
27932         (sin_test): Likewise.
27933         (sincos_test): Likewise.
27934         * sysdeps/i386/fpu/libm-test-ulps: Update.
27935         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27937 2012-03-16  David S. Miller  <davem@davemloft.net>
27939         * sysdeps/sparc/fpu/math_private.h: New file.
27941 2012-03-15  David S. Miller  <davem@davemloft.net>
27943         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
27944         file.
27945         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
27946         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
27947         file.
27948         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
27949         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
27950         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
27951         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
27952         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
27953         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
27954         sysdep routines.
27955         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
27957         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
27958         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
27960         * sysdeps/sparc/sparc-ifunc.h: New file.
27961         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
27962         sparc-ifunc.h
27963         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
27964         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
27965         Likewise.
27966         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
27967         Likewise.
27968         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
27969         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
27970         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
27971         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
27972         Likewise.
27973         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
27974         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
27975         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
27976         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
27977         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
27978         Likewise.
27979         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
27980         Likewise.
27981         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
27982         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
27983         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
27984         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
27985         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
27986         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
27987         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
27988         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
27989         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
27990         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
27991         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
27992         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
27993         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
27994         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
27995         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
27996         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
27997         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
27998         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
27999         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
28000         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
28001         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
28002         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
28003         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
28004         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
28006 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
28008         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
28009         scaling.
28010         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28012 2012-03-15  Andreas Jaeger  <aj@suse.de>
28014         [BZ #13852]
28015         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
28016         ieee754/flt-32 implementation for sin, cos and sincos.
28017         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
28018         * sysdeps/i386/fpu/s_cosf.S: Likewise.
28019         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
28020         * sysdeps/i386/fpu/s_sinf.S: Likewise.
28021         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
28022         ieee754/flt-32 implementation for tan.
28024         * math/libm-test.inc (cos_test): Enable some large input tests for
28025         float as well
28026         (sin_test): Likewise.
28027         (sincos_test): Likewise.
28028         (tan_test): Add tests for large input.
28030         * sysdeps/i386/fpu/libm-test-ulps: Update.
28032 2012-03-15  Andreas Jaeger  <aj@suse.de>
28034         [BZ #13658]
28035         * math/libm-test.inc (cos_test): Add more test cases.
28036         (sin_test): Likewise.
28037         (sincos_test): Likewise.
28039 2012-03-15  Andreas Jaeger  <aj@suse.de>
28041         [BZ #13837]
28042         * math/libm-test.inc (cos_test): Add a test case for large input
28043         value.
28044         (sin_test): Likewise.
28045         (sincos_test): Likewise.
28047 2012-03-15  Andreas Jaeger  <aj@suse.de>,
28048         Joseph Myers  <joseph@codesourcery.com>
28050         [BZ #13658]
28051         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
28052         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
28053         * sysdeps/i386/fpu/branred.c: Likewise.
28054         * sysdeps/i386/fpu/dosincos.c: Likewise.
28055         * sysdeps/i386/fpu/mpa.c: Likewise.
28056         * sysdeps/i386/fpu/s_cos.S: Likewise.
28057         * sysdeps/i386/fpu/s_sin.S: Likewise.
28058         * sysdeps/i386/fpu/s_sincos.S: Likewise.
28059         * sysdeps/i386/fpu/sincos32.c: Likewise.
28061         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
28062         Define.
28063         (libc_feupdateenv_53bit): Define.
28064         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
28065         Define.
28066         (libc_feupdateenv_53bit): Define.
28068         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
28069         53 bit (without extend i386 double precision).
28071         * math/libm-test.inc (sincos_test): Add tests for large input.
28072         (sin): Likewise.
28073         (cos): Likewise.
28075         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
28077 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
28079         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28081 2012-03-15  David S. Miller  <davem@davemloft.net>
28083         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
28084         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
28085         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
28086         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
28087         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
28088         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
28089         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
28090         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
28091         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
28092         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
28093         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
28094         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
28095         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
28096         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
28097         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
28098         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
28099         file.
28100         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
28101         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
28102         file.
28103         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
28104         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
28105         file.
28106         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
28107         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
28108         file.
28109         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
28110         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
28111         fmin/fmax sysdep routines.
28112         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28114 2012-03-14  David S. Miller  <davem@davemloft.net>
28116         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
28117         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
28118         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
28119         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
28120         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
28121         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
28122         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
28123         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
28124         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
28125         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
28126         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
28127         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
28128         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
28129         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
28130         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
28131         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
28132         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
28133         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
28134         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
28135         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
28136         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
28137         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
28138         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
28139         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
28140         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
28141         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
28142         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
28143         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
28144         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
28145         routines.
28146         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
28147         file.
28148         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
28149         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
28150         file.
28151         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
28152         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
28153         file.
28154         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
28155         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
28156         file.
28157         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
28158         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
28159         file.
28160         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
28161         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
28162         file.
28163         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
28164         file.
28165         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
28166         file.
28167         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
28168         file.
28169         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
28170         New file.
28171         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
28172         file.
28173         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
28174         file.
28175         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
28176         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
28177         file.
28178         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
28179         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
28180         file.
28181         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
28182         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
28183         file.
28184         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
28185         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
28186         VIS3 routines.
28188         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
28189         New file.
28191         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28193         * sysdeps/sparc/configure.in: New file.
28194         * sysdeps/sparc/configure: Generate.
28195         * configure.in (libc_cv_sparc_as_vis3): Substitute.
28196         * configure: Regenerate.
28197         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
28198         * config.make.in (have-as-vis3): New.
28199         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
28200         available use -Av9d instead of -Av9a.
28201         * sysdeps/sparc/sparc64/Makefile: Likewise.
28202         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
28203         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
28204         New file.
28205         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
28206         file.
28207         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
28208         New file.
28209         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
28210         file.
28211         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
28212         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
28213         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
28214         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
28215         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
28217         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
28218         fzeros/fnegs to load 0x80000000 into a float register instead of
28219         using the stack.
28220         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
28222 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
28224         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28225         bits/syscall.h.
28226         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
28227         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
28228         ($(inst_includedir)/bits/syscall.h): Remove rule.
28229         ($(objpfx)bits/syscall.d): Include instead of
28230         $(objpfx)syscall-list.d.
28231         (generated): Change syscall-list.h and syscall-list.d to
28232         bits/syscall.h and bits/syscall.d.
28234 2012-03-14  Roland McGrath  <roland@hack.frob.com>
28236         [BZ #13846]
28237         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
28239 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
28241         [BZ #13841]
28242         * math/s_csqrt.c: Include <float.h>.
28243         (__csqrt): Scale large or subnormal inputs.
28244         * math/s_csqrtf.c: Likewise.
28245         * math/s_csqrtl.c: Likewise.
28246         * math/libm-test.inc (csqrt_test): Add more tests.
28247         * sysdeps/i386/fpu/libm-test-ulps: Update.
28248         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28250         [BZ #13840]
28251         * math/libm-test.inc (hypot_test): Add more tests.
28253 2012-03-13  David S. Miller  <davem@davemloft.net>
28255         [BZ #13840]
28256         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
28257         double-precision for the calculation instead of scaling.
28259 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
28261         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
28262         manipulate bits before adding and subtracting TWO52[sx].
28263         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
28264         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
28265         Likewise.
28266         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
28268 2012-03-13  David S. Miller  <davem@davemloft.net>
28270         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
28271         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
28272         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
28273         rtld-global-offsets.h
28274         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28276         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
28277         large parameters.
28279         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
28281         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
28282         'err' in the ifdef scope in which it is actually used.
28284         * nss/nss_db/db-init.c: Include string.h
28286 2012-03-12  David S. Miller  <davem@davemloft.net>
28288         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
28289         masking out of the most significant byte of random value used.
28290         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28291         Fix coding style in previous change.
28293         * sysdeps/unix/sysv/linux/kernel-features.h
28294         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
28295         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
28296         expression.
28297         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
28298         later.
28300 2012-03-11  David S. Miller  <davem@davemloft.net>
28302         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
28303         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
28304         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
28305         for 'resultvar' otherwise things get truncated on 64-bit.
28307         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28308         Fix masking out of the most significant byte of random value used.
28310         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28312 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
28314         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28316 2012-03-09  David S. Miller  <davem@davemloft.net>
28318         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
28319         variables with appropriate CPP guards.
28320         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
28321         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
28322         on resulting framesize and the management of the outregs buffer for pltexit.
28323         Preserve floating point return values across _dl_call_pltexit call.
28324         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
28325         framesize and the management of the outregs buffer for pltexit.
28326         Preserve floating point return values across _dl_call_pltexit
28327         call.
28328         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
28329         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
28330         (print_exit): Fix format string for return register value.
28332 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
28334         * sunrpc/Makefile (others): Add rpcgen.
28335         ($(objpfx)rpcgen): Remove special build rule and dependency on
28336         libc.
28337         * sunrpc/rpcgen.c: New file.
28339 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
28341         [BZ #13673]
28342         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
28343         * stdio-common/bug-vfprintf-nargs.c: Likewise.
28344         * sysdeps/i386/crti.S: Likewise.
28345         * sysdeps/i386/crtn.S: Likewise.
28346         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
28347         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
28348         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
28349         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
28350         * sysdeps/sh/crti.S: Likewise.
28351         * sysdeps/sh/crtn.S: Likewise.
28352         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
28354         [BZ #13673]
28355         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
28356         with URL.
28357         * locale/programs/locfile-kw.gperf: Likewise.
28358         * locale/programs/charmap-kw.h: Regenerated.
28359         * locale/programs/locfile-kw.h: Likewise.
28361         [BZ #13673]
28362         * intl/plural.y: Replace FSF snail mail address with URL.
28363         * intl/plural.c: Regenerated.
28365 2012-03-09  Richard Henderson  <rth@twiddle.net>
28367         * include/math_private.h: Remove file.
28368         * math/math_private.h: Move file ...
28369         * sysdeps/generic/math_private.h: ... here.
28371         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
28372         * sysdeps/powerpc/fpu/math_private.h: Likewise.
28373         * sysdeps/x86_64/fpu/math_private.h: Likewise.
28375         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
28376         and <math_private.h>.
28377         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
28378         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
28379         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
28380         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
28381         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
28382         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
28383         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28384         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28385         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28386         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28387         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28388         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28389         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28390         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28391         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28392         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28393         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28394         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28395         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28396         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
28397         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28398         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28399         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28400         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28401         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
28402         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28403         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28404         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28405         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28406         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28407         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
28408         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28409         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
28410         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
28411         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
28412         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28413         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28414         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
28415         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
28416         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28417         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
28418         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
28419         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
28420         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
28421         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
28422         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
28423         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
28424         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
28425         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28426         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
28427         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
28428         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
28429         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
28430         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
28431         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
28432         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
28433         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28434         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
28435         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
28436         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
28437         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28438         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
28439         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28440         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
28441         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
28442         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
28443         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
28444         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
28445         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
28446         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
28447         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
28448         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28449         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
28450         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28451         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
28452         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
28453         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
28454         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28455         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
28456         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
28457         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
28458         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
28459         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
28460         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
28461         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28462         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
28463         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
28464         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
28465         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
28466         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28467         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28468         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
28469         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28470         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
28471         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
28472         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
28473         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28474         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
28475         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28476         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
28477         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
28478         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
28479         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
28480         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
28481         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
28482         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
28483         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
28484         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
28485         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
28486         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
28487         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
28488         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
28489         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
28490         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
28491         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
28492         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28493         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
28494         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
28495         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
28496         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
28497         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
28498         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
28499         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28500         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
28501         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
28502         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
28503         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
28504         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
28505         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
28506         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
28507         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
28508         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
28509         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
28510         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
28511         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
28512         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
28513         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
28514         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
28515         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
28516         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
28517         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28518         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
28519         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
28520         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
28521         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
28522         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
28523         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
28524         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
28525         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
28526         * sysdeps/ieee754/k_standard.c: Likewise.
28527         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
28528         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
28529         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28530         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
28531         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
28532         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
28533         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
28534         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
28535         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
28536         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
28537         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28538         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
28539         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
28540         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
28541         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
28542         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
28543         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
28544         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
28545         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
28546         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
28547         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
28548         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
28549         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
28550         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
28551         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
28552         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
28553         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
28554         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
28555         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
28556         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
28557         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
28558         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
28559         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
28560         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
28561         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
28562         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
28563         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
28564         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
28565         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
28566         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
28567         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
28568         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
28569         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
28570         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
28571         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
28572         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
28573         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
28574         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
28575         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
28576         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
28577         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
28578         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
28579         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
28580         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
28581         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
28582         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
28583         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
28584         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
28585         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
28586         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
28587         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
28588         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
28589         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
28590         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
28591         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28592         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28593         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
28594         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
28595         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
28596         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
28597         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
28598         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28599         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
28600         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
28601         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
28602         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
28603         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
28604         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
28605         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28606         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
28607         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
28608         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
28609         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
28610         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
28611         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
28612         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
28613         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
28614         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
28615         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
28616         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
28617         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
28618         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
28619         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
28620         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
28621         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
28622         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
28623         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
28624         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
28625         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
28626         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
28627         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
28628         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
28629         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
28630         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
28631         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
28632         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
28633         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
28634         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
28635         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
28636         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
28637         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
28638         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
28639         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
28640         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28641         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
28642         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28643         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
28644         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28645         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28646         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
28647         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28648         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
28649         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28650         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
28651         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28652         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
28653         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
28654         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
28655         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
28656         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
28657         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
28658         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
28659         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
28660         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
28661         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
28662         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
28663         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
28664         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
28665         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
28666         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
28667         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
28668         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
28669         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
28670         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
28671         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
28672         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
28673         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
28674         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
28675         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
28676         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
28677         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
28678         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
28679         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
28680         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
28681         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
28682         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
28683         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
28684         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
28685         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
28686         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
28687         * sysdeps/ieee754/s_lib_version.c: Likewise.
28688         * sysdeps/ieee754/s_matherr.c: Likewise.
28689         * sysdeps/ieee754/s_signgam.c: Likewise.
28690         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28691         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28692         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
28693         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
28694         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
28695         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
28696         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
28697         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
28698         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
28699         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
28700         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
28701         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
28702         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
28703         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
28704         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
28705         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
28706         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28707         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
28708         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28709         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
28710         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
28712 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
28714         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
28715         * sunrpc/rpc_main.c: Likewise.
28716         * sunrpc/rpc_svcout.c: Likewise.
28718 2012-03-09  David S. Miller  <davem@davemloft.net>
28720         * include/math_private.h: New file.
28722 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
28724         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
28725         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
28726         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
28727         from <bits/socket_type.h>.
28728         (enum __socket_type): Don't define here.
28729         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
28730         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28731         bits/socket_type.h.
28733         [BZ #13566]
28734         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
28735         checking __USE_GNU.
28737         * Makerules ($(inst_includedir)/%.h): New rule.
28738         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
28739         (install-others): Remove variable setting.
28740         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
28742 2012-03-08  Richard Henderson  <rth@twiddle.net>
28744         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
28745         from macro to inline function; merge with the
28746         !__LIBC_INTERNAL_MATH_INLINES version.
28747         (__ieee754_sqrtf): Likewise.
28749         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
28750         to inline function.
28751         (__rintf, __floor, __floorf): Likewise.
28753         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
28754         macro to inline function.
28755         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
28757         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
28758         not <math/math_private.h>.
28760 2012-03-08  David S. Miller  <davem@davemloft.net>
28762         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
28763         copyright year.
28764         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
28766 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
28768         * resolv/gai_misc.c (handle_requests): Fix struct timespec
28769         normalization.
28770         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
28771         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
28773 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
28775         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
28776         be defined individually, they must be defined as a block.  Define
28777         S for printing a string instead of hidint the different by using a
28778         macro for adding the 'l'.
28779         * stdio-common/tst-fphex-wide.c: Adjust.
28781 2012-03-07  Marek Polacek  <polacek@redhat.com>
28783         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
28785 2012-03-08  Marek Polacek  <polacek@redhat.com>
28787         [BZ #13806]
28788         * stdio-common/Makefile (tests): Add tst-fphex-wide.
28789         * stdio-common/tst-fphex.c: Define a few macros to make the
28790         test reusable.  Use them.
28791         * stdio-common/tst-fphex-wide.c: New file.
28793 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
28795         [BZ #6911]
28796         * manual/macros.texi (gnusystems): New macro.
28797         (nongnusystems): Likewise.
28798         (gnulinuxhurdsystems): Likewise.
28799         (gnuhurdsystems): Likewise..
28800         (gnulinuxsystems): Likewise.
28801         * manual/charset.texi: Use new macros or @theglibc{} to refer to
28802         variants of the GNU system, not "GNU system".
28803         * manual/conf.texi: Likewise.
28804         * manual/errno.texi: Likewise.  Update example of errno macro
28805         expansion.
28806         * manual/filesys.texi: Likewise.
28807         (getumask): Document as specific to GNU/Hurd.
28808         * manual/install.texi: Likewise.  Reword some references to
28809         GNU/Linux.
28810         * manual/intro.texi: Likewise.
28811         * manual/io.texi: Likewise.
28812         (File Name Portability): Detail which constraints are inapplicable
28813         to all GNU systems and which are only inapplicable to GNU/Hurd.
28814         * manual/job.texi: Likewise.
28815         * manual/llio.texi: Likewise.
28816         (O_NOCTTY): Document as present on GNU/Linux.
28817         * manual/maint.texi: Likewise.
28818         * manual/memory.texi: Likewise.
28819         * manual/pattern.texi: Likewise.
28820         * manual/pipe.texi: Likewise.
28821         * manual/process.texi: Likewise.
28822         * manual/resource.texi: Likewise.
28823         (RUSAGE_CHILDREN): Remove statement about specifying a particular
28824         child on GNU/Hurd.
28825         * manual/setjmp.texi: Likewise.
28826         * manual/signal.texi: Likewise.
28827         * manual/startup.texi: Likewise.
28828         * manual/stdio.texi: Likewise.
28829         * manual/terminal.texi: Likewise.
28830         (ONLCR): Document as POSIX.
28831         (OXTABS): Document availability on GNU/Linux as XTABS.
28832         (ONOEOT): Document availability separately from other bits.
28833         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
28834         * manual/time.texi: Likewise.
28835         * manual/users.texi: Likewise.
28836         * INSTALL: Regenerated.
28837         * sysdeps/gnu/errlist.c: Regenerated.
28839         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
28840         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
28841         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
28842         puts.
28843         * configure: Regenerated.
28845 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
28847         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
28848         default includes instead of AC_HEADER_CHECK.
28849         * sysdeps/i386/configure: Regenerated.
28851         [BZ #10716]
28852         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
28853         * math/s_cacoshf.c (__cacoshf): Likewise.
28854         * math/s_cacoshl.c (__cacoshl): Likewise.
28855         * math/s_casinh.c (__casinh): Set signs of result from argument.
28856         * math/s_casinhf.c (__casinhf): Likewise.
28857         * math/s_casinhl.c (__casinhl): Likewise.
28858         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
28859         (casinh_test): Add more tests.
28860         * sysdeps/i386/fpu/libm-test-ulps: Update.
28861         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28863 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
28865         * po/zh_TW.po: Update from translation team.
28867         * login/Makefile (distribute): Remove variable.
28868         * catgets/Makefile: Likewise.
28869         * mach/Makefile: Likewise.
28870         * malloc/Makefile: Likewise.
28871         * misc/Makefile: Likewise.
28872         * iconv/Makefile: Likewise.
28873         * nscd/Makefile: Likewise.
28874         * hurd/Makefile: Likewise.
28875         * manual/Makefile: Likewise.
28876         * locale/Makefile: Likewise.
28877         * intl/Makefile: Likewise.
28878         * conform/Makefile: Likewise.
28879         * nss/Makefile: Likewise.
28880         * time/Makefile: Likewise.
28881         * soft-fp/Makefile: Likewise.
28882         * dirent/Makefile: Likewise.
28883         * gmon/Makefile: Likewise.
28884         * po/Makefile: Likewise.
28885         * rt/Makefile: Likewise.
28886         * socket/Makefile: Likewise.
28887         * math/Makefile: Likewise.
28888         * signal/Makefile: Likewise.
28889         * debug/Makefile: Likewise.
28890         * elf/Makefile: Likewise.
28891         * timezone/Makefile: Likewise.
28892         * stdlib/Makefile: Likewise.
28893         * iconvdata/Makefile: Likewise.
28894         * sunrpc/Makefile: Likewise.
28895         * io/Makefile: Likewise.
28896         * argp/Makefile: Likewise.
28897         * inet/Makefile: Likewise.
28898         * hesiod/Makefile: Likewise.
28899         * grp/Makefile: Likewise.
28900         * csu/Makefile: Likewise.
28901         * wctype/Makefile: Likewise.
28902         * crypt/Makefile: Likewise.
28903         * libio/Makefile: Likewise.
28904         * string/Makefile: Likewise.
28905         * nis/Makefile: Likewise.
28906         * resolv/Makefile: Likewise.
28907         * stdio-common/Makefile: Likewise.
28908         * wcsmbs/Makefile: Likewise.
28909         * dlfcn/Makefile: Likewise.
28910         * posix/Makefile: Likewise.
28912         [BZ #6959]
28913         * timezone/Makefile: Don't install timezone files, just the programs
28914         and scripts.
28916 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
28918         * nss/databases.def: Add missing gshadow entry.
28920         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
28922 2012-03-06  Marek Polacek  <polacek@redhat.com>
28924         [BZ #13726]
28925         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
28926         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
28927         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
28928         * stdio-common/tst-long-dbl-fphex.c: New file.
28930 2012-03-06  David S. Miller  <davem@davemloft.net>
28932         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28933         (set_obp_int): New function.
28934         (get_obp_int): New function.
28935         (__get_clockfreq_via_dev_openprom): Likewise.
28936         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
28937         Avoid unused variable warnings on 'val' and use builtin_expect.
28938         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
28939         __builtin_expect.
28940         (INLINE_CLONE_SYSCALL): Likewise.
28942 2012-03-05  David S. Miller  <davem@davemloft.net>
28944         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28946 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
28948         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28950         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
28951         only for |x| >= 40.
28952         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28954 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
28956         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
28957         Replace gettimeofday with __vdso_gettimeofday.
28959         * sysdeps/unix/sysv/linux/x86_64/init-first.c
28960         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
28961         __vdso_clock_gettime and __vdso_getcpu.
28963         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
28964         time with __vdso_time.
28966 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
28968         * manual/lang.texi (size_t): Note types to which size_t may be
28969         equivalent with the GNU C Library, but do not describe when
28970         differences between them are significant.
28972 2012-03-05  Andreas Jaeger  <aj@suse.de>
28974         * sysdeps/i386/fpu/libm-test-ulps: Update.
28976 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
28978         [BZ #3976]
28979         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
28980         (__ieee754_pow): Save and restore rounding mode and use
28981         round-to-nearest for main computations.
28982         * math/libm-test.inc (pow_test_tonearest): New function.
28983         (pow_test_towardzero): Likewise.
28984         (pow_test_downward): Likewise.
28985         (pow_test_upward): Likewise.
28986         (main): Call the new functions.
28987         * sysdeps/i386/fpu/libm-test-ulps: Update.
28988         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28990         [BZ #3976]
28991         * math/libm-test.inc (cosh_test_tonearest): New function.
28992         (cosh_test_towardzero): Likewise.
28993         (cosh_test_downward): Likewise.
28994         (cosh_test_upward): Likewise.
28995         (sinh_test_tonearest): Likewise.
28996         (sinh_test_towardzero): Likewise.
28997         (sinh_test_downward): Likewise.
28998         (sinh_test_upward): Likewise.
28999         (main): Call the new functions.
29000         * sysdeps/i386/fpu/libm-test-ulps: Update.
29001         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29003 2012-03-05  Tom de Vries  <tom@codesourcery.com>
29005         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
29006         default stack guard is set in last bytes.
29007         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
29009 2012-03-05  Kees Cook  <keescook@chromium.org>
29011         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
29013         [BZ #13656]
29014         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
29015         possibly allocate from heap instead of stack.
29016         * stdio-common/bug-vfprintf-nargs.c: New file.
29017         * stdio-common/Makefile (tests): Add nargs overflow test.
29019 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
29021         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29023 2012-03-03  Marek Polacek  <polacek@redhat.com>
29025         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
29026         * math/math_private.h: Likewise.
29027         * stdlib/tst-strtod.c: Likewise.
29028         * sysdeps/i386/i486/bits/atomic.h: Likewise.
29029         * sysdeps/x86_64/bits/atomic.h: Likewise.
29031 2012-03-02  David S. Miller  <davem@davemloft.net>
29033         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
29034         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
29035         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
29036         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
29037         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
29038         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
29039         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
29040         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
29042 2012-03-02  Roland McGrath  <roland@hack.frob.com>
29044         [BZ #13792]
29045         * manual/examples/README: New file, says the example source files
29046         can be used under GPL>=2.
29047         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
29048         line containing just "*/".
29049         * manual/examples/add.c: Add copyright header (GPL>=2).
29050         * manual/examples/argp-ex1.c: Likewise.
29051         * manual/examples/argp-ex2.c: Likewise.
29052         * manual/examples/argp-ex3.c: Likewise.
29053         * manual/examples/argp-ex4.c: Likewise.
29054         * manual/examples/atexit.c: Likewise.
29055         * manual/examples/db.c: Likewise.
29056         * manual/examples/dir.c: Likewise.
29057         * manual/examples/dir2.c: Likewise.
29058         * manual/examples/execinfo.c: Likewise.
29059         * manual/examples/filecli.c: Likewise.
29060         * manual/examples/filesrv.c: Likewise.
29061         * manual/examples/fmtmsgexpl.c: Likewise.
29062         * manual/examples/genpass.c: Likewise.
29063         * manual/examples/inetcli.c: Likewise.
29064         * manual/examples/inetsrv.c: Likewise.
29065         * manual/examples/isockad.c: Likewise.
29066         * manual/examples/longopt.c: Likewise.
29067         * manual/examples/memopen.c: Likewise.
29068         * manual/examples/memstrm.c: Likewise.
29069         * manual/examples/mkfsock.c: Likewise.
29070         * manual/examples/mkisock.c: Likewise.
29071         * manual/examples/mygetpass.c: Likewise.
29072         * manual/examples/pipe.c: Likewise.
29073         * manual/examples/popen.c: Likewise.
29074         * manual/examples/rprintf.c: Likewise.
29075         * manual/examples/search.c: Likewise.
29076         * manual/examples/select.c: Likewise.
29077         * manual/examples/setjmp.c: Likewise.
29078         * manual/examples/sigh1.c: Likewise.
29079         * manual/examples/sigusr.c: Likewise.
29080         * manual/examples/stpcpy.c: Likewise.
29081         * manual/examples/strdupa.c: Likewise.
29082         * manual/examples/strftim.c: Likewise.
29083         * manual/examples/strncat.c: Likewise.
29084         * manual/examples/subopt.c: Likewise.
29085         * manual/examples/swapcontext.c: Likewise.
29086         * manual/examples/termios.c: Likewise.
29087         * manual/examples/testopt.c: Likewise.
29088         * manual/examples/testpass.c: Likewise.
29089         * manual/examples/timeval_subtract.c: Likewise.
29091         [BZ #13792]
29092         * manual/time.texi (Elapsed Time): Move timeval_subtract example
29093         function to ...
29094         * manual/timeval_subtract.c.texi: ... here, new file.
29096 2012-03-02  David S. Miller  <davem@davemloft.net>
29098         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
29100 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
29102         [BZ #3976]
29103         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
29104         (__sin): Save and restore rounding mode and use round-to-nearest
29105         for all computations.
29106         (__cos): Save and restore rounding mode and use round-to-nearest
29107         for all computations.
29108         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
29109         <fenv.h>.
29110         (tan): Save and restore rounding mode and use round-to-nearest for
29111         all computations.
29112         * math/libm-test.inc (cos_test_tonearest): New function.
29113         (cos_test_towardzero): Likewise.
29114         (cos_test_downward): Likewise.
29115         (cos_test_upward): Likewise.
29116         (sin_test_tonearest): Likewise.
29117         (sin_test_towardzero): Likewise.
29118         (sin_test_downward): Likewise.
29119         (sin_test_upward): Likewise.
29120         (tan_test_tonearest): Likewise.
29121         (tan_test_towardzero): Likewise.
29122         (tan_test_downward): Likewise.
29123         (tan_test_upward): Likewise.
29124         (main): Call the new functions.
29125         * sysdeps/i386/fpu/libm-test-ulps: Update.
29126         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29128         [BZ #10135]
29129         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
29130         small n, then large n, before computing and testing k+n.
29131         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
29132         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
29133         Likewise.
29134         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
29135         Likewise.
29136         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
29137         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
29138         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
29139         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
29140         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
29141         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
29142         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
29143         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
29144         * math/libm-test.inc (scalbn_test): Add more tests.
29145         (scalbln_test): Likewise.
29147         * manual/filesys.texi (mode_t): Describe constraints on size and
29148         signedness, not exact equivalence to a particular type.
29149         (ino_t): Likewise.
29150         (ino64_t): Likewise.
29151         (dev_t): Likewise.
29152         (nlink_t): Likewise.
29153         (blkcnt_t): Likewise.
29154         (blkcnt64_t): Likewise.
29155         * manual/llio.texi (off_t): Likewise.
29157         [BZ #3976]
29158         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
29159         (__ieee754_exp): Save and restore rounding mode and use
29160         round-to-nearest for all computations.
29161         * math/libm-test.inc (exp_test_tonearest): New function.
29162         (exp_test_towardzero): Likewise.
29163         (exp_test_downward): Likewise.
29164         (exp_test_upward): Likewise.
29165         (main): Call the new functions.
29166         * sysdeps/i386/fpu/libm-test-ulps: Update.
29167         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29169 2012-03-01  Chris Demetriou  <cgd@google.com>
29171         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
29172         have predictable order.
29174 2012-03-01  David S. Miller  <davem@davemloft.net>
29176         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
29178         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
29179         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
29180         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
29181         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
29183         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
29184         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
29185         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
29186         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
29187         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
29188         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
29189         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
29190         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
29191         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
29193         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29195         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
29196         * sysdeps/sparc/fpu/libm-test-ulps: to here.
29197         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
29199         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
29200         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29201         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
29202         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
29203         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
29204         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
29205         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
29206         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29207         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
29208         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
29209         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
29210         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29211         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29212         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
29213         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29214         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29215         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
29216         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
29217         * sysdeps/sparc/elf/configure: Regenerated.
29219 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
29221         * configure.in (AS, LD): Require binutils 2.20 or later.
29222         * configure: Regenerated.
29223         * manual/install.texi (Tools for Compilation): Give binutils 2.20
29224         as required minimum version.
29225         * INSTALL: Regenerated.
29227         [BZ #2541]
29228         [BZ #4108]
29229         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
29230         before squaring exponent.
29231         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
29232         bottom long double and 27 bits of top long double before squaring
29233         exponent.
29234         * math/libm-test.inc (erfc_test): Add more tests.
29235         * sysdeps/i386/fpu/libm-test-ulps: Update.
29236         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29237         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29239 2012-03-01  Kai Tietz  <ktietz@redhat.com>
29241         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
29242         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
29243         containing bit-fields.
29244         * soft-fp/extended.h (_FP_UNION_E): Likewise.
29245         * soft-fp/single.h (_FP_UNION_S): Likewise.
29246         * soft-fp/double.h (_FP_UNION_D): Likewise.
29248 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
29250         [BZ #13786]
29251         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
29252         not include ../strcmp.S.
29253         [USE_AS_STRNCASECMP_L]: Likewise.
29254         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
29255         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
29256         * sysdeps/i386/i686/multiarch/strncase_l-c.c
29257         (__strncasecmp_l_ia32): Define as alias to
29258         __strncasecmp_l_nonascii.
29260         [BZ #5794]
29261         * math/libm-test.inc (expm1_test): Add test for bug 5794.
29262         * sysdeps/i386/fpu/libm-test-ulps: Update.
29263         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29265         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
29266         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29268 2012-02-29  Jeff Law  <law@redhat.com>
29270         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
29271         out of bounds read.
29273 2012-02-29  Marek Polacek  <polacek@redhat.com>
29275         [BZ #13706]
29276         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
29277         * elf/Makefile: Add rules to run tst-unused-dep.out.
29279 2012-02-28  David S. Miller  <davem@davemloft.net>
29281         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
29282         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
29283         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
29284         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
29285         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
29286         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
29288 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
29290         * math/libm-test.inc (llround_test): Move one test from
29291         lround_test.  Use TEST_f_L in moved test.
29292         (lround_test): Move misplaced test to llround_test.  Add testcase
29293         from bug 2561.
29295 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
29297         * sysdeps/x86_64/fpu/e_expf.S: New file.
29298         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
29300 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
29302         [BZ #13637]
29303         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
29304         of remain_len that may cause incomplete multi-byte character and
29305         false match.
29306         * posix/bug-regex33.c: New file.
29307         * posix/Makefile (tests): Add bug-regex33.
29309 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
29311         * manual/macros.texi: New file.
29312         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
29313         * manual/libc.texinfo: Include macros.texi.
29314         * manual/creatute.texi: Likewise.
29315         * manual/install.texi: Likewise.
29316         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
29317         @glibcadj{} in references to the GNU C Library.
29318         * manual/charset.texi: Likewise.
29319         * manual/conf.texi: Likewise.
29320         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
29321         when not using those macros.
29322         * manual/creature.texi: Likewise.
29323         * manual/crypt.texi: Likewise.
29324         * manual/errno.texi: Likewise.
29325         * manual/filesys.texi: Likewise.
29326         * manual/header.texi: Likewise.
29327         * manual/install.texi: Likewise.
29328         * manual/intro.texi: Likewise.
29329         * manual/io.texi: Likewise.
29330         * manual/job.texi: Likewise.
29331         * manual/lang.texi: Likewise.
29332         * manual/libc.texiinfo: Likewise.
29333         * manual/llio.texi: Likewise.
29334         * manual/locale.texi: Likewise.
29335         * manual/maint.texi: Likewise.
29336         * manual/math.texi: Likewise.
29337         * manual/memory.texi: Likewise.
29338         * manual/message.texi: Likewise.
29339         * manual/nss.texi: Likewise.
29340         * manual/pattern.texi: Likewise.
29341         * manual/process.texi: Likewise.
29342         * manual/resource.texi: Likewise.
29343         * manual/search.texi: Likewise.
29344         * manual/setjmp.texi: Likewise.
29345         * manual/signal.texi: Likewise.
29346         * manual/socket.texi: Likewise.
29347         * manual/startup.texi: Likewise.
29348         * manual/stdio.texi: Likewise.
29349         * manual/string.texi: Likewise.
29350         * manual/sysinfo.texi: Likewise.
29351         * manual/syslog.texi: Likewise.
29352         * manual/terminal.texi: Likewise.
29353         * manual/time.texi: Likewise.
29354         * manual/users.texi: Likewise.
29355         * INSTALL: Regenerated.
29356         * NOTES: Regenerated.
29357         * sysdeps/gnu/errlist.c: Regenerated.
29359 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
29361         * include/dirent.h: Include <dirstream.h> before
29362         <dirent/dirent.h>.
29364 2012-02-28  David S. Miller  <davem@davemloft.net>
29366         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
29367         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
29368         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
29369         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
29371 2012-02-27  David S. Miller  <davem@davemloft.net>
29373         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
29374         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
29375         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
29376         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
29378         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
29379         frame pointer instead of stack pointer relative arg slot.
29380         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
29381         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
29382         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
29384 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
29386         [BZ #3992]
29387         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
29389 2012-02-27  David S. Miller  <davem@davemloft.net>
29391         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
29392         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
29393         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
29394         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
29395         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
29396         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
29397         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
29398         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
29400 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
29402         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
29403         later.  Allow versions 5-9.
29404         * configure: Regenerated.
29405         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
29406         required minimum version and 4.6 as recommended version.  Do not
29407         mention bugs in GCC 2.7 and 2.8.
29408         * INSTALL: Regenerated.
29410 2012-02-27  David S. Miller  <davem@davemloft.net>
29412         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
29413         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
29414         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
29415         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
29416         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
29417         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
29418         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
29419         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
29421         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
29422         manipulate bits before adding and subtracting TWO112[sx].
29423         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
29425 2012-02-27  Roland McGrath  <roland@hack.frob.com>
29427         [BZ #13775]
29428         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
29429         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
29430         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
29431         being in POSIX, because they are in 1003.1-2008.
29433         * rt/tst-aio.c: Include <fcntl.h>.
29434         * rt/tst-aio7.c: Likewise.
29435         * rt/tst-aio64.c: Likewise.
29437         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
29439 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
29441         * manual/install.texi (--with-headers): Describe headers as
29442         interface headers, not private headers.
29443         (Specific advice for GNU/Linux systems): Describe use of headers
29444         from "make headers_install", not private headers from older
29445         kernels.
29446         * INSTALL: Regenerated.
29447         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
29448         Change to 2.6.19.
29449         * sysdeps/unix/sysv/linux/configure: Regenerated.
29451         * manual/llio.texi (fclean): Remove documentation.
29453         * manual/Makefile (libc-texi-generated): New variable.  Include
29454         version.texi.
29455         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
29456         $(libc-texi-generated), not duplicated list of files.
29457         (version.texi, stamp-version): New rules.
29458         (realclean): Remove $(libc-texi-generated), not individual files
29459         from that list.  Do not remove dir-add.texinfo.
29460         * manual/libc.texinfo: Comment out uses of edition numbers and
29461         references to printed manual.  Remove last-updated dates.
29462         (EDITION): Comment out.
29463         (ISBN): Likewise.
29464         (VERSION, UPDATED): Remove.
29465         (version.texi): Include.
29467 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
29469         * sysdeps/posix/spawni.c: Include <signal.h>.
29470         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
29471         * sysdeps/pthread/aio_fsync.c: Likewise.
29473 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
29475         * conform/Makefile (tests): Run only when not cross-compiling and
29476         when fast-check is not defined.
29478         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
29479         * conform/data/limits.h-data: Fixes for POSIX2008.
29480         * conform/run-conformtest.sh: Run all tests.
29481         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
29482         headers.
29483         * include/bits/dlfcn.h: Likewise.
29484         * include/langinfo.h: Likewise.
29485         * include/monetary.h: Likewise.
29486         * include/sys/poll.h: Likewise.
29488         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
29489         for __USE_GNU.
29490         * posix/spawn.h: Define __need_sigset_t.
29491         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
29492         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
29493         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
29494         to get sigevent_t only.
29495         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
29496         only for __USE_GNU.
29497         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29498         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
29499         process_vm_writev only for __USE_GNU.
29500         * termios/termios.h: Declare tcgetsid also for POSIX2008.
29502         * conform/Makefile: For now ignore errors from run-conformtest.
29503         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
29504         POSIX to avoid namespace pollution.  Don't prepend headers.
29505         * conform/data/aio.h-data: Fixes for POSIX testing.
29506         * conform/data/fcntl.h-data: Likewise.
29507         * conform/data/glob.h-data: Likewise.
29508         * conform/data/grp.h-data: Likewise.
29509         * conform/data/pthread.h-data: Likewise.
29510         * conform/data/pwd.h-data: Likewise.
29511         * conform/data/signal.h-data: Likewise.
29512         * conform/data/spawn.h-data: Likewise.
29513         * conform/data/stdio.h-data: Likewise.
29514         * conform/data/stdlib.h-data: Likewise.
29515         * conform/data/stropts.h-data: Likewise.
29516         * conform/data/sys/mman.h-data: Likewise.
29517         * conform/data/sys/stat.h-data: Likewise.
29518         * conform/data/sys/types.h-data: Likewise.
29519         * conform/data/sys/wait.h-data: Likewise.
29520         * conform/data/time.h-data: Likewise.
29521         * conform/data/unistd.h-data: Likewise.
29522         * conform/data/utime.h-data: Likewise.
29524         * io/sys/stat.h: fchmod was always in POSIX.
29525         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
29526         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
29527         * rt/aio.h: Define __need_timespec before including <time.h>.
29528         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
29529         struct.  Add forward declaration of pthread_attr_t and use it in
29530         sigevent.
29531         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
29532         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
29533         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
29534         always remove CLK_TCK definition.
29536 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
29538         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
29540 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
29542         * conform/run-conformtest.sh: New file.
29543         * conform/Makefile: Run run-conformtest for tests.
29544         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
29545         support.
29547         * conform/data/uchar.h-data: New file.
29548         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
29549         * conform/data/arpa/inet.h-data: Likewise.
29550         * conform/data/assert.h-data: Likewise.
29551         * conform/data/complex.h-data: Likewise.
29552         * conform/data/cpio.h-data: Likewise.
29553         * conform/data/ctype.h-data: Likewise.
29554         * conform/data/dirent.h-data: Likewise.
29555         * conform/data/dlfcn.h-data: Likewise.
29556         * conform/data/errno.h-data: Likewise.
29557         * conform/data/fcntl.h-data: Likewise.
29558         * conform/data/float.h-data: Likewise.
29559         * conform/data/fmtmsg.h-data: Likewise.
29560         * conform/data/fnmatch.h-data: Likewise.
29561         * conform/data/ftw.h-data: Likewise.
29562         * conform/data/glob.h-data: Likewise.
29563         * conform/data/grp.h-data: Likewise.
29564         * conform/data/iconv.h-data: Likewise.
29565         * conform/data/inttypes.h-data: Likewise.
29566         * conform/data/langinfo.h-data: Likewise.
29567         * conform/data/libgen.h-data: Likewise.
29568         * conform/data/limits.h-data: Likewise.
29569         * conform/data/locale.h-data: Likewise.
29570         * conform/data/math.h-data: Likewise.
29571         * conform/data/monetary.h-data: Likewise.
29572         * conform/data/mqueue.h-data: Likewise.
29573         * conform/data/ndbm.h-data: Likewise.
29574         * conform/data/net/if.h-data: Likewise.
29575         * conform/data/netdb.h-data: Likewise.
29576         * conform/data/netinet/in.h-data: Likewise.
29577         * conform/data/nl_types.h-data: Likewise.
29578         * conform/data/poll.h-data: Likewise.
29579         * conform/data/pthread.h-data: Likewise.
29580         * conform/data/pwd.h-data: Likewise.
29581         * conform/data/regex.h-data: Likewise.
29582         * conform/data/sched.h-data: Likewise.
29583         * conform/data/search.h-data: Likewise.
29584         * conform/data/semaphore.h-data: Likewise.
29585         * conform/data/setjmp.h-data: Likewise.
29586         * conform/data/signal.h-data: Likewise.
29587         * conform/data/spawn.h-data: Likewise.
29588         * conform/data/stdarg.h-data: Likewise.
29589         * conform/data/stdio.h-data: Likewise.
29590         * conform/data/stdlib.h-data: Likewise.
29591         * conform/data/string.h-data: Likewise.
29592         * conform/data/strings.h-data: Likewise.
29593         * conform/data/stropts.h-data: Likewise.
29594         * conform/data/sys/ipc.h-data: Likewise.
29595         * conform/data/sys/mman.h-data: Likewise.
29596         * conform/data/sys/msg.h-data: Likewise.
29597         * conform/data/sys/resource.h-data: Likewise.
29598         * conform/data/sys/select.h-data: Likewise.
29599         * conform/data/sys/sem.h-data: Likewise.
29600         * conform/data/sys/shm.h-data: Likewise.
29601         * conform/data/sys/socket.h-data: Likewise.
29602         * conform/data/sys/stat.h-data: Likewise.
29603         * conform/data/sys/statvfs.h-data: Likewise.
29604         * conform/data/sys/time.h-data: Likewise.
29605         * conform/data/sys/timeb.h-data: Likewise.
29606         * conform/data/sys/times.h-data: Likewise.
29607         * conform/data/sys/types.h-data: Likewise.
29608         * conform/data/sys/uio.h-data: Likewise.
29609         * conform/data/sys/un.h-data: Likewise.
29610         * conform/data/sys/utsname.h-data: Likewise.
29611         * conform/data/sys/wait.h-data: Likewise.
29612         * conform/data/syslog.h-data: Likewise.
29613         * conform/data/tar.h-data: Likewise.
29614         * conform/data/termios.h-data: Likewise.
29615         * conform/data/utime.h-data: Likewise.
29616         * conform/data/utmpx.h-data: Likewise.
29617         * conform/data/varargs.h-data: Likewise.
29618         * conform/data/wchar.h-data: Likewise.
29619         * conform/data/wctype.h-data: Likewise.
29620         * conform/data/wordexp.h-data: Likewise.
29622         * include/stropts.h: New file.
29623         * include/uchar.h: New file.
29624         * include/aio.h: Changes to allow conformtest.pl to use the headers.
29625         * include/assert.h: Likewise.
29626         * include/ctype.h: Likewise.
29627         * include/dirent.h: Likewise.
29628         * include/dlfcn.h: Likewise.
29629         * include/fcntl.h: Likewise.
29630         * include/fnmatch.h: Likewise.
29631         * include/glob.h: Likewise.
29632         * include/grp.h: Likewise.
29633         * include/libio.h: Likewise.
29634         * include/locale.h: Likewise.
29635         * include/math.h: Likewise.
29636         * include/net/if.h: Likewise.
29637         * include/netdb.h: Likewise.
29638         * include/netinet/in.h: Likewise.
29639         * include/pthread.h: Likewise.
29640         * include/pwd.h: Likewise.
29641         * include/regex.h: Likewise.
29642         * include/sched.h: Likewise.
29643         * include/search.h: Likewise.
29644         * include/setjmp.h: Likewise.
29645         * include/signal.h: Likewise.
29646         * include/stdio.h: Likewise.
29647         * include/stdlib.h: Likewise.
29648         * include/string.h: Likewise.
29649         * include/sys/cdefs.h: Likewise.
29650         * include/sys/mman.h: Likewise.
29651         * include/sys/msg.h: Likewise.
29652         * include/sys/resource.h: Likewise.
29653         * include/sys/select.h: Likewise.
29654         * include/sys/socket.h: Likewise.
29655         * include/sys/stat.h: Likewise.
29656         * include/sys/statvfs.h: Likewise.
29657         * include/sys/time.h: Likewise.
29658         * include/sys/times.h: Likewise.
29659         * include/sys/uio.h: Likewise.
29660         * include/sys/utsname.h: Likewise.
29661         * include/sys/wait.h: Likewise.
29662         * include/termios.h: Likewise.
29663         * include/time.h: Likewise.
29664         * include/ulimit.h: Likewise.
29665         * include/unistd.h: Likewise.
29666         * include/utime.h: Likewise.
29667         * include/wchar.h: Likewise.
29668         * include/wctype.h: Likewise.
29669         * include/wordexp.h: Likewise.
29671         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
29673         * time/time.h: TIME_UTC must be a macro.
29674         Make timespec_get available for ISO C11 only as well.
29676 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
29678         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
29679         Reported by Peng Haitao <penght@cn.fujitsu.com>.
29681 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
29683         * configure.in: Use -o not -a in test for unsupported multi-arch.
29685 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
29687         * manual/texinfo.tex: Update to version 2012-01-19.16.
29689 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
29691         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
29693 2012-02-24  Roland McGrath  <roland@hack.frob.com>
29695         [BZ #13738]
29696         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
29697         * manual/fdl-1.3.texi: New file.
29698         * manual/fdl-1.1.texi: File removed.
29700         [BZ #13738]
29701         * manual/libc.texinfo (FDL_VERSION): New @set.
29702         Use it for mention of FDL in cover text.
29703         (Documentation License): Use it in @include file name.
29705 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
29706             Roland McGrath  <roland@hack.frob.com>
29708         [BZ #5461]
29709         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
29710         not LONG_LONG_MAX and LONG_LONG_MIN.
29711         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
29712         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
29713         name.
29714         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
29716 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
29718         [BZ #2547]
29719         [BZ #11365]
29720         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
29721         manipulate bits before adding and subtracting TWO23[sx].
29722         * math/libm-test.inc (nearbyint_test): Add more tests.
29724 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
29726         [BZ #2548]
29727         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
29728         bits before adding and subtracting TWO23[sx].
29729         * math/libm-test.inc (rint_test): Add more tests.
29730         (rint_test_tonearest): Likewise.
29731         (rint_test_towardzero): Likewise.
29732         (rint_test_downward): Likewise.
29733         (rint_test_upward: Likewise.
29735 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
29737         [BZ #10110]
29738         * include/stdc-predef.h: New file.  Extracted from features.h.
29739         * include/features.h: Include stdc-predef.h.
29740         * Makefile (headers): Add stdc-predef.h.
29741         * CONFORMANCE (Compiler limitations): Update.
29743 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
29745         * manual/libc.texinfo (VERSION, UPDATED): Revert.
29747 2012-02-21  David S. Miller  <davem@davemloft.net>
29749         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
29750         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
29752 2012-02-20  David S. Miller  <davem@davemloft.net>
29754         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
29755         using a normal save/restore sequence, rather than allocating a
29756         dummy stack frame just to store a frame pointer and restore.
29757         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29759 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
29761         * manual/install.texi: Fix stray word in line-wrapped comment.
29763 2012-02-20  David S. Miller  <davem@davemloft.net>
29765         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
29766         both binutils and gcc support GOTDATA.
29768         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
29769         "rd %pc" in the PIC register setup sequences.
29771         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
29772         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
29773         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
29774         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
29775         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
29776         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
29777         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29778         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29779         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
29780         (SYSCALL_ERROR_HANDLER): Likewise.
29781         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
29782         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29783         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
29784         (SYSCALL_ERROR_HANDLER): Likewise.
29786         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
29787         (HAVE_GCC_GOTDATA): New.
29788         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
29789         relocation support in both binutils and gcc.
29790         * sysdeps/sparc/elf/configure: Regenerate.
29792         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
29793         * sysdeps/sparc/sparc32/elf/configure: Delete.
29794         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
29795         * sysdeps/sparc/sparc64/elf/configure: Delete.
29796         * sysdeps/sparc/elf/configure.in: New file.
29797         * sysdeps/sparc/elf/configure: Generate.
29799         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
29800         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
29801         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
29802         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
29803         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
29805 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
29807         * manual/install.texi: Do not mention specific glibc version
29808         numbers.
29809         * manual/libc.texinfo (VERSION, UPDATED): Update.
29810         (@copying): Use @copyright{} and range of years.
29812 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
29814         [BZ #13695]
29815         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
29816         [crti.S not in sysdirs] (generated): Do not append.
29817         [crti.S not in sysdirs] (omit-deps): Likewise.
29818         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
29819         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
29820         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
29821         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
29822         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
29823         Likewise.
29824         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
29825         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
29826         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
29827         * csu/defs.awk: Remove file.
29828         * sysdeps/generic/initfini.c: Likewise.
29829         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
29830         variable.
29831         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
29832         Likewise.
29834 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
29836         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
29837         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
29838         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
29839         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
29840         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
29841         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
29842         <bits/epoll.h>.
29843         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
29844         (__EPOLL_PACKED): Define to empty if not defined by
29845         <bits/epoll.h>.
29846         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
29847         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29848         bits/epoll.h.
29850 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
29852         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
29853         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
29854         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
29855         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
29856         <bits/timerfd.h>.
29857         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
29858         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29859         bits/timerfd.h.
29861 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
29863         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
29864         in C locale.
29865         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29866         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
29867         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
29868         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29870 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
29872         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29873         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
29875 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
29877         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
29878         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
29879         defined.
29880         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
29881         Likewise.
29882         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
29883         entry for 2.16.
29885 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
29887         * math/w_acos.c: Use non-signaling floating-point comparisons.
29888         * math/w_acosf.c: Likewise.
29889         * math/w_acosh.c: Likewise.
29890         * math/w_acoshf.c: Likewise.
29891         * math/w_acoshl.c: Likewise.
29892         * math/w_acosl.c: Likewise.
29893         * math/w_asin.c: Likewise.
29894         * math/w_asinf.c: Likewise.
29895         * math/w_asinl.c: Likewise.
29896         * math/w_atanh.c: Likewise.
29897         * math/w_atanhf.c: Likewise.
29898         * math/w_atanhl.c: Likewise.
29899         * math/w_exp2.c: Likewise.
29900         * math/w_exp2f.c: Likewise.
29901         * math/w_exp2l.c: Likewise.
29902         * math/w_j0.c: Likewise.
29903         * math/w_j0f.c: Likewise.
29904         * math/w_j0l.c: Likewise.
29905         * math/w_j1.c: Likewise.
29906         * math/w_j1f.c: Likewise.
29907         * math/w_j1l.c: Likewise.
29908         * math/w_jn.c: Likewise.
29909         * math/w_jnf.c: Likewise.
29910         * math/w_log.c: Likewise.
29911         * math/w_log10.c: Likewise.
29912         * math/w_log10f.c: Likewise.
29913         * math/w_log10l.c: Likewise.
29914         * math/w_log2.c: Likewise.
29915         * math/w_log2f.c: Likewise.
29916         * math/w_log2l.c: Likewise.
29917         * math/w_logf.c: Likewise.
29918         * math/w_logl.c: Likewise.
29919         * math/w_sqrt.c: Likewise.
29920         * math/w_sqrtf.c: Likewise.
29921         * math/w_sqrtl.c: Likewise.
29922         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
29923         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
29924         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29925         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
29926         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
29928 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
29930         [BZ #9739]
29931         * manual/string.texi (strnlen): Use correct parameter name in
29932         equivalent expression.
29934 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
29936         [BZ #11174]
29937         * manual/users.texi (seteuid): Consistently use neweuid for
29938         argument name.
29940 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
29942         [BZ #13704]
29943         * manual/nss.texi (Services in the NSS configuration): Correct
29944         list of services in example configuration file.
29946 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
29948         [BZ #11322]
29949         * manual/arith.texi: Remove statements about negative zero
29950         behaving identically to zero.
29952 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
29954         [BZ #5993]
29955         * manual/install.texi: Do not document upgrading from libc5.
29957 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
29959         [BZ #4596]
29960         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
29962 2012-02-18  David S. Miller  <davem@davemloft.net>
29964         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
29965         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
29966         %o7 across the call.
29967         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
29968         instead.
29969         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
29970         SETUP_PIC_REG_LEAF.
29971         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29972         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
29973         * sysdeps/sparc/crtn.S: Likewise.
29975 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
29977         * aout/Makefile: Remove.
29979 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
29981         [BZ #13058]
29982         * manual/examples/argp-ex1.c (main): Format definition in GNU
29983         style.
29984         * manual/examples/argp-ex2.c (main): Likewise.
29985         * manual/examples/argp-ex3.c (main): Likewise.
29986         * manual/examples/argp-ex4.c (main): Likewise.
29987         * manual/examples/longopt.c (main): Use new-style prototype
29988         definition.
29989         * manual/examples/strncat.c (main): Specify return type and use
29990         (void) for arguments.
29991         * manual/examples/subopt.c (main): Use char **argv argument.
29993 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
29995         [BZ #5077]
29996         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
29997         rounding modes.
29999 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
30001         [BZ #6907]
30002         * manual/string.texi (strchr): Change when strchrnul is
30003         recommended.
30005 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
30007         [BZ #174]
30008         * manual/locale.texi (setlocale): Document LOCPATH.
30010 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
30012         [BZ #10210]
30013         * manual/process.texi (execle): Move @dots{} before last argument.
30015 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
30017         [BZ #12047]
30018         * manual/charset.texi (Generic Charset Conversion): Fix typo
30019         (LC_TYPE -> LC_CTYPE).
30021 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
30023         [BZ #5805]
30024         * manual/arith.texi (scalbn): Use @var{} on parameter names.
30025         (scalbnf): Likewise.
30026         (scalbnl): Likewise.
30027         (scalbln): Likewise.
30028         (scalblnf): Likewise.
30029         (scalblnl): Likewise.
30030         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
30031         (vwarnx): Likewise.
30032         (verr): Likewise.
30033         (verrx): Likewise.
30034         * manual/filesys.texi (telldir): Use braces around return type.
30035         * manual/llio.texi (mmap): Add space after comma.
30036         (mmap64): Likewise.
30037         * manual/math.texi (jn): Use @var{} on parameter names.
30038         (jnf): Likewise.
30039         (jnl): Likewise.
30040         (yn): Likewise.
30041         (ynf): Likewise.
30042         (ynl): Likewise.
30043         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
30044         line.
30045         * manual/resource.texi (ulimit): Use @dots{} instead of literal
30046         "...".
30047         (sched_get_priority_min): Remove semicolon on @deftypefun line.
30048         (sched_get_priority_max): Likewise.
30049         * manual/signal.texi (sigvec): Add space after comma.
30050         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
30051         names.
30052         (if_indextoname): Likewise.
30053         (if_freenameindex): Likewise.
30054         (sendto): Use ',' instead of '.' in prototype.
30055         * manual/startup.texi (syscall): Use @dots{} instead of literal
30056         "...".
30057         * manual/stdio.texi (__fpending): Separate initial words of
30058         paragraph from @deftypefun line.
30059         * manual/syslog.texi (syslog): Use @dots{} instead of literal
30060         "...".
30061         (vsyslog): Use @var{} on parameter names.
30062         * manual/terminal.texi (stty): Use @var{} on parameter names.
30063         * manual/users.texi (getutmp): Use @var{} on parameter names.
30064         (getutmpx): Likewise.
30066 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
30068         [BZ #6884]
30069         * manual/stdio.texi (fopen): Fix typos in description of
30070         ",ccs=STRING".
30072 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
30074         [BZ #4026]
30075         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
30076         get clock_id definition.
30078 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
30080         [BZ #4822]
30081         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
30082         (madvise): Cast every argument to void on its own.
30084 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
30086         [BZ #9902]
30087         * manual/startup.texi (Exit Status): Fix typo.
30089 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
30091         [BZ #10140]
30092         * manual/examples/argp-ex1.c: Include <stdlib.h>.
30093         * manual/examples/argp-ex2.c: Likewise.
30094         * manual/examples/argp-ex3.c: Likewise.
30096 2012-02-16  Richard Henderson  <rth@redhat.com>
30098         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
30099         * sysdeps/s390/s390-32/initfini.c: Remove.
30100         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
30101         * sysdeps/s390/s390-64/initfini.c: Remove.
30103 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30105         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
30106         compiler output for sysdeps/generic/initfini.c.
30107         * sysdeps/sh/elf/initfini.c: Remove file.
30109 2012-02-16  David S. Miller  <davem@davemloft.net>
30111         [BZ #11494]
30112         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
30114         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
30115         * sysdeps/sparc/crti.S: New file.
30116         * sysdeps/sparc/crtn.S: New file.
30117         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
30118         * sysdeps/sparc/sparc64/Makefile: Likewise.
30120 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
30122         [BZ #3335]
30123         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
30125 2012-02-15  Roland McGrath  <roland@hack.frob.com>
30127         [BZ #4822]
30128         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
30130         * mach/devstream.c (cookie_io_functions_t): Macro removed.
30131         (write, read, close): Likewise.
30132         Patch by Aurelien Jarno <aurelien@aurel32.net>.
30134 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
30136         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
30137         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
30138         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
30139         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
30140         <bits/signalfd.h>.
30141         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
30142         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30143         bits/signalfd.h.
30145 2012-02-14  Marek Polacek  <polacek@redhat.com>
30147         * sysdeps/x86_64/crti.S: New file.
30148         * sysdeps/x86_64/crtn.S: New file.
30149         * sysdeps/x86_64/elf/initfini.c: Remove file.
30151 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
30153         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
30154         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
30155         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
30156         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
30157         <bits/inotify.h>.
30158         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
30159         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30160         bits/inotify.h.
30162 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
30164         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
30165         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
30166         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
30167         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
30168         <bits/eventfd.h>.
30169         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
30170         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30171         bits/eventfd.h.
30173 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
30175         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
30176         __feraiseexcept instead of feraiseexcept.
30178         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
30179         nanosleep invocations.
30180         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
30181         strings, and add error checking for a nanosleep invocations.
30183 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
30185         Replace FSF snail mail address with URLs, as per GNU coding standards.
30186         Most of the snail mail addresses were wrong anyway, and omitting
30187         them makes the source code easier to maintain.  Almost all of the
30188         changes are to license notices and to locale LC_IDENTIFICATION
30189         addresses, except for this one:
30190         * manual/libc.texinfo: In "Published by", give the FSF's URL,
30191         not its snail mail address.
30193 2012-02-09  Richard Henderson  <rth@twiddle.net>
30195         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
30196         of kernel-features.h.
30198         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
30200 2012-02-08  Marek Polacek  <polacek@redhat.com>
30202         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
30203         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
30204         * sysdeps/gnu/_G_config.h: Likewise.
30205         * sysdeps/generic/_G_config.h: Likewise.
30207 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
30209         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
30210         tests.
30211         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30213         * sysdeps/powerpc/powerpc32/crti.S: New file.
30214         * sysdeps/powerpc/powerpc32/crtn.S: New file.
30215         * sysdeps/powerpc/powerpc64/crti.S: New file.
30216         * sysdeps/powerpc/powerpc64/crtn.S: New file.
30218         * Makeconfig (have-initfini): Don't set.
30219         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
30220         * configure.in (nopic_initfini): Don't substitute.
30221         * config.h.in (HAVE_INITFINI): Don't #undef.
30222         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
30223         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
30225 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
30227         Support crti.S and crtn.S provided directly by architectures.
30228         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
30229         [crti.S in sysdirs] (omit-deps): Likewise.
30230         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
30231         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
30232         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
30233         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
30234         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
30235         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
30236         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
30237         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
30238         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
30239         compiler output for sysdeps/generic/initfini.c.
30240         * sysdeps/i386/elf/Makefile: Remove file.
30241         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
30243 2012-02-07  Marek Polacek  <polacek@redhat.com>
30245         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
30246         * sysdeps/gnu/_G_config.h: Likewise.
30247         * sysdeps/mach/hurd/_G_config.h: Likewise.
30249 2012-02-07  Marek Polacek  <polacek@redhat.com>
30251         * math/Makefile (tests): Add tst-CMPLX2.
30252         * math/tst-CMPLX2.c: New file.
30254 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
30256         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30258         * math/libm-test.inc (jn_test): Add missing L suffix.
30260 2012-02-06  Marek Polacek  <polacek@redhat.com>
30262         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
30263         * sysdeps/i386/fpu/e_powf.S: Likewise.
30264         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30265         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
30266         * sysdeps/i386/fpu/e_acosh.S: Likewise.
30267         * sysdeps/i386/fpu/e_pow.S: Likewise.
30268         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30269         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30270         * sysdeps/i386/fpu/s_expm1.S: Likewise.
30271         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
30272         * sysdeps/i386/fpu/e_log2.S: Likewise.
30273         * sysdeps/i386/fpu/e_log2l.S: Likewise.
30274         * sysdeps/i386/fpu/e_scalb.S: Likewise.
30275         * sysdeps/i386/fpu/e_powl.S: Likewise.
30276         * sysdeps/i386/fpu/s_log1p.S: Likewise.
30277         * sysdeps/i386/fpu/e_log10f.S: Likewise.
30278         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
30279         * sysdeps/i386/fpu/e_logl.S: Likewise.
30280         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
30281         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
30282         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
30283         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
30284         * sysdeps/i386/fpu/e_log2f.S: Likewise.
30285         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30286         * sysdeps/i386/fpu/e_log.S: Likewise.
30287         * sysdeps/i386/fpu/s_cexp.S: Likewise.
30288         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30289         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
30290         * sysdeps/i386/fpu/e_logf.S: Likewise.
30291         * sysdeps/i386/fpu/e_log10l.S: Likewise.
30292         * sysdeps/i386/fpu/e_atanh.S: Likewise.
30293         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
30294         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
30295         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
30296         * sysdeps/i386/fpu/e_log10.S: Likewise.
30297         * sysdeps/i386/fpu/s_frexp.S: Likewise.
30298         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30299         * sysdeps/i386/fpu/s_asinh.S: Likewise.
30300         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
30301         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30302         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
30303         * sysdeps/i386/asm-syntax.h: Likewise.
30304         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30305         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30306         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30307         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
30308         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
30309         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30310         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
30311         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
30312         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30313         * sysdeps/powerpc/sysdep.h: Likewise.
30314         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
30315         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30317 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
30319         [BZ #411]
30320         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
30322 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
30324         * sysdeps/i386/sysdep.h: Include <features.h>.
30325         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
30326         version.
30328 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
30330         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
30331         Define.
30332         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
30333         LOAD_PIC_REG_STR.
30335 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
30337         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
30338         (SETUP_PIC_REG): Use GET_PC_THUNK.
30339         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
30340         macro.
30342 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
30344         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
30345         for non-PIC compilation.
30346         (SETUP_PIC_REG): Add .p2align directive.
30347         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
30348         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
30349         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30350         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30351         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
30352         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30353         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
30354         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30355         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30356         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30357         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30358         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30359         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30360         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30361         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30362         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
30363         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
30364         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30365         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30366         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30367         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30368         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
30369         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30370         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
30371         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
30372         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
30373         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30374         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
30375         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30376         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30377         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30378         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30379         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30380         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30381         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30382         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30383         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30384         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30385         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30386         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30387         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30389 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
30391         * math/tst-CMPLX.c: Include <stdio.h>.
30393 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
30395         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
30396         float.
30397         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
30398         * sysdeps/sparc/bits/mathdef.h: Likewise.
30400 2012-01-31  Marek Polacek  <polacek@redhat.com>
30402         * libio/libio.h: Don't define _PARAMS.
30403         * locale/programs/config.h: Don't define PARAMS.
30404         * stdlib/strtol_l.c: Likewise.
30405         (__strtol_l): Remove PARAMS from the prototype.
30407 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
30409         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
30410         names.  Just use the correct names.  Remove unnecessary wrapper
30411         functions.
30412         * malloc/arena.c: Likewise.
30413         * malloc/hooks.c: Likewise.
30415         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
30416         ARENA_TEST says not to.  Simplify test for creation of a new arena.
30417         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
30419 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
30421         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
30422         into tail calls.
30423         (update_get_addr): New function.
30424         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
30425         GET_ADDR_MODULE parameter.
30427 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
30429         * crypt/cert.c: Remove __STDC__ conditionals.
30430         * crypt/crypt-entry.c: Likewise.
30431         * crypt/crypt_util.c: Likewise.
30432         * libio/filedoalloc.c: Likewise.
30433         * libio/fileops.c: Likewise.
30434         * libio/genops.c: Likewise.
30435         * libio/iofclose.c: Likewise.
30436         * libio/iofdopen.c: Likewise.
30437         * libio/iofopen.c: Likewise.
30438         * libio/iofopen64.c: Likewise.
30439         * libio/iogetdelim.c: Likewise.
30440         * libio/iopopen.c: Likewise.
30441         * libio/obprintf.c: Likewise.
30442         * libio/oldfileops.c: Likewise.
30443         * libio/oldiofclose.c: Likewise.
30444         * libio/oldiofdopen.c: Likewise.
30445         * libio/oldiofopen.c: Likewise.
30446         * libio/oldiopopen.c: Likewise.
30447         * libio/wfiledoalloc.c: Likewise.
30448         * libio/wgenops.c: Likewise.
30449         * locale/programs/xmalloc.c: Likewise.
30450         * misc/syslog.c: Likewise.
30451         * stdio-common/xbug.c: Likewise.
30452         * string/memchr.c: Likewise.
30453         * string/memcmp.c: Likewise.
30454         * string/memrchr.c: Likewise.
30455         * string/rawmemchr.c: Likewise.
30456         * sysdeps/posix/getcwd.c: Likewise.
30457         * time/strftime_l.c: Likewise.
30459 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
30461         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
30462         * config.make.in (config-cflags-sse2avx): Define.
30463         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
30464         Fix typo.
30466 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
30468         * scripts/config.guess: Update from upstream config git repository.
30469         * scripts/config.sub: Likewise.
30471 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
30473         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
30474         (EM_NUM): Update.
30475         (R_TILEPRO_*, R_TILEGX_*): New macros.
30477         * scripts/firstversions.awk: Fix bug in version range handling.
30479         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
30481         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
30483         * include/sys/epoll.h: New file.
30484         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
30485         libc_hidden_def.
30487 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
30489         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
30490         Avoid unnecessary __WORDSIZE == 64 test.
30491         (fmaxf): Use VEX format if possible.
30492         (fmax): Likewise.
30493         (fminf): Likewise.
30494         (fmin): Likewise.
30496         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
30497         * math/math_private.h: Remove libc_fegetround* and
30498         libc_fesetround*.
30499         * sysdeps/i386/configure.in: Check for -msse2avx.
30500         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
30501         also if SSE2AVX is defined.
30502         Remove libc_fegetround* and libc_fesetround*.
30503         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
30504         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
30505         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
30506         of HAS_YMM_USABLE.
30507         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30508         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30509         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30510         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30511         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30513         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
30515 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30517         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
30518         size is not set.
30519         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
30521 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
30523         [BZ #13618]
30524         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
30525         relocation.
30526         * Makeconfig (libm): Define.
30527         * elf/Makefile: Add rules to build and run tst-relsort1.
30528         * elf/tst-relsort1.c: New file.
30529         * elf/tst-relsort1mod1.c: New file.
30530         * elf/tst-relsort1mod2.c: New file.
30532 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
30534         * math/s_ldexp.c: Remove __STDC__ conditionals.
30535         * math/s_ldexpf.c: Likewise.
30536         * math/s_ldexpl.c: Likewise.
30537         * math/s_nextafter.c: Likewise.
30538         * math/s_nexttowardf.c: Likewise.
30539         * math/s_significand.c: Likewise.
30540         * math/s_significandf.c: Likewise.
30541         * math/s_significandl.c: Likewise.
30542         * math/w_jnl.c: Likewise.
30543         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
30544         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
30545         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
30546         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
30547         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
30548         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30549         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
30550         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
30551         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
30552         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
30553         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
30554         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30555         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
30556         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
30557         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
30558         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
30559         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
30560         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
30561         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
30562         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
30563         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
30564         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
30565         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
30566         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30567         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
30568         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
30569         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
30570         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
30571         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
30572         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
30573         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
30574         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
30575         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
30576         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
30577         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
30578         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
30579         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
30580         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
30581         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
30582         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
30583         * sysdeps/ieee754/k_standard.c: Likewise.
30584         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
30585         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
30586         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
30587         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
30588         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
30589         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
30590         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
30591         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
30592         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
30593         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
30594         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
30595         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
30596         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
30597         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
30598         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
30599         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
30600         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
30601         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
30602         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
30603         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
30604         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
30605         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
30606         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
30607         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
30608         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
30609         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
30610         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30611         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30612         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30613         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
30614         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
30615         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
30616         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
30617         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
30618         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
30619         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
30620         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
30621         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
30622         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
30623         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
30624         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
30625         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
30626         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
30627         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
30628         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
30629         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
30630         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
30631         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
30632         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
30633         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
30634         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
30635         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
30636         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
30637         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
30638         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
30639         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
30640         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
30641         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
30642         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
30643         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
30644         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
30645         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
30646         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
30647         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
30648         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
30649         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
30650         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
30651         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
30652         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
30653         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
30654         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
30655         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
30656         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
30657         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
30658         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
30659         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
30660         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
30661         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
30662         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
30663         * sysdeps/ieee754/s_matherr.c: Likewise.
30664         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
30665         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
30666         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
30667         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
30669 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
30671         * crypt/md5.h: Remove __STDC__ conditionals.
30672         * libio/libioP.h: Likewise.
30673         * locale/programs/config.h: Likewise.
30674         * sysdeps/generic/sysdep.h: Likewise.
30675         * sysdeps/i386/asm-syntax.h: Likewise.
30676         * sysdeps/s390/asm-syntax.h: Likewise.
30677         * sysdeps/unix/sysdep.h: Likewise.
30678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
30679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30681 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
30683         * libio/libio.h: Remove __STDC__ conditionals.
30684         * malloc/obstack.h: Likewise.
30685         * math/complex.h: Likewise.
30686         * math/math.h: Likewise.
30687         * sysdeps/generic/_G_config.h: Likewise.
30688         * sysdeps/gnu/_G_config.h: Likewise.
30689         * sysdeps/mach/hurd/_G_config.h: Likewise.
30690         * sysdeps/powerpc/bits/mathdef.h: Likewise.
30691         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
30692         * sysdeps/sparc/bits/mathdef.h: Likewise.
30694 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
30696         [BZ #13583]
30697         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
30698         Clean up HAS_* macros.
30699         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
30700         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
30701         possible.
30702         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
30703         HAS_AVX.
30704         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30705         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30706         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30707         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30708         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30710 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
30712         * elf/tst-unique3.cc (gets): Remove declaration.
30713         * elf/tst-unique3lib.cc (gets): Likewise.
30714         * elf/tst-unique3lib2.cc (gets): Likewise.
30715         * elf/tst-unique4.cc (gets): Likewise.
30717 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
30719         * include/stdio.h: Add C++ protection.  Add gets declarations and
30720         definitions.
30721         * debug/tst-chk1.c: Don't declare gets here.
30722         * stdio-common/tst-gets.c: Likewise.
30724 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
30726         * posix/glob: Remove directory.
30728 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
30730         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
30732 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
30734         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
30735         of the non-standard EPFNOSUPPORT.
30737 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30739         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
30740         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
30741         ANYWHERE set to 1 only on KERN_NO_SPACE error.
30743 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
30745         * wcsmbs/uchar.h: Test __STDC_VERSION__.
30747 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
30749         * nscd/aicache.c (addhstaiX): Do not cache negative results of
30750         transient errors.
30751         * nscd/grpcache.c (cache_addgr): Likewise.
30752         * nscd/hstcache.c (cache_addhst): Likewise.
30753         * nscd/initgrcache.c (addinitgroupsX): Likewise.
30754         * nscd/pwdcache.c (cache_addpw): Likewise.
30755         * nscd/servicescache.c (cache_addserv): Likewise.
30757 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
30759         * malloc/malloc.c: Various cleanups.
30760         * malloc/hooks.c: Likewise.
30762         * stdlib/Makefile (tests): Add bug-fmtmsg1.
30763         * stdlib/bug-fmtmsg1.c: New file.
30765         * stdlib/fmtmsg.c (init): Add missing unlock.
30766         Patch by Peng Haitao <penght@cn.fujitsu.com>.
30768 2012-01-12  Marek Polacek  <polacek@redhat.com>
30770         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
30771         and _GNU_SOURCE.
30773 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
30775         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
30776         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
30777         macro to ensure uniqueness of label name.
30778         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
30779         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
30781 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
30783         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
30785         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
30786         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
30787         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
30788         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
30790 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
30792         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
30794         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
30795         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
30796         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
30798         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
30800         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
30801         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
30802         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
30803         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
30805         * math/bits/math-finite.h: Add ldexp support.
30807 2012-01-10  Marek Polacek  <polacek@redhat.com>
30809         * locale/programs/localedef.h (show_archive_content): Add noreturn
30810         attribute.
30812 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
30814         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
30816 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
30818         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
30820         * io/Makefile (headers): Add bits/poll2.h.
30822 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
30824         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
30825         typo #include statement.
30827 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
30829         * include/sys/cdefs.h: Define __attribute_alloc_size.
30830         * catgets/gencat.c: Add alloc_size attribute and apply consistently
30831         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
30832         * elf/pldd.c: Likewise.
30833         * iconv/iconv_charmap.c: Likewise.
30834         * iconv/iconvconfig.c: Likewise.
30835         * iconv/strtab.c: Likewise.
30836         * locale/programs/locale.c: Likewise.
30837         * locale/programs/localedef.h: Likewise.
30838         * locale/programs/simple-hash.c: Likewise.
30839         * nscd/nscd.h: Likewise.
30840         * nss/makedb.c: Likewise.
30841         * sysdeps/generic/ldconfig.h: Likewise.
30842         * locale/programs/localedef.c: Remove xmalloc prototype.
30843         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
30845 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
30847         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
30848         appropriate.
30850 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
30852         * math/Makefile (tests): Add tst-CMPLX.
30853         * math/tst-CMPLX.c: New file.
30855         * math/complex.h (CMPLXL): Fix typo.
30857         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
30858         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
30859         GLIBC_2.16.
30860         * debug/tst-chk1.c: Add poll and ppoll tests.
30861         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
30862         * include/sys/poll.h: Add hidden proto for ppoll.
30863         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
30864         * sysdeps/mach/hurd/ppoll.c: Likewise.
30865         * io/ppoll.c: Likewise.
30866         * debug/poll_chk.c: New file.
30867         * debug/ppoll_chk.c: New file.
30868         * include/bits/poll2.h: New file.
30869         * io/bits/poll2.h: New file.
30871         [BZ #1350]
30872         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
30874         * configure.in: static is always set to yes.  Remove.
30875         * config.make.in: Don't set build-static.
30876         * Makeconfig: Remove use of build-static.
30877         * dlfcn/Makefile: Likewise.
30878         * elf/Makefile: Likewise.
30879         * math/Makefile: Likewise.
30880         * misc/Makefile: Likewise.
30881         * nptl/Makefile: Likewise.
30882         * sysdeps/mach/hurd/Makefile: Likewise.
30884         * configure.in: PWD_P is not used anymore.
30885         * config.make.in: Remove PWD_P entry.
30887         * configure.in: Remove last remnants of RANLIB.
30888         No need to check for signed size_t anymore.
30889         Don't set libc_commonpagesize and libc_relro_required here for Alpha
30890         and IA-64.
30891         Remove __builtin_expect test because we require at least gcc 3.4.
30892         * aclocal.m4: Likewise.
30894         * wcsmbs/mbrtoc16.c: Implement using towc function.
30895         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
30896         * wcsmbs/wcsmbsload.c: Likewise.
30897         * iconv/gconv_simple.c: Likewise.
30898         * iconv/gconv_int.h: Likewise.
30899         * iconv/gconv_builtin.h: Likewise.
30900         * iconv/iconv_prog.c: Remove CHAR16 handling.
30902         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
30904         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
30906         * configure.in: Remove --with-elf and --enable-bounded options.
30907         Dont set base_machine for ia64.  More non-ELF conditions removed.
30908         Remove testing and setting of leading underscore information.
30909         * config.make.in (build-bounded): Set to no.
30910         * config.h.in: Remove NO_UNDERSCORES entry.
30911         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
30912         them.
30913         * csu/start.c: Remove !NO_UNDERSCORE code.
30914         * locale/localeinfo.h: Likewise.
30915         * sysdeps/generic/machine-gmon.h: Likewise.
30916         * sysdeps/generic/sysdep.h: Likewise.
30917         * sysdeps/i386/sysdep.h: Likewise.
30918         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
30919         * sysdeps/mach/sysdep.h: Likewise.
30920         * sysdeps/s390/s390-32/sysdep.h: Likewise.
30921         * sysdeps/s390/s390-64/sysdep.h: Likewise.
30922         * sysdeps/sh/sysdep.h: Likewise.
30923         * sysdeps/sparc/sparc32/alloca.S: Likewise.
30924         * sysdeps/unix/i386/sysdep.S: Likewise.
30925         * sysdeps/unix/sparc/start.c: Likewise.
30926         * sysdeps/unix/sparc/sysdep.S: Likewise.
30927         * sysdeps/unix/sparc/sysdep.h: Likewise.
30928         * sysdeps/unix/start.c: Likewise.
30929         * sysdeps/unix/x86_64/sysdep.S: Likewise.
30930         * sysdeps/x86_64/sysdep.h: Likewise.
30932 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
30934         [BZ #13553]
30935         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
30936         for non-gcc.
30937         * argp/argp-fmtstream.h: Use const instead __const.
30938         * argp/argp.h: Likewise.
30939         * assert/assert.h: Likewise.
30940         * bits/fenv.h: Likewise.
30941         * bits/sched.h: Likewise.
30942         * bits/sigset.h: Likewise.
30943         * bits/sigthread.h: Likewise.
30944         * catgets/nl_types.h: Likewise.
30945         * conform/data/pthread.h-data: Likewise.
30946         * crypt/crypt-private.h: Likewise.
30947         * crypt/crypt.h: Likewise.
30948         * crypt/crypt_util.c: Likewise.
30949         * ctype/ctype.h: Likewise.
30950         * debug/execinfo.h: Likewise.
30951         * debug/mbsnrtowcs_chk.c: Likewise.
30952         * debug/mbsrtowcs_chk.c: Likewise.
30953         * debug/wcsnrtombs_chk.c: Likewise.
30954         * debug/wcsrtombs_chk.c: Likewise.
30955         * debug/wcstombs_chk.c: Likewise.
30956         * dirent/dirent.h: Likewise.
30957         * dlfcn/dlfcn.h: Likewise.
30958         * elf/neededtest4.c: Likewise.
30959         * grp/grp.h: Likewise.
30960         * gshadow/gshadow.h: Likewise.
30961         * iconv/gconv.h: Likewise.
30962         * iconv/gconv_int.h: Likewise.
30963         * iconv/gconv_simple.c: Likewise.
30964         * iconv/iconv.h: Likewise.
30965         * iconv/loop.c: Likewise.
30966         * iconv/skeleton.c: Likewise.
30967         * include/aio.h: Likewise.
30968         * include/aliases.h: Likewise.
30969         * include/argz.h: Likewise.
30970         * include/arpa/inet.h: Likewise.
30971         * include/assert.h: Likewise.
30972         * include/dirent.h: Likewise.
30973         * include/dlfcn.h: Likewise.
30974         * include/execinfo.h: Likewise.
30975         * include/fcntl.h: Likewise.
30976         * include/fenv.h: Likewise.
30977         * include/glob.h: Likewise.
30978         * include/grp.h: Likewise.
30979         * include/libintl.h: Likewise.
30980         * include/mntent.h: Likewise.
30981         * include/netdb.h: Likewise.
30982         * include/pwd.h: Likewise.
30983         * include/rpc/netdb.h: Likewise.
30984         * include/sched.h: Likewise.
30985         * include/search.h: Likewise.
30986         * include/shadow.h: Likewise.
30987         * include/signal.h: Likewise.
30988         * include/stdio.h: Likewise.
30989         * include/stdlib.h: Likewise.
30990         * include/string.h: Likewise.
30991         * include/sys/socket.h: Likewise.
30992         * include/sys/stat.h: Likewise.
30993         * include/sys/statfs.h: Likewise.
30994         * include/sys/statvfs.h: Likewise.
30995         * include/sys/syslog.h: Likewise.
30996         * include/sys/time.h: Likewise.
30997         * include/sys/uio.h: Likewise.
30998         * include/time.h: Likewise.
30999         * include/unistd.h: Likewise.
31000         * include/utmp.h: Likewise.
31001         * include/wchar.h: Likewise.
31002         * include/wctype.h: Likewise.
31003         * inet/aliases.h: Likewise.
31004         * inet/arpa/inet.h: Likewise.
31005         * inet/netinet/ether.h: Likewise.
31006         * inet/netinet/in.h: Likewise.
31007         * intl/libintl.h: Likewise.
31008         * io/bits/fcntl2.h: Likewise.
31009         * io/fcntl.h: Likewise.
31010         * io/ftw.h: Likewise.
31011         * io/sys/poll.h: Likewise.
31012         * io/sys/stat.h: Likewise.
31013         * io/sys/statfs.h: Likewise.
31014         * io/sys/statvfs.h: Likewise.
31015         * io/utime.h: Likewise.
31016         * libio/bits/stdio.h: Likewise.
31017         * libio/bits/stdio2.h: Likewise.
31018         * libio/libio.h: Likewise.
31019         * libio/libioP.h: Likewise.
31020         * libio/stdio.h: Likewise.
31021         * locale/lc-ctype.c: Likewise.
31022         * locale/locale.h: Likewise.
31023         * login/utmp.h: Likewise.
31024         * malloc/arena.c: Likewise.
31025         * malloc/malloc.c: Likewise.
31026         * malloc/malloc.h: Likewise.
31027         * malloc/mcheck.c: Likewise.
31028         * malloc/mtrace.c: Likewise.
31029         * math/bits/mathcalls.h: Likewise.
31030         * math/fenv.h: Likewise.
31031         * math/math_private.h: Likewise.
31032         * misc/bits/error.h: Likewise.
31033         * misc/bits/syslog.h: Likewise.
31034         * misc/err.h: Likewise.
31035         * misc/error.h: Likewise.
31036         * misc/fstab.h: Likewise.
31037         * misc/mntent.h: Likewise.
31038         * misc/regexp.h: Likewise.
31039         * misc/search.h: Likewise.
31040         * misc/sgtty.h: Likewise.
31041         * misc/sys/mman.h: Likewise.
31042         * misc/sys/syslog.h: Likewise.
31043         * misc/sys/uio.h: Likewise.
31044         * misc/sys/xattr.h: Likewise.
31045         * misc/ttyent.h: Likewise.
31046         * nis/rpcsvc/ypclnt.h: Likewise.
31047         * nss/nss.h: Likewise.
31048         * posix/bits/unistd.h: Likewise.
31049         * posix/fnmatch.h: Likewise.
31050         * posix/glob.h: Likewise.
31051         * posix/sched.h: Likewise.
31052         * posix/spawn.h: Likewise.
31053         * posix/sys/wait.h: Likewise.
31054         * posix/unistd.h: Likewise.
31055         * posix/wordexp.h: Likewise.
31056         * pwd/pwd.h: Likewise.
31057         * resolv/netdb.h: Likewise.
31058         * resource/sys/resource.h: Likewise.
31059         * rt/aio.h: Likewise.
31060         * rt/bits/mqueue2.h: Likewise.
31061         * rt/mqueue.h: Likewise.
31062         * shadow/shadow.h: Likewise.
31063         * signal/signal.h: Likewise.
31064         * socket/send.c: Likewise.
31065         * socket/sendto.c: Likewise.
31066         * socket/sys/socket.h: Likewise.
31067         * stdio-common/printf.h: Likewise.
31068         * stdlib/bits/stdlib.h: Likewise.
31069         * stdlib/fmtmsg.h: Likewise.
31070         * stdlib/monetary.h: Likewise.
31071         * stdlib/stdlib.h: Likewise.
31072         * stdlib/ucontext.h: Likewise.
31073         * streams/stropts.h: Likewise.
31074         * string/argz.h: Likewise.
31075         * string/bits/string2.h: Likewise.
31076         * string/string.h: Likewise.
31077         * string/strings.h: Likewise.
31078         * sunrpc/rpc/auth.h: Likewise.
31079         * sunrpc/rpc/auth_des.h: Likewise.
31080         * sunrpc/rpc/clnt.h: Likewise.
31081         * sunrpc/rpc/netdb.h: Likewise.
31082         * sunrpc/rpc/pmap_clnt.h: Likewise.
31083         * sunrpc/rpc/xdr.h: Likewise.
31084         * sysdeps/generic/inttypes.h: Likewise.
31085         * sysdeps/generic/net/if.h: Likewise.
31086         * sysdeps/generic/sys/swap.h: Likewise.
31087         * sysdeps/gnu/net/if.h: Likewise.
31088         * sysdeps/gnu/utmpx.h: Likewise.
31089         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
31090         * sysdeps/i386/i486/bits/string.h: Likewise.
31091         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
31092         * sysdeps/s390/bits/string.h: Likewise.
31093         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
31094         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
31095         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
31096         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
31097         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
31098         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
31099         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
31100         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
31101         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
31102         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
31103         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
31104         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
31105         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
31106         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
31107         * sysdeps/unix/sysv/linux/readv.c: Likewise.
31108         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
31109         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
31110         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31111         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
31112         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
31113         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31114         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
31115         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
31116         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
31117         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
31118         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
31119         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
31120         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31121         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
31122         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
31123         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
31124         * sysvipc/sys/ipc.h: Likewise.
31125         * sysvipc/sys/msg.h: Likewise.
31126         * sysvipc/sys/sem.h: Likewise.
31127         * sysvipc/sys/shm.h: Likewise.
31128         * termios/termios.h: Likewise.
31129         * time/sys/time.h: Likewise.
31130         * time/time.h: Likewise.
31131         * wcsmbs/bits/wchar2.h: Likewise.
31132         * wcsmbs/uchar.h: Likewise.
31133         * wcsmbs/wchar.h: Likewise.
31134         * wctype/wctype.h: Likewise.
31136         [BZ #13551]
31137         * Makeconfig: Remove all but ELF support including AIX support.
31138         * Makerules: Likewise.
31139         * config.h.in: Likewise.
31140         * config.make.in: Likewise.
31141         * configure: Likewise.
31142         * configure.in: Likewise.
31143         * csu/Makefile: Likewise.
31144         * csu/version.c: Likewise.
31145         * debug/Makefile: Likewise.
31146         * dlfcn/Makefile: Likewise.
31147         * elf/Makefile: Likewise.
31148         * extra-lib.mk: Likewise.
31149         * iconv/Makefile: Likewise.
31150         * include/libc-symbols.h: Likewise.
31151         * include/shlib-compat.h: Likewise.
31152         * resolv/Makefile: Likewise.
31153         * resolv/res_libc.c: Likewise.
31154         * rt/Makefile: Likewise.
31155         * sysdeps/i386/asm-syntax.h: Likewise.
31156         * sysdeps/i386/sysdep.h: Likewise.
31157         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31158         * sysdeps/mach/sysdep.h: Likewise.
31159         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
31160         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
31161         * sysdeps/s390/asm-syntax.h: Likewise.
31162         * sysdeps/s390/s390-32/sysdep.h: Likewise.
31163         * sysdeps/s390/s390-64/sysdep.h: Likewise.
31164         * sysdeps/sh/sysdep.h: Likewise.
31165         * sysdeps/unix/sparc/sysdep.h: Likewise.
31166         * sysdeps/wordsize-32/divdi3.c: Likewise.
31167         * sysdeps/x86_64/sysdep.h: Likewise.
31169         * argp/Versions: Remove _argp_unlock_xxx.
31171         [BZ #13559]
31172         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
31173         * abilist/libBrokenLocale.abilist: Likewise.
31174         * abilist/libanl.abilist: Likewise.
31175         * abilist/libc.abilist: Likewise.
31176         * abilist/libcrypt.abilist: Likewise.
31177         * abilist/libdl.abilist: Likewise.
31178         * abilist/libm.abilist: Likewise.
31179         * abilist/libnsl.abilist: Likewise.
31180         * abilist/libpthread.abilist: Likewise.
31181         * abilist/libresolv.abilist: Likewise.
31182         * abilist/librt.abilist: Likewise.
31183         * abilist/libthread_db.abilist: Likewise.
31184         * abilist/libutil.abilist: Likewise.
31185         * abilist/libnss_db.abilist: New file.
31187         * scripts/abilist.awk: Add support for indirect functions.
31189         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
31191         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
31193         * shlib-versions: Remove entries for ports architectures.
31195         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
31196         files in ports.
31197         * elf/stackguard-macros.h: Remove support for IA-64.
31198         * elf/tst-auditmod1.c: Likewise.
31199         * sysdeps/generic/ldsodefs.h: Likewise.
31201         * sysdeps/unix/sysv/linux/configure.in: Ports should define
31202         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
31203         configure files.
31205         [BZ #13552]
31206         * configure.in: Remove --enable-omitfp support.
31207         * FAQ.in: Adjust.
31208         * config.make.in: Likewise.
31209         * Makeconfig: Likewise.
31210         * manual/install.texi: Likewise.
31212         In case anyone cares, the IA-64 architecture could move to ports.
31213         * sysdeps/ia64/*: Removed.
31214         * sysdeps/unix/sysv/linux/ia64/*: Removed.
31215         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
31217         [BZ #13555]
31218         * configure.in: Remove entries for unsupported architectures.
31220         [BZ #13533]
31221         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
31222         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
31223         routines.
31224         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
31225         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
31226         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
31227         fall back to using wcrtomb.
31228         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
31229         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
31230         renaming.
31231         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
31232         * wcsmbs/tst-c16c32-1.c: New file.
31234         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
31235         local variable.
31237         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
31239         * elf/tst-unique3.cc: Add explicit declaration of gets.
31240         * elf/tst-unique3lib.cc: Likewise.
31241         * elf/tst-unique3lib2.cc: Likewise.
31242         * elf/tst-unique4.cc: Likewise.
31244         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
31246 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
31248         [BZ #13566]
31249         * assert/assert.h (static_assert): Don't define for C++.
31250         * libio/stdio.h (gets): Do declare for C++ <= C++11.
31251         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
31253 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
31255         * iconv/loop.c (single loop): Fix assertion in storing of
31256         remaining bytes.
31258         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
31260 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
31262         * posix/getconf.c: Update copyright year.
31263         * nss/getent.c: Likewise.
31264         * nss/makedb.c: Likewise.
31265         * iconv/iconvconfig.c: Likewise.
31266         * iconv/iconv_prog.c: Likewise.
31267         * elf/ldconfig.c: Likewise.
31268         * elf/pldd.c: Likewise.
31269         * elf/sotruss.ksh: Likewise.
31270         * catgets/gencat.c: Likewise.
31271         * csu/version.c: Likewise.
31272         * elf/ldd.bash.in: Likewise.
31273         * elf/sprof.c (print_version): Likewise.
31274         * locale/programs/locale.c: Likewise.
31275         * locale/programs/localedef.c: Likewise.
31276         * login/programs/pt_chown.c: Likewise.
31277         * nscd/nscd.c (print_version): Likewise.
31278         * debug/xtrace.sh: Likewise.
31279         * malloc/memusage.sh: Likewise.
31280         * malloc/mtrace.pl: Likewise.
31281         * debug/catchsegv.sh: Likewise.
31283 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
31285         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
31286         pure attribute.
31288 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
31290         [BZ #13533]
31291         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
31292         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
31293         transformations.
31294         * iconv/gconv_int.h: Likewise.
31295         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
31296         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
31297         from libc for GLIBC_2.16.
31298         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
31299         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
31300         * wcsmbs/uchar.h: Really define mbstate_t.
31301         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
31302         * wcsmbs/c16rtomb.c: New file.
31303         * wcsmbs/mbrtoc16.c: New file.
31304         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
31305         for C/POSIX locale.
31306         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
31307         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
31309         * wcsmbs/wchar.h: Add missing __restrict.
31311 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
31313         [BZ #13532]
31314         * time/Makefile (routines): Add timespec_get.
31315         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
31316         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
31317         timespec for ISO C11.
31318         * time/timespec_get.c: New file.
31319         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
31320         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
31322         [BZ #13531]
31323         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
31324         * stdlib/stdlib.h: Declare aligned_alloc.
31325         * Versions.def: Add GLIBC_2.16 for libc.
31326         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
31328         [BZ 13527]
31329         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
31330         ISO C11.
31332         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
31333         code.
31335         [BZ #13528]
31336         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
31338         [BZ #13529]
31339         * assert/assert.h (static_assert): Define.
31341         * version.h: Update for 2.16 development version.
31343         [BZ #13526]
31344         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
31345         _ISOC11_SOURCE.
31347         * version.h (RELEASE): Bump for 2.15 release.
31348         * include/features.h (__GLIBC_MINOR__): Bump to 15.
31350         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
31351         Patch by Marek Polacek <mpolacek@redhat.com>.
31353         * bits/byteswap.h: Protect long long constants with __extension__.
31354         * sysdeps/i386/bits/byteswap.h: Likewise.
31355         * sysdeps/ia64/bits/byteswap.h: Likewise.
31356         * sysdeps/s390/bits/byteswap.h: Likewise.
31357         * sysdeps/x86_64/bits/byteswap.h: Likewise.
31359 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31361         [BZ #13540]
31362         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
31363         destination buffer.
31364         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
31366 2011-12-23  Marek Polacek  <polacek@redhat.com>
31368         * elf/dl-addr.c (determine_info): Add inline keyword.
31369         * elf/tst-auditmod4b.c (check_avx): Likewise.
31370         * elf/tst-auditmod6b.c (check_avx): Likewise.
31371         * elf/tst-auditmod6c.c (check_avx): Likewise.
31372         * elf/tst-auditmod7b.c (check_avx): Likewise.
31374 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
31376         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
31377         !__SSE_MATH__.
31379 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31381         [BZ #13540]
31382         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
31383         processing for last bytes.
31385 2011-08-06  Bruno Haible  <bruno@clisp.org>
31387         [BZ #13061]
31388         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
31389         U+0385, not to U+1FEE.
31391         [BZ #13062]
31392         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
31393         entry for U+00A5 U+0301.
31395 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
31397         [BZ #13166]
31398         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
31399         buffer for the output is too small.
31401         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
31402         optimization.
31404         [BZ #13185]
31405         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
31406         SSE flags if possible.
31408 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31410         [BZ #13540]
31411         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
31412         processing for last bytes.
31414 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
31416         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
31417         (syscall-list-default-options, syscall-list-default-condition)
31418         (syscall-list-includes): Define.
31419         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
31420         list of ABIs and options and #if conditions for each ABI.  Do not
31421         handle common syscalls between ABIs specially.
31422         * sysdeps/unix/sysv/linux/powerpc/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.
31427         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
31428         (syscall-list-variants, syscall-list-32bit-options)
31429         (syscall-list-32bit-condition, syscall-list-64bit-options)
31430         (syscall-list-64bit-condition): Define.
31431         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
31432         Remove.
31433         (syscall-list-variants, syscall-list-32bit-options)
31434         (syscall-list-32bit-condition, syscall-list-64bit-options)
31435         (syscall-list-64bit-condition): Define.
31436         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
31437         Remove.
31438         (syscall-list-variants, syscall-list-32bit-options)
31439         (syscall-list-32bit-condition, syscall-list-64bit-options)
31440         (syscall-list-64bit-condition): Define.
31442 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
31444         * locale/iso-639.def: Add brx entry.
31446         [BZ #13328]
31447         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
31448         Proposed by Mariusz_Cukr <marcukr@op.pl>.
31450         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
31451         __feraiseexcept_renamed.
31453 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
31455         [BZ #13538]
31456         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
31457         EPOLLET with unsigned values.
31458         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31459         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31461         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
31462         to large cancellation.
31463         * math/s_cacoshf.c: Likewise.
31464         * math/s_cacoshl.c: Likewise.
31466 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
31468         [BZ #13305]
31469         [BZ #12786]
31470         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
31471         * math/s_cacoshf.c: Likewise.
31472         * math/s_cacoshl.c: Likewise.
31474 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
31476         [BZ #13439]
31477         * iconv/gconv.h: Define __GCONV_SWAP.
31478         * iconvdata/unicode.c: The swap bit must be stored in __flags.
31479         * iconvdata/utf-16.c: Likewise.
31480         * iconvdata/utf-32.c: Likewise.
31482 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
31484         [BZ #13524]
31485         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
31486         numerator after shifting it by one limb.
31488 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
31490         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
31491         under [__USE_EXTERN_INLINES].
31493 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
31495         [BZ #13446]
31496         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
31498 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31500         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
31501         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
31502         optimized code.
31503         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
31504         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
31505         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
31506         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
31507         for strncasecmp/strncasecmp_l compilation.
31508         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
31509         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
31511 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
31513         [BZ #13484]
31514         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
31515         of __asm__.
31517 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
31519         [BZ #13506]
31520         * time/tzfile.c (__tzfile_read): Check values from file header.
31522 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
31524         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
31525         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
31526         * powerpc/powerpc32/dl-start.S: Likewise.
31527         * powerpc/powerpc32/elf/start.S: Likewise.
31528         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
31529         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
31530         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
31531         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
31532         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
31533         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
31534         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
31535         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
31536         * powerpc/powerpc32/fpu/s_round.S: Likewise.
31537         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
31538         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
31539         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
31540         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
31541         * powerpc/powerpc32/memset.S: Likewise.
31542         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
31543         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
31544         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
31545         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
31546         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
31547         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
31548         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
31549         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
31550         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
31551         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
31552         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
31553         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
31554         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
31556 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31558         * math/libm-test.inc: Added more nearbyint tests.
31559         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
31560         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
31561         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
31562         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
31564 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
31566         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
31567         FD_CLOEXEC.
31569 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31571         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
31572         Add wcscpy-ssse3 wcscpy-c.
31573         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
31574         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
31575         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
31576         * sysdeps/x86_64/wcschr.S: New file.
31577         * sysdeps/x86_64/wcsrchr.S: New file.
31578         * string/test-strcmp.c: Remove checking of wcscmp function for
31579         wrong alignments.
31580         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
31581         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
31582         wcsrchr-sse2 wcsrchr-c.
31583         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
31584         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
31585         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
31586         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
31587         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
31588         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
31589         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
31590         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
31591         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
31592         * wcsmbc/wcschr.c (WCSCHR): New macro.
31594 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31596         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
31597         * wcsmbs/test-wcsrchr.c: New file.
31598         * string/test-strrchr.c: Add wcsrchr support.
31599         (WIDE): New macro.
31600         * wcsmbs/test-wcscpy.c: New file.
31601         * string/test-strcpy.c: Add wcscpy support.
31602         (WIDE): New macro.
31604 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
31606         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
31607         the inner loop.
31609 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
31611         [BZ #13472]
31612         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
31614 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
31616         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
31617         Minor optimizations.
31619         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
31620         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
31621         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
31623 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
31625         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
31626         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
31627         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
31628         for gcc to avoid warnings.
31629         * inet/Makefile (tests): Add tst-checks.
31630         * inet/tst-checks.c: New file.
31632         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
31633         warning.
31635         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
31636         __wmemcmp_sse2.
31638         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
31639         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
31641         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
31643 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
31645         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
31646         problem.
31648         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
31650 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
31652         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
31653         conditional on GCC version.
31654         (__arch_compare_and_exchange_val_8_acq)
31655         (__arch_compare_and_exchange_val_16_acq)
31656         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
31657         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
31658         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
31660 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
31662         * sysdeps/sh/backtrace.c: New file.
31664 2011-12-02  Andreas Schwab  <schwab@redhat.com>
31666         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
31667         parenthesis.
31669 2011-12-01  Andreas Schwab  <schwab@redhat.com>
31671         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
31672         falling back to utime.
31674 2011-11-30  Andreas Schwab  <schwab@redhat.com>
31676         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
31677         expectations for float.
31679 2011-11-29  Andreas Schwab  <schwab@redhat.com>
31681         * locale/weight.h (findidx): Add parameter len.
31682         * locale/weightwc.h (findidx): Likewise.
31683         * posix/fnmatch_loop.c (FCT): Adjust caller.
31684         * posix/regcomp.c (build_equiv_class): Likewise.
31685         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
31686         * posix/regexec.c (check_node_accept_bytes): Likewise.
31687         * string/strcoll_l.c (STRCOLL): Likewise.
31688         * string/strxfrm_l.c (STRXFRM): Likewise.
31690 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
31692         * Makefile.in: Remove CVSOPT handling.
31693         * configure.in: Remove use of AC_REVISION.
31694         * iconvdata/Makefile (distribute): No need to filter out CVS.
31695         * scripts/list-sources.sh: Remove CVS, subversion and monotone
31696         handling.
31698 2011-11-16  Andreas Schwab  <schwab@redhat.com>
31700         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
31701         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
31702         [USE_AS_STRNCASECMP_L]: Likewise.
31703         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
31704         NO_TLS_DIRECT_SEG_REFS.
31705         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
31706         Fix argument offsets for non-PIC.
31707         [USE_AS_STRNCASECMP_L]: Likewise.
31708         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
31709         NO_TLS_DIRECT_SEG_REFS.
31711 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
31713         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
31714         O_CLOEXEC.
31715         * locale/loadlocale.c (_nl_load_locale): Likewise.
31717 2011-11-15  Andreas Schwab  <schwab@redhat.com>
31719         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
31720         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
31721         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
31722         (SYSCALL_GETTIME): Set errno on error.
31724         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
31725         count references to noai6ai_cached.
31727 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
31729         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
31731         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
31732         FD_CLOEXEC for /proc/self/maps.
31734         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
31735         FD_CLOEXEC for /proc/meminfo.
31737         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
31738         gai.conf.
31740         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
31741         FD_CLOEXEC for given file.
31743         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
31745         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
31746         FD_CLOEXEC for /etc/hosts.
31747         (_gethtent): Likewise.
31749         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
31751         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
31752         cancellation and set FD_CLOEXEC for /etc/netgroup.
31754         * nss/nss_files/files-key.c (search): Don't allow cancellation when
31755         reading /etc/publickey.
31757         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
31758         allow cancellation when reading /etc/group.
31760         * nss/nss_files/files-alias.c (internal_setent): Don't allow
31761         cancellation.
31762         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
31764         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
31765         when using data file.
31767         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
31769         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
31770         (write_nis_obj): Use "c" and "e" in fopen.
31772         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
31774         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
31776         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
31778         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
31780         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
31781         locale.alias.
31783         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
31785         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
31787         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
31789         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
31790         file parsing and set FD_CLOEXEC.
31792 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
31794         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
31796 2011-11-14  Andreas Schwab  <schwab@redhat.com>
31798         * malloc/arena.c (arena_get2): Don't call reused_arena when
31799         _int_new_arena failed.
31801 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
31803         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
31804         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
31805         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
31806         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31807         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31808         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
31809         to compile strcasecmp and strncasecmp.
31810         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
31811         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
31813         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
31815 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
31817         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
31818         locale-defines.sym to gen-as-const-headers.
31819         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
31820         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
31821         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
31822         to compile strcasecmp and strncasecmp.
31823         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
31824         strcasecmp_l and strncasecmp_l.
31825         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
31826         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
31827         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
31828         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
31829         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
31830         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
31831         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
31832         * sysdeps/i386/i686/multiarch/strncase.S: New file.
31833         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
31834         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
31835         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
31837 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
31839         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
31840         result of SYSDEP_GETTIME_CPU to retval.
31841         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
31842         parameter list to macro.  Remove trailing semicolon.  Adjust users.
31844         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
31845         variable.
31847         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
31848         mantissa words.
31849         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
31851         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
31852         from unused variable.
31854         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
31855         DWARF definitions.
31856         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
31857         for assembling.
31859         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
31860         over namespaces.
31862         * sunrpc/rpc_prot.c (rejected): Fix case value.
31864         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
31865         unsigned long long int to avoid warnings in shift.
31867         * posix/regex_internal.c (re_string_reconstruct): Actually use result
31868         of use of trans.
31869         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
31870         variable tmp.
31872         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
31873         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
31874         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
31876         * nis/nis_table.c (nis_list): Use variable of correct type for
31877         result of __follow_path call.
31879 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31881         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
31882         of math functions ceil, trunc, floor, round, and sqrt, when
31883         avaliable on the platform.
31884         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
31885         name clash.
31886         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
31887         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
31888         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
31890 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
31892         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
31893         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
31895 2011-11-11  Roland McGrath  <roland@hack.frob.com>
31897         * include/unistd.h: Fix __readlink return type.
31898         Reported by Chris Metcalf <cmetcalf@tilera.com>.
31900 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
31902         * stdlib/ucontext.h: Undo last change for makecontext.
31904 2011-11-11  Andreas Schwab  <schwab@redhat.com>
31906         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
31908         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
31909         * setjmp/setjmp.h: Mark functions as non-leaf.
31910         * setjmp/bits/setjmp2.h: Likewise.
31911         * stdlib/ucontext.h: Likewise.
31913 2011-11-10  Andreas Schwab  <schwab@redhat.com>
31915         * malloc/arena.c (_int_new_arena): Don't increment narenas.
31916         (reused_arena): Don't check arena limit.
31917         (arena_get2): Atomically check arena limit.
31919 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
31921         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
31922         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
31924         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
31925         instructions.
31927 2011-11-07  Andreas Schwab  <schwab@redhat.com>
31929         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
31930         handler when locking.
31932         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
31933         Fix size of allocated buffer.
31935 2011-11-04  Andreas Schwab  <schwab@redhat.com>
31937         [BZ #10103]
31938         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
31939         declarations for long double functions.
31940         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
31942         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
31944 2011-11-03  Andreas Schwab  <schwab@redhat.com>
31946         * nscd/nscd.c (main): Don't start AVC thread until credentials are
31947         installed.
31949         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
31950         is disabled.
31952 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31954         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
31956 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
31958         * include/alloca.h (stackinfo_alloca_round): Define.
31959         (extend_alloca): Use it.
31960         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
31961         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
31962         here.
31964         * scripts/check-local-headers.sh: Ignore libaudit.h.
31966         * nscd/Makefile (extra-objs): Make recursively expanded.
31968 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
31970         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
31971         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
31973         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
31974         * posix/tst-rfc3484-2.c: Likewise.
31975         * posix/tst-rfc3484-3.c: Likewise.
31977         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
31978         process_vm_writev.
31979         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
31980         process_vm_writev.
31981         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
31982         process_vm_writev from libc using GLIBC_2.15 version.
31984         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
31986 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
31988         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
31989         stack usage.
31991 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
31993         [BZ #13367]
31994         * nss/getent.c (initgroups_keys): Show error message in case no group
31995         names are given.
31997         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
31998         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
31999         __bump_nl_timestamp.
32000         * nscd/connections (nscd_init): When host database is served open
32001         netlink socket and request notification about configuration changes.
32002         (main_loop_poll): Track netlink file descriptor and bump timestamp
32003         in case data becomes available.
32004         (main_loop_epoll): Likewise.
32005         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
32006         (database_pers_head): Add extra_data fileds.
32007         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
32008         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
32009         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
32010         Adjust caller.
32011         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
32012         in6ai data, call __free_in6ai.
32013         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
32014         Add -DHAVE_NETLINK.
32015         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
32016         interface information.  Reuse previous data if netlink timestamp
32017         is not changed.
32018         (__bump_nl_timestamp): New function.
32019         (__free_in6ai): New function.
32021 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
32023         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
32024         close_not_cancel_no_status here.
32025         (__check_pf): Reorganize code a bit to not call close twice if OOM.
32027 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
32029         [BZ #13276]
32030         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
32031         return value.
32033         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
32034         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
32035         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
32037 2011-07-03  Andreas Jaeger  <aj@suse.de>
32039         [BZ #10709]
32040         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
32041         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
32042         * math/libm-test.inc (sin_test): Add test case.
32044 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
32046         [BZ #13337]
32047         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
32048         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32050         * elf/chroot_canon.c (chroot_canon): Cleanups.
32052         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
32054         [BZ #13335]
32055         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
32056         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32058         * string/test-strchr.c: Make usable for strchrnul testing.
32059         * string/test-strchrnul.c: New file.
32060         * string/Makefile (strop-tests): Add strchrnul.
32062         * po/it.po: Update from translation team.
32063         * po/es.po: Likewise.
32065 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
32067         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
32068         the three constants needed as parameters.  Drop the others.
32069         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
32070         __m128i_strloadu_tolower.
32071         Create and initialize variable zero and use it in all the places
32072         where _mm_setzero_si128 was used.
32074         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
32075         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
32076         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
32077         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
32078         anymore.
32079         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
32080         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
32081         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
32082         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
32083         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
32084         __mpranred, __mptan.
32085         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
32086         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
32087         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
32088         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
32089         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
32090         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
32091         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
32092         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
32093         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
32095 2011-10-28  Andreas Schwab  <schwab@redhat.com>
32097         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
32098         redefine if SHARED.
32099         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
32101         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
32102         wide char related routines to wcsmbs subdir.
32104 2011-10-27  Andreas Schwab  <schwab@redhat.com>
32106         [BZ #13344]
32107         * misc/sys/cdefs.h (__THROWNL): Define.
32108         * posix/unistd.h: Use __THREADNL instead of __THREAD
32109         for memory synchronization functions.
32111 2011-10-26  Roland McGrath  <roland@hack.frob.com>
32113         [BZ #13349]
32114         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
32115         doesn't exist.
32116         * manual/stdio.texi (Obstack Streams): Node removed.
32118 2011-10-26  Andreas Schwab  <schwab@redhat.com>
32120         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
32121         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32122         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32124         * math/math_private.h (math_force_eval): Allow non-addressable
32125         arguments.
32126         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
32128 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
32130         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
32131         file is not needed.
32133         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
32134         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
32135         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32136         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32137         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32138         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32139         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32140         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
32141         Add AVX variants.
32142         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
32143         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
32144         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
32145         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
32146         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
32147         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
32148         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
32149         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
32150         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
32151         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
32152         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
32153         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
32154         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
32155         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
32156         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
32157         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
32158         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
32159         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
32160         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
32162         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
32163         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
32165         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
32166         place.  Use VEX encoding when compiling for AVX.
32168 2011-10-25  Andreas Schwab  <schwab@redhat.com>
32170         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
32171         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
32173         * string/test-strchr.c (do_test): Don't generate NUL bytes.
32175 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
32177         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
32178         useless if() expression.
32179         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32180         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
32181         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32182         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32183         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32184         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32185         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32186         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32187         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
32188         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32189         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32190         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32191         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
32192         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32193         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
32194         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32195         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
32196         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
32197         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
32199         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
32201 2011-10-25  Andreas Schwab  <schwab@redhat.com>
32203         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
32204         condition.
32205         * elf/dl-fini.c (_dl_sort_fini): Likewise.
32207 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
32209         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
32210         .text section.  Avoid duplicate constants.
32211         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32212         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32213         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32214         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32215         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32216         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32217         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32218         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32219         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
32220         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
32221         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
32222         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32223         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
32224         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
32225         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
32226         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
32227         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
32228         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
32229         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32230         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32231         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32232         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32233         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32234         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
32235         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
32236         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
32237         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
32238         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
32239         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
32240         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
32241         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
32242         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
32243         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32244         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
32245         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
32246         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
32247         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
32248         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
32249         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
32250         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
32251         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
32252         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
32253         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
32254         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
32255         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
32257 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
32259         * sysdeps/x86_64/dla.h: Move to ...
32260         * sysdeps/x86_64/fpu/dla.h: ...here.
32261         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
32262         situations.  Use __builtin_fma only for gcc 4.6 and up.
32264         * config.make.in: Add have-mfma4 entry.
32265         * configure.in: Substitute libc_cv_cc_fma4.
32266         * math/Makefile (dbl-only-routines): Add sincostab.
32267         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
32268         Use __sincostab not sincos.
32269         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
32270         name is a macro.
32271         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32272         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32273         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32274         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
32275         using __copysign.
32276         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
32277         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
32278         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
32279         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
32280         and __inv.
32281         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
32282         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
32283         __copysign.
32284         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
32285         define aliases when function name is a macro.
32286         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
32287         sysdeps/ieee754/dbl-64/sincos.tbl.
32288         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
32289         fma4-enabled routines.
32290         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
32291         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
32292         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
32293         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
32294         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
32295         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
32296         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
32297         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
32298         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
32299         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
32300         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
32301         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
32302         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
32303         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
32304         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
32305         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
32306         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
32307         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
32308         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
32309         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
32310         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
32311         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
32312         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
32313         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
32314         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
32315         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
32316         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
32317         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
32318         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
32319         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
32321         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
32322         rename.
32323         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32324         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32325         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32326         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32327         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32328         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32329         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32330         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32332 2011-10-24  Andreas Schwab  <schwab@redhat.com>
32334         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
32336 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
32338         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
32340         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
32341         prediction.
32342         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
32344         * string/strnlen.c: Don't define STRNLEN, reverse logic.
32345         Remove unused variable magic_bits.
32346         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
32348         * string/strnlen.c: Define and use STRNLEN macro.
32349         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
32350         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
32351         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
32352         * wcsmbs/wcslen.c: Define and use WCSLEN.
32353         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
32354         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
32355         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
32356         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
32357         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
32358         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
32359         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
32361 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32363         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32364         strnlen-sse2-no-bsf.
32365         Rename strlen-no-bsf to strlen-sse2-no-bsf.
32366         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
32367         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
32368         Add strnlen support.
32369         (USE_AS_STRNLEN): New macro.
32370         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
32371         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
32372         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
32373         * sysdeps/x86_64/wcslen.S: New file.
32375 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
32377         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
32378         XMM-moves are used for copying on small sizes.
32380 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32382         * wcsmbs/Makefile (strop-tests): Add wcschr.
32383         * wcsmbs/test-wcschr.c: New file.
32384         * string/test-strchr.c: Update.
32385         Add wcschr support.
32386         (WIDE): New macro.
32388 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32390         * wcsmbs/Makefile (strop-tests): Add wcslen.
32391         * wcsmbs/test-wcslen.c: New file.
32392         * string/test-strlen.c: Update.
32393         Add wcslen support.
32394         (WIDE): New macro.
32396 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
32398         * po/it.po: Update from translation team.
32400 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32402         * sysdeps/x86_64/wcscmp.S: Update.
32403         Fix wrong comparison semantics.
32404         wcscmp shall use signed comparison not unsigned.
32405         Don't use substraction to avoid overflow bug.
32406         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
32407         * wcsmbc/wcscmp.c: Likewise.
32408         * string/test-strcmp.c: Likewise.
32409         Add new tests to check cases with negative values.
32411 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
32413         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
32414         * sysdeps/x86_64/dla.h: ...here.  New file.
32415         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
32416         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32417         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32418         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32419         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32420         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32421         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32422         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32423         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32425 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
32427         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
32428         __ynl_finite aliases.
32430 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
32432         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32434         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
32435         define DLA_FMA.
32436         [DLA_FMA] (EMULV): Use DLA_FMA.
32437         [DLA_FMA] (MUL12): Use EMULV.
32438         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
32439         that are not needed.
32440         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32441         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32442         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32443         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32444         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32445         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32446         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32448 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
32450         * math/s_nan.c: Undef __nan.
32451         * math/s_nanf.c: Undef __nanf.
32452         * math/s_nanl.c: Undef __nanl.
32453         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
32454         "math_private.h".
32456 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
32458         * math/s_catan.c: Add branch predictions.
32459         * math/s_catanf.c: Likewise.
32460         * math/s_catanh.c: Likewise.
32461         * math/s_catanhf.c: Likewise.
32462         * math/s_catanhl.c: Likewise.
32463         * math/s_catanl.c: Likewise.
32464         * math/s_cexp.c: Likewise.
32465         * math/s_cexpf.c: Likewise.
32466         * math/s_cexpl.c: Likewise.
32467         * math/s_clog.c: Likewise.
32468         * math/s_clog10.c: Likewise.
32469         * math/s_clog10f.c: Likewise.
32470         * math/s_clog10l.c: Likewise.
32471         * math/s_clogf.c: Likewise.
32472         * math/s_clogl.c: Likewise.
32473         * math/s_csqrt.c: Likewise.
32474         * math/s_csqrtf.c: Likewise.
32475         * math/s_csqrtl.c: Likewise.
32476         * math/s_ctanf.c: Likewise.
32477         * math/s_ctanh.c: Likewise.
32478         * math/s_ctanhf.c: Likewise.
32479         * math/s_ctanhl.c: Likewise.
32480         * math/s_ctanl.c: Likewise.
32482         * math/math_private.h: Define __nan, __nanf, __nanl.
32483         * math/s_cacosh.c: Include <math_private.h>.
32484         * math/s_cacoshl.c: Likewise.
32485         * math/s_casinh.c: Likewise.
32486         * math/s_casinhf.c: Likewise.
32487         * math/s_casinhl.c: Likewise.
32488         * math/s_ccos.c: Rely entire on ccosh.
32489         * math/s_ccosf.c: Rely entire on ccoshf.
32490         * math/s_ccosl.c: Rely entirely on ccoshl.
32491         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
32492         Remove tests for FE_INVALID.
32493         * math/s_ccoshf.c: Likewise.
32494         * math/s_ccoshl.c: Likewise.
32495         * math/s_csin.c: Likewise.
32496         * math/s_csinf.c: Likewise.
32497         * math/s_csinh.c Likewise.
32498         * math/s_csinhf.c: Likewise.
32499         * math/s_csinhl.c: Likewise.
32500         * math/s_csinl.c: Likewise.
32501         * math/s_ctan.c: Likewise.
32502         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
32503         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
32504         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
32506 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
32508         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
32509         compilation problems.
32511         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
32512         __builtin_expect.
32514 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
32516         * sysdeps/i386/configure.in: Test for -mfma4 option.
32517         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
32518         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
32519         COMMON_CPUID_INDEX_80000001.
32520         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
32521         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
32522         use it if FMA3 is not supported.
32523         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
32525         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
32526         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
32528 2011-10-20  Andreas Schwab  <schwab@redhat.com>
32530         [BZ #12892]
32531         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
32532         it would create a cycle with a link time dependency.
32534 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
32536         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
32537         instruction.
32538         * string/Makefile (strop-tests): Add rawmemchr.
32539         * string/test-rawmemchr.c: New file.
32541         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
32542         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
32543         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
32544         when compiling str{,n}casecmp and when AVX is available.  Hook up
32545         new optimized code in initializers.
32547 2011-10-19  Andreas Schwab  <schwab@redhat.com>
32549         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
32550         __feraiseexcept instead of feraiseexcept.
32552 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
32554         * math/math_private.h: Define defaults for libc_fetestexcept and
32555         libc_feupdateenv.
32556         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
32557         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
32558         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
32559         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
32560         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
32561         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
32562         libc_fetestexcept and libc_feupdateenv.
32564         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
32565         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
32566         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
32567         * sysdeps/x86_64/fpu/math_private.h: Define special version of
32568         libc_feholdexcept_setround.
32570         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
32571         Add s_nearbyint-c and s_nearbyintf-c.
32572         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
32573         nearbyintf inlines.
32574         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
32575         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
32576         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
32577         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
32579         * math/math_private.h: Define defaults for libc_fegetround,
32580         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
32581         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
32582         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
32583         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
32584         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
32585         standard functions.
32586         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
32587         Remove comments and hacks for old compiler versions.
32588         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
32589         libc_fegetround, libc_fesetround, libc_feholdexcept, and
32590         libc_feholdexceptl.
32592 2011-10-18  Andreas Schwab  <schwab@redhat.com>
32594         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
32595         (__feraiseexcept_renamed): Add __NTH.
32596         (feraiseexcept): Add __NTH.  Rename local variables to fix
32597         namespace violations.
32599 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
32601         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
32603         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
32605         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
32606         recently added interfaces.
32607         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
32609         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
32610         about macro parameter expansion.
32612         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
32613         __NO_MATH_INLINES is defined.  Cleanups.
32615         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
32616         and __floorf is target has SSE4.1.
32617         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
32618         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
32619         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
32620         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
32622         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
32623         name.
32624         (floorf): Likewise.
32626         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
32628 2011-10-17  Andreas Schwab  <schwab@redhat.com>
32630         * misc/sys/cdefs.h: Fix last change.
32632         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
32633         database lookup.
32635 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
32637         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
32639         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
32640         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32641         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
32642         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32643         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32644         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
32645         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32646         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32647         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
32648         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
32649         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
32650         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
32651         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
32652         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
32653         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
32654         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
32655         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
32656         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
32657         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
32658         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
32659         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
32660         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
32662         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
32663         ceil, ceilf, floor, floorf.
32665         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
32666         Perform IRELATIVE relocations last.
32668         * elf/do-rel.h: Add another parameter nrelative, replacing the
32669         local variable with the same name.  Change name of the function
32670         to end in Rel or Rela (uppercase).
32671         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
32672         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
32673         elf_dynamic_do_##reloc function.
32675 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
32677         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
32678         is sufficient, at least on modern CPUs.
32680         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
32682         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
32683         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
32685         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
32686         __expl_finite.
32687         * math/bits/math-finite.h: Add entries for exp.
32688         * math/e_expl.c: Add __*_finite alias.
32689         * sysdeps/i386/fpu/e_exp.S: Likewise.
32690         * sysdeps/i386/fpu/e_expf.S: Likewise.
32691         * sysdeps/i386/fpu/e_expl.c: Likewise.
32692         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32693         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
32694         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
32695         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
32696         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
32697         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
32698         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
32700         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
32701         is sufficient, at least on modern CPUs.
32703         * ctype/ctype-info.c (__ctype_init): Define.
32704         * include/ctype.h (__ctype_init): Declare.
32705         (__ctype_b_loc): The variable is always initialized.
32706         (__ctype_toupper_loc): Likewise.
32707         (__ctype_tolower_loc): Likewise.
32708         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
32709         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
32711 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
32713         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
32715         * configure.in: Also look in $cxxmachine/include for C++ system
32716         headers.
32718 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32720         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
32721         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
32722         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
32723         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
32724         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
32725         (USE_AS_WMEMCMP): New macro.
32726         Fixing indents.
32727         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
32728         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
32729         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
32730         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
32731         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32732         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
32733         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
32734         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
32735         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
32736         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
32737         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
32738         (USE_AS_WMEMCMP): New macro.
32739         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
32740         * sysdeps/string/test-memcmp.c: Update.
32741         Fix simple_wmemcmp.
32742         Add new tests.
32743         * wcsmbs/wmemcmp.c: Update.
32744         (WMEMCMP): New macro.
32745         Fix overflow bug.
32747 2011-10-12  Andreas Jaeger  <aj@suse.de>
32749         [BZ #13268]
32750         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
32752 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
32754         * libio/iofwide.c (do_length): Avoid warning.
32756         * ctype/ctype.h (__isctype_f): Add missing __THROW.
32758 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
32760         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
32762         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
32763         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
32764         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
32765         * sysdeps/i386/i686/fpu/e_log.S: New file.
32766         * sysdeps/i386/i686/fpu/e_logf.S: New file.
32767         * sysdeps/i386/i686/fpu/e_logl.S: New file.
32769         * ctype/ctype.h: Add support for inlined isXXX functions when
32770         compiling C++ code.
32772 2011-10-14  Andreas Schwab  <schwab@redhat.com>
32774         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32776         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
32778 2011-10-13  Roland McGrath  <roland@hack.frob.com>
32780         [BZ #13291]
32781         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
32783 2011-10-13  Andreas Schwab  <schwab@redhat.com>
32785         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
32786         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
32787         feraiseexcept.
32789         * sysdeps/x86_64/memrchr.S: Check for zero size.
32791         * string/stratcliff.c: Add memrchr tests.
32793 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32795         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32796         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
32797         rawmemchr-sse2 rawmemchr-sse2-bsf.
32798         * sysdeps/i386/i686/multiarch/memchr.S: New file.
32799         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
32800         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
32801         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
32802         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
32803         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
32804         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
32805         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
32806         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
32807         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
32808         * string/memrchr.c (MEMRCHR): New macro.
32810 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
32812         Add integration with gcc's -ffinite-math-only and optimize wrapper
32813         functions in libm.
32814         * Versions.def: Define GLIBC_2.15 version for libm.
32815         * math/Makefile (headers): Add bits/math-finite.h.
32816         * math/bits/math-finite.h: New file.
32817         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
32818         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
32819         * math/e_acoshl.c: Add __*_finite alias.
32820         * math/e_acosl.c: Likewise.
32821         * math/e_asinl.c: Likewise.
32822         * math/e_atan2l.c: Likewise.
32823         * math/e_atanhl.c: Likewise.
32824         * math/e_coshl.c: Likewise.
32825         * math/e_exp10.c: Likewise.
32826         * math/e_exp10f.c: Likewise.
32827         * math/e_exp10l.c: Likewise.
32828         * math/e_exp2l.c: Likewise.
32829         * math/e_fmodl.c: Likewise.
32830         * math/e_gammal_r.c: Likewise.
32831         * math/e_hypotl.c: Likewise.
32832         * math/e_j0l.c: Likewise.
32833         * math/e_j1l.c: Likewise.
32834         * math/e_jnl.c: Likewise.
32835         * math/e_lgammal_r.c: Likewise.
32836         * math/e_log10l.c: Likewise.
32837         * math/e_log2l.c: Likewise.
32838         * math/e_logl.c: Likewise.
32839         * math/e_powl.c: Likewise.
32840         * math/e_sinhl.c: Likewise.
32841         * math/e_sqrtl.c: Likewise.
32842         * math/e_scalb.c: Completely rewritten and optimized.
32843         * math/e_scalbf.c: Likewise.
32844         * math/e_scalbl.c: Likewise.
32845         * math/w_acos.c: Likewise.
32846         * math/w_acosf.c: Likewise.
32847         * math/w_acosl.c: Likewise.
32848         * math/w_acosh.c: Likewise.
32849         * math/w_acoshf.c: Likewise.
32850         * math/w_acoshl.c: Likewise.
32851         * math/w_asin.c: Likewise.
32852         * math/w_asinf.c: Likewise.
32853         * math/w_asinl.c: Likewise.
32854         * math/w_atan2.c: Likewise.
32855         * math/w_atan2f.c: Likewise.
32856         * math/w_atan2l.c: Likewise.
32857         * math/w_atanh.c: Likewise.
32858         * math/w_atanhf.c: Likewise.
32859         * math/w_atanhl.c: Likewise.
32860         * math/w_exp10.c: Likewise.
32861         * math/w_exp10f.c: Likewise.
32862         * math/w_exp10l.c: Likewise.
32863         * math/w_fmod.c: Likewise.
32864         * math/w_fmodf.c: Likewise.
32865         * math/w_fmodl.c: Likewise.
32866         * math/w_j0.c: Likewise.
32867         * math/w_j0f.c: Likewise.
32868         * math/w_j0l.c: Likewise.
32869         * math/w_j1.c: Likewise.
32870         * math/w_j1f.c: Likewise.
32871         * math/w_j1l.c: Likewise.
32872         * math/w_jn.c: Likewise.
32873         * math/w_jnf.c: Likewise.
32874         * math/w_log.c: Likewise.
32875         * math/w_logf.c: Likewise.
32876         * math/w_logl.c: Likewise.
32877         * math/w_log10.c: Likewise.
32878         * math/w_log10f.c: Likewise.
32879         * math/w_log10l.c: Likewise.
32880         * math/w_log2.c: Likewise.
32881         * math/w_log2f.c: Likewise.
32882         * math/w_log2l.c: Likewise.
32883         * math/w_pow.c: Likewise.
32884         * math/w_powf.c: Likewise.
32885         * math/w_powl.c: Likewise.
32886         * math/w_remainder.c: Likewise.
32887         * math/w_remainderf.c: Likewise.
32888         * math/w_remainderl.c: Likewise.
32889         * math/w_scalb.c: Likewise.
32890         * math/w_scalbf.c: Likewise.
32891         * math/w_scalbl.c: Likewise.
32892         * math/w_sqrt.c: Likewise.
32893         * math/w_sqrtf.c: Likewise.
32894         * math/w_sqrtl.c: Likewise.
32895         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
32896         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
32897         used.
32898         * math/math_private.h: Declare __kernel_standard_f.
32899         * math/w_cosh.c: Remove cruft and optimize a bit.
32900         * math/w_coshf.c: Likewise.
32901         * math/w_coshl.c: Likewise.
32902         * math/w_exp2.c: Likewise.
32903         * math/w_exp2f.c: Likewise.
32904         * math/w_exp2l.c: Likewise.
32905         * math/w_hypot.c: Likewise.
32906         * math/w_hypotf.c: Likewise.
32907         * math/w_hypotl.c: Likewise.
32908         * math/w_lgamma.c: Likewise.
32909         * math/w_lgamma_r.c: Likewise.
32910         * math/w_lgammaf.c: Likewise.
32911         * math/w_lgammaf_r.c: Likewise.
32912         * math/w_lgammal.c: Likewise.
32913         * math/w_lgammal_r.c: Likewise.
32914         * math/w_sinh.c: Likewise.
32915         * math/w_sinhf.c: Likewise.
32916         * math/w_sinhl.c: Likewise.
32917         * math/w_tgamma.c: Likewise.
32918         * math/w_tgammaf.c: Likewise.
32919         * math/w_tgammal.c: Likewise.
32920         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
32921         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32922         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
32923         Minor optimizations.  Pretty printing.  Remove cruft.
32924         * sysdeps/i386/fpu/e_acosf.S: Likewise.
32925         * sysdeps/i386/fpu/e_acosh.S: Likewise.
32926         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32927         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
32928         * sysdeps/i386/fpu/e_acosl.c: Likewise.
32929         * sysdeps/i386/fpu/e_asin.S: Likewise.
32930         * sysdeps/i386/fpu/e_asinf.S: Likewise.
32931         * sysdeps/i386/fpu/e_atan2.S: Likewise.
32932         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
32933         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
32934         * sysdeps/i386/fpu/e_atanh.S: Likewise.
32935         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32936         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32937         * sysdeps/i386/fpu/e_exp10.S: Likewise.
32938         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
32939         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
32940         * sysdeps/i386/fpu/e_exp2.S: Likewise.
32941         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
32942         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
32943         * sysdeps/i386/fpu/e_fmod.S: Likewise.
32944         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
32945         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
32946         * sysdeps/i386/fpu/e_hypot.S: Likewise.
32947         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
32948         * sysdeps/i386/fpu/e_log.S: Likewise.
32949         * sysdeps/i386/fpu/e_log10.S: Likewise.
32950         * sysdeps/i386/fpu/e_log10f.S: Likewise.
32951         * sysdeps/i386/fpu/e_log10l.S: Likewise.
32952         * sysdeps/i386/fpu/e_log2.S: Likewise.
32953         * sysdeps/i386/fpu/e_log2f.S: Likewise.
32954         * sysdeps/i386/fpu/e_log2l.S: Likewise.
32955         * sysdeps/i386/fpu/e_logf.S: Likewise.
32956         * sysdeps/i386/fpu/e_logl.S: Likewise.
32957         * sysdeps/i386/fpu/e_pow.S: Likewise.
32958         * sysdeps/i386/fpu/e_powf.S: Likewise.
32959         * sysdeps/i386/fpu/e_powl.S: Likewise.
32960         * sysdeps/i386/fpu/e_remainder.S: Likewise.
32961         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
32962         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
32963         * sysdeps/i386/fpu/e_scalb.S: Likewise.
32964         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
32965         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32966         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
32967         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
32968         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
32969         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
32970         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32971         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32972         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
32973         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
32974         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
32975         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
32976         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
32977         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32978         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
32979         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
32980         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
32981         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32982         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
32983         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
32984         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32985         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
32986         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
32987         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32988         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32989         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
32990         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
32991         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
32992         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
32993         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
32994         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
32995         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
32996         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
32997         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
32998         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
32999         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33000         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33001         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33002         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33003         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33004         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33005         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33006         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33007         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33008         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33009         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33010         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33011         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33012         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33013         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33014         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33015         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33016         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33017         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33018         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
33019         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33020         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33021         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33022         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33023         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33024         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33025         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33026         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33027         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33028         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33029         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33030         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33031         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33032         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33033         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33034         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33035         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33036         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33037         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
33038         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33039         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33040         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33041         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33042         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33043         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33044         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33045         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
33046         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33047         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33048         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33049         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33050         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33051         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
33052         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33053         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33054         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33055         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33056         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33057         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33058         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33059         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33060         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33061         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33062         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
33063         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33064         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
33065         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
33066         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
33067         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
33068         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
33069         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
33070         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
33071         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
33072         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
33073         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
33074         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
33075         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
33076         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33077         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
33078         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
33079         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
33080         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
33081         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
33082         (__isnanf): Likewise.
33083         (__isinf_ns): Likewise.
33084         (__isinf_nsf): Likewise.
33085         (__finite): Likewise.
33086         (__finitef): Likewise.
33087         (__ieee754_sqrt): Define as macro.
33088         (__ieee754_sqrtf): Define as macro.
33089         (__ieee754_sqrtl): Define as macro.
33090         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
33091         inlined copy.
33092         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
33093         __FINITE_MATH_ONLY__ consistent.
33094         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
33096 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
33098         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
33099         of rawmemchr.
33101         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
33103 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
33105         * po/ja.po: Update from translation team.
33107 2011-10-08  Roland McGrath  <roland@hack.frob.com>
33109         * locale/programs/locarchive.c (prepare_address_space): New function.
33110         (create_archive, enlarge_archive, open_archive): Use it.
33112         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
33113         inside [SHARED], where it is used.
33115         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
33117         * nss/getent.c (netgroup_keys): Remove unused variable.
33118         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33120 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
33122         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
33123         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
33124         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
33125         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
33126         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
33127         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
33128         * math/Makefile (libm-calls): Add s_isinf_ns.
33129         * math/divtc3.c: Use __isinf_nsl instead of isinf.
33130         * math/multc3.c: Likewise.
33131         * math/s_casin.c: Likewise.
33132         * math/s_casinf.c: Likewise.
33133         * math/s_casinl.c: Likewise.
33134         * math/s_ccos.c: Likewise.
33135         * math/s_ccosf.c: Likewise.
33136         * math/s_ccosl.c: Likewise.
33137         * math/s_ctan.c: Likewise.
33138         * math/s_ctanf.c: Likewise.
33139         * math/s_ctanh.c: Likewise.
33140         * math/s_ctanhf.c: Likewise.
33141         * math/s_ctanhl.c: Likewise.
33142         * math/s_ctanl.c: Likewise.
33143         * math/w_fmod.c: Likewise.
33144         * math/w_fmodf.c: Likewise.
33145         * math/w_fmodl.c: Likewise.
33146         * math/w_remainder.c: Likewise.
33147         * math/w_remainderf.c: Likewise.
33148         * math/w_remainderl.c: Likewise.
33149         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
33150         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
33151         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
33152         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
33153         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
33154         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
33155         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
33156         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
33158         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
33159         of the number.
33160         * stdio-common/printf_fphex.c: Likewise.
33161         * stdio-common/printf_size.c: Likewise.
33163         * math/e_exp10.c: Include math_private.h using <...> not "...".
33164         * math/e_exp10f.c: Likewise.
33165         * math/e_exp10l.c: Likewise.
33166         * math/e_exp2l.c: Likewise.
33167         * math/e_j0l.c: Likewise.
33168         * math/e_j1l.c: Likewise.
33169         * math/e_jnl.c: Likewise.
33170         * math/e_lgammal_r.c: Likewise.
33171         * math/e_rem_pio2l.c: Likewise.
33172         * math/e_scalb.c: Likewise.
33173         * math/e_scalbf.c: Likewise.
33174         * math/e_scalbl.c: Likewise.
33175         * math/k_cosl.c: Likewise.
33176         * math/k_sinl.c: Likewise.
33177         * math/k_tanl.c: Likewise.
33178         * math/s_cacoshf.c: Likewise.
33179         * math/s_catan.c: Likewise.
33180         * math/s_catanf.c: Likewise.
33181         * math/s_catanh.c: Likewise.
33182         * math/s_catanhf.c: Likewise.
33183         * math/s_catanhl.c: Likewise.
33184         * math/s_catanl.c: Likewise.
33185         * math/s_ccosh.c: Likewise.
33186         * math/s_ccoshf.c: Likewise.
33187         * math/s_ccoshl.c: Likewise.
33188         * math/s_cexp.c: Likewise.
33189         * math/s_cexpf.c: Likewise.
33190         * math/s_cexpl.c: Likewise.
33191         * math/s_clog.c: Likewise.
33192         * math/s_clog10.c: Likewise.
33193         * math/s_clog10f.c: Likewise.
33194         * math/s_clog10l.c: Likewise.
33195         * math/s_clogf.c: Likewise.
33196         * math/s_clogl.c: Likewise.
33197         * math/s_csin.c: Likewise.
33198         * math/s_csinf.c: Likewise.
33199         * math/s_csinh.c: Likewise.
33200         * math/s_csinhf.c: Likewise.
33201         * math/s_csinhl.c: Likewise.
33202         * math/s_csinl.c: Likewise.
33203         * math/s_csqrt.c: Likewise.
33204         * math/s_csqrtf.c: Likewise.
33205         * math/s_csqrtl.c: Likewise.
33206         * math/s_ctan.c: Likewise.
33207         * math/s_ctanf.c: Likewise.
33208         * math/s_ctanh.c: Likewise.
33209         * math/s_ctanhf.c: Likewise.
33210         * math/s_ctanhl.c: Likewise.
33211         * math/s_ctanl.c: Likewise.
33212         * math/s_ldexp.c: Likewise.
33213         * math/s_ldexpf.c: Likewise.
33214         * math/s_ldexpl.c: Likewise.
33215         * math/s_significand.c: Likewise.
33216         * math/s_significandf.c: Likewise.
33217         * math/s_significandl.c: Likewise.
33218         * math/w_acos.c: Likewise.
33219         * math/w_acosf.c: Likewise.
33220         * math/w_acosh.c: Likewise.
33221         * math/w_acoshf.c: Likewise.
33222         * math/w_acoshl.c: Likewise.
33223         * math/w_acosl.c: Likewise.
33224         * math/w_asin.c: Likewise.
33225         * math/w_asinf.c: Likewise.
33226         * math/w_asinl.c: Likewise.
33227         * math/w_atan2.c: Likewise.
33228         * math/w_atan2f.c: Likewise.
33229         * math/w_atan2l.c: Likewise.
33230         * math/w_atanh.c: Likewise.
33231         * math/w_atanhf.c: Likewise.
33232         * math/w_atanhl.c: Likewise.
33233         * math/w_cosh.c: Likewise.
33234         * math/w_coshf.c: Likewise.
33235         * math/w_coshl.c: Likewise.
33236         * math/w_dremf.c: Likewise.
33237         * math/w_exp10.c: Likewise.
33238         * math/w_exp10f.c: Likewise.
33239         * math/w_exp10l.c: Likewise.
33240         * math/w_exp2.c: Likewise.
33241         * math/w_exp2f.c: Likewise.
33242         * math/w_fmod.c: Likewise.
33243         * math/w_fmodf.c: Likewise.
33244         * math/w_fmodl.c: Likewise.
33245         * math/w_hypot.c: Likewise.
33246         * math/w_hypotf.c: Likewise.
33247         * math/w_hypotl.c: Likewise.
33248         * math/w_j0.c: Likewise.
33249         * math/w_j0f.c: Likewise.
33250         * math/w_j0l.c: Likewise.
33251         * math/w_j1.c: Likewise.
33252         * math/w_j1f.c: Likewise.
33253         * math/w_j1l.c: Likewise.
33254         * math/w_jn.c: Likewise.
33255         * math/w_jnf.c: Likewise.
33256         * math/w_jnl.c: Likewise.
33257         * math/w_lgamma.c: Likewise.
33258         * math/w_lgamma_r.c: Likewise.
33259         * math/w_lgammaf.c: Likewise.
33260         * math/w_lgammaf_r.c: Likewise.
33261         * math/w_lgammal.c: Likewise.
33262         * math/w_lgammal_r.c: Likewise.
33263         * math/w_log.c: Likewise.
33264         * math/w_log10.c: Likewise.
33265         * math/w_log10f.c: Likewise.
33266         * math/w_log10l.c: Likewise.
33267         * math/w_log2.c: Likewise.
33268         * math/w_log2f.c: Likewise.
33269         * math/w_log2l.c: Likewise.
33270         * math/w_logf.c: Likewise.
33271         * math/w_logl.c: Likewise.
33272         * math/w_pow.c: Likewise.
33273         * math/w_powf.c: Likewise.
33274         * math/w_powl.c: Likewise.
33275         * math/w_remainder.c: Likewise.
33276         * math/w_remainderf.c: Likewise.
33277         * math/w_remainderl.c: Likewise.
33278         * math/w_scalb.c: Likewise.
33279         * math/w_scalbf.c: Likewise.
33280         * math/w_scalbl.c: Likewise.
33281         * math/w_sinh.c: Likewise.
33282         * math/w_sinhf.c: Likewise.
33283         * math/w_sinhl.c: Likewise.
33284         * math/w_sqrt.c: Likewise.
33285         * math/w_sqrtf.c: Likewise.
33286         * math/w_sqrtl.c: Likewise.
33287         * math/w_tgamma.c: Likewise.
33288         * math/w_tgammaf.c: Likewise.
33289         * math/w_tgammal.c: Likewise.
33291         * po/ja.po: Update from translation team.
33293 2011-09-29  Andreas Jaeger  <aj@suse.de>
33295         [BZ #13179]
33296         * sunrpc/netname.c (netname2host): Fix logic.
33298         [BZ #6779]
33299         [BZ #6783]
33300         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
33301         correctly.
33302         * math/w_remainder.c (__remainder): Likewise.
33303         * math/w_remainderf.c (__remainderf): Likewise.
33304         * math/libm-test.inc (remainder_test): Add test cases.
33306 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33308         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
33309         sdiv_qrnnd.
33311 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
33313         * string/test-memcmp.c: Avoid unncessary #defines.
33314         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
33316 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33318         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
33319         Use new sse2 version for core i3 - i7 as it's faster
33320         than sse42 version.
33321         (bit_Prefer_PMINUB_for_stringop): New.
33322         * sysdeps/x86_64/rawmemchr.S: Update.
33323         Replace with faster SSE2 version.
33324         * sysdeps/x86_64/memrchr.S: New file.
33325         * sysdeps/x86_64/memchr.S: Update.
33326         Replace with faster SSE2 version.
33328 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
33330         * elf/dl-load.c (lose): Add cast to avoid warning.
33332 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
33334         * po/ca.po: Update from translation team.
33336         * inet/getnetgrent_r.c: Hook up nscd.
33337         * nscd/Makefile (routines): Add nscd_netgroup.
33338         (nscd-modules): Add netgroupcache.
33339         (CFLAGS-netgroupcache.c): Define.
33340         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
33341         (cache_search): Add const to second parameter.
33342         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
33343         INNETGR.
33344         (dbs): Add netgrdb entry.
33345         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
33346         (verify_persistent_db): Handle netgrdb.
33347         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
33348         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
33349         GETFDNETGR.
33350         (netgroup_response_header): Define.
33351         (innetgroup_response_header): Define.
33352         (datahead): Add netgroup_response_header and innetgroup_response_header
33353         elements.
33354         * nscd/nscd.conf: Add entries for netgroup cache.
33355         * nscd/nscd.h (dbtype): Add netgrdb.
33356         (_PATH_NSCD_NETGROUP_DB): Define.
33357         (netgroup_iov_disabled): Declare.
33358         (xmalloc, xcalloc, xrealloc): Move declarations here.
33359         (cache_search): Adjust prototype.
33360         Add netgroup-related prototypes.
33361         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
33362         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
33363         (__nscd_innetgr): Declare.
33364         * nscd/selinux.c (perms): Use access_vector_t as element type and
33365         add netgroup-related initializers.
33366         * nscd/netgroupcache.c: New file.
33367         * nscd/nscd_netgroup.c: New file.
33368         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
33369         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
33370         For four parameters use innetgr.
33371         * nss/nss_files/files-init.c: Add definition and callback for netgr.
33372         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
33373         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
33374         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
33376         * nscd/connections.c (register_traced_file): Don't register file
33377         for disabled databases.
33379 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
33381         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
33383         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
33384         from tree and freeing node.
33386 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
33388         * nss/nsswitch.c (__nss_database_lookup): Handle
33389         nss_parse_service_list out of memory case.
33391 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
33393         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
33394         out of memory case.
33396 2011-10-04  Andreas Schwab  <schwab@redhat.com>
33398         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
33399         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
33400         pass it down.
33401         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
33402         elf_machine_rela, elf_machine_lazy_rel.
33403         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
33404         (ELF_DYNAMIC_DO_REL): Likewise.
33405         (ELF_DYNAMIC_DO_RELA): Likewise.
33406         (ELF_DYNAMIC_RELOCATE): Likewise.
33407         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
33408         to ELF_DYNAMIC_DO_REL.
33409         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
33410         (dl_main): In trace mode always set __RTLD_NOIFUNC.
33411         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
33412         elf_machine_rela.
33413         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
33414         skip_ifunc, don't call ifunc function if non-zero.
33415         (elf_machine_rela): Likewise.
33416         (elf_machine_lazy_rel): Likewise.
33417         (elf_machine_lazy_rela): Likewise.
33418         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
33419         (elf_machine_lazy_rel): Likewise.
33420         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
33421         Likewise.
33422         (elf_machine_lazy_rel): Likewise.
33423         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33424         Likewise.
33425         (elf_machine_lazy_rel): Likewise.
33426         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
33427         (elf_machine_lazy_rel): Likewise.
33428         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
33429         (elf_machine_lazy_rel): Likewise.
33430         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
33431         (elf_machine_lazy_rel): Likewise.
33432         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
33433         (elf_machine_lazy_rel): Likewise.
33434         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
33435         (elf_machine_lazy_rel): Likewise.
33436         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
33437         (elf_machine_lazy_rel): Likewise.
33439 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
33441         * nss/nss_files/files-init.c (_nss_files_init): Use static
33442         initialization for all the *_traced_file variables.
33444 2011-09-28  Andreas Schwab  <schwab@redhat.com>
33446         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33448 2011-09-27  Roland McGrath  <roland@hack.frob.com>
33450         [BZ #13226]
33451         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
33453 2011-09-27  Andreas Schwab  <schwab@redhat.com>
33455         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
33456         Reread the line before reparsing it.
33458 2011-09-26  Andreas Schwab  <schwab@redhat.com>
33460         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
33462 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
33463             Maxim Kuvyrkov  <maxim@codesourcery.com>
33464             Joseph Myers  <joseph@codesourcery.com>
33466         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
33467         if needed for __stack_chk_guard.
33469 2011-09-19  Roland McGrath  <roland@hack.frob.com>
33471         * sysdeps/posix/spawni.c (script_execute): Always define it.
33472         It will be optimized away if unused.
33473         (maybe_script_execute): New function.
33474         (__spawni): Call it.
33476         * Makerules: Don't include tls.make.
33477         (config-tls): Always set to thread.
33478         * tls.make.c: File removed.
33480 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
33482         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
33483         * config.make.in (CPPFLAGS-config): New substituted variable.
33485 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
33487         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
33489         [BZ #13192]
33490         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
33491         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
33493 2011-09-15  Roland McGrath  <roland@hack.frob.com>
33495         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
33496         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
33497         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
33498         (CALL_FAIL): Likewise.
33499         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
33500         (CALL_FAIL): Macro removed.
33501         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
33503 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
33505         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
33506         for __FINITE_MATH_ONLY__ == 1.
33508 2011-09-15  Andreas Schwab  <schwab@redhat.com>
33510         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
33511         __ieee754_sqrt instead of sqrt.
33512         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
33513         __ieee754_sqrtf instead of sqrtf.
33514         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
33515         __floorf instead of floorf.
33516         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
33517         __floorf, __truncf instead of floorf, truncf.
33519 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
33521         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
33523         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
33524         __extern_always_inline.
33525         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
33526         32-bit.
33528 2011-09-14  Andreas Schwab  <schwab@redhat.com>
33530         * elf/rtld.c (dl_main): Also relocate in dependency order when
33531         doing symbol dependency testing.
33533 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
33535         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33536         Always define `refsym'.
33538 2011-09-13  Andreas Schwab  <schwab@redhat.com>
33540         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
33541         (__FD_ELT): Renamed from __FDELT.
33542         * misc/bits/select2.h (__FD_ELT): Likewise.
33543         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
33544         __FD_MASK instead of __FDELT, __FDMASK.
33545         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
33546         Likewise.
33547         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
33548         Likewise.
33550         * elf/Makefile (gen-ldd): Fix pattern.
33552         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
33553         (init_tls): Likewise.
33555 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
33557         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
33559 2011-09-12  Andreas Schwab  <schwab@redhat.com>
33561         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
33562         `struct cmsghdr *' instead of `void *'.
33563         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
33564         Likewise.
33566 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
33568         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
33569         if non-absolute.
33570         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
33571         ldd_rewrite_script.
33573 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
33575         * configure.in: Remove --with-tls option.
33576         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
33577         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
33578         out in case it is missing.
33579         * sysdeps/ia64/elf/configure.in: Likewise.
33580         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
33581         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
33582         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
33583         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
33584         * sysdeps/sh/elf/configure.in: Likewise.
33585         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
33586         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
33587         * sysdeps/x86_64/elf/configure.in: Likewise.
33588         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
33589         * sysdeps/mach/hurd/tls.h: Likewise.
33591         [BZ #13067]
33592         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
33594         [BZ #13090]
33595         * configure.in: Fix use of AC_INIT.
33597         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
33599 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
33601         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
33602         __set_errno.
33603         * malloc/hooks.c: Likewise.
33605         [BZ #11929]
33606         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
33607         variables statically.
33608         (narenas): Initialize.
33609         (list_lock): Initialize.
33610         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
33611         initializtion of main_arena and list_lock.  Small cleanups.
33612         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
33613         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
33614         Add initializers to main_arena and mp_.
33615         (malloc_state): Remove pagesize member.  Change all users to use
33616         GLRO(dl_pagesize).
33618         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
33619         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
33620         is always initialized.
33622         * malloc/malloc.c: Removed unused configurations and dead code.
33623         * malloc/arena.c: Likewise.
33624         * malloc/hooks.c: Likewise.
33625         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
33627         * include/tls.h: Removed.  USE___THREAD must always be defined.
33628         * bits/libc-tsd.h: Don't handle !USE___THREAD.
33629         * elf/dl-libc.c: Likewise.
33630         * elf/dl-tsd.c: Likewise.
33631         * include/errno.h: Likewise.
33632         * include/netdb.h: Likewise.
33633         * include/resolv.h: Likewise.
33634         * inet/herrno-loc.c: Likewise.
33635         * inet/herrno.c: Likewise.
33636         * malloc/arena.c: Likewise.
33637         * malloc/hooks.c: Likewise.
33638         * malloc/malloc.c: Likewise.
33639         * resolv/res-state.c: Likewise.
33640         * resolv/res_libc.c: Likewise.
33641         * sysdeps/i386/dl-machine.h: Likewise.
33642         * sysdeps/ia64/dl-machine.h: Likewise.
33643         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
33644         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
33645         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
33646         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
33647         * sysdeps/sh/dl-machine.h: Likewise.
33648         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
33649         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
33650         * sysdeps/unix/i386/sysdep.S: Likewise.
33651         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
33652         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
33653         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
33654         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
33655         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
33656         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
33657         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
33658         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33659         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33660         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
33661         * sysdeps/unix/x86_64/sysdep.S: Likewise.
33662         * sysdeps/x86_64/dl-machine.h: Likewise.
33663         * tls.make.c: Likewise.
33665         * configure.in: Remove --with-__thread option.  Make tests for
33666         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
33667         tls_model attribute fail if no support is available.  Remove
33668         USE_IN_LIBIO.
33669         * Makeconfig: Adjust for dropped configure option.  All features are
33670         now mandatory.
33671         * Makerules: Likewise.
33672         * Versions.def: Likewise.
33673         * argp/argp-fmtstream.c: Likewise.
33674         * argp/argp-fmtstream.h: Likewise.
33675         * argp/argp-help.c: Likewise.
33676         * assert/assert.c: Likewise.
33677         * config.h.in: Likewise.
33678         * config.make.in: Likewise.
33679         * configure: Likewise.
33680         * configure.in: Likewise.
33681         * csu/Versions: Likewise.
33682         * csu/init.c: Likewise.
33683         * elf/tst-audit2.c: Likewise.
33684         * elf/tst-tls10.c: Likewise.
33685         * elf/tst-tls10.h: Likewise.
33686         * elf/tst-tls11.c: Likewise.
33687         * elf/tst-tls12.c: Likewise.
33688         * elf/tst-tls14.c: Likewise.
33689         * elf/tst-tlsmod11.c: Likewise.
33690         * elf/tst-tlsmod12.c: Likewise.
33691         * elf/tst-tlsmod13.c: Likewise.
33692         * elf/tst-tlsmod13a.c: Likewise.
33693         * elf/tst-tlsmod14a.c: Likewise.
33694         * elf/tst-tlsmod15b.c: Likewise.
33695         * elf/tst-tlsmod16a.c: Likewise.
33696         * elf/tst-tlsmod16b.c: Likewise.
33697         * elf/tst-tlsmod7.c: Likewise.
33698         * elf/tst-tlsmod8.c: Likewise.
33699         * elf/tst-tlsmod9.c: Likewise.
33700         * gmon/gmon.c: Likewise.
33701         * grp/fgetgrent_r.c: Likewise.
33702         * grp/putgrent.c: Likewise.
33703         * hurd/fopenport.c: Likewise.
33704         * include/libc-symbols.h: Likewise.
33705         * include/tls.h: Likewise.
33706         * intl/gettextP.h: Likewise.
33707         * intl/loadinfo.h: Likewise.
33708         * locale/global-locale.c: Likewise.
33709         * locale/localeinfo.h: Likewise.
33710         * mach/devstream.c: Likewise.
33711         * malloc/arena.c: Likewise.
33712         * malloc/set-freeres.c: Likewise.
33713         * misc/err.c: Likewise.
33714         * misc/getttyent.c: Likewise.
33715         * misc/mntent_r.c: Likewise.
33716         * posix/getopt.c: Likewise.
33717         * posix/wordexp.c: Likewise.
33718         * pwd/fgetpwent_r.c: Likewise.
33719         * resolv/Versions: Likewise.
33720         * resolv/res_hconf.c: Likewise.
33721         * shadow/fgetspent_r.c: Likewise.
33722         * shadow/putspent.c: Likewise.
33723         * stdio-common/printf_fphex.c: Likewise.
33724         * stdio-common/tmpfile.c: Likewise.
33725         * stdlib/abort.c: Likewise.
33726         * stdlib/fmtmsg.c: Likewise.
33727         * sunrpc/auth_unix.c: Likewise.
33728         * sunrpc/clnt_perr.c: Likewise.
33729         * sunrpc/clnt_tcp.c: Likewise.
33730         * sunrpc/clnt_udp.c: Likewise.
33731         * sunrpc/clnt_unix.c: Likewise.
33732         * sunrpc/openchild.c: Likewise.
33733         * sunrpc/svc_simple.c: Likewise.
33734         * sunrpc/svc_tcp.c: Likewise.
33735         * sunrpc/svc_udp.c: Likewise.
33736         * sunrpc/svc_unix.c: Likewise.
33737         * sunrpc/xdr.c: Likewise.
33738         * sunrpc/xdr_array.c: Likewise.
33739         * sunrpc/xdr_rec.c: Likewise.
33740         * sunrpc/xdr_ref.c: Likewise.
33741         * sunrpc/xdr_stdio.c: Likewise.
33743 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
33745         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33747 2011-07-03  Andreas Jaeger  <aj@suse.de>
33749         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
33750         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
33751         regenerate with gen-libm-tests.pl.
33753 2010-05-12  Petr Baudis  <pasky@suse.cz>
33755         [BZ #11589]
33756         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
33757         around j0() zero points by switching to j1().
33758         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33759         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33760         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33761         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33763 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
33765         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
33766         instead of 0.
33767         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
33768         instead of 0.
33769         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33770         Patch in part by Pavel Roskin <proski@gnu.org>.
33772         [BZ #13138]
33773         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
33774         realloc.
33775         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
33776         Free memory block if necessary.
33778         [BZ #12847]
33779         * libio/genops.c (INTDEF): For string streams the _lock pointer can
33780         be NULL.  Don't lock in this case.
33782 2011-09-09  Roland McGrath  <roland@hack.frob.com>
33784         * elf/elf.h (ELFOSABI_GNU): New macro.
33785         (ELFOSABI_LINUX): Define to that.
33787 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
33789         * string/strncat.c (strncat): Undef the symbol in case it has been
33790         defined in bits/string.h.
33792 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
33794         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
33796         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
33797         link map.
33799 2011-08-17  Andreas Jaeger  <aj@suse.de>
33801         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
33803 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
33804             Ian Lance Taylor  <iant@google.com>
33806         * math/libm-test.inc (lround_test): New testcase.
33807         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
33809 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
33811         * Makefile: Remove support for automatic cvs check-ins.
33812         * Makerules: Likewise.
33813         * config.make.in: Likewise.
33814         * configure.in: Likewise.
33815         * intl/Makefile: Likewise.
33816         * locale/Makefile: Likewise.
33817         * po/Makefile: Likewise.
33818         * posix/Makefile: Likewise.
33819         * sysdeps/gnu/Makefile: Likewise.
33820         * sysdeps/mach/hurd/Makefile: Likewise.
33821         * sysdeps/sparc/sparc32/Makefile: Likewise.
33823         [BZ #13118]
33824         * posix/Makefile (bug-regex32-ENV): Define.
33825         Patch by John Stanley <jpsinthemix@verizon.net>.
33827         * misc/Makefile (headers): Add bits/select2.h.
33828         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
33829         * misc/bits/select2.h: New file.
33830         * include/bits/select2.h: New file.
33831         * debug/Makefile (routines): Add fdelt_chk.
33832         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
33833         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
33834         FD_ISSET.
33835         * debug/fdelt_chk.c: New file.
33837         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
33838         * wcsmbs/test-wmemcmp.c: Likewise.
33839         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
33840         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
33842 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33844         * string/Makefile (strop-tests): Add memcmp.
33845         * string/test-wmemcmp.c: New file.
33846         * string/test-memcmp.c: Add wmemcmp support.
33848 2011-09-08  Roland McGrath  <roland@hack.frob.com>
33850         [BZ #13153]
33851         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
33852         2011-07-19 change.
33854         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
33855         garbage value in a __mach_port_mod_refs call in the cases of the
33856         task-self and thread-self ports.
33858 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33860         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
33862 2011-09-08  Andreas Schwab  <schwab@redhat.com>
33864         * elf/dl-load.c (lose): Check for non-null L.
33866 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
33868         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
33870         * elf/dl-libc.c (dlerror_run): Pass back error code from
33871         dl_catch_error.
33873         [BZ #13123]
33874         * elf/dl-load.c (lose): Free l_origin if it is valid.
33876         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
33877         names.
33878         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
33879         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
33880         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
33881         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
33882         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
33883         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
33885 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33887         * sysdeps/powerpc/fpu/e_hypot.c: New file.
33888         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
33889         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
33890         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
33891         * sysdeps/powerpc/fpu/k_cosf.c: New file.
33892         * sysdeps/powerpc/fpu/k_sinf.c: New file.
33893         * sysdeps/powerpc/fpu/s_cosf.c: New file.
33894         * sysdeps/powerpc/fpu/s_sinf.c: New file.
33895         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
33896         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
33898 2011-08-15  Alan Modra  <amodra@gmail.com>
33900         [BZ #13092]
33901         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
33902         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
33903         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
33904         ppc_mcount to static-only-routines.
33905         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
33906         __mcount_internal.
33907         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
33908         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
33910 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
33912         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
33913         for finite and infinity parameters.
33915 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
33917         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
33918         and add nop instructions for throughput optimization.
33919         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
33921 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
33923         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
33924         aligned copy for power7 with vector-scalar instructions.
33925         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
33927 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
33929         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
33930         AVX check.
33932 2011-09-07  Andreas Schwab  <schwab@redhat.com>
33934         [BZ #13144]
33935         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
33936         last change.
33938 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
33940         * sysdeps/unix/sysv/linux/x86_64/init-first.c
33941         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
33942         syscall wrapper around clock_gettime in __vdso_clock_gettime.
33943         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
33944         clock_gettime.
33946 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
33948         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
33949         Forgot to demangle the pointer.
33951         * sysdeps/i386/sysdep.h: Define atom_text_section.
33952         * sysdeps/x86_64/sysdep.h: Likewise.
33953         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
33954         section with atom_text_section.
33955         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
33956         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
33957         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
33958         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
33959         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
33961         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
33962         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
33963         already be defined.  Change to take two parameters and don't assign
33964         result to variable.  Adjust all users.
33965         Define INTERNAL_GETTIME if not already defined.
33966         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
33967         call.
33968         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
33969         HAVE_CLOCK_GETTIME_VSYSCALL.
33970         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
33972         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
33973         gettimeofday vsyscall, just use time.
33975 2011-09-06  Andreas Schwab  <schwab@redhat.com>
33977         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
33978         <errno.h>.
33980 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
33982         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
33983         syscall on x86-64.
33984         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
33985         syscall.
33986         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
33987         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
33988         syscall if possible.
33990 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
33992         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
33993         e_ident.  Don't pass to find_mapsXX.
33994         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
33996 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
33998         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33999         strchr-sse2-no-bsf strrchr-sse2-no-bsf
34000         * sysdeps/x86_64/multiarch/strchr.S: Update.
34001         Check bit_slow_BSF bit.
34002         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
34003         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
34004         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
34006 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
34008         [BZ #13134]
34009         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
34010         before glibc 2.15.
34011         (tryshell): Define.
34012         (__spawni): Change last parameter to be flag.  Test
34013         SPAWN_XFLAGS_USE_PATH flag to use path or not.
34014         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
34015         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
34016         * posix/spawni.c: Likewise.
34017         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
34018         * posix/spawnp.c: Likewise.  Change normal version to use
34019         SPAWN_XFLAGS_USE_PATH.
34020         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
34021         SPAWN_XFLAGS_TRY_SHELL.
34023         [BZ #13150]
34024         * posix/glob.h: Remove gcc 1.x support.
34026         [BZ #13068]
34027         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
34029 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
34031         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34032         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
34033         strrchr-sse2-bsf
34034         * sysdeps/i386/i686/multiarch/strchr.S: New file.
34035         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
34036         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
34037         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
34038         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
34039         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
34041 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34043         * sysdeps/x86_64/wcscmp.S: New file.
34045         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
34046         wcscmp-c wcscmp-sse2
34047         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
34048         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
34049         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
34050         * wcsmbs/wcscmp.c: Allow renaming.
34052 2011-09-05  David S. Miller  <davem@davemloft.net>
34054         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
34055         stack slot, rather than the struct return pointer slot.
34056         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
34057         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
34058         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
34059         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
34061 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
34063         * po/ja.po: Update from translation team.
34065         [BZ #13144]
34066         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
34067         kernel in 64-bit binaries.
34069 2011-09-01  David S. Miller  <davem@davemloft.net>
34071         * elf/elf.h (HWCAP_SPARC_*): Move to..
34072         * sysdeps/sparc/sysdep.h: this new file and add new values.
34073         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
34074         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
34075         _DL_HWCAP_COUNT to 24.
34076         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
34077         entries.
34078         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
34079         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
34080         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
34081         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
34082         instead of magic constants.
34083         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34085 2011-08-31  David S. Miller  <davem@davemloft.net>
34087         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
34088         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
34089         Reimplement to do errno handling inline.
34090         (SYSCALL_ERROR_HANDLER): New macro.
34091         (__SYSCALL_STRING): Do not do errno handling in asm.
34092         (__CLONE_SYSCALL_STRING): Delete.
34093         (__INTERNAL_SYSCALL_STRING): Delete.
34094         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
34095         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
34096         (PSEUDO): Reimplement to do errno handling inline.
34097         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
34098         (SYSCALL_ERROR_HANDLER): New macro.
34099         (__SYSCALL_STRING): Do not do errno handling in asm.
34100         (__CLONE_SYSCALL_STRING): Delete.
34101         (__INTERNAL_SYSCALL_STRING): Delete.
34102         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
34103         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
34104         i386.
34105         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
34106         (inline_syscall*): Add 'err' argument.
34107         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
34108         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
34109         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
34110         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
34112         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
34113         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
34115 2011-08-30  Andreas Schwab  <schwab@redhat.com>
34117         * elf/rtld.c (dl_main): Relocate objects in dependency order.
34119 2011-08-29  Jiri Olsa <jolsa@redhat.com>
34121         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
34122         directive.
34124 2011-08-24  David S. Miller  <davem@davemloft.net>
34126         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
34128 2011-08-24  Andreas Schwab  <schwab@redhat.com>
34130         * elf/Makefile: Add rules to build and run unload8 test.
34131         * elf/unload8.c: New file.
34132         * elf/unload8mod1.c: New file.
34133         * elf/unload8mod1x.c: New file.
34134         * elf/unload8mod2.c: New file.
34135         * elf/unload8mod3.c: New file.
34137         * elf/dl-close.c (_dl_close_worker): Reset private search list if
34138         it wasn't used.
34140 2011-08-23  David S. Miller  <davem@davemloft.net>
34142         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
34143         subtract stack bias.
34144         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
34145         %sp not %fp in calculations.
34146         (_JMPBUF_UNWINDS_ADJ): Likewise.
34148         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
34149         (aio_suspend): Call it to force an exception region around the
34150         AIO_MISC_WAIT() invocation.
34152 2011-08-23  Andreas Schwab  <schwab@redhat.com>
34154         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
34155         backslash.
34157 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
34159         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
34160         protection macro.
34161         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
34162         and <dl-machine.h>.
34163         (Elf64_FuncDesc): Remove.
34165 2011-08-22  David S. Miller  <davem@davemloft.net>
34167         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
34168         sigaltstack check, add missing cfi directives.
34169         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
34170         missing cfi directives, and sigaltstack handling.
34172 2011-08-16  Andreas Schwab  <schwab@redhat.com>
34174         [BZ #11724]
34175         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
34176         object is seen twice.
34177         * elf/dl-fini.c (_dl_sort_fini): Likewise.
34179         * elf/Makefile (distribute): Add tst-initorder2.c.
34180         (tests): Add tst-initorder2.
34181         (modules-names): Add tst-initorder2a tst-initorder2b
34182         tst-initorder2c tst-initorder2d.  Add rules to build them.
34183         ($(objpfx)tst-initorder2.out): New rule.
34184         * elf/tst-initorder2.c: New file.
34185         * elf/tst-initorder2.exp: New file.
34187 2011-08-22  Andreas Schwab  <schwab@redhat.com>
34189         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
34191         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
34192         dependencies back to end of function.
34194         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
34195         $(elfobjdir)/ld.so.
34197 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
34199         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
34200         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
34201         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
34202         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
34203         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
34204         of __vdso_gettimeofday.
34205         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
34206         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
34207         attribute_hidden.
34208         (_libc_vdso_platform_setup): Remove initialization of
34209         __vdso_gettimeofday and __vdso_time.
34211 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
34213         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
34214         and fgetc_unlocked.
34215         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
34216         getc_unlocked.
34218         * elf/dl-open.c (add_to_global): Report additions to the global scope
34219         for LD_DEBUG=scopes.
34220         (dl_open_worker): Also print scope of newly loaded dependencies.
34221         (_dl_show_scope): Indicate if there is no scope.
34223         [BZ #13114]
34224         * stdio-common/Makefile (tests): Add bug24.
34225         * stdio-common/bug24.c: New file.
34227 2011-08-19  Andreas Jaeger  <aj@suse.de>
34229         [BZ #13114]
34230         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
34231         non-existant file when using close-on-exec mode.
34233 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
34235         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
34236         the very first instruction.
34238         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
34239         the CFI state in the end.
34240         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
34241         inclusion of dl-trampoline.h.
34242         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
34244 2011-08-19  Andreas Schwab  <schwab@redhat.com>
34246         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
34247         expectations for long double.
34249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
34250         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
34252 2011-08-14  David S. Miller  <davem@davemloft.net>
34254         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
34255         artificual limit depends upon the system page size.
34257 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
34259         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
34260         * resolv/Makefile: Define CFLAGS-libresolv.
34262 2011-08-17  Andreas Schwab  <schwab@redhat.com>
34264         * nss/makedb.c (compute_tables): Make variables used in nested
34265         function static.
34267 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
34269         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
34270         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
34271         if buffer was too small.
34273         * elf/pldd.c (main): Attach to all threads in the process.
34274         Rewrite /proc handling to use *at functions.
34276 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
34278         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
34279         specifies first scope to show.
34280         (dl_open_worker): Update callers.  Move printing scope of new
34281         object to before the relocation.
34282         * elf/rtld.c (dl_main): Update _dl_show_scope call.
34283         * sysdeps/generic/ldsodefs.h: Update declaration.
34285         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
34286         string for the scope number.
34288 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
34290         * nscd/servicescache.c (cache_addserv): Make sure written is always
34291         initialized.
34293 2011-08-14  Roland McGrath  <roland@hack.frob.com>
34295         * sysdeps/i386/i486/bits/atomic.h
34296         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
34297         statement expression, so as to suppress "set but not used" warning.
34298         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
34300         * string/strncat.c (STRNCAT): Use prototype definition.
34302         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
34303         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
34304         -Iprograms here.
34305         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
34306         (localedef-modules): Add localedef.
34307         (locale-modules): Add locale.
34309         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
34310         * elf/rtld.c (dl_main): Invert order of assignment in last change,
34311         to avoid a warning.
34313 2011-08-14  David S. Miller  <davem@davemloft.net>
34315         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
34316         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
34318 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
34320         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
34321         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
34322         * elf/rtld.c (dl_main): Set l_name of vDSO.
34323         Call _dl_show_scope when DL_DEBUG_SCOPES.
34324         (process_dl_debug): Recognize scopes flag and also set it for all.
34325         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
34326         Declare _dl_show_scope.
34328         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
34329         (do_dlopen): Pass caller_dlopen to dl_open.
34330         (__libc_dlopen_mode): Initialize caller_dlopen.
34332         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
34333         of libc.  Make tolower call locale-independent.  Optimize a bit by
34334         using isdigit instead of isalnum.
34335         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
34337 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
34339         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
34340         was a dependency or dynamically loaded.
34342 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
34344         * intl/l10nflist.c: Allow architecture-specific pop function.
34345         * sysdeps/x86_64/l10nflist.c: New file.
34347         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
34348         classification.
34350 2011-08-10  Andreas Schwab  <schwab@redhat.com>
34352         * include/dirent.h: Add libc_hidden_proto for scandirat and
34353         scandirat64.  Don't declare __scandirat64.
34354         * dirent/scandirat.c: Add libc_hidden_def.
34355         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
34356         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
34358 2011-08-10  David S. Miller  <davem@davemloft.net>
34360         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
34361         enum.
34362         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34363         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34364         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34366 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
34368         * Versions.def [libc]: Add GLIBC_2.15.
34369         * dirent/Makefile (routines): Add scandirat and scandirat64.
34370         * dirent/Versions [libc]: Export scandirat and scandirat64 for
34371         GLIBC_2.15.
34372         * dirent/dirent.h: Declare scandirat and scandirat64.
34373         * dirent/scandirat.c: New file.
34374         * dirent/scandirat64.c: New file.
34375         * sysdeps/wordsize-64/scandirat.c: New file.
34376         * sysdeps/wordsize-64/scandirat64.c: New file.
34377         * dirent/opendir.c: Define opendirat.
34378         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
34379         using scandirat.
34380         * dirent/scandir64.c: Adjust for scandir.c change.
34381         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
34382         __scandirat64, and __scandir_cancel_handler.
34383         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
34384         additional parameter and use openat instead of open (outside of ld.so).
34385         Add new __opendir as wrapper around __opendirat.
34386         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
34387         here without requiring old scandirat implementation.
34389 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
34391         * dirent/scandir.c (cancel_handler): Renamed to
34392         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
34393         defined.  Adjust users.
34394         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
34395         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
34397 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
34399         * string/test-string.h (IMPL): Use __STRING to expand name and then
34400         stringify it.
34402         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
34403         of cleanups.
34405 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34407         * string/Makefile: Update.
34408         (strop-tests): Append strncat.
34409         * string/test-wcscmp.c: New file.
34410         New comprehensive test for wcscmp.
34411         * string/test-strcmp.c: Update.
34412         (WIDE): New define.
34414 2011-07-22  Andreas Schwab  <schwab@redhat.com>
34416         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
34417         line.
34419 2011-07-26  Andreas Schwab  <schwab@redhat.com>
34421         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
34422         encoding to ACE if AI_IDN.
34424 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
34426         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
34427         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
34429 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
34431         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
34432         Fix overflow bug in strncat.
34433         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
34435         * string/test-strncat.c: Update.
34436         Add new tests for checking overflow bugs.
34438 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
34440         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34441         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
34442         * sysdeps/i386/i686/multiarch/strcat.S: New file.
34443         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
34444         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
34445         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
34446         * sysdeps/i386/i686/multiarch/strncat.S: New file.
34447         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
34448         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
34450         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
34451         (USE_AS_STRCAT): Define.
34452         Add strcat and strncat support.
34453         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34455 2011-07-25  Andreas Schwab  <schwab@redhat.com>
34457         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
34458         __n bigger than INT_MAX+1.
34459         (__strncmp_g): Likewise.
34461 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
34463         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
34464         * libio/stido.h: Likewise.
34466         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
34467         (AF_NFC): Define.
34468         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
34469         (AF_NFC): Define.
34471         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
34472         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34473         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34474         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
34475         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34477         [BZ #13021]
34478         * scripts/test-installation.pl: Don't expect libnss_test1 to be
34479         installed.
34481         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
34482         typo.
34483         (_dl_x86_64_save_sse): Likewise.
34485 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
34487         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
34488         OSXSAVE.
34489         (_dl_x86_64_save_sse): Likewise.
34491         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
34493         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
34495 2011-07-21  Andreas Schwab  <schwab@redhat.com>
34497         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
34498         change.
34499         (_dl_x86_64_save_sse): Use correct AVX check.
34501 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34503         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
34504         bug in strncpy/strncat.
34505         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
34507 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
34509         * string/tester.c (test_strcat): Add tests for different alignments
34510         of source and destination.
34511         (test_strncat): Likewise.
34513 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
34515         [BZ #12852]
34516         * posix/glob.c (glob): Check passed in values before using them in
34517         expressions to avoid some overflows.
34518         (glob_in_dir): Likewise.
34520         [BZ #13007]
34521         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
34522         check for AVX enablement so that we don't crash with old kernels and
34523         new hardware.
34524         * elf/tst-audit4.c: Add same checks here.
34525         * elf/tst-audit6.c: Likewise.
34527         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
34529 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
34531         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
34533 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
34535         * po/cs.po: Update from translation team.
34536         * po/bg.po: Likewise.
34538 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
34540         * misc/sys/cdefs.h: Add support for const attribute.
34541         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
34542         to gnu_dev_{major,minor,makedev} functions.
34544 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
34546         * intl/dcigettext.c (get_output_charset): Add missing bracket.
34548 2011-07-20  Andreas Schwab  <schwab@redhat.com>
34550         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
34551         strlen results.
34553 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34555         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
34556         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
34557         register in order to avoid conflicts with the soft frame pointer
34558         being held in r11 when necessary.
34559         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
34560         (INTERNAL_VSYSCALL_NCS): Likewise.
34562 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
34564         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
34565         * elf/dl-fini.c (_dl_fini): Adjust caller.
34566         * elf/dl-close.c (_dl_close_worker): Likewise.
34567         * sysdeps/generic/ldsodefs.h: Adjust declaration.
34569 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
34571         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
34572         "aux_cache->nlibs < 0".
34574         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
34575         in the reload-count case.
34577 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
34579         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34580         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
34581         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
34582         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
34583         * sysdeps/x86_64/multiarch/strcat.S: New file.
34584         * sysdeps/x86_64/multiarch/strncat.S: New file.
34585         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
34586         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
34587         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
34588         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
34589         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
34590         (USE_AS_STRCAT): Define.
34591         Add strcat and strncat support.
34592         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
34593         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
34594         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
34595         * string/strncat.c: Update.
34596         (USE_AS_STRNCAT): Define.
34597         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34598         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
34599         and i7.
34600         * sysdeps/x86_64/multiarch/init-arch.h
34601         (bit_Prefer_PMINUB_for_stringop): New.
34602         (index_Prefer_PMINUB_for_stringop): Likewise.
34603         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
34604         bit_Prefer_PMINUB_for_stringop.
34606 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
34608         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
34609         buffer64.
34610         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
34611         of casting of buffer.
34612         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
34613         buffer32 and buffer64.
34614         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
34615         writes instead of casting of buffer.
34616         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
34617         buffer32.
34618         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
34619         casting of buffer.
34621 2011-07-19  Andreas Schwab  <schwab@redhat.com>
34623         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
34625 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
34627         * nscd/nscd.c (termination_handler): Don't do anything for a database
34628         if it has not yet been initialized.
34630 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
34632         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
34634 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
34636         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
34638 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
34640         * po/nl.po: Update from translation team.
34641         * po/sv.po: Likewise.
34643 2011-07-16  Roland McGrath  <roland@hack.frob.com>
34645         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
34646         now disallowed by GCC.
34648         * configure.in (use-default-link): Default to yes if a test -shared
34649         link meets our qualifications.
34650         * configure: Regenerated.
34652         * config.make.in (output-format): New variable.
34653         * configure.in: Check for ld --print-output-format support.
34654         * configure: Regenerated.
34655         * Makerules ($(common-objpfx)format.lds)
34656         [$(output-format) != unknown]: Just use $(output-format),
34657         instead of the linker-script munging.
34659 2011-07-14  Roland McGrath  <roland@hack.frob.com>
34661         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
34662         of $(common-objpfx)shlib.lds.
34663         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
34665         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
34666         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
34668         * configure.in (-z relro check): Adjust test code to add a large
34669         writable data section after it.
34670         * configure: Regenerated.
34672 2011-07-11  Roland McGrath  <roland@hack.frob.com>
34674         * configure.in (-z relro check): Fix test code to make the variable
34675         truly const.
34676         * configure: Regenerated.
34678 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
34680         * nscd/nscd.h (struct traced_file): Define.
34681         (struct database_dyn): Remove inotify_descr, reset_res, and filename
34682         elements.  Add traced_files.
34683         (inotify_fd): Declare.
34684         (register_traced_file): Declare.
34685         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
34686         (inotify_fd): Export.
34687         (resolv_conf_descr): Remove.
34688         (nscd_init): Move inotify descriptor creation to main.
34689         Don't register files for notification here.
34690         (register_traced_file): New function.
34691         (invalidate_cache): Don't use reset_res to determine whether to call
34692         res_init, go through the list of registered files.
34693         (main_loop_poll): The inotify descriptors are now stored in the
34694         structures for the traced files.
34695         (main_loop_epoll): Likewise
34696         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
34697         to __nss_disable_nscd.
34698         * nscd/cache.c (prune_cache): There is no single inotify descriptor
34699         for a database anymore.  Check the records for all the registered
34700         files instead.
34701         * nss/Makefile (libnss_files-routines): Add files-init.
34702         (libnss_db-routines): Add db-init.
34703         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
34704         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
34705         * nss/nss_db/db-init.c: New file.
34706         * nss/nss_files/files-init.c: New file.
34707         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
34708         __nss_lookup_function.
34709         (__nss_lookup_function): Call nss_load_library.
34710         (nss_load_all_libraries): New function.
34711         (__nss_disable_nscd): Take parameter with callback function for files
34712         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
34713         used for the cached services.
34714         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
34715         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
34716         options for features to all the files in nscd.
34718         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
34720 2011-07-10  Roland McGrath  <roland@hack.frob.com>
34722         * csu/elf-init.c (__libc_csu_init): Comment typo.
34724 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
34726         * po/pl.po: Update from translation team.
34727         * po/ja.po: Likewise.
34728         * po/ru.po: Likewise.
34729         * po/ko.po: Likewise.
34730         * po/fr.po: Likewise.
34732 2011-07-09  Roland McGrath  <roland@hack.frob.com>
34734         * configure.in (.ctors/.dtors header and trailer check):
34735         Use an empirical test on a built program.
34736         * configure: Regenerated.
34738         * configure.in (-z relro check): Use an empirical test on a built DSO.
34739         Detect, but do not require, on ia64.
34740         * configure: Regenerated.
34742         * configure.in (READELF): Find it with AC_CHECK_TOOL.
34743         Update tests that use readelf to use $READELF instead.
34744         * configure: Regenerated.
34746 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
34748         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
34749         if the result is not used.
34751 2011-07-05  Andreas Jaeger  <aj@suse.de>
34753         [BZ#9696]
34754         * stdlib/tst-strtod.c: Add testcase.
34756 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
34758         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
34759         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
34760         The latter has a higher limit.  Take additional parameter to pass to
34761         the new function.
34762         (__pathconf): Pass file to __statfs_link_max.
34763         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
34764         __statfs_link_max.
34765         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
34766         __statfs_link_max.
34768         [BZ #12868]
34769         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
34770         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34771         Handle Lustre.
34772         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
34773         (__statfs_filesize_max): Likewise.
34774         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
34776 2011-07-05  Andreas Jaeger  <aj@suse.de>
34778         * resolv/res_comp.c (dn_skipname): Remove unused variable.
34780 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
34782         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
34783         `status' variable.
34784         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
34785         Likewise.
34787 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
34789         * Makefile (strop-tests): Add strncat.
34790         * string/test-strncat.c: New file.
34792 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
34794         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
34796 2011-06-21  Andreas Jaeger  <aj@suse.de>
34798         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
34799         Copy rule from iconvdata/Makefile.
34801 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
34803         [BZ #12922]
34804         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
34805         but no long options are defined, just return 'W'.
34807 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
34809         [BZ #9696]
34810         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
34812 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
34814         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
34815         netgroups to read.
34816         (innetgr): Likewise.
34818 2011-07-05  Roland McGrath  <roland@hack.frob.com>
34820         * config.make.in (install_root): Default to $(DESTDIR).
34822 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
34824         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
34826 2011-07-02  Roland McGrath  <roland@hack.frob.com>
34828         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
34830         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
34831         containing directory rather than embedding absolute directory names.
34833         * scripts/check-local-headers.sh: Rewritten using awk.
34834         Match by word, not by line.  Print error messages for matches.
34835         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
34837         * Makerules [shlib-lds-flags empty]:
34838         ($(common-objpfx)libc_pic.opts): New target.
34839         ($(common-objpfx)libc_pic.os.clean): New target.
34840         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
34842         * config.make.in (OBJCOPY): New variable.
34843         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
34844         * configure: Regenerated.
34846         * config.make.in (use-default-link): New variable.
34847         * configure.in (use_default_link): Grok --with-default-link to set it.
34848         * configure: Regenerated.
34849         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
34850         (shlib-lds, shlib-lds-flags): Define to empty.
34852         * Makerules (shlib-lds): New variable.
34853         (shlib-lds-flags): New variable.
34854         (build-shlib, build-moduile, build-module-asneeded): Use it.
34855         ($(common-objpfx)libc.so): Use $(shlib-lds).
34856         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
34857         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
34859         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
34860         DT_FLAGS/DT_FLAGS_1 with zero flags.
34862         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
34863         linker script munging.
34865 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
34867         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
34868         as 128-bit value.
34869         * crypt/sha512.c (sha512_process_block): Perform total addition using
34870         128-bit if possible.
34871         (__sha512_finish_ctx): Likewise.
34872         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
34873         as 64-bit value.
34874         * crypt/sha256.c (SWAP64): Define.
34875         (sha256_process_block): Perform total addition using 64-bit if
34876         possible.
34877         (__sha256_finish_ctx): Likewise.
34879 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
34881         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
34882         * nscd/initgrcache.c (addinitgroupsX): Likewise.
34883         * nscd/hstcache.c (cache_addhst): Likewise.
34884         * nscd/grpcache.c (cache_addgr): Likewise.
34885         * nscd/aicache.c (addhstaiX): Likewise
34886         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
34888 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
34890         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
34891         * nscd/initgrcache.c (addinitgroupsX): Likewise.
34892         * nscd/hstcache.c (cache_addhst): Likewise.
34893         * nscd/grpcache.c (cache_addgr): Likewise.
34894         * nscd/aicache.c (addhstaiX): Likewise
34896 2011-07-01  Andreas Schwab  <schwab@redhat.com>
34898         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
34899         domain only when needed.
34901 2011-06-30  Andreas Schwab  <schwab@redhat.com>
34903         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
34904         is always restored.
34906 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
34908         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
34909         are re-adding the entry.
34910         * nscd/servicescache.c (cache_addserv): Likewise.
34912 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
34914         * sysdeps/generic/dl-irel.h: fix protection against multiple
34915         inclusions.
34916         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
34918 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
34920         [BZ #12935]
34921         * malloc/memusage.sh: Fix quoting in message.
34922         * debug/xtrace.sh: Likewise.
34924         * configure.in: Remove support for --experimental-malloc option, make
34925         it the default.
34926         * config.make.in: Likewise.
34927         * malloc/Makefile: Likewise.
34929 2011-06-27  Andreas Schwab  <schwab@redhat.com>
34931         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
34932         two-byte characters.
34934 2011-06-27  Roland McGrath  <roland@hack.frob.com>
34936         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
34937         AC_CACHE_CHECK invocation.
34938         * configure: Regenerated.
34940         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
34942 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
34944         [BZ #12350]
34945         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
34946         bit from old_res_options.
34948         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
34950         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
34951         value type for setfct.
34953 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
34955         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
34956         __gettimeofday instead of gettimeofday.
34958 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
34960         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
34962 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
34964         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
34966         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
34967         info.
34969 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
34971         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34972         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
34973         strcpy-sse2-unaligned strncpy-sse2-unaligned
34974         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
34975         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
34976         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
34977         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
34978         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
34979         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
34980         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
34981         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
34982         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
34983         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
34984         (STRCPY): Support SSE2 and SSSE3 versions.
34986 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
34988         [BZ #12874]
34989         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
34990         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
34991         kernels which artificially limit size of requests.
34993 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
34995         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34996         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
34997         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
34998         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
34999         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
35000         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
35001         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
35002         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
35003         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
35004         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
35005         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
35006         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
35007         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
35008         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
35009         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
35010         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35011         Enable unaligned load optimization for Intel Core i3, i5 and i7
35012         processors.
35013         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
35014         Define.
35015         (index_Fast_Unaligned_Load): Define.
35016         (HAS_FAST_UNALIGNED_LOAD): Define.
35018 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
35020         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
35022 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
35024         [BZ #12907]
35025         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
35026         until it is clear that the information is realy needed.
35027         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
35029 2011-06-22  Andreas Schwab  <schwab@redhat.com>
35031         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
35033 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
35035         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35036         /sys/devices/system/cpu/online if it is usable.
35038         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
35039         reading the information from the /proc filesystem to once a second.
35041 2011-06-21  Andreas Jaeger  <aj@suse.de>
35043         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
35044         NULL after inclusion of kernel headers.
35046 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
35048         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
35049         calls to internal_setent.
35051         [BZ #12885]
35052         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
35053         addresses using gethostbyname4_r ignore IPv4 addresses.
35055         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
35056         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
35058         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
35060 2011-06-20  David S. Miller  <davem@davemloft.net>
35062         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
35063         inclusions.
35064         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
35066         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
35067         (elf_irel): Use it.
35068         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
35069         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
35070         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
35071         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
35072         * sysdeps/x86_64/dl-irel.h: Likewise.
35074         * elf/dl-runtime.c: Use elf_ifunc_invoke.
35075         * elf/dl-sym.c: Likewise.
35077 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
35079         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
35080         need to dereference resplen2.
35082 2011-06-14  Andreas Schwab  <schwab@redhat.com>
35084         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
35086 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
35088         * Makeconfig: Define vardbdir and inst_vardbdir.
35089         * nss/Makefile: Add rules to install db-Makefile.
35091         * nss/nss_db/db-XXX.c: Cleanup.
35093         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
35094         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
35095         GLIBC_PRIVATE.
35096         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
35097         * nss/makedb.c: Implement -g option to specify that value strings
35098         are generated and should not be added to table iterated over for
35099         get*ent calls.
35100         * nss/nss_db/db-initgroups.c: New file.
35102         * nss/getent.c: Add support for initgroups lookups through getgrouplist
35103         interface.
35105         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
35106         (internal_getgrouplist): Adjust to name change.
35107         Update use_initgroups_entry if this is not the first call.
35108         * nss/databases.def: Add initgroups entry.
35110         * nss/makedb.c (compute_tables): Check result of multiple hash table
35111         sizes to minimize maximum chain length.
35113 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
35115         * Versions.def: Add entry for libnss_db.
35116         * shlib-versions: Likewise.
35117         * nss/Makefile: Add rules to build libnss_db.
35118         * nss/Versions: Add libnss_db information.  Organize libnss_files
35119         entries better.
35120         * nss/db-Makefile: Add gshadow support.  Change rules for the new
35121         makedb progra.  Some minor improvements to generate smaller files.
35122         * nss/nss_db/nss_db.h: Move NSS database header data structures to
35123         here from...
35124         * nss/makedb.c: ...here.
35125         Improve database format to be smaller and require less memory at
35126         runtime.
35127         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
35128         db anymore.
35129         * nss/nss_db/db-netgrp.c: Likewise.
35130         * nss/nss_db/db-open.c: Likewise.
35131         * nss/nss_files/flies-XXX.x: Adjust comments.
35132         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
35133         * nss/nss_files/files-grp.c: Likewise.
35134         * nss/nss_files/files-hosts.c: Likewise.
35135         * nss/nss_files/files-network.c: Likewise.
35136         * nss/nss_files/files-proto.c: Likewise.
35137         * nss/nss_files/files-pwd.c: Likewise.
35138         * nss/nss_files/files-rpc.c: Likewise.
35139         * nss/nss_files/files-service.c: Likewise.
35140         * nss/nss_files/files-sgrp.c: Likewise.
35141         * nss/nss_files/files-spwd.c: Likewise.
35142         * nss/nss_db/db-alias.c: Removed.
35143         * nss/nss_db/dummy-db.h: Removed.
35145 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
35147         * nss/makedb.c: Rewritten to not use database library.
35148         * nss/Makefile: Update to build new makedb program.
35150 2011-06-14  Andreas Jaeger  <aj@suse.de>
35152         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
35153         memset declaration.
35155 2011-06-10  Andreas Schwab  <schwab@redhat.com>
35157         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
35158         tmpbuf.
35160 2011-06-10  Roland McGrath  <roland@hack.frob.com>
35162         * Makerules (shlib.lds): Fail if the linker script comes out empty.
35163         * elf/Makefile ($(objpfx)ld.so): Likewise.
35165         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
35166         Don't list ld.so twice in dependencies.
35168         * posix/bug-regex31.c: Include <stdlib.h>.
35170         * nscd/hstcache.c (cache_addhst): Remove unused variable.
35172         * nis/nss_compat/compat-spwd.c
35173         (getspent_next_nss_netgr): Remove unused variable.
35174         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
35176         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
35177         nonmembers" output to use the right array.
35179         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
35181         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
35183         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
35184         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
35185         * catgets/gencat.c (read_input_file): Likewise.
35186         * locale/programs/locarchive.c (enlarge_archive): Likewise.
35188         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
35189         variable definition inside #if's controlling its use.
35191         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
35193         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
35195         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
35197         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
35198         unreachable code.
35200         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
35202         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
35203         * configure: Regenerated.
35205         * Makerules: Revert last change.
35206         * elf/Makefile: Likewise.
35208 2011-06-09  Roland McGrath  <roland@hack.frob.com>
35210         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
35211         * elf/Makefile ($(objpfx)librtld.os): Likewise.
35212         (reloc-link): Likewise.
35214 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
35216         * elf/Makefile: Add rules to build pldd.
35217         * elf/pldd.c: New file.
35218         * elf/pldd-xx.c: New file.
35220 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
35222         * version.h: Update for 2.15 development version.
35224 2011-06-07  David S. Miller  <davem@davemloft.net>
35226         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
35227         ifuncs.
35228         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
35229         elf_machine_lazy_rel): Likewise.
35230         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
35231         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
35232         elf_machine_lazy_rel): Likewise.
35233         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
35234         dl_hwcap via passed in argument.
35235         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
35236         Likewise.
35238 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35240         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
35242 2011-06-06  Roland McGrath  <roland@hack.frob.com>
35244         [BZ #12849]
35245         * manual/fdl-1.1.texi: New file, verbatim from:
35246         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
35247         * manual/lgpl-2.1.texi: New file, verbatim from:
35248         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
35249         * manual/Makefile (licenses): New variable, list those new file names.
35250         (texis): Use it.
35251         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
35253         * manual/fdl.texi: File removed.
35254         * manual/lesser.texi: File removed.
35255         * manual/libc.texinfo (Copying, Documentation License):
35256         Use new @include file names, put @appendix directive before @include.
35258 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
35260         [BZ #12841]
35261         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
35262         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
35263         (mq_open): Add __NTH.
35265 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
35267         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35268         Assume Intel Core i3/i5/i7 processor if AVX is available.
35270 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
35272         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
35273         typo.
35275 2011-05-31  Andreas Schwab  <schwab@redhat.com>
35277         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
35278         memory.  Use alloca_account.  Fix memory leak when retrying.
35280 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
35282         * version.h (RELEASE): Bump for 2.14 release.
35283         * include/features.h (__GLIBC_MINOR__): Bump to 14.
35285         * config.make.in (RANLIB): Remove entry.
35287 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
35289         * po/Makefile (po-sed-cmd): Add ksh to extensions.
35290         (libc.pot): Work around missing support for .ksh extension in xgettext.
35292         [BZ #12684]
35293         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
35294         if both request failed.
35295         (send_dg): In case of server errors clear resplen or *resplen2.
35297         [BZ #12454]
35298         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
35299         when there are multiple maps.
35300         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
35301         (_dl_fini): Remove test here.
35303         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
35305 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
35307         [BZ #12350]
35308         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
35309         bit from old_res_options.
35310         (gaih_inet): Likewise.
35312         [BZ #11099]
35313         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
35314         as signed.
35316         * resolv/res_init.c (res_setoptions): Make the code more compact.
35318         [BZ #11558]
35319         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
35320         set RES_USEVC.
35322         [BZ #11634]
35323         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
35325         * malloc/malloc.h: Mark malloc hook variables as deprecated.
35327         [BZ #11781]
35328         * malloc/malloc.h: Declare malloc hook variables as volatile.
35330         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
35331         in last patch.
35333         [BZ #11799]
35334         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
35335         raise in the comment.
35336         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
35337         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
35338         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
35340 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
35342         [BZ #12811]
35343         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
35344         grow the buffers more if it already has to be sufficient.
35345         (build_wcs_upper_buffer): Likewise.
35346         * posix/regexec.c (check_matching): Likewise.
35347         (clean_state_log_if_needed): Likewise.
35348         (extend_buffers): Don't enlarge buffers beyond size of the input
35349         buffer.
35350         Patches mostly by Emil Wojak <emil@wojak.eu>.
35351         * posix/bug-regex32.c: New file.
35352         * posix/Makefile (tests): Add bug-regex32.
35354         * locale/findlocale.c (_nl_find_locale): Return right away if
35355         _nl_explode_name failed.
35356         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
35358         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
35360         * debug/xtrace.sh: Unify messages.
35361         * malloc/memusage.sh: Likewise.
35363         [BZ #12813]
35364         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
35365         time symbol from vDSO.  Substitute with vsyscall if not available.
35366         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
35367         __vdso_time.
35369         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
35370         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
35371         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
35372         Add sendmmsg and internal_sendmmsg.
35373         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
35374         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
35375         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
35377         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
35378         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
35379         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
35381 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
35383         [BZ #12813]
35384         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
35385         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
35386         available.
35387         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
35388         __vdso_getcpu.
35390         [BZ #12814]
35391         * iconvdata/Makefile (tests): Add bug-iconv9.
35392         * iconvdata/bug-iconv9.c: New file.
35394 2011-05-27  Andreas Schwab  <schwab@redhat.com>
35396         [BZ #12814]
35397         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
35399 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
35401         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
35402         (struct user_regs_struct): Change intcs field back to cs.
35404 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
35406         * po/ja.po: Update from translation team.
35408 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
35410         [BZ #12795]
35411         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
35412         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
35414 2011-05-20  Andreas Schwab  <schwab@redhat.com>
35416         * stdlib/longlong.h: Update from GCC.
35418 2011-05-23  Andreas Schwab  <schwab@redhat.com>
35420         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
35421         parameter name.
35422         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
35423         Add parameter name.
35424         (__sysconf): Pass it down.
35426 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
35428         [BZ #12671]
35429         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
35430         some situations.
35431         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
35432         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
35433         add in in __libc_use_alloca calls.  Adjust callers.
35434         (glob): Use malloc in some situations.
35436         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
35437         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
35438         pltexit.
35440 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
35442         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
35443         and CLOCK_BOOTTIME_ALARM.
35445         [BZ #12782]
35446         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
35447         is returned.
35449         * string/_strerror.c (__strerror_r): Print negative errors as signed
35450         numbers.
35452         [BZ #12777]
35453         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
35454         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
35455         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
35457         * configure.in: Fix typo in redirection and correct removal of test
35458         files in two cases.
35460         [BZ #12788]
35461         * locale/setlocale.c (new_composite_name): Fix test to check for
35462         identical name of all categories.
35464         [BZ #12792]
35465         * libio/filedoalloc.c (local_isatty): New function.
35466         (_IO_file_doallocate): Use local_isatty.
35467         * stdio-common/perror.c (perror): In case a new stream is used
35468         forward the stream error.
35469         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
35470         error flag.
35472 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
35474         [BZ #11869]
35475         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
35476         alloca.
35477         * include/alloca.h (extend_alloca_account): Define.
35479         [BZ #11857]
35480         * posix/regex.h: Fix comments with documentation of user-accessible
35481         fields after compilation and describe correct free'ing of pattern
35482         after re_compile_pattern.
35483         Patch by Reuben Thomas <rrt@sc3d.org>.
35485 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
35487         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
35488         and -mno-altivec to prevent the compiler from using Altivec and/or
35489         VSX instructions when the corresponding registers are not available.
35491 2011-05-19  Andreas Schwab  <schwab@redhat.com>
35493         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
35495 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
35497         * libio/freopen.c (freopen): Use __dup2, not dup2.
35498         * libio/freopen64.c (freopen64): Likewise.
35500 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
35502         [BZ #12775]
35503         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
35504         * math/Makefile (tests): Add test-powl.
35505         (CFLAGS-test-powl.c): Define.
35506         * math/test-powl.c: New file.
35508 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35510         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
35512 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
35514         [BZ #11837]
35515         * iconvdata/gb18030.c: Update to GB18020-2005.
35517 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
35519         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
35520         RE_SYNTAX_POSIX_AWK): Update to match recent development.
35521         Patch by Aharon Robbins <arnold@skeeve.com>.
35523         [BZ #11892]
35524         * stdlib/putenv.c (putenv): Don't always create copy of the variable
35525         on the stack.
35527         [BZ #11895]
35528         * misc/pselect.c (__pselect): Handle timeout value errors hidden
35529         through underflows.
35531         [BZ #12766]
35532         * misc/error.c (error_at_line): Ensure file_name and old_file_name
35533         point to strings before performing equality test for error_one_per_line
35534         mode.
35536         [BZ #11697]
35537         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
35539         [BZ #11820]
35540         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
35541         (struct user_fpregs_struct): Avoid __uint*_t types.
35543         [BZ #6420]
35544         * malloc/mtrace.c (tr_where): Add additional parameter to point to
35545         symbol info.  Use it instead of calling _dl_addr locally.
35546         (lock_and_info): New function.
35547         (tr_freehook): Call lock_and_info and pass symbol info as additional
35548         parameter to tr_where.
35549         (tr_mallochook): Likewise.
35550         (tr_reallochook): Likewise.
35551         (tr_memalignhook): Likewise.
35553         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
35554         used and couldn't be at all thread-safe.
35556 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
35558         * libio/freopen.c (freopen): Don't close old file descriptor
35559         before the new one is opened.  Instead dup the new file descriptor
35560         to the old one after the new stream is created.
35561         * libio/freopen64.c (freopen64): Likewise.
35562         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
35563         * libio/fileops.c (_IO_new_file_close_it): Handle new
35564         _IO_FLAGS2_NOCLOSE flag.
35565         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
35566         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
35567         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
35568         _IO_FLAGS2_NOCLOSE flag.
35569         * include/unistd.h: Add hidden_proto for dup3.
35570         Define __have_dup3.
35571         * io/dup3.c: Define hidden symbol.
35572         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
35574         [BZ #7101]
35575         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
35576         when an incomplete long option is used.
35577         * posix/tst-getopt_long1.c: New file.
35578         * posix/Makefile (tests): Add tst-getopt_long1.
35580         [BZ #10138]
35581         * scripts/config.guess: Update from autoconf-2.68.
35582         * scripts/config.sub: Likewise.
35584         [BZ #10157]
35585         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
35586         tests into ...
35587         (has_cpuclock): ...this.  New function.
35588         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
35589         macro here based on has_cpuclock code.
35591         [BZ #10149]
35592         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35593         First byte (not low byte) is now always NUL.
35594         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
35596         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35597         Use non-cancelable interfaces.
35599         [BZ #9809]
35600         * locale/iso-639.def: Add entry for Sorani.
35602         [BZ #11901]
35603         * include/stdlib.h: Move include protection to the right place.
35604         Define abort_msg_s.  Declare __abort_msg with it.
35605         * stdlib/abort.c (__abort_msg): Adjust type.
35606         * assert/assert.c (__assert_fail_base): New function.  Majority
35607         of code from __assert_fail.  Allocate memory for __abort_msg with
35608         mmap.
35609         (__assert_fail): Now call __assert_fail_base.
35610         * assert/assert-perr.c: Remove bulk of implementation.  Use
35611         __assert_fail_base.
35612         * include/assert.hL Declare __assert_fail_base.
35613         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
35614         mmap.
35615         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
35617 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
35619         [BZ #11952]
35620         [BZ #12453]
35621         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
35622         until all modules are registered in the DTV.
35623         * elf/Makefile: Add rules to build and run tst-tls19.
35624         * elf/tst-tls19.c: New file.
35625         * elf/tst-tls19mod1.c: New file.
35626         * elf/tst-tls19mod2.c: New file.
35627         * elf/tst-tls19mod3.c: New file.
35628         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
35630         [BZ #12083]
35631         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
35632         correctly.
35634         [BZ #12601]
35635         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
35636         two-byte sequence errors.
35637         * iconvdata/Makefile (tests): Add bug-iconv8.
35638         * iconvdata/bug-iconv8.c: New file.
35640         [BZ #12626]
35641         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
35642         buf2 definition.
35644         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
35646         [BZ #12432]
35647         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
35648         (dummy_getcfa): New function.
35649         (init): Get _Unwind_GetCFA address, use dummy if not found.
35650         (backtrace_helper): In recursion check, also check whether CFA changes.
35651         (__backtrace): Completely initialize arg.
35653         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
35654         storing incomplete byte sequence in state object.  Avoid testing for
35655         guaranteed too small input if we know there is enough data available.
35657 2011-05-11  Andreas Schwab  <schwab@redhat.com>
35659         * Makeconfig (+link-pie): Indent.
35660         * Rules (binaries-pie): Define if $(have-fpie) and
35661         $(build-shared).
35662         (binaries-shared): Also filter out $(binaries-pie).
35663         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
35664         * nscd/Makefile (others-pie): Add nscd.
35665         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
35666         ($(objpfx)nscd): Remove command override.
35667         * login/Makefile (others-pie): Add pt_chown.
35668         ($(objpfx)pt_chown): Remove command override.
35669         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
35670         remove command overrides.
35672 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
35674         * libio/tst_putwc.c: Fix error messages.
35676         [BZ #12724]
35677         * libio/fileops.c (_IO_new_file_close_it): Always flush when
35678         currently writing and seek to current position when not.
35679         * libio/Makefile (tests): Add bug-fclose1.
35680         * libio/bug-fclose1.c: New file.
35682 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
35684         [BZ #12511]
35685         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
35686         don't set DF_1_NODELETE here.
35687         (do_lookup_x): When entering new entry test for copy relocation
35688         and if necessary set DF_1_NODELETE flag.
35689         * elf/tst-unique4.cc: New file.
35690         * elf/tst-unique4.h: New file.
35691         * elf/tst-unique4lib.cc: New file.
35692         * elf/Makefile: Add rules to build and run tst-unique4.
35693         Patch by Piotr Bury <pbury@goahead.com>.
35695 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
35697         [BZ #12052]
35698         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
35700         [BZ #12625]
35701         * misc/mntent_r.c (addmntent): Flush the stream after the output
35703         [BZ #12393]
35704         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
35705         (is_trusted_path_normalize): Skip initial colon.  Append slash
35706         to empty buffer.  Duplicate is_trusted_path code but allow
35707         constructed patch to be prefix.
35708         (is_dst): Allow $ORIGIN followed by /.
35709         (_dl_dst_substitute): Correct clearing of check_for_trusted.
35710         Correct testing of result of is_trusted_path_normalize
35711         (decompose_rpath): Fix warning.
35713 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
35715         [BZ #11257]
35716         * grp/initgroups.c (internal_getgrouplist): When we found the service
35717         list through the initgroups entry in nsswitch.conf do not always
35718         continue on a successful lookup.  Don't always use the
35719         __nss_group_database value if it is set.
35720         * nss/nsswitch.conf (initgroups): Change action for successful db
35721         lookup to continue for compatibility.
35723 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
35725         [BZ #11532]
35726         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
35727         and CP774 modules.
35728         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
35729         and CP774 modules.
35730         * iconvdata/tst-tables.sh: Likewise.
35731         * iconvdata/cp770.c: New file.
35732         * iconvdata/cp771.c: New file.
35733         * iconvdata/cp772.c: New file.
35734         * iconvdata/cp773.c: New file.
35735         * iconvdata/cp774.c: New file.
35736         * iconvdata/testdata/CP770: New file.
35737         * iconvdata/testdata/CP770..UTF8: New file.
35738         * iconvdata/testdata/CP771: New file.
35739         * iconvdata/testdata/CP771..UTF8: New file.
35740         * iconvdata/testdata/CP772: New file.
35741         * iconvdata/testdata/CP772..UTF8: New file.
35742         * iconvdata/testdata/CP773: New file.
35743         * iconvdata/testdata/CP773..UTF8: New file.
35744         * iconvdata/testdata/CP774: New file.
35745         * iconvdata/testdata/CP774..UTF8: New file.
35747         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
35748         END CHARMAP line.
35749         * iconvdata/gen-8bit-gap.sh: Likewise.
35750         * iconvdata/gen-8bit.sh: Likewise.
35752         * locale/iso-639.def: Add ary entry.
35754         [BZ #11258]
35755         * locale/C-translit.h.in: Add U20A1 transliteration.
35757         [BZ #12178]
35758         * locale/iso-639.def: Add wae entry.
35759         Patch by Kevin Bortis <bortis@translate-wae.ch>.
35761         [BZ #12545]
35762         * locale/programs/localedef.c (construct_output_path): Use ssize_t
35763         for n.
35765         [BZ #12711]
35766         * locale/C-translit.h.in: Add entry for U20B9.
35767         Patch by pravin.d.s@gmail.com.
35769 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
35771         [BZ #12713]
35772         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
35773         ENAMETOOLONG use generic getcwd.
35774         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
35775         in rtld.  Use *stat64.
35776         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
35777         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
35778         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
35779         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
35780         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
35781         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
35782         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
35783         __fstatat64 macros.
35784         * include/dirent.h: Add libc_hidden_proto for rewinddir.
35785         * dirent/rewinddir.c: Add libc_hidden_def.
35786         * sysdeps/mach/hurd/rewinddir.c: Likewise.
35787         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
35789         * include/dirent.h (__alloc_dir): Add flags parameter.
35790         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
35791         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
35792         __alloc_dir.
35793         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
35794         from fdopendir if O_CLOEXEC is already set.
35796 2011-03-15  Alan Modra  <amodra@gmail.com>
35798         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
35799         l_tls_firstbyte_offset non-zero.  Save padding offset in
35800         l_tls_firstbyte_offset for later use.
35801         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
35802         freeing static tls block.
35804 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
35806         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
35807         where #ifdef was intended.  The intent is to prevent ARG_MAX from
35808         being defined by the kernel headers.
35810 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
35812         [BZ #12734]
35813         * resolv/resolv.h: Define RES_NOTLDQUERY.
35814         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
35815         no-tld-query and set RES_NOTLDQUERY.
35816         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
35817         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
35818         modern BIND to search name as TLD unless forbidden.
35820 2011-05-07  Petr Baudis  <pasky@suse.cz>
35821             Ulrich Drepper  <drepper@gmail.com>
35823         [BZ #12393]
35824         * elf/dl-load.c (fillin_rpath): Move trusted path check...
35825         (is_trusted_path): ...to here.
35826         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
35827         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
35828         using is_trusted_path_normalize() in setuid scripts.
35830 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
35832         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
35833         __BEGIN/__END_DECLS.
35835 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
35837         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
35838         NSS_STATUS_NOTFOUND if no record was found.
35840 2011-05-05  Andreas Schwab  <schwab@redhat.com>
35842         * sunrpc/Makefile (headers): Add rpc/netdb.h.
35843         (headers-not-in-tirpc): Remove rpc/netdb.h
35844         * resolv/netdb.h: Revert last change.
35846 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
35848         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
35849         circular dependency between libgcc.a and libc.a.
35851 2011-05-05  Andreas Schwab  <schwab@redhat.com>
35853         * resolv/netdb.h: Don't include <rpc/netdb.h>.
35854         * nis/Makefile: Don't install rpcsvc/*.
35855         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
35856         instead of <rpc/types.h>.
35857         (MAXHOSTNAMELEN): Define.
35859 2011-05-03  Andreas Schwab  <schwab@redhat.com>
35861         * elf/ldconfig.c (add_dir): Don't crash on empty path.
35863 2011-04-28  Maciej Babinski  <mbabinski@google.com>
35865         [BZ #12714]
35866         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
35867         gethostbyname4_r when IPv6 results are possible.
35869 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
35871         [BZ #12723]
35872         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
35873         _PC_PIPE_BUF handling.
35875 2011-04-30  Bruno Haible  <bruno@clisp.org>
35877         [BZ #12717]
35878         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
35879         * resolv/netdb.h (getnameinfo): Change type of flags parameter
35880         to 'int'.
35881         * inet/getnameinfo.c (getnameinfo): Likewise.
35883 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
35885         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
35886         to groups setting in database lookup.
35887         * nss/nsswitch.conf: Add initgroups entry.
35889 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
35891         [BZ #12685]
35892         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
35893         mode string.
35894         Patch by Eric Blake <eblake@redhat.com>.
35896 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
35898         * sunrpc/Makefile (need-export-routines): Add svc_run.
35899         (routines): Remove svc_run.
35900         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
35901         * sunrpc/clnt_perr.c (clnt_perrno): Export.
35902         * sunrpc/svc_run.c (svc_run): Likewise.
35903         * sunrpc/svc_udp.c (svcudp_create): Likewise.
35905 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
35907         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
35908         problem in reallocation in last patch.
35910 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
35912         * sunrpc/Makefile: Move inclusion of Rules.
35914 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
35916         * nss/nss_files/files-initgroups.c: New file.
35917         * nss/Makefile (libnss_files-routines): Add files-initgroups.
35918         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
35919         _nss_files_initgroups_dyn.
35921 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
35923         * elf/elf.h (R_ARM_IRELATIVE): Define.
35925 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
35927         * po/ru.po: Update from translation team.
35929 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
35931         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
35932         dependencies.
35934 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
35936         [BZ #12653]
35937         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
35938         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
35939         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35940         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
35941         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
35943 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
35945         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
35946         differing bytes.
35947         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
35948         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
35949         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
35951 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
35953         [BZ #12420]
35954         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
35955         storing it.
35956         * stdlib/bug-getcontext.c: New file.
35957         * stdlib/Makefile: Add rules to build and run bug-getcontext.
35959 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35961         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
35962         instructions into .machine "z9-109".
35963         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
35964         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
35966 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35968         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
35969         between environment variables and auxiliary vector.
35971 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
35973         * Makefile: Add rules to build linkobj/libc.so.
35974         * include/libc-symbols.h: Define libc_hidden_nolink.
35975         * include/rpc/auth.h: Mark functions which are to be hidden.
35976         * include/rpc/auth_des.h: Likewise.
35977         * include/rpc/auth_unix.h: Likewise.
35978         * include/rpc/clnt.h: Likewise.
35979         * include/rpc/des_crypt.h: Likewise.
35980         * include/rpc/key_prot.h: Likewise.
35981         * include/rpc/pmap_clnt.h: Likewise.
35982         * include/rpc/pmap_prot.h: Likewise.
35983         * include/rpc/pmap_rmt.h: Likewise.
35984         * include/rpc/rpc_msg.h: Likewise.
35985         * include/rpc/svc.h: Likewise.
35986         * include/rpc/svc_auth.h: Likewise.
35987         * include/rpc/xdr.h: Likewise.
35988         * nis/Makefile: Link all DSOs against linkobj/libc.so.
35989         * nss/Makefile: Likewise.
35990         * sunrpc/Makefile: Don't install headers.  Build library with normal
35991         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
35992         * sunrpc/auth_des.c: Hide exported symbols by default, export some
35993         for the compat linking library.  Remove use of INTDEF/INTUSE.
35994         * sunrpc/auth_none.c: Likewise.
35995         * sunrpc/auth_unix.c: Likewise.
35996         * sunrpc/authdes_prot.c: Likewise.
35997         * sunrpc/authuxprot.c: Likewise.
35998         * sunrpc/clnt_gen.c: Likewise.
35999         * sunrpc/clnt_perr.c: Likewise.
36000         * sunrpc/clnt_raw.c: Likewise.
36001         * sunrpc/clnt_simp.c: Likewise.
36002         * sunrpc/clnt_tcp.c: Likewise.
36003         * sunrpc/clnt_udp.c: Likewise.
36004         * sunrpc/clnt_unix.c: Likewise.
36005         * sunrpc/des_crypt.c: Likewise.
36006         * sunrpc/des_soft.c: Likewise.
36007         * sunrpc/get_myaddr.c: Likewise.
36008         * sunrpc/key_call.c: Likewise.
36009         * sunrpc/key_prot.c: Likewise.
36010         * sunrpc/netname.c: Likewise.
36011         * sunrpc/pm_getmaps.c: Likewise.
36012         * sunrpc/pm_getport.c: Likewise.
36013         * sunrpc/pmap_clnt.c: Likewise.
36014         * sunrpc/pmap_prot.c: Likewise.
36015         * sunrpc/pmap_prot2.c: Likewise.
36016         * sunrpc/pmap_rmt.c: Likewise.
36017         * sunrpc/publickey.c: Likewise.
36018         * sunrpc/rpc_cmsg.c: Likewise.
36019         * sunrpc/rpc_common.c: Likewise.
36020         * sunrpc/rpc_dtable.c: Likewise.
36021         * sunrpc/rpc_prot.c: Likewise.
36022         * sunrpc/rpc_thread.c: Likewise.
36023         * sunrpc/rtime.c: Likewise.
36024         * sunrpc/svc.c: Likewise.
36025         * sunrpc/svc_auth.c: Likewise.
36026         * sunrpc/svc_authux.c: Likewise.
36027         * sunrpc/svc_raw.c: Likewise.
36028         * sunrpc/svc_run.c: Likewise.
36029         * sunrpc/svc_simple.c: Likewise.
36030         * sunrpc/svc_tcp.c: Likewise.
36031         * sunrpc/svc_udp.c: Likewise.
36032         * sunrpc/svc_unix.c: Likewise.
36033         * sunrpc/svcauth_des.c: Likewise.
36034         * sunrpc/xcrypt.c: Likewise.
36035         * sunrpc/xdr.c: Likewise.
36036         * sunrpc/xdr_array.c: Likewise.
36037         * sunrpc/xdr_float.c: Likewise.
36038         * sunrpc/xdr_intXX_t.c: Likewise.
36039         * sunrpc/xdr_mem.c: Likewise.
36040         * sunrpc/xdr_rec.c: Likewise.
36041         * sunrpc/xdr_ref.c: Likewise.
36042         * sunrpc/xdr_sizeof.c: Likewise.
36043         * sunrpc/xdr_stdio.c: Likewise.
36045 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
36047         [BZ #12650]
36048         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
36049         * sysdeps/ia64/dl-tls.h: Likewise.
36050         * sysdeps/powerpc/dl-tls.h: Likewise.
36051         * sysdeps/s390/dl-tls.h: Likewise.
36052         * sysdeps/sh/dl-tls.h: Likewise.
36053         * sysdeps/sparc/dl-tls.h: Likewise.
36054         * sysdeps/x86_64/dl-tls.h: Likewise.
36055         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
36057 2011-03-14  Andreas Schwab  <schwab@redhat.com>
36059         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
36060         rpath element also skip the following colon.
36061         (expand_dynamic_string_token): Add is_path parameter and pass
36062         down to DL_DST_REQUIRED and _dl_dst_substitute.
36063         (decompose_rpath): Call expand_dynamic_string_token with
36064         non-zero is_path.  Ignore empty rpaths.
36065         (_dl_map_object_from_fd): Call expand_dynamic_string_token
36066         with zero is_path.
36068 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
36070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
36071         Make cancelable.
36073 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
36075         [BZ #12655]
36076         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
36077         Patch by Filipe David Manana <fdmanana@apache.org>.
36079 2011-04-07  Andreas Schwab  <schwab@redhat.com>
36081         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
36082         Maintain aligned stack.
36083         (CHECK_RSP): Remove unused macro.
36085 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
36087         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
36088         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
36090 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
36092         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
36094         * include/features.h: Mention __USE_XOPEN2K8 in comment.
36096 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
36098         [BZ #12518]
36099         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
36100         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
36101         * sysdeps/x86_64/memmove.c: New file.
36102         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
36103         (memcpy): Renamed to ...
36104         (__new_memcpy): This.
36105         (memcpy): Provide GLIBC_2_14 memcpy.
36106         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
36107         (memcpy): Provide GLIBC_2_2_5 memcpy.
36109 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
36111         [BZ #12631]
36112         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
36114 2011-03-30  Andreas Schwab  <schwab@redhat.com>
36116         * misc/syncfs.c: New file.
36117         * misc/Makefile (routines): Add syncfs.
36118         * posix/unistd.h: Declare syncfs.
36119         * sysdeps/unix/syscalls.list: Add syncfs.
36121 2011-04-01  Andreas Schwab  <schwab@redhat.com>
36123         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
36124         open_by_handle_at.
36125         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
36126         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36127         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36128         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36129         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36130         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
36131         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36133 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
36135         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
36136         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36137         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
36138         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36139         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36140         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36141         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36143         * io/Makefile: Compile fallocate.c, fallocate64.c, and
36144         sync_file_range.c with -fexceptions.
36145         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
36146         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
36147         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
36148         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
36149         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
36150         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
36151         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
36152         sync_file_range as cancellation point
36153         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
36154         now a wrapper around __call_sync_file_range with cancellation handling.
36155         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
36156         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
36157         function name to __call_sync_file_range.
36158         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
36159         Add call_sync_file_range.
36161 2011-04-01  Andreas Schwab  <schwab@redhat.com>
36163         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36164         bits/timex.h.
36166 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
36168         * iconv/iconv.h: Fix typo in comment.
36169         * io/fcntl.h: Likewise.
36170         * libio/stdio.h: Likewise.
36171         * posix/spawn.h: Likewise.
36172         * posix/unistd.h: Likewise.
36173         * stdlib/stdlib.h: Likewise.
36174         * time/time.h: Likewise.
36175         * wcsmbs/wchar.h: Likewise.
36177         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
36178         open_by_handle): Add.
36179         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
36180         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
36181         Augment a few comments.
36182         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36183         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36184         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36185         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36186         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36187         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
36188         open_by_handle.
36190         * io/fcntl.h (AT_EMPTY_PATH): Define.
36192 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
36194         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
36195         * sysdeps/unix/sysv/linux/bits/time.h: New file.
36196         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
36197         to...
36198         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
36199         * Versions.def: Add GLIBC_2.14.
36200         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
36201         Export.
36203 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
36205         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
36206         round counter.
36207         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36209 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
36211         [BZ #12597]
36212         * string/test-strncmp.c (do_page_test): New function.
36213         (check2): Likewise.
36214         (test_main): Call check2.
36215         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
36217 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
36219         [BZ #12587]
36220         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
36221         Handle cache information in CPU leaf 4.
36222         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36224 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
36226         [BZ #12583]
36227         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
36228         character representation.
36229         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
36231 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
36233         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
36234         END(__isnan) to END(__isnanf) to match function entry point/label
36235         EALIGN(__isnanf,...).
36237 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
36239         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
36241 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
36243         [BZ #12510]
36244         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
36245         copy from the symbol referenced in the relocation to initialize the
36246         used variable.
36247         Patch by Piotr Bury <pbury@goahead.com>.
36248         * elf/Makefile: Add rules to build and tst-unique3.
36249         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
36250         * elf/tst-unique3.cc: New file.
36251         * elf/tst-unique3.h: New file.
36252         * elf/tst-unique3lib.cc: New file.
36253         * elf/tst-unique3lib2.cc: New file.
36255         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
36257 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
36259         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
36260         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
36261         to _start.
36263 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
36265         * elf/dl-load.c (_dl_map_object): If we are looking for the first
36266         to-be-loaded object along a path to loader is ld.so.
36268 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
36269             Ulrich Drepper  <drepper@gmail.com>
36271         * sysdeps/x86_64/memset.S: After aligning destination, code
36272         branches to different locations depending on the value of
36273         misalignment, when multiarch is enabled. Fix this.
36275 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
36277         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
36278         Set _x86_64_preferred_memory_instruction for AMD processsors.
36279         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36280         Set bit_Prefer_SSE_for_memop for AMD processors.
36282 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
36284         * libio/fmemopen.c (fmemopen): Optimize a bit.
36286 2011-03-03  Andreas Schwab  <schwab@redhat.com>
36288         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
36290 2011-03-03  Roland McGrath  <roland@redhat.com>
36292         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
36294 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
36296         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
36297         __bzero_ultra1 instead of __memset_ultra1.
36299 2011-02-23  Andreas Schwab  <schwab@redhat.com>
36300             Ulrich Drepper  <drepper@gmail.com>
36302         [BZ #12509]
36303         * include/link.h (struct link_map): Add l_orig_initfini.
36304         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
36305         returning unsuccessfully.
36306         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
36307         close of a file loaded at startup, restore the original l_initfini
36308         list.
36309         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
36310         list, store the pointer.
36311         * elf/Makefile ($(objpfx)noload-mem): New rule.
36312         (noload-ENV): Define.
36313         (tests): Add $(objpfx)noload-mem.
36314         * elf/noload.c: Include <memcheck.h>.
36315         (main): Call mtrace.  Close all opened handles.
36317 2011-02-17  Andreas Schwab  <schwab@redhat.com>
36319         [BZ #12454]
36320         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
36321         dependencies are missing.
36323 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36325         Fix __if_freereq crash: Unlike the generic version which uses free,
36326         Hurd needs munmap.
36327         * sysdeps/mach/hurd/ifreq.h: New file.
36329 2011-01-27  Petr Baudis  <pasky@suse.cz>
36330             Ulrich Drepper  <drepper@gmail.com>
36332         [BZ 12445]#
36333         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
36334         to extend_alloca().
36335         * stdio-common/bug23.c: New file.
36336         * stdio-common/Makefile (tests): Add bug23.
36338 2010-09-28  Andreas Schwab  <schwab@redhat.com>
36339             Ulrich Drepper  <drepper@gmail.com>
36341         [BZ #12489]
36342         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
36343         before performing relro protection.  At old place add assertion
36344         to make sure nothing changed.
36346 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
36347             Glauber de Oliveira Costa  <glommer@gmail.com>
36349         * elf/elf.h: Add new ARM TLS relocs.
36351 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
36353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
36354         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
36355         cast from r3.
36356         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
36357         'tests' variable.
36358         * sysdeps/wordsize-64/tst-writev.c: New file.
36360 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
36362         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
36363         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
36364         insns in _dl_start to prevent a TOC reference before relocs are
36365         resolved.
36367 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
36369         [BZ #12469]
36370         * Makeconfig: Remove RANLIB definition.
36371         * Makerules: Don't use RANLIB.
36372         * aclocal.m4: Remove ranlib test.
36373         * configure.in: No need to check for ranlib.
36374         * elf/rtld-Rules: Don't use RANLIB.
36376 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36378         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
36379         protection macro.
36380         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
36381         inclusion protection macro.
36383         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
36384         SIGRTMIN and SIGRTMAX and print information in that case only when
36385         SIGRTMIN is defined.
36387 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
36389         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
36390         arginfo fn returning -1.
36392         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
36393         and thousands string is zero terminated.
36395 2011-02-03  Andreas Schwab  <schwab@redhat.com>
36397         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
36398         sysdeps/unix/sysv/linux/bits/socket.h.
36400 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36402         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
36403         (__CPU_COUNT): Remove old macros.
36404         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
36405         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
36406         (__CPU_ALLOC, __CPU_FREE): Add macros.
36407         (__sched_cpualloc, __sched_cpufree): Add declarations.
36409 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
36411         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
36412         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
36413         * nscd/aicache.c (addhstaiX): Return timeout of added value.
36414         (readdhstai): Return value of addhstaiX call.
36415         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
36416         (addgrbyX): Return value returned by cache_addgr.
36417         (readdgrbyname): Return value returned by addgrbyX.
36418         (readdgrbygid): Likewise.
36419         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
36420         (addpwbyX): Return value returned by cache_addpw.
36421         (readdpwbyname): Return value returned by addhstbyX.
36422         (readdpwbyuid): Likewise.
36423         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
36424         (addservbyX): Return value returned by cache_addserv.
36425         (readdservbyname): Return value returned by addservbyX:
36426         (readdservbyport): Likewise.
36427         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
36428         (addhstbyX): Return value returned by cache_addhst.
36429         (readdhstbyname): Return value returned by addhstbyX.
36430         (readdhstbyaddr): Likewise.
36431         (readdhstbynamev6): Likewise.
36432         (readdhstbyaddrv6): Likewise.
36433         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
36434         (readdinitgroups): Return value returned by addinitgroupsX.
36435         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
36436         (prune_cache): Keep track of timeout value of re-added entries.
36437         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
36438         * nscd/nscd.h: Adjust prototypes of readd* functions.
36440 2011-02-04  Roland McGrath  <roland@redhat.com>
36442         * nis/nis_server.c (nis_servstate): Use the right name for 0.
36443         (nis_stats): Likewise.
36444         * nis/nis_modify.c (nis_modify): Likewise.
36445         * nis/nis_remove.c (nis_remove): Likewise.
36446         * nis/nis_add.c (nis_add): Likewise.
36448         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
36450         * posix/fnmatch_loop.c: Add some consts.
36452         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
36454 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
36456         [BZ #12460]
36457         * config.make.in (config-cflags-novzeroupper): Define.
36458         * configure.in: Substitute libc_cv_cc_novzeroupper.
36459         * elf/Makefile (AVX-CFLAGS): Define.
36460         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
36461         (CFLAGS-tst-auditmod4a.c): Likewise.
36462         (CFLAGS-tst-auditmod4b.c): Likewise.
36463         (CFLAGS-tst-auditmod6b.c): Likewise.
36464         (CFLAGS-tst-auditmod6c.c): Likewise.
36465         (CFLAGS-tst-auditmod7b.c): Likewise.
36466         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
36468 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
36470         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
36471         function to the callback.
36472         Patch partly by Jiri Olsa <jolsa@redhat.com>.
36474 2011-02-02  Andreas Schwab  <schwab@redhat.com>
36476         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
36477         of errno.
36479 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
36481         [BZ #11724]
36482         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
36483         of constructors.
36484         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
36485         of destructors.
36486         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
36488         [BZ #11724]
36489         * elf/Makefile: Add rules to build and run new test.
36490         * elf/tst-initorder.c: New file.
36491         * elf/tst-initorder.exp: New file.
36492         * elf/tst-initordera1.c: New file.
36493         * elf/tst-initordera2.c: New file.
36494         * elf/tst-initordera3.c: New file.
36495         * elf/tst-initordera4.c: New file.
36496         * elf/tst-initorderb1.c: New file.
36497         * elf/tst-initorderb2.c: New file.
36498         * elf/tst-order-a1.c: New file.
36499         * elf/tst-order-a2.c: New file.
36500         * elf/tst-order-a3.c: New file.
36501         * elf/tst-order-a4.c: New file.
36502         * elf/tst-order-b1.c: New file.
36503         * elf/tst-order-b2.c: New file.
36504         * elf/tst-order-main.c: New file.
36505         New test case by George Gensure <werkt0@gmail.com>.
36507 2010-10-01  Andreas Schwab  <schwab@redhat.com>
36509         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
36510         decoding ACE if AI_CANONIDN.
36512 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
36514         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
36516 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
36518         * version.h (RELEASE): Bump for 2.13 release.
36519         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
36521         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
36523         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
36524         MADV_NOHUGEPAGE.
36525         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
36526         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
36527         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
36528         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
36529         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
36530         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
36532         * posix/getconf.c: Update copyright year.
36533         * catgets/gencat.c: Likewise.
36534         * csu/version.c: Likewise.
36535         * debug/catchsegv.sh: Likewise.
36536         * debug/xtrace.sh: Likewise.
36537         * elf/ldconfig.c: Likewise.
36538         * elf/ldd.bash.in: Likewise.
36539         * elf/sprof.c (print_version): Likewise.
36540         * iconv/iconv_prog.c: Likewise.
36541         * iconv/iconvconfig.c: Likewise.
36542         * locale/programs/locale.c: Likewise.
36543         * locale/programs/localedef.c: Likewise.
36544         * malloc/memusage.sh: Likewise.
36545         * malloc/mtrace.pl: Likewise.
36546         * nscd/nscd.c (print_version): Likewise.
36547         * nss/getent.c: Likewise.
36549         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
36550         PF_CAIF, and PF_ALG.
36551         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36553 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
36555         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
36556         (modules-names): Use them.
36557         (ifunc-test-modules, ifunc-pie-tests): Define.
36558         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
36559         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
36560         (test-extras): Likewise.
36561         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
36562         $(compile-command.c).
36563         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
36564         (all-built-dso): Define.
36565         (check-textrel.out, check-execstack.out): Depend on it.
36567         * configure.in: Don't override --enable-multi-arch.
36569 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
36571         [BZ #6812]
36572         * nscd/hstcache.c (tryagain): Define.
36573         (cache_addhst): Return tryagain not notfound for temporary errors.
36574         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
36575         failed.
36577 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
36579         [BZ #10563]
36580         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
36581         to make the syscall.
36582         * sysdeps/unix/sysv/linux/setgroups.c: New file.
36584         [BZ #12378]
36585         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
36586         and fall back to matching as normal character if the string ends before
36587         the matching ']' is found.  This is what POSIX requires.
36588         * posix/testfnm.c: Adjust test result.
36589         * posix/globtest.sh: Adjust test result.  Add new test.
36590         * posix/tst-fnmatch.input: Likewise.
36591         * posix/tst-fnmatch2.c: Add new test.
36593 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
36595         * elf/Makefile (check-execstack): Revert last change.  Depend on
36596         check-execstack.h.
36597         (check-execstack.h): New target.
36598         (generated): Add check-execstack.h.
36599         * elf/check-execstack.c: Include "check-execstack.h".
36600         (main): Revert last change.
36601         (handle_file): Return zero if GNU_STACK is absent and
36602         DEFAULT_STACK_PERMS doesn't include PF_X.
36604 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
36606         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
36607         in child fails because the descriptor is already closed.
36608         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
36609         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
36610         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
36612         [BZ #12397]
36613         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
36614         syscall.
36616         [BZ #10484]
36617         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
36618         temporary buffer used to handle multi lookups locally.
36619         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
36621 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
36623         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
36624         loader is ld.so.
36626 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
36628         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
36629         alignment for SSE2.
36631 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
36633         [BZ #12394]
36634         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
36635         characters.  When rounding increased number of integer digits recompute
36636         number of groups.
36637         * stdio-common/tst-grouping.c: New file.
36638         * stdio-common/Makefile: Add rules to build and run tst-grouping.
36640 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
36642         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
36643         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
36645         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
36646         void.
36647         * bits/select.h: Likewise.
36649 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
36651         * po/ja.po: Update from translation team.
36653 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
36655         [BZ #11155]
36656         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
36657         implementation just like for lxstat, fxstatat, et al.
36659 2010-12-27  Jim Meyering  <meyering@redhat.com>
36661         [BZ #12348]
36662         * posix/regexec.c (build_trtable): Return failure indication upon
36663         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
36665 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
36667         [BZ #12201]
36668         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
36669         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
36670         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
36671         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
36673         [BZ #12207]
36674         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
36676         [BZ #12204]
36677         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
36678         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
36680 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
36682         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
36683         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
36684         script has SORT_BY_INIT_PRIORITY.
36685         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
36686         NO_CTORS_DTORS_SECTIONS is defined.
36687         * elf/soinit.c: Likewise.
36688         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
36689         NO_CTORS_DTORS_SECTIONS is defined.
36690         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
36691         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
36692         * sysdeps/sh/init-first.c: Likewise.
36693         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
36695 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
36697         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
36698         always use the slow path.
36700 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
36702         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
36703         similar rule which adds the sysdep directories to the header search in
36704         order to pick up the correct platform stackinfo.h.
36705         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
36706         perform test if it is, otherwise return successfully without testing.
36707         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
36708         DEFAULT_STACK_PERMS define in stackinfo.h.
36709         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
36710         defined in stackinfo.h.
36711         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
36712         DEFAULT_STACK_PERMS defined in stackinfo.h.
36713         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
36714         * sysdeps/ia64/stackinfo.h: Likewise.
36715         * sysdeps/s390/stackinfo.h: Likewise.
36716         * sysdeps/sh/stackinfo.h: Likewise.
36717         * sysdeps/sparc/stackinfo.h: Likewise.
36718         * sysdeps/x86_64/stackinfo.h: Likewise.
36719         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
36720         PF_X for powerpc64.  Retain PF_X for powerpc32.
36722 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
36724         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
36725         accurately.
36726         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
36727         GETDENTS_64BIT_ALIGNED.
36729 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
36731         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
36733 2010-12-10  Andreas Schwab  <schwab@redhat.com>
36735         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
36736         _GNU_SOURCE.
36738         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
36739         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
36740         Remove __restrict.
36741         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
36742         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
36744 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
36746         [BZ #11655]
36747         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
36748         are initialized.
36750 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
36752         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
36754 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
36756         * po/it.po: Update from translation team.
36758 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
36760         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
36761         unused codes.
36763 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
36765         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
36767 2010-11-24  Andreas Schwab  <schwab@redhat.com>
36769         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
36770         specially.
36771         (gaih_getanswer_slice): Likewise.
36773 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
36775         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
36777 2010-05-31  Petr Baudis  <pasky@suse.cz>
36779         [BZ #11149]
36780         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
36781         silently even in the chroot mode.
36783 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
36785         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
36786         last patch a bit.  Pretty printing
36788 2010-05-31  Petr Baudis <pasky@suse.cz>
36790         [BZ #10085]
36791         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
36792         initialization of skip_initgroups_dyn.
36794 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
36796         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
36797         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
36799 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
36801         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
36803 2010-11-11  Andreas Schwab  <schwab@redhat.com>
36805         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
36806         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
36807         (tst-fnmatch-ENV): Set MALLOC_TRACE.
36808         ($(objpfx)tst-fnmatch-mem): New rule.
36809         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
36810         * posix/tst-fnmatch.c (main): Call mtrace.
36812 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
36814         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36815         Support Intel processor model 6 and model 0x2c.
36817 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
36819         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
36820           signed comparison.
36822 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
36824         [BZ #12205]
36825         * string/test-strncasecmp.c (check_result): New function.
36826         (do_one_test): Use it.
36827         (check1): New function.
36828         (test_main): Use it.
36829         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
36830         Support strcasecmp and strncasecmp.
36832 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
36834         [BZ #12194]
36835         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
36836         * sysdeps/x86_64/bits/byteswap.h: Likewise.
36838 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
36840         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
36841         IFUNC support.
36842         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36843         memset-x86-64.
36844         * sysdeps/x86_64/multiarch/bzero.S: New file.
36845         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
36846         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
36847         * sysdeps/x86_64/multiarch/memset.S: New file.
36848         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
36849         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36850         Set bit_Prefer_SSE_for_memop for Intel processors.
36851         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
36852         Define.
36853         (index_Prefer_SSE_for_memop): Define.
36854         (HAS_PREFER_SSE_FOR_MEMOP): Define.
36856 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
36858         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
36859         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
36861 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
36863         [BZ #12191]
36864         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
36865         (__x86_64_raw_data_cache_size_half): Likewise.
36866         (__x86_64_raw_shared_cache_size): Likewise.
36867         (__x86_64_raw_shared_cache_size_half): Likewise.
36869         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
36870         (__x86_64_raw_data_cache_size_half): Likewise.
36871         (__x86_64_raw_shared_cache_size): Likewise.
36872         (__x86_64_raw_shared_cache_size_half): Likewise.
36873         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
36874         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
36875         and __x86_64_raw_shared_cache_size_half.  Round
36876         __x86_64_data_cache_size_half, __x86_64_data_cache_size
36877         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
36878         to multiple of 256 bytes.
36880 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
36882         [BZ #12167]
36883         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
36884         of inacessible symlinks.  Verify result of symlink before returning it.
36885         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
36886         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
36888 2010-10-28  Erich Ritz  <erichritz@gmail.com>
36890         * math/math.h (isinf): Fix typo in comment.
36892 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
36894         * po/da.po: Update from translation team.
36896 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
36898         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
36899         is added to the list.
36901 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36902             Ulrich Drepper  <drepper@gmail.com>
36904         * elf/dl-object.c (_dl_new_object): Don't append the new object to
36905         the global list here.  Move code to...
36906         (_dl_add_to_namespace_list): ...here.  New function.
36907         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
36908         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
36909         * elf/dl-load.c (lose): Don't remove the element from the list.
36910         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
36911         (_dl_map_object): Likewise.
36913 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
36915         [BZ #12159]
36916         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
36917         into all bytes of SSE register.
36918         Patch by Richard Li <richardpku@gmail.com>.
36920 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
36922         [BZ #12140]
36923         * malloc/malloc.c (_int_free): Fill correct number of bytes when
36924         perturbing.
36926 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
36928         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
36929         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
36930         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
36931         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
36932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
36933         submachine.
36934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
36936 2010-10-22  Andreas Schwab  <schwab@redhat.com>
36938         * include/dlfcn.h (__RTLD_SECURE): Define.
36939         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
36940         mode & __RTLD_SECURE instead.
36941         (open_path): Rename preloaded parameter to secure.
36942         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
36943         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
36944         * elf/dl-deps.c (openaux): Likewise.
36945         * elf/rtld.c (struct map_args): Remove is_preloaded.
36946         (map_doit): Don't use it.
36947         (dl_main): Likewise.
36948         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
36949         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
36951 2010-09-09  Andreas Schwab  <schwab@redhat.com>
36953         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
36954         (sysd-rules-targets): Remove duplicates.
36955         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
36956         rtld-%.$o dependency.
36958 2010-10-18  Andreas Schwab  <schwab@redhat.com>
36960         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
36961         _dl_map_object do it.
36963 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
36965         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
36966         fast fma builtins, define the macros in the C99 standard.
36967         (FP_FAST_FMAF): Likewise.
36968         (FP_FAST_FMAL): Likewise.
36969         * sysdeps/x86_64/bits/mathdef.h: Likewise.
36971         * bits/mathdef.h: Update copyright year.
36972         * sysdeps/powerpc/bits/mathdef.h: Likewise.
36974 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
36976         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
36977         builtins, define the macros in the C99 standard.
36978         (FP_FAST_FMAF): Likewise.
36979         (FP_FAST_FMAL): Likewise.
36980         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
36981         multiply/add.
36982         (FP_FAST_FMAF): Likewise.
36984 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
36986         [BZ #3268]
36987         * math/libm-test.inc (fma_test): Some new testcases.
36988         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
36989         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
36990         y and infinite z.  Do multiplication by C already in long double.
36991         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
36992         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
36993         y and infinite z.  Do bitwise or of inexact bit into u.d.
36994         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
36995         * sysdeps/i386/fpu/s_fmaf.S: Removed.
36996         * sysdeps/i386/fpu/s_fma.S: Removed.
36997         * sysdeps/i386/fpu/s_fmal.S: Removed.
36999 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
37001         [BZ #3268]
37002         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
37003         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
37004         computation is not scheduled after fetestexcept.  Fix value
37005         of minimum denormal long double.
37007 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
37009         [BZ #3268]
37010         * math/libm-test.inc (fma_test): Add some more tests.
37011         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
37012         correctly.
37014 2010-10-15  Andreas Schwab  <schwab@redhat.com>
37016         * scripts/data/localplt-s390-linux-gnu.data: New file.
37017         * scripts/data/localplt-s390x-linux-gnu.data: New file.
37019 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
37021         [BZ #3268]
37022         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
37023         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
37024         instead of dbl-64.
37025         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
37026         inlines.
37027         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
37028         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
37029         if one of x and y is very large and the other is subnormal.
37030         * sysdeps/s390/fpu/s_fmaf.c: New file.
37031         * sysdeps/s390/fpu/s_fma.c: New file.
37032         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
37033         * sysdeps/powerpc/fpu/s_fma.S: New file.
37034         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
37035         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
37036         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
37038 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
37040         [BZ #3268]
37041         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
37042         fma tests.
37043         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
37044         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
37045         * sysdeps/i386/i686/multiarch/s_fma.c: Include
37046         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
37047         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
37048         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
37049         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
37051 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
37053         [BZ #12078]
37054         * posix/regcomp.c (parse_branch): One more memory leak plugged.
37055         * posix/bug-regex31.input: Add test case.
37057 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
37059         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
37060         * posix/bug-regex31.input: New file.
37062         [BZ #12078]
37063         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
37064         (parse_sub_exp): Fix last change, use postorder.
37066         * posix/bug-regex31.c: New file.
37067         * posix/Makefile: Add rules to build and run bug-regex31.
37069         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
37071         [BZ #12078]
37072         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
37074         [BZ #12108]
37075         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
37076         to have entries in sys_siglist.
37078         [BZ #12093]
37079         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
37080         be NULL.
37082 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
37084         [BZ #3268]
37085         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
37086         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
37087         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
37088         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
37089         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37090         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
37091         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
37092         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
37093         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
37094         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
37095         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
37096         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
37097         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
37098         * math/ftestexcept.c (fetestexcept): Likewise.
37099         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
37100         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
37101         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
37102         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
37103         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
37104         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
37105         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
37107 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
37109         [BZ #12107]
37110         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
37111         newline.
37113 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
37115         * string/bug-strstr1.c: New file.
37116         * string/Makefile: Add rules to build and run bug-strstr1.
37118 2010-10-05  Eric Blake  <eblake@redhat.com>
37120         [BZ #12092]
37121         * string/str-two-way.h (two_way_long_needle): Always clear memory
37122         when skipping input due to the shift table.
37124 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
37126         [BZ #12005]
37127         * malloc/mcheck.c: Handle large requests.
37129         [BZ #12077]
37130         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
37131         for strncmp and strncasecmp.
37132         * string/stratcliff.c: Add tests for strcmp and strncmp.
37133         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
37135 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
37137         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
37138         __set_fpscr.
37140 2010-09-30  Andreas Jaeger  <aj@suse.de>
37142         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
37143         (CGROUP_SUPER_MAGIC): Define.
37144         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37145         Handle btrfs and cgroup file systems.
37146         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
37147         Likewise.
37149 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
37151         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
37152         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
37154 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37156         [BZ #12067]
37157         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
37158         trying to locate the ELF header.
37160 2010-09-27  Andreas Schwab  <schwab@redhat.com>
37162         [BZ #11611]
37163         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
37164         Mask out sign-bit copies when constructing f_fsid.
37166 2010-09-24  Petr Baudis <pasky@suse.cz>
37168         * debug/stack_chk_fail_local.c: Add missing licence exception.
37169         * debug/warning-nop.c: Likewise.
37171 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
37173         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
37174         implementing getdents64 using getdents syscall, set d_type if
37175         __ASSUME_GETDENTS32_D_TYPE.
37177 2010-09-16  Andreas Schwab  <schwab@redhat.com>
37179         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
37180         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
37182 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
37184         [BZ #12037]
37185         * posix/unistd.h: Undo change of feature selection for ftruncate from
37186         2010-01-11.
37188 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
37190         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
37191         detection.
37193 2010-09-20  Andreas Schwab  <schwab@redhat.com>
37195         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
37196         fanotify_mark.
37197         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37199 2010-09-14  Andreas Schwab  <schwab@redhat.com>
37201         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
37202         variables after CHECK_SP call.
37203         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
37205 2010-09-13  Andreas Schwab  <schwab@redhat.com>
37206             Ulrich Drepper  <drepper@redhat.com>
37208         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
37209         re-relocationg ld.so.
37210         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
37211         _dl_init_paths call.
37212         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
37213         here anymore.
37215 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
37217         * resolv/res_init.c (__res_vinit): Count the default server we added.
37219 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
37220             Ulrich Drepper  <drepper@redhat.com>
37222         [BZ #11968]
37223         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
37224         (____longjmp_chk): Use %ebx for saving value across system call.
37225         Add unwind info.
37227 2010-09-06  Andreas Schwab  <schwab@redhat.com>
37229         * manual/Makefile: Don't mix pattern rules with normal rules.
37231 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
37233         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
37234         operation.
37235         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
37236         * libio/iofopncook.c (_IO_cookie_init): Likewise.
37237         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
37238         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
37239         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
37240         Likewise.
37242 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
37244         [BZ #11979]
37245         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
37246         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
37248 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
37250         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
37251         * sysdeps/x86_64/addmul_1.S: Likewise.
37252         * sysdeps/x86_64/lshift.S: Likewise.
37253         * sysdeps/x86_64/mul_1.S: Likewise.
37254         * sysdeps/x86_64/rshift.S: Likewise.
37255         * sysdeps/x86_64/sub_n.S: Likewise.
37256         * sysdeps/x86_64/submul_1.S: Likewise.
37258 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37260         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
37261         Define __sched_param instead of SCHED_* and sched_param when
37262         <bits/sched.h> is included with __need_schedparam defined.
37263         * bits/sched.h [__need_schedparam]
37264         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
37265         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
37266         (__defined_schedparam): Define to 1.
37267         (__sched_param): New structure, identical to sched_param.
37268         (__need_schedparam): Undefine.
37270 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
37272         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
37273         (epoll_create1): Declare.
37275         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
37277 2010-08-31  Andreas Schwab  <schwab@redhat.com>
37279         [BZ #7066]
37280         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
37281         shifting retval into place.
37283 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
37285         * nis/rpcsvc/nis.h: Update copyright notice.
37286         * nis/rpcsvc/nis.x: Likewise.
37287         * nis/rpcsvc/nis_callback.h: Likewise.
37288         * nis/rpcsvc/nis_callback.x: Likewise.
37289         * nis/rpcsvc/nis_object.x: Likewise.
37290         * nis/rpcsvc/nis_tags.h: Likewise.
37291         * nis/rpcsvc/yp.h: Likewise.
37292         * nis/rpcsvc/yp.x: Likewise.
37293         * nis/rpcsvc/ypupd.h: Likewise.
37294         * nis/yp_xdr.c: Likewise.
37295         * nis/ypupdate_xdr.c: Likewise.
37297         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
37298         mainly the body of pmap_getport.  Add parameters to specify timeouts.
37299         (pmap_getport): Use __libc_rpc_getport.
37300         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
37301         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
37302         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
37304 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
37306         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
37307         fanotify_mark.
37309 2010-08-27  Roland McGrath  <roland@redhat.com>
37311         * sysdeps/i386/i686/multiarch/Makefile
37312         (CFLAGS-varshift.c): New variable.
37314 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
37316         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
37317         * sysdeps/i386/i686/multiarch/varshift.c: New file.
37319         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
37321         * sysdeps/x86_64/strlen.S: Minimal code improvement.
37323 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
37325         * sysdeps/x86_64/strlen.S: Unroll the loop.
37326         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37327         strlen-sse2 strlen-sse2-bsf.
37328         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
37329         __strlen_no_bsf if bit_Slow_BSF is set.
37330         (__strlen_sse42): Removed.
37331         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
37332         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
37334 2010-08-25  Roland McGrath  <roland@redhat.com>
37336         * sysdeps/x86_64/multiarch/varshift.S: File removed.
37337         * sysdeps/x86_64/multiarch/varshift.c: New file.
37338         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
37339         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
37340         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
37341         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
37343 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
37345         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37346         strlen-sse2 strlen-sse2-bsf.
37347         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
37348         __strlen_sse2_bsf if bit_Slow_BSF is unset.
37349         (__strlen_sse2): Removed.
37350         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
37351         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
37352         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
37353         bit_Slow_BSF for Atom.
37354         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
37355         (index_Slow_BSF): Define.
37356         (HAS_SLOW_BSF): Define.
37358 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
37360         [BZ #10851]
37361         * resolv/res_init.c (__res_vinit): When no server address at all
37362         is given default to loopback.
37364 2010-08-24  Roland McGrath  <roland@redhat.com>
37366         * configure.in: Remove config-name.h generation.
37367         * configure: Regenerated.
37368         * config-name.in: File removed.
37369         * scripts/config-uname.sh: New file.
37370         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
37371         ($(objdir)config-name.h): New target.
37373         * sunrpc/rpc_parse.h: Avoid nested comment.
37375 2010-08-24  Richard Henderson  <rth@redhat.com>
37376             Ulrich Drepper  <drepper@redhat.com>
37377             H.J. Lu  <hongjiu.lu@intel.com>
37379         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
37380         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
37381         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
37382         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
37383         _mm_alignr_epi8 with _mm_loadu_si128.
37384         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
37385         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
37386         (__m128i_shift_right): Removed.
37387         * sysdeps/i386/i686/multiarch/varshift.h: New file.
37388         * sysdeps/i386/i686/multiarch/varshift.S: New file.
37389         * sysdeps/x86_64/multiarch/varshift.h: New file.
37390         * sysdeps/x86_64/multiarch/varshift.S: New file.
37392 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
37394         * configure.in: Move assembler checks to before sysdep dir checking.
37396 2010-08-20  Petr Baudis  <pasky@suse.cz>
37398         * LICENSES: Sync the sunrpc license.
37400 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
37402         * sunrpc/auth_des.c: Update copyright notice once again.
37403         * sunrpc/auth_none.c: Likewise.
37404         * sunrpc/auth_unix.c: Likewise.
37405         * sunrpc/authdes_prot.c: Likewise.
37406         * sunrpc/authuxprot.c: Likewise.
37407         * sunrpc/bindrsvprt.c: Likewise.
37408         * sunrpc/clnt_gen.c: Likewise.
37409         * sunrpc/clnt_perr.c: Likewise.
37410         * sunrpc/clnt_raw.c: Likewise.
37411         * sunrpc/clnt_simp.c: Likewise.
37412         * sunrpc/clnt_tcp.c: Likewise.
37413         * sunrpc/clnt_udp.c: Likewise.
37414         * sunrpc/clnt_unix.c: Likewise.
37415         * sunrpc/des_crypt.c: Likewise.
37416         * sunrpc/des_soft.c: Likewise.
37417         * sunrpc/get_myaddr.c: Likewise.
37418         * sunrpc/getrpcport.c: Likewise.
37419         * sunrpc/key_call.c: Likewise.
37420         * sunrpc/key_prot.c: Likewise.
37421         * sunrpc/openchild.c: Likewise.
37422         * sunrpc/pm_getmaps.c: Likewise.
37423         * sunrpc/pm_getport.c: Likewise.
37424         * sunrpc/pmap_clnt.c: Likewise.
37425         * sunrpc/pmap_prot.c: Likewise.
37426         * sunrpc/pmap_prot2.c: Likewise.
37427         * sunrpc/pmap_rmt.c: Likewise.
37428         * sunrpc/rpc/auth.h: Likewise.
37429         * sunrpc/rpc/auth_unix.h: Likewise.
37430         * sunrpc/rpc/clnt.h: Likewise.
37431         * sunrpc/rpc/des_crypt.h: Likewise.
37432         * sunrpc/rpc/key_prot.h: Likewise.
37433         * sunrpc/rpc/netdb.h: Likewise.
37434         * sunrpc/rpc/pmap_clnt.h: Likewise.
37435         * sunrpc/rpc/pmap_prot.h: Likewise.
37436         * sunrpc/rpc/pmap_rmt.h: Likewise.
37437         * sunrpc/rpc/rpc.h: Likewise.
37438         * sunrpc/rpc/rpc_des.h: Likewise.
37439         * sunrpc/rpc/rpc_msg.h: Likewise.
37440         * sunrpc/rpc/svc.h: Likewise.
37441         * sunrpc/rpc/svc_auth.h: Likewise.
37442         * sunrpc/rpc/types.h: Likewise.
37443         * sunrpc/rpc/xdr.h: Likewise.
37444         * sunrpc/rpc_clntout.c: Likewise.
37445         * sunrpc/rpc_cmsg.c: Likewise.
37446         * sunrpc/rpc_common.c: Likewise.
37447         * sunrpc/rpc_cout.c: Likewise.
37448         * sunrpc/rpc_dtable.c: Likewise.
37449         * sunrpc/rpc_hout.c: Likewise.
37450         * sunrpc/rpc_main.c: Likewise.
37451         * sunrpc/rpc_parse.c: Likewise.
37452         * sunrpc/rpc_parse.h: Likewise.
37453         * sunrpc/rpc_prot.c: Likewise.
37454         * sunrpc/rpc_sample.c: Likewise.
37455         * sunrpc/rpc_scan.c: Likewise.
37456         * sunrpc/rpc_scan.h: Likewise.
37457         * sunrpc/rpc_svcout.c: Likewise.
37458         * sunrpc/rpc_tblout.c: Likewise.
37459         * sunrpc/rpc_util.c: Likewise.
37460         * sunrpc/rpc_util.h: Likewise.
37461         * sunrpc/rpcinfo.c: Likewise.
37462         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
37463         * sunrpc/rpcsvc/key_prot.x: Likewise.
37464         * sunrpc/rpcsvc/klm_prot.x: Likewise.
37465         * sunrpc/rpcsvc/mount.x: Likewise.
37466         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
37467         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
37468         * sunrpc/rpcsvc/rex.x: Likewise.
37469         * sunrpc/rpcsvc/rstat.x: Likewise.
37470         * sunrpc/rpcsvc/rusers.x: Likewise.
37471         * sunrpc/rpcsvc/sm_inter.x: Likewise.
37472         * sunrpc/rpcsvc/spray.x: Likewise.
37473         * sunrpc/rpcsvc/yppasswd.x: Likewise.
37474         * sunrpc/rtime.c: Likewise.
37475         * sunrpc/svc.c: Likewise.
37476         * sunrpc/svc_auth.c: Likewise.
37477         * sunrpc/svc_authux.c: Likewise.
37478         * sunrpc/svc_raw.c: Likewise.
37479         * sunrpc/svc_run.c: Likewise.
37480         * sunrpc/svc_simple.c: Likewise.
37481         * sunrpc/svc_tcp.c: Likewise.
37482         * sunrpc/svc_udp.c: Likewise.
37483         * sunrpc/svc_unix.c: Likewise.
37484         * sunrpc/svcauth_des.c: Likewise.
37485         * sunrpc/xcrypt.c: Likewise.
37486         * sunrpc/xdr.c: Likewise.
37487         * sunrpc/xdr_array.c: Likewise.
37488         * sunrpc/xdr_float.c: Likewise.
37489         * sunrpc/xdr_mem.c: Likewise.
37490         * sunrpc/xdr_rec.c: Likewise.
37491         * sunrpc/xdr_ref.c: Likewise.
37492         * sunrpc/xdr_sizeof.c: Likewise.
37493         * sunrpc/xdr_stdio.c: Likewise.
37495         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
37496         handling.
37498 2010-08-19  Andreas Schwab  <schwab@redhat.com>
37500         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
37502 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
37504         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
37505         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
37506         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
37507         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
37508         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
37509         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
37510         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
37511         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
37512         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
37513         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
37514         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
37515         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
37516         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
37517         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
37519 2010-07-26  Anton Blanchard  <anton@samba.org>
37521         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
37522         * malloc/arena.c (heap_trim): Likewise.
37524 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
37526         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
37527         here.  Not...
37528         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
37529         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
37531 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
37533         * sysdeps/i386/elf/Makefile: New file.
37535 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
37537         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
37538         from fanotify_init.
37539         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
37540         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
37542 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
37544         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
37545         of strncasecmp_l.
37546         * sysdeps/multiarch/strcmp.S: Likewise.
37548 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
37550         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
37551         strncase_l-nonascii.
37552         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
37553         Add strncase_l-ssse3.
37554         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
37555         * sysdeps/x86_64/strcmp.S: Likewise.
37556         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
37557         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
37558         * sysdeps/x86_64/strncase.S: New file.
37559         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
37560         * sysdeps/x86_64/strncase_l.S: New file.
37561         * string/Makefile (strop-tests): Add strncasecmp.
37562         * string/test-strncasecmp.c: New file.
37564         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
37565         warning.
37567         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
37568         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
37570 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
37572         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
37574 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
37576         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
37577         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
37578         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
37580 2010-05-01  Alan Modra  <amodra@gmail.com>
37582         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
37583         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
37584         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
37585         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
37586         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
37587         tidying.  Don't tail-call __sigjmp_save for static lib.
37588         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
37589         save location.
37590         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
37591         (CALL_MCOUNT): Add eh info, and nop after bl.
37592         (TAIL_CALL_SYSCALL_ERROR): New macro.
37593         (PSEUDO_RET): Use it.
37594         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
37595         Correct save location of integer regs and cr.
37596         (_dl_profile_resolve): Correct cr save location.  Delete nops
37597         after bl when SHARED.  Reduce cfi size a little by better
37598         placement of cfi directives.
37599         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
37600         make a stack frame.  Instead use parm save area as a temp.
37601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
37602         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
37603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
37604         Don't make a stack frame for parent, use parm save area.
37605         Increase child stack frame to 112 bytes.  Don't save unused reg,
37606         and adjust reg usage.  Set up cfi on error recovery and
37607         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
37608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
37609         (__makecontext): Add dummy nop after jump to exit.
37610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
37611         Use correct parm save area and cr save, reduce stack frame.
37612         Correct cfi for possible PSEUDO_RET frame setup.
37613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
37614         Branch to local label emitted by PSEUDO_RET rather than
37615         __syscall_error.
37617 2010-08-12  Andreas Schwab  <schwab@redhat.com>
37619         [BZ #11904]
37620         * locale/programs/locale.c (print_assignment): New function.
37621         (show_locale_vars): Use it.
37623 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
37625         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
37626         field.
37627         (struct statfs64): Likewise.
37628         (_STATFS_F_FLAGS): Define.
37629         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
37630         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37631         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
37632         (ST_VALID): Define locally.
37633         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
37634         __statvfs_getflags, use the provided value.
37635         * sysdeps/unix/sysv/linux/kernel-features.h: Define
37636         __ASSUME_STATFS_F_FLAGS.
37638         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
37640         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
37641         Add sys/fanotify.h.
37642         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
37643         fanotify_mask for GLIBC_2.13.
37644         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
37645         fanotify_init and fanotify_mark.
37646         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
37647         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
37649         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
37650         Add prlimit.
37651         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
37652         prlimit64 for GLIBC_2.13.
37653         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
37654         prlimit64.
37655         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
37656         syscall.
37657         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
37658         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37659         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
37660         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
37661         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
37662         add prlimit alias.
37663         * sysdeps/unix/sysv/linux/prlimit.c: New file.
37665         [BZ #11903]
37666         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
37667         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
37669         * nss/Makefile: Add rules to build and run tst-nss-test1.
37670         * shlib-versions: Add entry for libnss_test1.
37671         * nss/nss_test1.c: New file.
37672         * nss/tst-nss-test1.c: New file.
37674         * nss/nsswitch.c (__nss_database_custom): Define new variable.
37675         (__nss_configure_lookup): Set appropriate entry in
37676         __nss_configure_lookup to true.
37677         * nss/nsswitch.h: Define enum with indeces of databases in
37678         databases and __nss_database_custom arrays.  Declare
37679         __nss_database_custom.
37680         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
37681         to avoid using nscd when custom rules are installed.
37682         * nss/getXXbyYY_r.c: Likewise.
37683         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
37685         * nss/nss_files/files-parse.c: Whitespace fixes.
37687 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
37689         [BZ #11883]
37690         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
37691         * posix/fnmatch_loop.c: Likewise.
37693 2010-07-17  Andi Kleen  <ak@linux.intel.com>
37695         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
37696         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
37697         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
37698         * Versions.def [GLIBC_2.13]: Add.
37700 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
37702         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
37703         Also fail if tpwd after pwuid call is NULL.
37705 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37707         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
37708         when converting to ms.
37710 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37712         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
37713         EOPNOTSUPP errors with ENOTTY.
37714         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
37715         EOPNOTSUPP errors with ENOTTY.
37717 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
37719         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
37720         Add strcasecmp_l-ssse3.
37721         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
37722         strcasecmp.
37723         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
37724         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
37725         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
37727 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
37729         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
37731         * string/Makefile (strop-tests): Add strcasecmp.
37732         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
37733         strcasecmp_l-nonascii.
37734         (gen-as-const-headers): Add locale-defines.sym.
37735         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
37736         * sysdeps/x86_64/strcasecmp.S: New file.
37737         * sysdeps/x86_64/strcasecmp_l.S: New file.
37738         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
37739         * sysdeps/x86_64/locale-defines.sym: New file.
37740         * string/test-strcasecmp.c: New file.
37742         * string/test-strcasestr.c: Test both ends of the range of characters.
37743         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
37745 2010-07-29  Roland McGrath  <roland@redhat.com>
37747         [BZ #11856]
37748         * manual/locale.texi (Yes-or-No Questions): Fix example code.
37750 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
37752         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
37753         for ld.so.
37755 2010-07-27  Andreas Schwab  <schwab@redhat.com>
37757         * manual/memory.texi (Malloc Tunable Parameters): Document
37758         M_PERTURB.
37760 2010-07-26  Roland McGrath  <roland@redhat.com>
37762         [BZ #11840]
37763         * configure.in (-fgnu89-inline check): Set and substitute
37764         gnu89_inline, not libc_cv_gnu89_inline.
37765         * configure: Regenerated.
37766         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
37768 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
37770         * string/test-strnlen.c: New file.
37771         * string/Makefile (strop-tests): Add strnlen.
37772         * string/tester.c (test_strnlen): Add a few more test cases.
37773         * string/tst-strlen.c: Better error reporting.
37775         * sysdeps/x86_64/strnlen.S: New file.
37777 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
37779         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
37780         lower-latency instructions.
37782 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
37784         * string/test-strcasestr.c: New file.
37785         * string/test-strstr.c: New file.
37786         * string/Makefile (strop-tests): Add strstr and strcasestr.
37787         * string/str-two-way.h: Don't undefine MAX.
37788         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
37790 2010-07-21  Andreas Schwab  <schwab@redhat.com>
37792         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37793         strcasestr-nonascii.
37794         (CFLAGS-strcasestr-nonascii.c): Define.
37795         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
37796         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
37797         Remove unused attribute.
37799 2010-07-20  Roland McGrath  <roland@redhat.com>
37801         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
37802         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
37803         ld.so.cache was broken.  With it, there is no way to disable dsocaps
37804         like LD_HWCAP_MASK can disable hwcaps.
37806 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
37808         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
37810 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
37812         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
37813         call in strcasestr.
37814         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
37815         __strcasestr_sse42_nonascii.
37816         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
37817         strcasestr-nonascii.c.
37818         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
37820 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
37822         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
37823         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
37824         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
37825         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
37827 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
37829         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
37830         fcntl.
37832 2010-07-06  Andreas Schwab  <schwab@redhat.com>
37834         [BZ #11577]
37835         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
37836         dl_signal_cerror.
37838 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
37840         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
37841         _PC_PIPE_BUF using F_GETPIPE_SZ.
37843 2010-07-05  Roland McGrath  <roland@redhat.com>
37845         * manual/arith.texi (Rounding Functions): Fix rint description
37846         implicit in round description.
37848 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
37850         * elf/Makefile: Fix linking for a few tests to make recent linker
37851         happy.
37853 2010-06-30  Andreas Schwab  <schwab@redhat.com>
37855         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
37856         $(common-objpfx)libc_nonshared.a.
37858 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
37860         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
37861         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
37862         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
37863         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
37864         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
37865         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
37866         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
37867         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
37868         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
37869         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
37870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
37871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
37872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
37873         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
37874         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
37875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
37876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
37877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
37878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
37879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
37880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
37881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
37882         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
37883         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
37884         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
37885         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
37886         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
37887         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
37888         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
37889         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
37890         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
37891         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
37892         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
37893         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
37894         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
37895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
37896         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
37897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
37898         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
37899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
37900         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
37901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
37902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
37903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
37904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
37905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
37906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
37907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
37909 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
37911         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
37912         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
37913         * string/memmove.c (memmove): Renamed to ...
37914         (MEMMOVE): ...this.  Default to memmove.
37915         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
37916         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
37917         (END_CHK): Define.
37918         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37919         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
37920         mempcpy-ssse3-back memmove-ssse3-back.
37921         * sysdeps/x86_64/multiarch/bcopy.S: New file .
37922         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
37923         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
37924         * sysdeps/x86_64/multiarch/memcpy.S: New file.
37925         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
37926         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
37927         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
37928         * sysdeps/x86_64/multiarch/memmove.c: New file.
37929         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
37930         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
37931         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
37932         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
37933         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
37934         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
37935         Define.
37936         (index_Fast_Copy_Backward): Define.
37937         (HAS_ARCH_FEATURE): Define.
37938         (HAS_FAST_REP_STRING): Define.
37939         (HAS_FAST_COPY_BACKWARD): Define.
37941 2010-06-21  Andreas Schwab  <schwab@redhat.com>
37943         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
37944         Restore proper fallback handling.
37946 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
37948         [BZ #11701]
37949         * posix/group_member.c (__group_member): Correct checking loop.
37951         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
37952         OOM in getpwuid_r correctly.  Return error number when the caller
37953         should return, otherwise -1.
37954         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
37955         call returning > 0 value.
37956         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
37958 2010-06-07  Andreas Schwab  <schwab@redhat.com>
37960         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
37961         libc_nonshared.a from targets in modules-names.
37963 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
37965         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
37966         requires it.
37968 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
37970         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
37971         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
37972         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
37973         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
37975 2010-06-02  Andreas Schwab  <schwab@redhat.com>
37977         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
37979 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
37981         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
37982         and F_GETPIPE_SZ.
37983         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
37984         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
37985         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37986         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37987         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
37988         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
37990 2010-06-14  Roland McGrath  <roland@redhat.com>
37992         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
37994 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
37996         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
37997         __REDIRECT followed by __THROW.
37998         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
37999         * posix/getopt.h (getopt): Likewise.
38001 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
38003         * hurd/lookup-at.c (__file_name_lookup_at): Accept
38004         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
38005         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
38006         in AT_FLAGS.
38007         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
38008         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
38010 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
38012         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
38014 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
38016         [BZ #11640]
38017         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38018         Properly check family and model.
38020 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
38022         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
38024 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
38026         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
38028 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
38030         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
38031         symbol reference.
38033 2010-05-19  Andreas Schwab  <schwab@redhat.com>
38035         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
38036         symbol reference.
38038 2010-05-21  Andreas Schwab  <schwab@redhat.com>
38040         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
38041         and internal_recvmmsg.
38042         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
38043         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
38044         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
38045         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
38047         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
38048         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
38049         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
38051 2010-05-20  Andreas Schwab  <schwab@redhat.com>
38053         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
38055 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
38057         POWER7 optimizations.
38058         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
38059         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
38061 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
38063         * version.h: Update for 2.13 development version.
38065 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
38067         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
38068         exceptions.  Return 0.
38070 2010-05-07  Roland McGrath  <roland@redhat.com>
38072         * elf/ldconfig.c (main): Add a const.
38074 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
38076         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
38077         (args_options): Add no-idn option.
38078         (ahosts_keys_int): Add idn_flags to ai_flags.
38079         (parse_option): Handle 'i' option to clear idn_flags.
38081         * malloc/malloc.c (_int_free): Possible race in the most recently
38082         added check.  Only act on the data if no current modification
38083         happened.
38085 See ChangeLog.17 for earlier changes.