Update copyright notices with scripts/update-copyrights
[glibc.git] / ChangeLog
blobc6b1a2a788e4d5c7b1db639f14baf4721b7ce5fb
1 2014-01-01  Allan McRae  <allan@archlinux.org>
3         * All files with FSF copyright notices: Update copyright dates
4         using scripts/update-copyrights.
5         * intl/plural.c: Regenerated.
6         * locale/programs/charmap-kw.h: Likewise.
7         * locale/programs/locfile-kw.h: Likewise.
9 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
11         * sysdeps/unix/sysv/linux/configure: Regenerated.
12         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
13         the linux/fanotify.h header.
14         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
15         HAVE_LINUX_FANOTIFY_H is defined.
17 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
19         * benchtests/cos-inputs: New inputs.
20         * benchtests/sin-inputs: Likewise.
22         * benchtests/atan-inputs: New inputs. Fix name of multiple
23         precision fallback inputs.
25         * benchtests/atanh-inputs: New inputs.
26         * benchtests/tanh-inputs: Likewise.
28         * benchtests/acosh-inputs: New inputs.
29         * benchtests/asinh-inputs: Likewise.
31         * benchtests/cosh-inputs: New inputs.
32         * benchtests/sinh-inputs: Likewise.
34         * benchtests/acos-inputs: Add more inputs.
35         * benchtests/asin-inputs: Likewise.
37 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
39         [BZ #16375]
40         * manual/arith.texi: Fix spelling.
41         * manual/charset.texi: Likewise.
42         * manual/errno.texi: Likewise.
43         * manual/filesys.texi: Likewise.
44         * manual/lang.texi: Likewise.
45         * manual/llio.texi: Likewise.
46         * manual/locale.texi: Likewise.
47         * manual/message.texi: Likewise.
48         * manual/resource.texi: Likewise.
49         * manual/search.texi: Likewise.
50         * manual/setjmp.texi: Likewise.
51         * manual/stdio.texi: Likewise.
52         * manual/string.texi: Likewise.
53         * manual/sysinfo.texi: Likewise.
54         * manual/time.texi: Likewise.
56 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
58         * po/sl.po: New file.
60 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
62         * .gitignore: Add core/.gdbinit/.gdb_history.
64 2013-12-27  Allan McRae  <allan@archlinux.org>
66         [BZ #16369]
67         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
68         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
70 2013-12-24  Brooks Moses  <bmoses@google.com>
72         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
73         all compilers that claim C++98 compliance, not just GCC.
74         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
75         Likewise.
77 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
79         * NEWS: Restore accidentally deleted bug-fix entries.
81 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
82             Ondřej Bílka  <neleai@seznam.cz>
84         [BZ #15073]
85         * malloc/malloc.c (_int_free): Perform sanity check only if we
86         have_lock.
88 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
90         [BZ #12986]
91         * manual/stdio.texi (String Input Conversions): Clarify that character
92         classes are not supported.
94 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
96         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
98 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
100         [BZ #16337]
101         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
102         Calculate results for small negative arguments directly rather
103         than using reflection formula with special underflow handling.
105         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
106         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
107         sysdeps/unix/bsd/bsd4.4/syscalls.list.
108         (fchflags): Likewise.
109         (revoke): Likewise.
110         (setlogin): Likewise.
111         (sigaltstack): Likewise.
112         (wait4): Likewise.
113         (sigblock): Remove.
114         (sigsetmask): Likewise.
115         (wait3): Likewise.
116         (waitpid): Likewise.
117         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
118         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
119         file.
120         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
121         * sysdeps/unix/bsd/Makefile: ... here.
122         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
123         * sysdeps/unix/bsd/Versions: ... here.
124         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
125         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
126         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
127         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
128         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
129         * sysdeps/unix/bsd/sigblock.c: ... here.
130         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
131         * sysdeps/unix/bsd/sigsetmask.c: ... here.
132         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
133         * sysdeps/unix/bsd/sigvec.c: ... here.
134         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
135         * sysdeps/unix/bsd/tcdrain.c: ... here.
136         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
137         * sysdeps/unix/bsd/tcgetattr.c: ... here.
138         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
139         * sysdeps/unix/bsd/tcsetattr.c: ... here.
140         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
141         * sysdeps/unix/bsd/wait.c: ... here.
142         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
143         * sysdeps/unix/bsd/wait3.c: ... here.
144         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
145         * sysdeps/unix/bsd/waitpid.c: ... here.
147 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
149         [BZ #16356]
150         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
151         round-to-nearest for [!USE_AS_EXPM1L].
152         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
153         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
154         more tests of exp and exp10.  Expect some exp10 tests to miss
155         exceptions or fail in directed rounding modes.
156         * math/auto-libm-test-out: Regenerated.
157         * math/libm-test.inc (exp10_tonearest_test_data): New array.
158         (exp10_test_tonearest): New function.
159         (exp10_towardzero_test_data): New array.
160         (exp10_test_towardzero): New function.
161         (exp10_downward_test_data): New array.
162         (exp10_test_downward): New function.
163         (exp10_upward_test_data): New array.
164         (exp10_test_upward): New function.
165         (main): Call the new functions.
166         * sysdeps/i386/fpu/libm-test-ulps: Update.
167         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
169 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
171         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
172         asinh, atan, atan2, atanh, cbrt, cos and cosh.
173         * math/auto-libm-test-out: Regenerated.
174         * math/libm-test.inc (acosh_test_data): Add more tests.
175         (atanh_test_data): Likewise.
176         (ceil_test_data): Likewise.
177         (copysign_test_data): Likewise.
178         * sysdeps/i386/fpu/libm-test-ulps: Update.
179         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
181         * timezone/checktab.awk: Update from tzcode 2013i.
182         * timezone/private.h: Likewise.
183         * timezone/scheck.c: Likewise.
184         * timezone/tzfile.h: Likewise.
185         * timezone/tzselect.ksh: Likewise.
186         * timezone/zdump.c: Likewise.
187         * timezone/zic.c: Likewise.
189         * math/auto-libm-test-in: Add tests of cpow.
190         * math/auto-libm-test-out: Regenerated.
191         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
192         * * math/gen-auto-libm-tests.c (func_calc_method): Add value
193         mpc_cc_c.
194         (func_calc_desc): Add mpc_cc_c union field.
195         (test_functions): Add cpow.
196         (special_fill_2pi): New function.
197         (special_real_inputs): Add 2pi.
198         (calc_generic_results): Handle mpc_cc_c.
199         * sysdeps/i386/fpu/libm-test-ulps: Update.
200         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
202         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
203         csqrt, ctan and ctanh.
204         * math/auto-libm-test-out: Regenerated.
205         * math/libm-test.inc (TEST_COND_x86_64): New macro.
206         (TEST_COND_x86): Likewise.
207         (ccos_test_data): Use AUTO_TESTS_c_c.
208         (ccosh_test_data): Likewise.
209         (cexp_test_data): Likewise.
210         (clog_test_data): Likewise.
211         (csqrt_test_data): Likewise.
212         (ctan_test_data): Likewise.
213         (ctan_tonearest_test_data): Likewise.
214         (ctan_towardzero_test_data): Likewise.
215         (ctan_downward_test_data): Likewise.
216         (ctan_upward_test_data): Likewise.
217         (ctanh_test_data): Likewise.
218         (ctanh_tonearest_test_data): Likewise.
219         (ctanh_towardzero_test_data): Likewise.
220         (ctanh_downward_test_data): Likewise.
221         (ctanh_upward_test_data): Likewise.
222         * math/gen-auto-libm-tests.c (func_calc_method): Add value
223         mpc_c_c.
224         (func_calc_desc): Add mpc_c_c union field.
225         (FUNC_mpc_c_c): New macro.
226         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
227         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
228         ctanh.
229         (special_fill_min_subnorm_p120): New function.
230         (special_real_inputs): Add min_subnorm_p120.
231         (calc_generic_results): Handle mpc_c_c.
232         * sysdeps/i386/fpu/libm-test-ulps: Update.
233         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
235 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
237         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
238         do_sin_slow): New functions.
239         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
240         cslow2, csloww1, csloww2): Use the new functions.
242         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
243         Use M to change sign of result instead of X.  Assume X is
244         positive.
245         (csloww1): Likewise.
246         (__sin): Adjust.
247         (__cos): Adjust.
249         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
250         arguments A and DA.
251         (__sin): Adjust.
252         (__cos): Likewise.
254         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
255         (__cos): Likewise.
256         (sloww1): Don't adjust sign of DX.
257         (csloww1): Likewise.
258         (sloww2): Use X directly and don't adjust sign of DX.
259         (csloww2): Likewise.
261 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
263         * math/auto-libm-test-in: Add tests of cabs and carg.
264         * math/auto-libm-test-out: Regenerated.
265         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
266         (carg_test_data): Likewise.
267         * math/gen-auto-libm-tests.c (func_calc_method): Add value
268         mpc_c_f.
269         (func_calc_desc): Add mpc_c_f union field.
270         (test_functions): Add cabs and carg.
271         (calc_generic_results): Handle mpc_c_f.
273         * sysdeps/powerpc/powerpc32/libgcc-compat.S
274         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
275         as a macro and a compat symbol.
276         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
277         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
278         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
279         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
280         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
281         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
282         not use .hidden.
283         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
284         Likewise.
285         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
286         Likewise.
287         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
288         Likewise.
289         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
290         Likewise.
291         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
292         Likewise.
293         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
294         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
295         from GLIBC_2.3.2.
297 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
299         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
301 2013-12-19  Paul Pluzhnikov  <ppluzhnikov@google.com>
303         * elf/dl-misc.c (ptr_to_signal_safe_allocator_header): New function.
304         (__signal_safe_memalign, __signal_safe_free): Use it.
305         (__signal_safe_realloc): Likewise.
307 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
309         * manual/texinfo.tex: Update to version 2013-11-26.10 with
310         trailing whitespace removed.
311         * scripts/config.guess: Update to version 2013-11-29.
312         * scripts/config.sub: Update to version 2013-10-01.
314         * math/auto-libm-test-in: Add tests of sincos.
315         * math/auto-libm-test-out: Regenerated.
316         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
317         * math/gen-auto-libm-tests.c (func_calc_method): Add value
318         mpfr_f_11.
319         (func_calc_desc): Add mpfr_f_11 union field.
320         (test_functions): Add sincos.
321         (calc_generic_results): Handle mpfr_f_11.
322         * sysdeps/i386/fpu/libm-test-ulps: Update.
323         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
325 2013-12-19  Andreas Schwab  <schwab@suse.de>
327         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
328         CALL_MCOUNT.
329         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
330         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
331         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
333 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
335         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
336         * sysdeps/i386/fpu/libm-test-ulps: Update.
337         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
339         [BZ #16293]
340         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
341         round-to-nearest mode when using frndint.
342         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
343         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
344         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
345         Likewise.
346         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
347         sinh test to fail.
348         * math/auto-libm-test-out: Regenerated.
349         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
350         (TEST_COND_x86): Likewise.
351         (expm1_tonearest_test_data): New array.
352         (expm1_test_tonearest): New function.
353         (expm1_towardzero_test_data): New array.
354         (expm1_test_towardzero): New function.
355         (expm1_downward_test_data): New array.
356         (expm1_test_downward): New function.
357         (expm1_upward_test_data): New array.
358         (expm1_test_upward): New function.
359         (main): Run the new test functions.
360         * sysdeps/i386/fpu/libm-test-ulps: Update.
361         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
363         * include/features.h: Update comment documenting feature test
364         macros.  Mention _DEFAULT_SOURCE in comment.
365         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
366         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
367         _BSD_SOURCE and _SVID_SOURCE.
368         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
369         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
370         !_SVID_SOURCE]: Likewise.
371         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
372         (__USE_POSIX_IMPLICITLY): Define.
373         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
374         (_POSIX_SOURCE): Undefine and redefine.
375         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
376         (_POSIX_C_SOURCE): Likewise.
377         * manual/creature.texi (_DEFAULT_SOURCE): Document.
378         (Feature Test Macros): Update documentation of default features.
380 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
382         * benchtests/Makefile: Add bench-strtok.
383         * benchtests/bench-strtok.c: New file: strtok benchtest.
385 2013-12-19  Allan McRae  <allan@archlinux.org>
387         * manual/install.texi: Suppress menu for plain text output.
388         * INSTALL: Regenerated.
390 2013-12-18  Andrew Hunter  <ahh@google.com>
392         * sysdeps/generic/ldsodefs.h (__signal_safe_memalign): New prototype.
393         (__signal_safe_malloc, __signal_safe_free): Likewise.
394         (__signal_safe_realloc, __signal_safe_calloc): Likewise.
395         * elf/dl-misc.c (__signal_safe_allocator_header): New struct.
396         (__signal_safe_memalign, __signal_safe_malloc): New function.
397         (__signal_safe_free, __signal_safe_realloc): Likewise.
398         (__signal_safe_calloc): Likewise.
399         * elf/dl-tls.c (allocate_dtv, _dl_clear_dtv): Call signal-safe
400         functions.
401         (_dl_deallocate_tls, _dl_update_slotinfo): Likewise.
403 2013-12-18  Andrew Hunter  <ahh@google.com>
405         * elf/Versions (ld): Add _dl_clear_dtv.
406         * sysdeps/generic/ldsodefs.h (_dl_clear_dtv): New prototype.
407         * elf/dl-tls.c (_dl_clear_dtv): New function.
408         * nptl/allocatestack.c (get_cached_stack): Call _dl_clear_dtv.
410 2013-12-18  Andrew Hunter  <ahh@google.com>
412         * sysdeps/generic/ldsodefs.h (_dl_mask_all_signals): New prototype.
413         (_dl_unmask_signals): Likewise.
414         * sysdeps/mach/hurd/dl-sysdep.h (_dl_mask_all_signals): New stub.
415         (_dl_unmask_all_signals): Likewise.
416         * sysdeps/unix/sysv/linux/dl-sysdep.h (_dl_mask_all_signals): New prototype.
417         (_dl_unmask_all_signals): Likewise.
418         * sysdeps/unix/sysv/linux/dl-sysdep.c (_dl_mask_all_signals): New function.
419         (_dl_unmask_signals): Likewise.
421 2013-12-18  Brooks Moses  <bmoses@google.com>
423         [BZ #15846]
424         * misc/getauxval.c: Include errno.h.
425         (__getauxval): Set errno to ENOENT if the requested type is not
426         found.
427         * misc/sys/auxv.h (getauxval): Document that it may set errno;
428         don't declare with __attribute_const__.
429         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
430         * manual/startup.texi: Document that getauxval sets errno.
432 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
434         * math/auto-libm-test-in: Add tests of jn and yn.
435         * math/auto-libm-test-out: Regenerated.
436         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
437         (yn_test_data): Likewise.
438         * math/gen-auto-libm-tests.c (func_calc_method): Add value
439         mpfr_if_f.
440         (func_calc_desc): Add mpfr_if_f union field.
441         (FUNC_mpfr_if_f): New macro.
442         (test_functions): Add jn and yn.
443         (calc_generic_results): Assert type of second input for
444         mpfr_ff_f.  Handle mpfr_if_f.
445         (output_for_one_input_case): Disable all checking for arguments
446         fitting floating-point types in case of an integer argument.
447         * sysdeps/i386/fpu/libm-test-ulps: Update.
448         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
451         Don't expect fegetround reference in libm.so.
453 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
455         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
456         $(config-cflags-nofma).
458 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
460         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
461         * math/auto-libm-test-out: Regenerated.
463         [BZ #16338]
464         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
465         to determine exponent and adjust argument to have exponent of -1.
466         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
467         log2.
468         * math/auto-libm-test-out: Regenerated.
469         * sysdeps/i386/fpu/libm-test-ulps: Update.
470         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
472 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
474         * manual/probes.texi: Remove cases when per-thread arenas are
475         disabled.
477 2013-12-18  Andreas Schwab  <schwab@suse.de>
479         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
480         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
481         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
482         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
483         * sysdeps/i386/i686/multiarch/Makefile: Update.
484         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
486 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
488         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
489         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
491 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
493         Support TZ transition times < 00:00:00.
494         This is needed for version-3 tz-format files; it supports time
495         stamps past 2037 for America/Godthab (the only entry in the tz
496         database for which this change is relevant).
497         * manual/time.texi (TZ Variable): Document transition times
498         from -167:59:59 through -00:00:01.
499         * time/tzset.c (tz_rule): Time of day is now signed.
500         (__tzset_parse_tz): Parse negative time of day.
502         Document TZ transition times >= 25:00:00.
503         * manual/time.texi (TZ Variable): Document transition times from
504         25:00:00 through 167:59:59.  These are already supported, and this
505         support will help with version-3 tz-format files.
507         * manual/time.texi (TZ Variable): Modernize North America example
508         to reflect current (i.e., 2007-and-later) daylight saving rules.
510         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
512 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
514         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
515         * sysdeps/unix/bsd/bits/stat.h: Likewise.
516         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
517         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
518         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
519         * sysdeps/unix/bsd/bsdstat.h: Likewise.
520         * sysdeps/unix/bsd/clock.c: Likewise.
521         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
522         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
523         * sysdeps/unix/bsd/init-posix.c: Likewise.
524         * sysdeps/unix/bsd/poll.c: Likewise.
525         * sysdeps/unix/bsd/ptsname.c: Likewise.
526         * sysdeps/unix/bsd/seekdir.c: Likewise.
527         * sysdeps/unix/bsd/setegid.c: Likewise.
528         * sysdeps/unix/bsd/seteuid.c: Likewise.
529         * sysdeps/unix/bsd/setgid.c: Likewise.
530         * sysdeps/unix/bsd/setrgid.c: Likewise.
531         * sysdeps/unix/bsd/setruid.c: Likewise.
532         * sysdeps/unix/bsd/setsid.c: Likewise.
533         * sysdeps/unix/bsd/setuid.c: Likewise.
534         * sysdeps/unix/bsd/sigaction.c: Likewise.
535         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
536         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
537         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
538         * sysdeps/unix/bsd/telldir.c: Likewise.
539         * sysdeps/unix/bsd/times.c: Likewise.
540         * sysdeps/unix/bsd/usleep.c: Likewise.
542         * misc/Makefile (install-lib): Remove libbsd-compat.a.
543         ($(objpfx)libbsd-compat.a): Remove rule.
545         * include/features.h (__FAVOR_BSD): Do not define.
546         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
547         features conflicting with POSIX.
548         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
549         (_BSD_SOURCE): Remove description of not being a subset of other
550         feature test macros.
551         * manual/job.texi (getpgrp): Do not document BSD version.
552         (getpgid): Do not document by reference to BSD getpgrp.
553         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
554         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
555         * signal/signal.h [__FAVOR_BSD]: Likewise.
556         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
557         instead of making contents conditional on [__FAVOR_BSD].
558         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
560 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
562         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
564 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
566         [BZ #16314]
567         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
568         values below 2**-450, not 2**-500.
569         * math/auto-libm-test-in: Don't allow spurious underflow from
570         hypot.
571         * math/auto-libm-test-out: Regenerated.
573         [BZ #16316]
574         [BZ #16330]
575         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
576         values of ha and hb and sort them after adjusting subnormal
577         arguments.
578         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
579         Likewise.
580         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
581         values of ea and eb and sort them after adjusting subnormal
582         arguments.
583         * math/auto-libm-test-in: Do not expect some hypot tests of
584         subnormals to fail.  Add more hypot tests.
585         * math/auto-libm-test-out: Regenerated.
587 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
589         [BZ #13304]
590         * sysdeps/sh/s_fma.c: New file.
591         * sysdeps/sh/s_fmaf.c: New file.
592         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
593         version.
594         * sysdeps/sh/Implies: Add sh/soft-fp.
596 2013-12-16  Roland McGrath  <roland@hack.frob.com>
598         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
599         level of indirection to members `objname', `errstring', `malloced'.
600         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
601         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
602         it as the __longjmp argument (just pass 1 instead).
603         (_dl_catch_error): Initialize C with argument pointers and address of
604         volatile local ERRCODE rather than copying values out of C at return.
606 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
608         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
609         * math/auto-libm-test-out: Regenerated.
610         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
611         (hypot_test_data): Likewise.
612         (pow_test_data): Likewise.
613         (pow_tonearest_test_data): Likewise.
614         * math/gen-auto-libm-tests.c (func_calc_method): Add value
615         mpfr_ff_f.
616         (func_calc_desc): Add mpfr_ff_f union field.
617         (FUNC_mpfr_ff_f): New macro.
618         (test_functions): Add atan2, hypot and pow.
619         (special_fill_min): New function.
620         (special_fill_minus_min): Likewise.
621         (special_fill_min_subnorm): Likewise.
622         (special_fill_minus_min_subnorm): Likewise.
623         (special_real_inputs): Add min, -min, min_subnorm and
624         -min_subnorm.
625         (calc_generic_results): Handle mpfr_ff_f.
626         * sysdeps/i386/fpu/libm-test-ulps: Update.
627         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
629 2013-12-16  Will Newton  <will.newton@linaro.org>
631         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
632         (Aligned Memory Blocks): Add documentation for aligned_alloc
633         and suggest it as an alternative to posix_memalign.
634         (Hooks for Malloc): Document __memalign_hook is also called
635         for aligned_alloc.  (Summary of Malloc): Add summary for
636         aligned alloc.  Document __memalign_hook is also called
637         for aligned_alloc.
639 2013-12-16  Will Newton  <will.newton@linaro.org>
641         * manual/memory.texi (Malloc Examples): Clarify default
642         alignment documentation.  Suggest posix_memalign rather
643         than memalign or valloc.
644         (Aligned Memory Blocks): Remove suggestion to use memalign
645         or valloc.  Remove obsolete comment about BSD.
646         Document memalign errno values and mark the function obsolete.
647         Document posix_memalign returned error codes.  Mark valloc
648         as obsolete.  (Hooks for Malloc): __memalign_hook is also
649         called for posix_memalign and valloc.
650         (Summary of Malloc): Add posix_memalign to function summary.
651         __memalign_hook is also called for posix_memalign and valloc.
653 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
655         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
656         TAYLOR_SIN.
657         (__sin): Adjust.
658         (__cos): Likewise.
659         (sloww): Use mynumber union.  Expand ternary operator into
660         if-else statements.
661         (cslow): use mynumber union.
663 2013-12-16  Allan McRae  <allan@archlinux.org>
665         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
666         * configure: Regenerated.
668         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
670         [BZ #14120]
671         * configure.ac: Added --enable-maintainer-mode. Check for
672         autoconf when enabled.
673         * configure: Regenerated.
675         * nscd/nscd.service: New file.
676         * nscd/nscd.tmpfiles: New file.
678 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
680         [BZ #12100]
681         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
682         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
683         * sysdeps/x86_64/multiarch/strstr.c: ... here.
684         (strstr): Add __strstr_sse2_unaligned ifunc.
685         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
686         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
687         (strcasestr): Remove __strcasestr_sse42 ifunc.
688         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
689         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
690         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
692 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
694         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
695         * sysdeps/sh/bits/fenv.h: ... here.
696         * sysdeps/sh/sh4/fpu/bits: Remove directory.
698 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
700         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
702 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
704         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
705         hypotf multiarch implementations.
706         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
707         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
708         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
709         multiarch hypot for PPC64.
710         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
711         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
712         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
713         multiarch hypotf for PPC64.
715 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
717         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
718         modff multiarch implementations.
719         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
720         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
721         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
722         multiarch modf for PPC64.
723         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
724         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
725         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
726         multiarch modff for PPC64.
728 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
730         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
731         and logl multiarch implementations.
732         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
733         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
734         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
735         multiarch logb for PPC64.
736         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
737         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
738         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
739         multiarch logb for PPC64.
740         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
741         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
742         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
743         multiarch logb for PPC64.
745 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
747         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
748         isinff multiarch implementation.
749         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
750         file.
751         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
752         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
753         multiarch isinf for PPC64.
754         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
755         file.
756         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
757         multiarch isinff for PPC64.
759 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
761         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
762         finitef multiarch implementation.
763         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
764         file.
765         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
766         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
767         multiarch finite for PPC64.
768         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
769         file.
770         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
771         multiarch finitef for PPC64.
773 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
775         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
776         lrint multiarch implementation.
777         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
778         file.
779         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
780         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
781         multiarch llrint for PPC64.
782         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
783         multiarch lrint for PPC64.
785 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
787         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
788         copysignf multiarch implementation.
789         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
790         file.
791         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
792         file.
793         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
794         multiarch copysign for PPC64.
795         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
796         multiarch copysignf for PPC64.
798 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
800         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
801         multiarch implementation.
802         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
803         file.
804         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
805         file.
806         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
807         file.
808         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
809         file.
810         multiarch llround for PPC64.
811         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
812         multiarch trunc for PPC64.
813         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
814         multiarch truncf for PPC64.
816 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
818         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
819         multiarch implementation.
820         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
821         file.
822         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
823         file.
824         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
825         file.
826         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
827         file.
828         multiarch llround for PPC64.
829         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
830         multiarch round for PPC64.
831         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
832         multiarch roundf for PPC64.
834 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
836         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
837         multiarch implementation.
838         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
839         file.
840         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
841         file.
842         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
843         file.
844         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
845         file.
846         multiarch llround for PPC64.
847         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
848         multiarch floor for PPC64.
849         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
850         multiarch floorf for PPC64.
852 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
854         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
855         multiarch implementation.
856         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
857         file.
858         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
859         file.
860         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
861         file.
862         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
863         file.
864         multiarch llround for PPC64.
865         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
866         multiarch ceil for PPC64.
867         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
868         multiarch ceilf for PPC64.
870 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
872         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
873         multiarch implementation.
874         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
875         file.
876         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
877         file.
878         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
879         file.
880         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
881         multiarch llround for PPC64.
882         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
883         multiarch lround for PPC64.
885 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
887         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
888         multiarch implementation.
889         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
890         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
891         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
892         file.
893         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
894         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
895         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
896         multiarch isnan for PPC64.
897         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
898         multiarch isnanf for PPC64.
900 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
902         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
903         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
904         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
905         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
906         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
909 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
911         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
912         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
913         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
914         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
916 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
918         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
919         multiarch implementations.
920         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
921         (__libc_ifunc_impl_list): Likewise.
922         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
923         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
924         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
925         multiarch stpcpy for PPC64.
927 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
929         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
930         multiarch implementations.
931         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
932         (__libc_ifunc_impl_list): Likewise.
933         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
934         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
935         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
936         multiarch strcpy for PPC64.
938 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
940         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
941         redefine function name.
942         (_wordcopy_fwd_dest_aligned): Likewise.
943         (_wordcopy_bwd_aligned): Likewise.
944         (_wordcopy_bwd_dest_aligned): Likewise.
945         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
946         multiarch implementations.
947         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
948         (__libc_ifunc_impl_list): Likewise.
949         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
950         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
951         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
952         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
953         multiarch wcscpy for PPC64.
955 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
957         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
958         multiarch implementations.
959         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
960         (__libc_ifunc_impl_list): Likewise.
961         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
962         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
963         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
964         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
965         multiarch wcscpy for PPC64.
967 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
969         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
970         multiarch implementations.
971         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
972         (__libc_ifunc_impl_list): Likewise.
973         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
974         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
975         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
976         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
977         multiarch wcsrchr for PPC64.
979 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
981         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
982         multiarch implementations.
983         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
984         (__libc_ifunc_impl_list): Likewise.
985         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
986         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
987         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
988         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
989         multiarch wcschr for PPC64.
991 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
993         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
994         multiarch implementations.
995         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
996         (__libc_ifunc_impl_list): Likewise.
997         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
998         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
999         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
1000         multiarch strchrnul for PPC64.
1002 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1004         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
1005         implementations.
1006         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1007         (__libc_ifunc_impl_list): Likewise.
1008         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
1009         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
1010         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
1011         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
1012         strchr for PPC64.
1014 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1016         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
1017         implementations.
1018         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1019         (__libc_ifunc_impl_list): Likewise.
1020         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
1021         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
1022         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
1023         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
1024         strncmp for PPC64.
1026 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1028         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
1029         multiarch implementations.
1030         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1031         (__libc_ifunc_impl_list): Likewise.
1032         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
1033         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
1034         strncasecmp for PPC64.
1035         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
1036         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
1037         multiarch strncasecmp_l for PPC64.
1039 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1041         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
1042         multiarch implementations.
1043         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1044         (__libc_ifunc_impl_list): Likewise.
1045         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
1046         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
1047         multiarch strcasecmp for PPC64.
1048         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
1049         file.
1050         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
1051         multiarch strcasecmp_l for PPC64.
1053 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1055         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
1056         implementations.
1057         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1058         (__libc_ifunc_impl_list): Likewise.
1059         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
1060         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
1061         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
1062         strnlen for PPC64.
1064 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1066         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
1067         implementations.
1068         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1069         (__libc_ifunc_impl_list): Likewise.
1070         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
1071         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
1072         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
1073         strlen for PPC64.
1075 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1077         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
1078         implementations.
1079         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1080         (__libc_ifunc_impl_list): Likewise.
1081         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
1082         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
1083         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
1084         rawmemrchr for PPC64.
1086 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1088         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
1089         implementation.
1090         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1091         (__libc_ifunc_impl_list): Likewise.
1092         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
1093         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
1094         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
1095         memrchr for PPC64.
1097 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1099         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
1100         implementation.
1101         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1102         (__libc_ifunc_impl_list): Likewise.
1103         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
1104         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
1105         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
1106         memchr for PPC64.
1108 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1110         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
1111         implementation.
1112         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1113         (__libc_ifunc_impl_list): Likewise.
1114         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
1115         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
1116         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
1117         mempcpy for PPC64.
1119 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1121         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
1122         avoid cretion of __bzero symbol.
1123         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
1124         Likewise.
1125         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
1126         Likewise.
1127         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
1128         Likewise.
1129         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
1130         multiarch implementations.
1131         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1132         (__libc_ifunc_impl_list): Likewise.
1133         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
1134         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
1135         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
1136         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
1137         bzero for PPC32.
1138         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
1139         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
1140         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
1141         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
1142         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
1143         memset for PPC64.
1144         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
1146 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1148         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
1149         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
1150         implementations.
1151         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1152         (__libc_ifunc_impl_list): Likewise.
1153         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
1154         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
1155         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
1156         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
1157         memcmp for PPC64.
1159 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1161         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
1162         multiarch for POWER/PPC64.
1163         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1164         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
1165         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
1166         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
1167         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
1168         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
1169         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
1170         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
1171         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
1172         memcpy for PPC64.
1174 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1176         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
1177         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
1178         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
1179         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
1180         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
1181         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
1182         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
1183         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
1184         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
1185         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
1186         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
1187         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
1188         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
1189         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
1190         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
1191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
1192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
1193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
1194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
1195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
1196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
1197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
1199 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1201         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
1203 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
1205         * benchtests/Makefile (bench): Add exp2 and log2.
1206         (LDLIBS-bench-exp2): Add -lm.
1207         (LDLIBS-bench-log2): Likewise.
1208         * benchtests/exp2-inputs: New inputs file.
1209         * benchtests/log2-inputs: New inputs file.
1210         * benchtests/log-inputs: Add new inputs.
1211         * benchtests/tan-inputs: Likewise.
1213 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
1215         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
1216         definition...
1217         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
1218         csloww1, csloww2): ... from here.
1220         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
1221         instead of structures.
1222         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
1223         (POLYNOMIAL): Likewise.
1224         (TAYLOR_SLOW): Likewise.
1225         (__sin): Likewise.
1226         (__cos): Likewise.
1227         (slow1): Likewise.
1228         (slow2): Likewise.
1229         (sloww): Likewise.
1230         (sloww1); Likewise.
1231         (sloww2): Likewise.
1232         (bsloww1): Likewise.
1233         (bsloww2): Likewise.
1234         (cslow2): Likewise.
1235         (csloww): Likewise.
1236         (csloww1): Likewise.
1237         (csloww2): Likewise.
1239 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
1241         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
1242         (__malloc_assert, __libc_realloc, __libc_calloc,
1243         _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
1244         memcpy and memset.
1245         * malloc/hooks.c (realloc_check): Likewise.
1247 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
1249         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
1250         * malloc/arena.c: Remove PER_THREAD conditional.
1251         [!PER_THREAD]: Remove code.
1252         (ptmalloc_unlock_all2): Likewise.
1253         (ptmalloc_init): Likewise.
1254         (_int_new_arena): Likewise.
1255         (arena_get2): Likewise.
1256         * malloc/hooks.c (__malloc_get_state): Likewise.
1257         (__malloc_set_state): Likewise.
1258         * malloc/malloc.c: Likewise.
1259         (struct malloc_state): Likewise.
1260         (struct malloc_par): Likewise.
1261         (__libc_realloc): Likewise.
1262         (__libc_mallopt): Likewise.
1264 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1266         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
1268 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
1270         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
1271         macro to a function.  Check for zero perturb_byte.
1272         (_int_malloc, _int_free): Remove zero perturb_byte checks.
1274 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
1276         * malloc/malloc.c: (force_reg): Remove.
1277         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
1278         _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
1279         force_reg by atomic_forced_read.
1280         * malloc/arena.c (ptmalloc_init): Likewise.
1281         * malloc/hooks.c (top_check): Likewise.
1283 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1285         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1287 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
1289         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1291 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
1293         * math/auto-libm-test-in: Add tests of lgamma.
1294         * math/auto-libm-test-out: Regenerated.
1295         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
1296         (M_LOG_2_SQRT_PIl): Likewise.
1297         (lgamma_test_data): Use AUTO_TESTS_f_f1.
1298         * math/gen-auto-libm-tests.c (func_calc_method): Add value
1299         mpfr_f_f1.
1300         (func_calc_desc): Add mpfr_f_f1 union field.
1301         (ARGS1): New macro.
1302         (ARGS2): Likewise.
1303         (ARGS3): Likewise.
1304         (ARGS4): Likewise.
1305         (RET1): Likewise.
1306         (RET2): Likewise.
1307         (CALC): Likewise.
1308         (FUNC): Likewise.
1309         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
1310         (test_functions): Add lgamma.
1311         (calc_generic_results): Handle mpfr_f_f1.
1312         * sysdeps/i386/fpu/libm-test-ulps: Update.
1313         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1315 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1317         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
1318         __mpn_add_n for PowerPC64/POWER7.
1319         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
1320         __mpn_sub_n for PowerPC64/POWER7.
1322 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1324         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
1325         __mpn_addmul_1 for PowerPC64.
1326         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
1327         __mpn_submul_1 for PowerPC64.
1328         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
1329         for PowerPC64.
1330         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
1331         for PowerPC64.
1333 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
1335         [BZ #15089]
1336         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
1338 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1340         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
1342 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1344         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
1345         add multiarch folders.
1346         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
1347         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
1348         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
1349         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
1350         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
1351         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
1352         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
1353         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
1354         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
1355         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
1356         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
1357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
1358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
1359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
1360         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
1361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
1362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
1364 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1366         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
1367         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
1368         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
1369         New file.
1370         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
1371         New file.
1372         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
1373         multiarch __ieee754_hypot for PowerPC32.
1374         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
1375         New file.
1376         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
1377         New file.
1378         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
1379         multiarch __ieee754_hypotf for PowerPC32.
1381 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1383         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
1384         long_double_symbol only if __logbl is defined.
1385         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
1386         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
1387         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
1388         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
1389         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
1390         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
1391         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
1392         path for implementation.
1393         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
1394         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
1395         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
1396         logb, and logbl multiarch implementations for PowerPC32.
1397         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
1398         file.
1399         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
1400         file.
1401         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
1402         multiarch logb for PowerPC32.
1403         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
1404         file.
1405         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
1406         file.
1407         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
1408         multiarch logbf for PowerPC32.
1409         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
1410         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
1411         file.
1412         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
1413         multiarch logbl implementation for PowerPC32.
1415 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1417         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
1418         and modff multiarch implementations.
1419         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
1420         New file.
1421         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
1422         New file.
1423         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
1424         multiarch modf for PowerPC32.
1425         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
1426         New file.
1427         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
1428         New file.
1429         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
1430         multiarch modff for PowerPC32.
1432 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1434         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
1435         and lrintf multiarch implementations.
1436         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
1437         New file.
1438         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
1439         New file.
1440         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
1441         multiarch lrint for PowerPC32.
1442         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
1443         file: multiarch lrintf for PowerPC32.
1445 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1447         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
1448         and lroundf multiarch implementations.
1449         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
1450         New file.
1451         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
1452         New file.
1453         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
1454         New file.
1455         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
1456         multiarch lround for PowerPC32.
1457         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
1458         file: multiarch lroundf for PowerPC32.
1460 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1462         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
1463         copysign and copysignf multiarch implementations.
1464         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
1465         New file.
1466         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
1467         New file.
1468         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
1469         file: multiarch copysign for PowerPC32.
1470         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
1471         file: multiarch copysignf for PowerPC32.
1473 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1475         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
1476         and truncf multiarch implementations.
1477         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
1478         New file.
1479         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
1480         file.
1481         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
1482         multiarch trunc for PowerPC32.
1483         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
1484         New file.
1485         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
1486         New file.
1487         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
1488         multiarch truncf for PowerPC32.
1490 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1492         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
1493         and roundf multiarch implementations.
1494         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
1495         New file.
1496         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
1497         file.
1498         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
1499         multiarch round for PowerPC32.
1500         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
1501         New file.
1502         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
1503         New file.
1504         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
1505         multiarch roundf for PowerPC32.
1507 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1509         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
1510         and floorf multiarch implementations.
1511         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
1512         New file.
1513         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
1514         file.
1515         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
1516         multiarch floor for PowerPC32.
1517         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
1518         New file.
1519         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
1520         New file.
1521         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
1522         multiarch floorf for PowerPC32.
1524 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1526         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
1527         and ceilf multiarch implementations.
1528         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
1529         New file.
1530         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
1531         file.
1532         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
1533         multiarch ceil for PowerPC32.
1534         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
1535         New file.
1536         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
1537         file.
1538         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
1539         multiarch ceilf for PowerPC32.
1541 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1543         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
1544         is defined.
1545         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
1546         FINITEF is defined.
1547         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
1548         and finitef multiarch implementations.
1549         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
1550         New file.
1551         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
1552         file.
1553         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
1554         multiarch finite for PowerPC32.
1555         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
1556         New file.
1557         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
1558         file: multiarch finitef for PowerPC32.
1560 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1562         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
1563         and isinff multiarch implementations.
1564         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
1565         file.
1566         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
1567         file.
1568         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
1569         multiarch isinf for PowerPC32.
1570         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
1571         New file.
1572         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
1573         multiarch isinff for PowerPC32.
1575 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1577         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
1578         alias when __isnan is defined.
1579         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
1580         and isnanf multiarch implementations.
1581         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
1582         file.
1583         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
1584         file.
1585         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
1586         file.
1587         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
1588         file.
1589         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
1590         multiarch isnan for PowerPC32.
1591         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
1592         New file.
1593         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
1594         New file.
1595         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
1596         multiarch isnanf for PowerPC32.
1598 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1600         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
1601         and sqrtf multiarch implementations.
1602         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
1603         file.
1604         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
1605         file.
1606         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
1607         multiarch sqrt for PowerPC32.
1608         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
1609         file.
1610         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
1611         file.
1612         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
1613         multiarch sqrtf for PowerPC32.
1615 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1617         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
1618         and llroundf multiarch implementations.
1619         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
1620         New file.
1621         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
1622         New file.
1623         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
1624         New file.
1625         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
1626         file: multiarch llround for PowerPC32.
1627         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
1628         file: multiarch llroundf for PowerPC32.
1630 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1632         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
1633         multiarch PowerPC32 fpu implementations.
1634         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
1635         New file.
1636         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
1637         New file.
1638         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
1639         multiarch llrint for PowerPC32.
1640         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
1641         New file.
1642         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
1643         New file.
1644         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
1645         file.
1647 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
1651 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1653         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
1654         file.
1655         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
1656         file.
1657         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
1658         file.
1659         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
1660         multiarch wordcopy for PPC32.
1661         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
1662         wordcopy objects.
1663         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1664         (__libc_ifunc_impl_list): Likewise.
1665         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
1666         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
1667         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
1668         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
1669         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
1670         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
1672 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1674         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
1675         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
1676         file.
1677         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
1678         file.
1679         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
1680         file.
1681         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
1682         multiarch wcscpy for PPC32.
1683         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
1684         multiarch objects.
1685         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1686         (__libc_ifunc_impl_list): Likewise.
1687         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
1688         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
1689         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
1690         sysdeps/powerpc/power6/wcscpy.c.
1692 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1694         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
1695         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
1696         file.
1697         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
1698         file.
1699         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
1700         file.
1701         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
1702         multiarch wcsrchr for PPC32.
1703         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
1704         multiarch objects.
1705         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1706         (__libc_ifunc_impl_list): Likewise.
1707         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
1708         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
1709         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
1710         sysdeps/powerpc/power6/wcsrchr.c.
1712 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1714         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
1715         file.
1716         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
1717         file.
1718         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
1719         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
1720         multiarch wcschr for PPc32.
1721         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
1722         multiarch objects.
1723         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1724         (__libc_ifunc_impl_list): Likewise.
1725         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
1726         * sysdeps/powerpc/power6/wcschr.c: ... to here.
1727         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
1728         sysdeps/powerpc/power6/wcschr.c.
1730 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1732         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
1733         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
1734         file.
1735         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
1736         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
1737         file: multiarch strchr for PPC32.
1738         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
1739         multiarch objects.
1740         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1741         (__libc_ifunc_impl_list): Likewise.
1743 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1745         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
1746         name.
1747         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
1748         file.
1749         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
1750         file.
1751         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
1752         multiarch strchrnul for PPC32.
1753         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
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/strncase-power7.c: New
1761         file.
1762         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
1763         multiarch strncasecmp for PPC32.
1764         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
1765         file.
1766         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
1767         multiarch strncasecmp_l for PPC32.
1768         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
1769         strncasecmp multiarch objects.
1770         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1771         (__libc_ifunc_impl_list): Likewise.
1773 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1775         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
1776         file.
1777         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
1778         multiarch strncasecmp for PPC32.
1779         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
1780         New file.
1781         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
1782         multiarch strcasecmp_l for PPC32.
1783         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
1784         multiarch objects.
1785         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1786         (__libc_ifunc_impl_list): Likewise.
1788 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1790         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
1791         file.
1792         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
1793         file.
1794         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
1795         multiarch strncmp for PPC32.
1796         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
1797         multiarch objects.
1798         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1799         (__libc_ifunc_impl_list): Likewise.
1801 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1803         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
1804         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
1805         file.
1806         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
1807         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
1808         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
1809         multiarch objects.
1810         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1811         (__libc_ifunc_impl_list): Likewise.
1813 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1815         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
1816         file.
1817         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
1818         file.
1819         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
1820         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
1821         multiarch objects.
1822         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1823         (__libc_ifunc_impl_list): Likewise.
1825 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1827         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
1828         file.
1829         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
1830         file.
1831         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
1832         multiarch rawmemchr for PPC32.
1833         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
1834         multiarch objects.
1835         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1836         (__libc_ifunc_impl_list): Likewise.
1838 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1840         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
1841         file.
1842         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
1843         file.
1844         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
1845         file: memrchr multiarch for PPC32.
1846         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
1847         multiarch objects.
1848         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1849         (__libc_ifunc_impl_list): Likewise.
1851 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1853         * string/memchr.c (__memchr): Using macro to redefine symbol name.
1854         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
1855         file.
1856         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
1857         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
1858         multiarch memchr for PPC32.
1859         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
1860         multiarch objects.
1861         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1862         (__libc_ifunc_impl_list): Likewise.
1864 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1866         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
1867         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
1868         file.
1869         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
1870         file.
1871         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
1872         file: multiarch mempcpy for PPC32.
1873         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
1874         multiarch objects.
1875         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1876         (__libc_ifunc_impl_list): Likewise.
1878 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1880         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
1881         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
1882         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
1883         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
1884         multiarch bzero for PPC32.
1885         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
1886         file.
1887         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
1888         file.
1889         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
1890         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
1891         file: multiarch memset for PPC32.
1892         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
1893         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
1894         memset multiarch objects.
1895         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1896         (__libc_ifunc_impl_list): Likewise.
1898 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1900         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
1901         file.
1902         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
1903         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
1904         memcmp for PPC32.
1905         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
1906         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
1907         multiarch objects.
1908         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1909         (__libc_ifunc_impl_list): Likewise.
1911 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1913         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
1914         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
1915         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
1916         file.
1917         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
1918         file.
1919         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
1920         file.
1921         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
1922         multiarch memcpy for PPC32.
1923         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
1924         multiarch objects.
1925         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1926         (__libc_ifunc_impl_list): Likewise.
1928 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1930         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
1931         support multiarch for POWER/PPC32.
1932         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
1933         Likewise.
1934         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
1935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
1936         Implies file to make multiarch folder appers before the fpu and
1937         default folder for power4 configuration.
1939 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
1941         * scripts/bench.pl: Append volatile keyword to type.
1943 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1945         * sysdeps/sh/sotruss-lib.c: New file.
1946         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
1948 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1950         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1952 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
1954         [BZ #6810]
1955         * math/w_tgamma.c: Include <errno.h>.
1956         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
1957         * math/w_tgammaf.c: Include <errno.h>.
1958         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
1959         * math/w_tgammal.c: Include <errno.h>.
1960         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
1961         * math/auto-libm-test-in: Do not allow missing errno on tgamma
1962         underflow.  Add more tgamma tests.
1963         * math/auto-libm-test-out: Regenerated.
1964         * sysdeps/i386/fpu/libm-test-ulps: Update.
1965         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1967         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
1968         sin, sinh, tan, tanh, tgamma, y0 and y1.
1969         * math/auto-libm-test-out: Regenerated.
1970         * math/libm-test.inc (TEST_COND_x86_64): New macro.
1971         (TEST_COND_x86): Likewise.
1972         (M_E2l): Remove macro.
1973         (M_E3l): Likewise.
1974         (M_2_SQRT_PIl): Likewise.
1975         (M_SQRT_PIl): Likewise.
1976         (M_1_DIV_El): Likewise.
1977         (log_test_data): Use AUTO_TESTS_f_f.
1978         (log10_test_data): Likewise.
1979         (log1p_test_data): Likewise.
1980         (log2_test_data): Likewise.
1981         (sin_test_data): Likewise.
1982         (sin_tonearest_test_data): Likewise.
1983         (sin_towardzero_test_data): Likewise.
1984         (sin_downward_test_data): Likewise.
1985         (sin_upward_test_data): Likewise.
1986         (sinh_test_data): Likewise.
1987         (sinh_tonearest_test_data): Likewise.
1988         (sinh_towardzero_test_data): Likewise.
1989         (sinh_downward_test_data): Likewise.
1990         (sinh_upward_test_data): Likewise.
1991         (tan_test_data): Likewise.
1992         (tan_tonearest_test_data): Likewise.
1993         (tan_towardzero_test_data): Likewise.
1994         (tan_downward_test_data): Likewise.
1995         (tan_upward_test_data): Likewise.
1996         (tanh_test_data): Likewise.
1997         (tgamma_test_data): Likewise.
1998         (y0_test_data): Likewise.
1999         (y1_test_data): Likewise.
2000         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
2001         (special_real_inputs): Add pi/4.
2002         * sysdeps/i386/fpu/libm-test-ulps: Update.
2003         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2005 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2007         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
2008         "longjmp_target" static probes.
2009         (__longjmp): Rename to __longjmp_symbol.
2010         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
2011         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
2012         on which longjmp to generate.
2013         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2014         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
2015         probe.
2016         (__sigsetjmp): Rename to __sigsetjmp_symbol.
2017         (__sigjmp_save): Rename to __sigjmp_save_symbol.
2018         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2019         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
2020         and __sigjmp_save_symbol based on which sigsetjmp to generated.
2021         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
2022         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
2023         __longjmp_symbol based on which __longjmp to generate.
2024         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
2025         probe.
2026         (setjmp): Rename to setjmp_symbol.
2027         (__sigsetjmp): Rename to __sigsetjmp_symbol.
2028         (_setjmp): Rename to _setjmp_symbol.
2029         (__sigsetjmp): Rename to __sigsetjmp_symbol.
2030         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
2031         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
2032         which setjmp to generate.
2033         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
2034         "longjmp_target" static probes.
2036 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
2038         * benchtests/README: Add note about output arguments.
2039         * benchtests/bench-sincos.c: Remove file.
2040         * benchtests/sincos-inputs: New file.
2041         * scripts/bench.pl: Identify output arguments and define
2042         static variables for them.
2044         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
2046         [BZ #15941]
2047         * Makefile (INSTALL): Add install-plain.texi as the primary
2048         dependency.
2049         * manual/install-plain.texi: New file.
2050         * manual/install.texi: Include node directive only for
2051         non-plaintext output.
2053 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
2055         * stdlib/longlong.h: Update from GCC.
2057         [BZ #6807]
2058         [BZ #15901]
2059         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
2060         * math/w_j0f.c (y0f): Likewise.
2061         * math/w_j0l.c (__y0l): Likewise.
2062         * math/w_j1.c (y1): Likewise.
2063         * math/w_j1f.c (y1f): Likewise.
2064         * math/w_j1l.c (__y1l): Likewise
2065         * math/w_jn.c (yn): Likewise.
2066         * math/w_jnf.c (ynf): Likewise.
2067         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
2068         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
2069         value for Bessel function domain errors outside _SVID_ mode.
2070         Adjust sign of return value for yn (negative integer, 0).
2071         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
2072         by zero in return for negative x and set sign appropriately for
2073         negative n.
2074         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
2075         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
2076         * math/libm-test.inc (y0_test_data): Add more tests and adjust
2077         expectations in error cases.
2078         (y1_test_data): Likewise.
2079         (yn_test_data): Likewise.
2080         * sysdeps/i386/fpu/libm-test-ulps: Update.
2081         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2083 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2085         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
2086         "64" to "64-v1".  Add "64-v2".
2087         (abi-64-options): Rename to ...
2088         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
2089         (abi-64-condition): Rename to ...
2090         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
2091         (abi-64-ld-soname): Rename to ...
2092         (abi-64-v1-ld-soname): ... this.
2093         (abi-64-v2-options): Define.
2094         (abi-64-v2-condition): Likewise.
2095         (abi-64-v2-ld-soname): Likewise.
2096         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
2097         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
2098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
2099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
2100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
2102 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2103             Alan Modra  <amodra@gmail.com>
2105         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
2106         New versions for use with the ELFv2 ABI.
2107         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
2108         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
2109         declaration.
2110         (struct La_ppc64v2_retval): Likewise.
2111         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
2112         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
2113         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
2114         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
2115         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
2116         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
2117         Do not save or restore CR.
2118         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
2119         (_dl_profile_resolve): Do no save or restore CR.  Support extended
2120         return values for ELFv2 ABI.  Fix location of FPR return registers.
2121         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
2122         updated values for _CALL_ELF == 2.
2123         (La_regs, La_retval, int_retval): Likewise.
2125 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2127         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
2128         (FRAME_MIN_SIZE_PARM): Likewise.
2129         (FRAME_BACKCHAIN): Likewise.
2130         (FRAME_CR_SAVE): Likewise.
2131         (FRAME_LR_SAVE): Likewise.
2132         (FRAME_TOC_SAVE): Likewise.
2133         (FRAME_PARM_SAVE): Likewise.
2134         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2135         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2136         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2137         (call_mcount_parm_offset): New macro.
2138         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
2139         (PROF): Use symbolic stack frame offsets.
2140         (TAIL_CALL_SYSCALL_ERROR): Likewise.
2141         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
2142         Redefine in terms of FRAME_MIN_SIZE.
2143         (_dl_runtime_resolve): Use symbolic stack frame offsets.
2144         (_dl_profile_resolve): Likewise.  Update comment.
2145         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
2146         symbols stack frame offsets.
2147         (__sigsetjmp): Likewise.
2148         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
2149         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
2150         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
2151         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
2153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
2154         (FRAME_BACKCHAIN): Remove.
2155         (FRAME_CR_SAVE): Likewise.
2156         (FRAME_LR_SAVE): Likewise.
2157         (FRAME_COMPILER_DW): Likewise.
2158         (FRAME_LINKER_DW): Likewise.
2159         (FRAME_TOC_SAVE): Likewise.
2160         (FRAME_PARM_SAVE): Likewise.
2161         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2162         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2163         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
2165         (CHECK_SP): Use symbolic stack frame offsets.
2166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
2167         zone" instead of caller's parameter save area for temp storage.
2168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
2169         Likewise.  Also, use symbolic stack frame offsets.
2170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
2171         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
2172         our own stack frame instead of the caller's.
2173         (__socket): Use symbolic stack frame offsets.
2175 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2176             Alan Modra  <amodra@gmail.com>
2178         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
2179         Define.
2180         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
2181         PPC64_LOCAL_ENTRY_OFFSET): Define.
2182         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
2183         New function.
2184         (elf_machine_fixup_plt): Call it.
2185         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
2186         reloc arguments.
2187         (elf_machine_rela): Update call to elf_machine_plt_conflict.
2188         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2189         _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
2190         r2 before calling target.
2192 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2193             Alan Modra  <amodra@gmail.com>
2195         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
2196         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
2197         versions of macros to support ELFv2 ABI.
2198         (LOCALENTRY): New macro.
2199         (ENTRY, EALIGN): Use it.
2200         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
2201         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
2202         fall through into ENTRY entry point.
2203         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
2204         Only define if _CALL_ELF != 2.
2206         (elf_machine_matches_host): Verify ABI version matches.
2207         (RTLD_START): Use LOCALENTRY.
2208         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
2209         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
2210         (PLT_ENTRY_WORDS): New macro.
2211         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
2212         (elf_machine_runtime_setup): Support ELFv2 ABI.
2213         (elf_machine_fixup_plt): Likewise.
2214         (elf_machine_plt_conflict): Likewise.
2215         (resolve_ifunc): Likewise.
2216         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
2217         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
2218         Likewise.
2219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
2220         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
2221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2222         (makecontext): Support ELFv2 ABI.
2223         * elf/elf.h (EF_PPC64_ABI): Define.
2225 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2227         * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
2228         New assembler macro.
2229         [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
2230         [ASSEMBLER] (ENTRY): ... but instead here ...
2231         [ASSEMBLER] (EALIGN): ... and here.
2232         [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
2233         [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
2234         [!ASSEMBLER] (ENTRY_2): Use it.
2235         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
2236         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
2237         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2238         _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
2239         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
2240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
2241         Use PPC64_LOAD_FUNCPTR.
2243 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2245         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
2247 2013-12-04  Alan Modra  <amodra@gmail.com>
2249         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
2250         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
2251         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
2252         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
2254         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
2255         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
2256         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
2257         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
2258         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
2259         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
2261 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2264         (__makecontext): Fix incorrect CFI when backtracing out of
2265         context created via makecontext.
2266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
2267         (__setcontext): Fix incorrect CFI during switch to new context.
2268         (__novec_setcontext): Likewise.
2270 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
2272         [BZ #4772]
2273         * time/strptime_l.c (__strptime_internal): Allow modifiers
2274         in strptime.
2275         * time/tst-strptime.c (day_tests): Add testcase.
2278 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
2280         * scripts/bench.pl: Skip over blank lines.
2282 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
2284         [BZ #926]
2285         * manual/time.texi (Calendar Time): Clarify what timezone functions
2286         use.
2288 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2290         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2292 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
2294         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
2295         implementation.
2296         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
2297         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
2298         * debug/memset_chk.c (__memset_chk): Likewise.
2299         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
2300         * debug/strncpy_chk.c: Likewise.
2302 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
2304         [BZ #15268]
2305         [BZ #15425]
2306         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
2307         (__ieee754_exp): For possibly underflowing results, check size of
2308         result and force underflow exception if required.
2309         * math/auto-libm-test-in: Add more tests of exp.
2310         * math/auto-libm-test-out: Regenerated.
2311         * sysdeps/i386/fpu/libm-test-ulps: Update.
2312         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2314         [BZ #16283]
2315         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
2316         * math/w_exp2f.c (__exp2f): Likewise.
2317         * math/w_exp2l.c (__exp2l): Likewise.
2318         * math/auto-libm-test-in: Do not allow missing errno on exp2
2319         underflow.
2320         * math/auto-libm-test-out: Regenerated.
2322 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
2324         [BZ #16274]
2325         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
2326         handle filename validation.
2327         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
2328         (do_open): Delete.
2330 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
2332         [BZ #6786]
2333         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
2334         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
2335         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
2336         <float.h>.
2337         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
2338         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
2339         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2340         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
2341         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2342         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
2343         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2344         * math/auto-libm-test-in: Don't allow missing errno from erfc.
2345         Add more erfc tests.
2346         * math/auto-libm-test-out: Regenerated.
2347         * sysdeps/i386/fpu/libm-test-ulps: Update.
2348         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2350         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
2351         exp2, expm1, j0 and j1.
2352         * math/auto-libm-test-out: Regenerated.
2353         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
2354         (erfc_test_data): Likewise.
2355         (exp_test_data): Likewise.
2356         (exp_tonearest_test_data): Likewise.
2357         (exp_towardzero_test_data): Likewise.
2358         (exp_downward_test_data): Likewise.
2359         (exp_upward_test_data): Likewise.
2360         (exp10_test_data): Likewise.
2361         (exp2_test_data): Likewise.
2362         (expm1_test_data): Likewise.
2363         (j0_test_data): Likewise.
2364         (j1_test_data): Likewise.
2365         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
2366         (input_flag_type): Add flag_xfail_rounding.
2367         (input_flags): Add xfail-rounding.
2368         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
2369         (output_for_one_input_case): Handle flag_xfail_rounding.
2370         * sysdeps/i386/fpu/libm-test-ulps: Update.
2371         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2373 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
2375         [BZ #16289]
2376         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
2377         division by 0.
2379 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
2381         [BZ #16195]
2382         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
2383         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
2384         (STAP_PROBE0): New macro.
2385         (STAP_PROBE1): Likewise.
2386         (STAP_PROBE2): Likewise.
2387         (STAP_PROBE3): Likewise.
2388         (STAP_PROBE4): Likewise.
2390 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
2392         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
2394 2013-12-02  Steve Ellcey  <sellcey@mips.com>
2396         * benchtests/Makefile (bench): Add sqrt.
2397         (LDLIBS-bench-sqrt): New.
2398         * benchtests/sqrt-input: New.
2400 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
2402         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
2403         (GAIH_EAI): Likewise.
2404         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
2405         (gaih_inet): Likewise.
2406         (getaddrinfo): Don't use GAIH_EAI.
2408         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
2409         (struct gaih): Remove definition.
2411 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
2413         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
2414         Use HERRNOP directly.
2416 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2418         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2420 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
2422         * math/gen-auto-libm-tests.c (test_functions): Add more
2423         single-argument functions.
2424         (special_fill_pi_2): New function.
2425         (special_fill_minus_pi_2): Likewise.
2426         (special_fill_pi_6): Likewise.
2427         (special_fill_minus_pi_6): Likewise.
2428         (special_fill_pi_3): Likewise.
2429         (special_fill_2pi_3): Likewise.
2430         (special_fill_e): Likewise.
2431         (special_fill_1_e): Likewise.
2432         (special_fill_e_minus_1): Likewise.
2433         (special_real_inputs): Add more special inputs.
2434         (output_for_one_input_case): Do not require ERANGE on underflow to
2435         zero if round-to-nearest result does not underflow to zero, unless
2436         exact results required.
2437         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
2438         atan, atanh, cbrt, cos and cosh.
2439         * math/auto-libm-test-out: Regenerated.
2440         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
2441         (acos_tonearest_test_data): Likewise.
2442         (acos_towardzero_test_data): Likewise.
2443         (acos_downward_test_data): Likewise.
2444         (acos_upward_test_data): Likewise.
2445         (acosh_test_data): Likewise.
2446         (asin_test_data): Likewise.
2447         (asin_tonearest_test_data): Likewise.
2448         (asin_towardzero_test_data): Likewise.
2449         (asin_upward_test_data): Likewise.
2450         (asinh_test_data): Likewise.
2451         (atan_test_data): Likewise.
2452         (atanh_test_data): Likewise.
2453         (cbrt_test_data): Likewise.
2454         (cos_test_data): Likewise.
2455         (cos_tonearest_test_data): Likewise.
2456         (cos_towardzero_test_data): Likewise.
2457         (cos_downward_test_data): Likewise.
2458         (cos_upward_test_data): Likewise.
2459         (cosh_test_data): Likewise.
2460         (cosh_tonearest_test_data): Likewise.
2461         (cosh_towardzero_test_data): Likewise.
2462         (cosh_downward_test_data): Likewise.
2463         (cosh_upward_test_data): Likewise.
2464         * sysdeps/i386/fpu/libm-test-ulps: Update.
2465         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2467 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
2469         [BZ #6787]
2470         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
2471         * math/w_exp10f.c (__exp10f): Likewise.
2472         * math/w_exp10l.c (__exp10l): Likewise.
2473         * math/libm-test.inc (exp10_test_data): Add more tests and expect
2474         errno settings in existing tests.
2476         [BZ #14032]
2477         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
2478         precision control set to double precision.
2479         * sysdeps/i386/fpu/w_sqrt.c: New file.
2480         * math/auto-libm-test-in: Add more tests.
2481         * math/auto-libm-test-out: Update.
2483         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
2484         (sqrt_test_tonearest): New function.
2485         (sqrt_towardzero_test_data): New variable.
2486         (sqrt_test_towardzero): New function.
2487         (sqrt_downward_test_data): New variable.
2488         (sqrt_test_downward): New function.
2489         (sqrt_upward_test_data): New variable.
2490         (sqrt_test_upward): New function.
2491         (main): Call the new functions.
2493         * math/gen-auto-libm-tests.c: New file.
2494         * math/auto-libm-test-in: Likewise.
2495         * math/auto-libm-test-out: New generated file.
2496         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
2497         variables.
2498         (%beautify): Add generated representations of zero.
2499         (top level): Set $auto_input and call parse_auto_input.
2500         (beautify): Remove trailing "f" from hex float constants.
2501         (parse_args): Handle XFAIL_TEST.
2502         (convert_condition): New function.
2503         (or_value): Likewise.
2504         (or_cond_value): Likewise.
2505         (generate_testfile): Handle AUTO_TESTS_* lines.
2506         (parse_auto_input): New function.
2507         * math/libm-test.inc (XFAIL_TEST): New macro.
2508         (ERRNO_UNCHANGED): Update value.
2509         (ERRNO_EDOM): Likewise.
2510         (ERRNO_ERANGE): Likewise.
2511         (IGNORE_RESULT): Likewise.
2512         (TEST_COND_flt_32): New macro.
2513         (TEST_COND_dbl_64): Likewise.
2514         (TEST_COND_ldbl_96_intel): Likewise.
2515         (TEST_COND_ldbl_96_m68k): Likewise.
2516         (TEST_COND_ldbl_128): Likewise.
2517         (TEST_COND_ldbl_128ibm): Likewise.
2518         (TEST_COND_long32): Likewise.
2519         (TEST_COND_long64): Likewise.
2520         (TEST_COND_before_rounding): Likewise.
2521         (TEST_COND_after_rounding): Likewise.
2522         (enable_test): Handle XFAIL_TEST flag.
2523         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
2524         with finite results.
2525         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
2526         auto-libm-test-out.
2528 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
2529             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2531         [BZ #16214]
2532         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
2533         __tls_get_addr_internal instead of __tls_get_offset in order to
2534         avoid GOT pointer dependency.  Make rtld export
2535         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
2536         __tls_get_addr since we are a __tls_get_offset platform.
2537         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
2538         GOT pointer being set up before.
2539         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
2541 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
2543         * manual/math.texi (Errors in Math Functions): Document accuracy
2544         goals.
2546         [BZ #15004]
2547         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
2548         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
2549         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
2550         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
2551         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
2552         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
2553         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
2554         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
2555         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
2556         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
2557         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
2558         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
2559         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
2560         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
2561         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
2562         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
2564         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
2565         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
2566         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
2567         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
2568         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
2569         Likewise.
2570         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
2571         Likewise.
2572         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
2573         Likewise.
2574         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
2575         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
2576         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
2577         atomic-feupdateenv and flt-rounds.
2578         * sysdeps/powerpc/nofpu/Versions (libc): Add
2579         __atomic_feholdexcept, __atomic_feclearexcept,
2580         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
2581         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
2582         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
2583         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
2584         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
2585         here.
2586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
2587         Update.
2589         * manual/arith.texi (FP Exceptions): Document that exceptions may
2590         not be raised when matherr is used.
2591         (Math Error Reporting): Document overflow in directed rounding
2592         modes.  Document that errno may not be set when finite values are
2593         returned on overflow.  Document intent to set errno on underflow
2594         only for underflow to zero.
2596         [BZ #16271]
2597         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
2598         round-to-nearest then adjust result for other rounding modes.
2599         * include/fenv.h (fegetround): Use libm_hidden_proto.
2600         * math/fegetround.c (fegetround): Use libm_hidden_def.
2601         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
2602         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
2603         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
2604         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
2605         Likewise.
2606         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
2607         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2608         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
2609         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
2611 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
2613         [BZ #16077]
2614         * nss/Versions (libnss_files): Add
2615         _nss_files_gethostbyname3_r.
2616         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
2617         New function.
2618         (HOST_DB_LOOKUP): Remove macro.
2619         (_nss_files_gethostbyname_r): Implement function without the
2620         HOST_DB_LOOKUP macro.
2621         (_nss_files_gethostbyname2_r): Likewise.
2623 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
2625         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
2627 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
2629         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
2630         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
2631         warning.
2633 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2635         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
2636         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
2637         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
2638         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2639         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
2640         __fe_nomask_env_priv and attribute_hidden.
2641         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
2642         (libc_feupdateenv_test_ppc): Likewise.
2643         (libc_feresetround_ppc): Likewise.
2644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2645         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
2646         compat_symbol macro.
2647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2648         (__fe_nomask_env): Likewise.
2649         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
2651 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
2653         * string/Makefile: Remove ifunc tests.
2654         * string/test-string.h: Define TEST_IFUNC.
2655         * string/test-bcopy-ifunc.c: Remove.
2656         * string/test-bzero-ifunc.c: Likewise.
2657         * string/test-memccpy-ifunc.c: Likewise.
2658         * string/test-memchr-ifunc.c: Likewise.
2659         * string/test-memcmp-ifunc.c: Likewise.
2660         * string/test-memcpy-ifunc.c: Likewise.
2661         * string/test-memmem-ifunc.c: Likewise.
2662         * string/test-memmove-ifunc.c: Likewise.
2663         * string/test-mempcpy-ifunc.c: Likewise.
2664         * string/test-memrchr-ifunc.c: Likewise.
2665         * string/test-memset-ifunc.c: Likewise.
2666         * string/test-rawmemchr-ifunc.c: Likewise.
2667         * string/test-stpcpy-ifunc.c: Likewise.
2668         * string/test-stpncpy-ifunc.c: Likewise.
2669         * string/test-strcasecmp-ifunc.c: Likewise.
2670         * string/test-strcasestr-ifunc.c: Likewise.
2671         * string/test-strcat-ifunc.c: Likewise.
2672         * string/test-strchr-ifunc.c: Likewise.
2673         * string/test-strchrnul-ifunc.c: Likewise.
2674         * string/test-strcmp-ifunc.c: Likewise.
2675         * string/test-strcpy-ifunc.c: Likewise.
2676         * string/test-strcspn-ifunc.c: Likewise.
2677         * string/test-strlen-ifunc.c: Likewise.
2678         * string/test-strncasecmp-ifunc.c: Likewise.
2679         * string/test-strncat-ifunc.c: Likewise.
2680         * string/test-strncmp-ifunc.c: Likewise.
2681         * string/test-strncpy-ifunc.c: Likewise.
2682         * string/test-strnlen-ifunc.c: Likewise.
2683         * string/test-strpbrk-ifunc.c: Likewise.
2684         * string/test-strrchr-ifunc.c: Likewise.
2685         * string/test-strspn-ifunc.c: Likewise.
2686         * string/test-strstr-ifunc.c: Likewise.
2688 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
2690         * benchtests/Makefile: Remove ifunc tests.
2691         * benchtests/bench-string.h: Define TEST_IFUNC.
2692         * benchtests/bench-bcopy-ifunc.c: Remove.
2693         * benchtests/bench-bzero-ifunc.c: Likewise.
2694         * benchtests/bench-memccpy-ifunc.c: Likewise.
2695         * benchtests/bench-memchr-ifunc.c: Likewise.
2696         * benchtests/bench-memcmp-ifunc.c: Likewise.
2697         * benchtests/bench-memcpy-ifunc.c: Likewise.
2698         * benchtests/bench-memmem-ifunc.c: Likewise.
2699         * benchtests/bench-memmove-ifunc.c: Likewise.
2700         * benchtests/bench-mempcpy-ifunc.c: Likewise.
2701         * benchtests/bench-memrchr-ifunc.c: Likewise.
2702         * benchtests/bench-memset-ifunc.c: Likewise.
2703         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
2704         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
2705         * benchtests/bench-stpcpy-ifunc.c: Likewise.
2706         * benchtests/bench-stpncpy-ifunc.c: Likewise.
2707         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
2708         * benchtests/bench-strcasestr-ifunc.c: Likewise.
2709         * benchtests/bench-strcat-ifunc.c: Likewise.
2710         * benchtests/bench-strchr-ifunc.c: Likewise.
2711         * benchtests/bench-strchrnul-ifunc.c: Likewise.
2712         * benchtests/bench-strcmp-ifunc.c: Likewise.
2713         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
2714         * benchtests/bench-strcpy-ifunc.c: Likewise.
2715         * benchtests/bench-strcspn-ifunc.c: Likewise.
2716         * benchtests/bench-strlen-ifunc.c: Likewise.
2717         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
2718         * benchtests/bench-strncat-ifunc.c: Likewise.
2719         * benchtests/bench-strncmp-ifunc.c: Likewise.
2720         * benchtests/bench-strncpy-ifunc.c: Likewise.
2721         * benchtests/bench-strnlen-ifunc.c: Likewise.
2722         * benchtests/bench-strpbrk-ifunc.c: Likewise.
2723         * benchtests/bench-strrchr-ifunc.c: Likewise.
2724         * benchtests/bench-strsep-ifunc.c: Likewise.
2725         * benchtests/bench-strspn-ifunc.c: Likewise.
2726         * benchtests/bench-strstr-ifunc.c: Likewise.
2728 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
2730         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
2732 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
2734         * resolv/netdb.h: Use __glibc_reserved instead __unused.
2735         * rt/aio.h: Likewise.
2736         * sysdeps/gnu/bits/utmp.h: Likewise.
2737         * sysdeps/gnu/bits/utmpx.h: Likewise.
2738         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
2739         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
2740         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
2741         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
2742         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
2743         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
2744         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
2745         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
2746         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
2747         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
2748         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
2749         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
2750         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
2751         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
2752         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
2753         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
2754         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
2755         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
2756         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
2757         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
2758         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
2759         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
2760         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
2761         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
2762         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
2763         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2764         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
2765         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
2766         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
2767         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
2768         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
2769         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
2770         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
2771         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
2772         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
2773         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
2774         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
2775         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
2776         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
2777         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
2778         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
2779         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
2781 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
2783         [BZ #16245]
2784         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
2785         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
2787 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
2789         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
2790         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
2791         Likewise.
2793 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2795         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
2796         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
2797         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
2798         (__fesetround): Remove define.
2799         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
2800         rounding and exceptions handling.
2801         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
2802         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
2803         (__fe_nomask_env): Likewise.
2804         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
2805         __fegetround instead of fegetround.
2806         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
2807         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
2809 2013-11-21  Roland McGrath  <roland@hack.frob.com>
2811         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
2812         it's there.
2814         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
2816 2013-11-21  Meador Inge  <meadori@codesourcery.com>
2818         [BZ #11157]
2819         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
2820         (encrypt_r): Likewise.
2821         * malloc/obstack.h (obstack_free): Likewise.
2822         * posix/unistd.h (encrypt): Likewise.
2824 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
2826         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
2827         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
2828         DL_CALL_DT_FINI() that call the functions directly.
2829         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
2830         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
2831         * elf/dl-fini.c: Likewise.
2833 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
2835         * malloc/hooks.c (memalign_check): Add alignment rounding.
2836         * malloc/malloc.c (_mid_memalign): New function.
2837         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
2838         Implement by calling _mid_memalign.
2839         * manual/probes.texi (Memory Allocation Probes): Remove
2840         memory_valloc_retry and memory_pvalloc_retry.
2842 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
2844         * locale/programs/locarchive.c (open_archive): Add const
2845         qualifier to ARCHIVEFNAME and copy default fname to
2846         DEFAULT_FNAME.
2848         [BZ #15601]
2849         * libio/tst-widetext.input: Rename Oriya to Odia.
2850         * locale/iso-639.def: Likewise.
2852         * manual/probes.texi (Mathematical Function Probes): Add
2853         documentation for sin, cos, asin and acos probes.
2854         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
2855         (__sin32): Add slowasin probe.
2856         (__cos32): Add slowacos probe.
2857         (__mpsin): Add slowsin probe.
2858         (__mpcos): Add slowcos probe.
2860 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
2862         [BZ #15483]
2863         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
2864         thread-local __sim_exceptions_thread and global
2865         __sim_exceptions_global.
2866         (__sim_disabled_exceptions): Change to thread-local
2867         __sim_disabled_exceptions_thread and global
2868         __sim_disabled_exceptions_global.
2869         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
2870         and global __sim_round_mode_global.
2871         (__simulate_exceptions): Use thread-local floating-point state and
2872         set global state from it as needed.
2873         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
2874         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
2875         __sim_round_mode_thread.
2876         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
2877         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
2878         and global __sim_exceptions_global.
2879         (__sim_disabled_exceptions): Change to thread-local
2880         __sim_disabled_exceptions_thread and global
2881         __sim_disabled_exceptions_global.
2882         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
2883         and global __sim_round_mode_global.
2884         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
2885         (SIM_SET_GLOBAL): Likewise.
2886         * sysdeps/powerpc/soft-fp/sfp-machine.h
2887         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
2888         __sim_round_mode_thread.
2889         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
2890         __sim_disabled_exceptions_thread.
2891         (__sim_exceptions): Change to __sim_exceptions_thread.
2892         (__sim_disabled_exceptions): Change to
2893         __sim_disabled_exceptions_thread.
2894         (__sim_round_mode): Change to __sim_round_mode_thread.
2895         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
2896         thread-local floating-point state and set global state from it as
2897         needed.
2898         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
2899         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
2900         (__sim_disabled_exceptions): Remove extern declaration.
2901         (feenableexcept): Use thread-local floating-point state and set
2902         global state from it as needed.
2903         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
2904         extern declaration.
2905         (__sim_disabled_exceptions): Likewise.
2906         (__sim_round_mode): Likewise.
2907         (__fegetenv): Use thread-local floating-point state.
2908         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
2909         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
2910         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
2911         floating-point state and set global state from it as needed.
2912         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
2913         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2914         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
2915         Likewise.
2916         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
2917         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
2918         Likewise.
2919         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
2920         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
2921         Use __sim_round_mode_thread.
2922         * math/test-fenv-tls.c: New file.
2923         * math/Makefile (tests): Add test-fenv-tls.
2924         ($(objpfx)test-fenv-tls): Depend on
2925         $(common-objpfx)nptl/libpthread.so.
2927 2013-11-19  Andreas Schwab  <schwab@suse.de>
2929         * locale/programs/locale.c (show_info): Decode wordarray elements.
2930         * locale/categories.def (LC_MONETARY): Add element for
2931         _NL_MONETARY_CRNCYSTR.
2932         * locale/C-monetary.c (conversion_rate): New variable.
2933         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
2934         element.
2936 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
2938         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
2939         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
2941 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
2943         * elf/Makefile (tst-auxv): New test.
2944         * elf/tst-auxv.c: New
2945         * elf/rtld.c (dl_main): Adjust AT_EXECFN
2947 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
2949         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
2950         (hidden_proto): Caller changed.
2951         (hidden_tls_proto): New macro.
2952         (libc_hidden_tls_proto): Likewise.
2953         (rtld_hidden_tls_proto): Likewise.
2954         (libm_hidden_tls_proto): Likewise.
2955         (libresolv_hidden_tls_proto): Likewise.
2956         (librt_hidden_tls_proto): Likewise.
2957         (libdl_hidden_tls_proto): Likewise.
2958         (libnss_files_hidden_tls_proto): Likewise.
2959         (libnsl_hidden_tls_proto): Likewise.
2960         (libnss_nisplus_hidden_tls_proto): Likewise.
2961         (libutil_hidden_tls_proto): Likewise.
2963 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
2965         [BZ #10253]
2966         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
2967         (decompose_rpath): Defer expansion to fillin_rpath.
2968         (_dl_init_paths): Pass linkmap to fillin_rpath.
2970 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2972         * benchtests/Makefile: Add strsep.
2973         * benchtests/bench-strsep.c: New file: strsep benchtest.
2974         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
2976 2013-11-18  Andreas Schwab  <schwab@suse.de>
2978         * locale/programs/locale.c (show_info) [case byte]: Check for
2979         '\377' instead of '\177'.
2980         * locale/C-monetary.c (not_available): Always use "\377".
2981         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
2982         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
2983         detect unavailable sign_posn locale elements.
2984         * locale/localeconv.c (__localeconv): For grouping and
2985         mon_grouping handle "\177" and "\377" like no grouping.
2986         (INT_ELEM): New macro.  Use it to set all numeric members.
2987         * locale/programs/ld-monetary.c (monetary_read)
2988         <tok_mon_grouping>: Normalize single -1 to the empty string.
2989         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
2990         Likewise.
2992 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
2994         [BZ #16055]
2995         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
2996         when we match (nil).
2997         * stdio-common/tst-sscanf.c (struct test): Add testcase.
2999 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
3001         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
3002         (NO_TEST_INLINE): Update value.
3003         (ERRNO_UNCHANGED): Likewise.
3004         (ERRNO_EDOM): Likewise.
3005         (ERRNO_ERANGE): Likewise.
3006         (IGNORE_RESULT): Likewise.
3007         (check_float_internal): Check signs of NaN results if
3008         TEST_NAN_SIGN used.
3009         (check_complex): Pass TEST_NAN_SIGN flag through to second
3010         check_float_internal call.
3011         (copysign_test_data): Add tests with quiet NaNs as second
3012         argument.  Use TEST_NAN_SIGN.
3013         (fabs_test_data): Add test of negative quiet NaN argument.  Use
3014         TEST_NAN_SIGN.
3015         (signbit_test_data): Add tests of quiet NaN argument.
3016         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
3018         * math/gen-libm-test.pl (show_exceptions): Take extra argument
3019         $ignore_result.
3020         (parse_args): Handle function results specified as IGNORE.
3021         * math/libm-test.inc (IGNORE_RESULT): New macro.
3022         (check_float_internal): Do not check numerical result if flag
3023         IGNORE_RESULT set.
3024         (check_complex): Pass through IGNORE_RESULT to second
3025         check_float_internal call.
3026         (check_int): Do not check numerical result if flag IGNORE_RESULT
3027         set.
3028         (check_long): Likewise.
3029         (check_bool): Likewise.
3030         (check_longlong): Likewise.
3031         (lrint_test_data): Add tests of infinite and NaN arguments.
3032         (lrint_tonearest_test_data): Likewise.
3033         (lrint_towardzero_test_data): Likewise.
3034         (lrint_downward_test_data): Likewise.
3035         (lrint_upward_test_data): Likewise.
3036         (llrint_test_data): Likewise.
3037         (llrint_tonearest_test_data): Likewise.
3038         (llrint_towardzero_test_data): Likewise.
3039         (llrint_downward_test_data): Likewise.
3040         (llrint_upward_test_data): Likewise.
3041         (lround_test_data): Likewise.
3042         (llround_test_data): Likewise.
3044         * math/libm-test.inc (NO_TEST_INLINE): New macro.
3045         (ERRNO_UNCHANGED): Update value.
3046         (ERRNO_EDOM): Likewise.
3047         (ERRNO_ERANGE): Likewise.
3048         (NO_TEST_INLINE_FLOAT): New macro.
3049         (NO_TEST_INLINE_DOUBLE): Likewise.
3050         (enable_test): New function.
3051         (RUN_TEST_f_f): Check enable_test before running test.
3052         (RUN_TEST_2_f): Likewise.
3053         (RUN_TEST_fff_f): Likewise.
3054         (RUN_TEST_c_f): Likewise.
3055         (RUN_TEST_f_f1): Likewise.
3056         (RUN_TEST_fF_f1): Likewise.
3057         (RUN_TEST_fI_f1): Likewise.
3058         (RUN_TEST_ffI_f1): Likewise.
3059         (RUN_TEST_c_c): Likewise.
3060         (RUN_TEST_cc_c): Likewise.
3061         (RUN_TEST_f_i): Likewise.
3062         (RUN_TEST_f_i_tg): Likewise.
3063         (RUN_TEST_ff_i_tg): Likewise.
3064         (RUN_TEST_f_b): Likewise.
3065         (RUN_TEST_f_b_tg): Likewise.
3066         (RUN_TEST_f_l): Likewise.
3067         (RUN_TEST_f_L): Likewise.
3068         (RUN_TEST_fFF_11): Likewise.
3069         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
3070         conditionals.
3071         (cosh_test_data): Likewise.
3072         (exp_test_data): Likewise.
3073         (expm1_test_data): Likewise.
3074         (hypot_test_data): Likewise.
3075         (pow_test_data): Likewise.
3076         (sinh_test_data): Likewise.
3077         (tanh_test_data): Likewise.
3078         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
3079         flags argument.
3081         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
3082         tests with quiet NaN input and output.
3083         (acosh_test_data): Likewise.
3084         (asin_test_data): Likewise.
3085         (asinh_test_data): Likewise.
3086         (atan_test_data): Likewise.
3087         (atanh_test_data): Likewise.
3088         (atan2_test_data): Likewise.
3089         (cbrt_test_data): Likewise.
3090         (cos_test_data): Likewise.
3091         (cosh_test_data): Likewise.
3092         (erf_test_data): Likewise.
3093         (erfc_test_data): Likewise.
3094         (exp_test_data): Likewise.
3095         (exp10_test_data): Likewise.
3096         (exp2_test_data): Likewise.
3097         (expm1_test_data): Likewise.
3098         (hypot_test_data): Likewise.
3099         (j0_test_data): Likewise.
3100         (j1_test_data): Likewise.
3101         (jn_test_data): Likewise.
3102         (lgamma_test_data): Likewise.
3103         (log_test_data): Likewise.
3104         (log10_test_data): Likewise.
3105         (log1p_test_data): Likewise.
3106         (log2_test_data): Likewise.
3107         (pow_test_data): Likewise.
3108         (scalb_test_data): Likewise.
3109         (sin_test_data): Likewise.
3110         (sincos_test_data): Likewise.
3111         (sinh_test_data): Likewise.
3112         (tan_test_data): Likewise.
3113         (tanh_test_data): Likewise.
3114         (tgamma_test_data): Likewise.
3115         (y0_test_data): Likewise.
3116         (y1_test_data): Likewise.
3117         (yn_test_data): Likewise.
3119         [BZ #16167]
3120         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
3121         argument being NaN and avoid computations with second argument in
3122         that case.
3123         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3124         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
3125         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3127 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
3129         * locale/iso-639.def: Add Chitwani Tharu (the).
3131 2013-11-14  Andreas Schwab  <schwab@suse.de>
3133         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
3134         word instead of empty string.
3136 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3139         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
3140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3141         (__fe_nomask_env): Likewise.
3143 2013-11-13  Steve Ellcey  <sellcey@mips.com>
3145         * benchtests/bench-timing.h: Include time.h.
3147 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
3149         [BZ #15997]
3150         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
3151         to 3.4.0 for x32.
3152         * sysdeps/unix/sysv/linux/configure: Regenerated.
3154 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
3156         [BZ #16151]
3157         * stdlib/strtod_l.c (round_and_return): Do not consider
3158         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
3159         exponent one less than half the least subnormal exponent.
3160         * stdlib/test-strtod-round-data: Add more tests.
3161         * stdlib/tst-strtod-round.c (tests): Regenerated.
3163 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3165         [BZ #14143]
3166         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
3167         (__fe_mask_env): Likewise.
3168         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
3169         libm_hidden_proto and add function prototype.
3170         (__fe_mask_env): Add function prototype.
3171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3172         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
3173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
3174         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
3175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3176         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
3178 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
3180         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
3181         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
3183 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
3185         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
3186         of htab_find_slot().
3188 2013-11-11  David S. Miller  <davem@davemloft.net>
3190         [BZ #16150]
3191         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
3192         symbol in the non-vis3 case in static builds.
3193         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
3194         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
3195         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
3196         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
3198 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
3200         [BZ #387]
3201         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
3202         it is empty.
3204 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3206         * benchtests/Makefile: Add bench-strtod.
3207         * benchtests/bench-strtod.c: New file: strtod benchtest
3209 2013-11-11  Andreas Schwab  <schwab@suse.de>
3211         [BZ #16153]
3212         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
3213         terminating NUL in key length.
3215 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3217         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
3218         Add artificial ODP entry for vDSO symbol for PPC64.
3219         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
3220         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
3222 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
3224         [BZ #15374]
3225         * nss/getent.c (services_keys): Recognize services starting with digit.
3227 2013-11-06  David S. Miller  <davem@davemloft.net>
3229         [BZ #15985]
3230         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
3231         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
3233 2013-11-06  Will Newton  <will.newton@linaro.org>
3235         * manual/memory.texi (Malloc Examples): Remove register
3236         keyword from examples.
3238 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
3240         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
3242 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
3244         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
3245         depending on [__GCC_IEC_559 > 0].
3246         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
3247         depending on [__GCC_IEC_559_COMPLEX > 0].
3249 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
3251         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
3252         to iso-639.def.
3254 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
3256         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
3258 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
3260         [BZ #16112]
3261         * malloc/malloc (malloc_info): Do not handle first bin as
3262         special case.
3264 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
3266         * locale/iso-639.def: Add Central Nahuatl (nhn).
3268 2013-11-01  Bruno Haible  <bruno@clisp.org>
3270         [BZ #7003]
3271         * manual/math.texi (BSD Random): Specify range upper bound as
3272         in POSIX.
3274 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
3276         * locale/iso-639.def: Add Meadow Mari (mhr).
3278 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
3280         [BZ #14752], [BZ #15763]
3281         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
3282         Validate name.
3283         * rt/tst_shm.c: Add test for escaping directory.
3285 2013-10-31  Andreas Schwab  <schwab@suse.de>
3287         [BZ #15917]
3288         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
3289         followed by 'x' as part of digit sequence.
3290         * stdio-common/tst-sscanf.c (double_tests2): New tests.
3292 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
3294         [BZ #16037]
3295         * configure.ac: allow GNU Make 4.0 and greater.
3296         * configure: Regenerated.
3298 2013-10-30  Will Newton  <will.newton@linaro.org>
3300         [BZ #16038]
3301         * malloc/hooks.c (memalign_check): Limit alignment to the
3302         maximum representable power of two.
3303         * malloc/malloc.c (__libc_memalign): Likewise.
3304         * malloc/tst-memalign.c (do_test): Add test for very
3305         large alignment values.
3306         * malloc/tst-posix_memalign.c (do_test): Likewise.
3308 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
3310         [BZ #11087]
3311         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
3312         (munmap_chunk): Likewise.
3313         (mremap_chunk): Likewise.
3315 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
3317         [BZ #15799]
3318         * stdlib/div.c (div): Remove obsolete code.
3319         * stdlib/ldiv.c (ldiv): Likewise.
3320         * stdlib/lldiv.c (lldiv): Likewise.
3322 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
3324         [BZ #16071]
3325         * nss/nss_files/files-XXX.c (get_contents_ret): New
3326         enumerator.
3327         (get_contents): New function.
3328         (internal_getent): Use it.  Expand size of LINEBUFLEN.
3330 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
3332         * configure.in: Moved to ...
3333         * configure.ac: ... here. Change reference to configure.in
3334         to configure.ac.
3335         * sysdeps/arm/preconfigure.ac: ... here.
3336         configure.in to configure.ac.
3337         * sysdeps/gnu/configure.in: Moved to ...
3338         * sysdeps/gnu/configure.ac: ... here.
3339         * sysdeps/i386/configure.in: Moved to ...
3340         * sysdeps/i386/configure.ac: ... here.
3341         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
3342         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
3343         * sysdeps/mach/configure.in: Moved to ...
3344         * sysdeps/mach/configure.ac: ... here.
3345         * sysdeps/mach/hurd/configure.in: Moved to ...
3346         * sysdeps/mach/hurd/configure.ac: ... here.
3347         * sysdeps/powerpc/configure.in: Moved to ...
3348         * sysdeps/powerpc/configure.ac: ... here.
3349         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
3350         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
3351         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
3352         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
3353         * sysdeps/s390/s390-32/configure.in: Moved to ...
3354         * sysdeps/s390/s390-32/configure.ac: ... here.
3355         * sysdeps/s390/s390-64/configure.in: Moved to ...
3356         * sysdeps/s390/s390-64/configure.ac: ... here.
3357         * sysdeps/sh/configure.in: Moved to ...
3358         * sysdeps/sh/configure.ac: ... here.
3359         * sysdeps/sparc/configure.in: Moved to ...
3360         * sysdeps/sparc/configure.ac: ... here.
3361         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
3362         * sysdeps/unix/sysv/linux/configure.ac: ... here.
3363         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
3364         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
3365         * sysdeps/x86_64/configure.in: Moved to ...
3366         * sysdeps/x86_64/configure.ac: ... here.
3367         * sysdeps/x86_64/preconfigure.in: Moved to ...
3368         * sysdeps/x86_64/preconfigure.ac: ... here.
3369         * aclocal.m4: Change reference to configure.in to configure.ac.
3370         * config.h.in: Likewise.
3371         * manual/install.texi: Likewise.
3372         * manual/maint.texi: Likewise.
3373         * Makefile: Likewise.
3374         * malloc/Makefile: Likewise.
3375         * nscd/Makefile: Likewise.
3376         * Makeconfig: Change reference to configure.in and
3377         preconfigure.in to configure.ac and preconfigure.ac
3378         respectively.
3379         * INSTALL: Regenerated.
3380         * configure: Likewise.
3381         * sysdeps/gnu/configure: Likewise.
3382         * sysdeps/i386/configure: Likewise.
3383         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
3384         * sysdeps/mach/configure: Likewise.
3385         * sysdeps/mach/hurd/configure: Likewise.
3386         * sysdeps/powerpc/configure: Likewise.
3387         * sysdeps/powerpc/powerpc32/configure: Likewise.
3388         * sysdeps/powerpc/powerpc64/configure: Likewise.
3389         * sysdeps/s390/s390-32/configure: Likewise.
3390         * sysdeps/s390/s390-64/configure: Likewise.
3391         * sysdeps/sh/configure: Likewise.
3392         * sysdeps/sparc/configure: Likewise.
3393         * sysdeps/unix/sysv/linux/configure: Likewise.
3394         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
3395         * sysdeps/x86_64/configure: Likewise.
3396         * sysdeps/x86_64/preconfigure: Likewise.
3398 2013-10-29  Andreas Schwab  <schwab@suse.de>
3400         * stdio-common/Makefile (tst-swscanf-ENV): Define.
3402 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
3404         * benchtests/pow-inputs: Add new inputs.
3406         * benchtests/exp-inputs: Add new inputs.
3408         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
3409         conditional check for return value.
3410         (__cos32): Likewise.
3412 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3414         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
3415         to provide a boost for large inputs with word alignment.
3416         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
3417         implementation based on optimized PPC64 strcpy.
3418         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
3419         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
3420         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
3421         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
3423 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
3425         [BZ #2801]
3426         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
3428 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
3430         [BZ #14876]
3431         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
3432         * time/tst-strptime.c (day_tests): Add testcase.
3434 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
3436         [BZ #14029]
3437         * manual/pattern.texi: Acknowledge that fnmatch can fail.
3439 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
3441         [BZ #16074]
3442         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
3443         MAP_FAILED on error.
3445 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
3447         [BZ #16072]
3448         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
3449         heap for large requests.
3451 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
3453         [BZ #9954]
3454         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
3455         result if the result has no associated interface.
3456         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
3457         interface for all 127.X.Y.Z addresses.
3459 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
3461         * locale/iso-639.def: Add Ligurian (lij)
3463 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
3465         [BZ #15825]
3466         * sunrpc/rpc_main.c: Document rpcgen -5.
3468 2013-10-19  Michael Stahl  <mstahl@redhat.com>
3470         * elf/rtld.c (do_preload): Print the reason why preloading failed.
3472 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
3474         [BZ #10278]
3475         * posix/glob.c: Match only directories when trailing slash is present.
3476         * posix/tst-gnuglob.c (my_opendir): Do not open files.
3477         (main): Add testcase.
3479 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
3481         [BZ #15670]
3482         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
3484 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
3486         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
3487         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
3488         AUTH_DES and cindex for FIPS 140-2.
3489         (DES Encryption): Add cindex FIPS 46-3.
3491         * locale/locarchive.h (struct locarhandle): Add fname.
3492         * locale/programs/localedef.c (main): Pass ARGV[remaining]
3493         if an optional argument was specified to --list-archive,
3494         otherwise NULL.
3495         * locale/programs/locarchive.c (show_archive_content): Take new
3496         argument fname and pass it via ah.fname to open_archive.
3497         * locale/programs/localedef.h: Update decl.
3498         (open_archive): If AH->fname is non-null, open that file
3499         rather than the default file name, and don't ignore ENOENT.
3500         (create_archive): Set AH.fname to NULL.
3501         (delete_locales_from_archive): Likewise.
3502         (add_locales_to_archive): Likewise.
3503         * locale/programs/locfile.c (write_all_categories): Likewise.
3505 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
3506             Aldy Hernandez  <aldyh@redhat.com>
3508         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
3509         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
3510         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
3511         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
3512         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
3513         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
3514         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
3515         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
3516         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
3517         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
3518         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
3519         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
3520         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
3521         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
3522         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
3523         Likewise.
3524         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
3525         Likewise.
3526         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
3527         Likewise.
3528         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
3529         Likewise.
3530         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
3531         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
3532         Likewise.
3533         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
3534         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
3535         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
3536         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
3537         Likewise.
3538         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
3539         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
3540         * sysdeps/powerpc/preconfigure: Likewise.
3541         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
3542         Likewise.
3543         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
3544         Replace contents of file by #include of <fenv_libc.h>.
3545         * sysdeps/powerpc/soft-fp/sfp-machine.h
3546         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
3547         and <sys/prctl.h>.
3548         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
3549         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
3550         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
3551         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
3552         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
3553         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
3554         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
3555         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
3556         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
3557         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
3558         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
3559         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
3560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
3561         Allow copysignl PLT reference to be missing.
3563 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
3564             Joseph Myers  <joseph@codesourcery.com
3566         [BZ #15948]
3567         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
3568         single character.
3569         (add_to_tablewc): Assert sequence of wide characters is nonempty.
3571 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
3573         * elf/tst-tls-dlinfo.c: Don't include tls.h.
3574         * elf/tst-tls1.c: Likewise.
3575         * elf/tst-tls10.h: Likewise.
3576         * elf/tst-tls14.c: Likewise.
3577         * elf/tst-tls2.c: Likewise.
3578         * elf/tst-tls3.c: Likewise.
3579         * elf/tst-tls4.c: Likewise.
3580         * elf/tst-tls5.c: Likewise.
3581         * elf/tst-tls6.c: Likewise.
3582         * elf/tst-tls7.c: Likewise.
3583         * elf/tst-tls8.c: Likewise.
3584         * elf/tst-tls9.c: Likewise.
3585         * elf/tst-tlsmod1.c: Likewise.
3586         * elf/tst-tlsmod13.c: Likewise.
3587         * elf/tst-tlsmod13a.c: Likewise.
3588         * elf/tst-tlsmod14a.c: Likewise.
3589         * elf/tst-tlsmod16a.c: Likewise.
3590         * elf/tst-tlsmod16b.c: Likewise.
3591         * elf/tst-tlsmod2.c: Likewise.
3592         * elf/tst-tlsmod3.c: Likewise.
3593         * elf/tst-tlsmod4.c: Likewise.
3594         * elf/tst-tlsmod5.c: Likewise.
3595         * elf/tst-tlsmod6.c: Likewise.
3597 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
3599         [BZ #12486]
3600         * malloc/malloc.c: remove checks for statistics.
3602 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
3604         [BZ #15277]
3605         * inet/inet_net.c (inet_network): Detect additional invalid strings.
3606         * inet/tst-network.c: Add testcase.
3608 2013-10-17  Andreas Schwab  <schwab@suse.de>
3610         [BZ #15218]
3611         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
3612         to determine canonical name.
3614 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
3616         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
3617         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
3618         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3619         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
3620         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3621         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
3622         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
3623         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
3624         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
3625         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
3626         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
3627         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3628         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3629         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3630         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
3631         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
3632         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3633         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3634         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
3635         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
3636         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3637         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3638         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3639         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
3640         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
3641         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
3642         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
3643         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
3644         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
3645         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
3646         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
3647         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3648         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
3649         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
3650         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3651         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3652         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3653         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3654         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3655         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3656         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3657         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
3658         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
3659         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3660         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
3661         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3662         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3663         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
3664         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
3665         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3666         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
3667         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
3668         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3669         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
3670         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3671         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
3672         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3673         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3675 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
3677         [BZ #16041]
3678         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
3679         make result into a quiet NaN.
3681 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
3683         * soft-fp/adddf3.c: Fix horizontal whitespace.
3684         * soft-fp/addsf3.c: Likewise.
3685         * soft-fp/addtf3.c: Likewise.
3686         * soft-fp/divdf3.c: Likewise.
3687         * soft-fp/divsf3.c: Likewise.
3688         * soft-fp/divtf3.c: Likewise.
3689         * soft-fp/double.h: Likewise.
3690         * soft-fp/eqdf2.c: Likewise.
3691         * soft-fp/eqsf2.c: Likewise.
3692         * soft-fp/eqtf2.c: Likewise.
3693         * soft-fp/extenddftf2.c: Likewise.
3694         * soft-fp/extended.h: Likewise.
3695         * soft-fp/extendsfdf2.c: Likewise.
3696         * soft-fp/extendsftf2.c: Likewise.
3697         * soft-fp/extendxftf2.c: Likewise.
3698         * soft-fp/fixdfdi.c: Likewise.
3699         * soft-fp/fixdfsi.c: Likewise.
3700         * soft-fp/fixdfti.c: Likewise.
3701         * soft-fp/fixsfdi.c: Likewise.
3702         * soft-fp/fixsfsi.c: Likewise.
3703         * soft-fp/fixsfti.c: Likewise.
3704         * soft-fp/fixtfdi.c: Likewise.
3705         * soft-fp/fixtfsi.c: Likewise.
3706         * soft-fp/fixtfti.c: Likewise.
3707         * soft-fp/fixunsdfdi.c: Likewise.
3708         * soft-fp/fixunsdfsi.c: Likewise.
3709         * soft-fp/fixunsdfti.c: Likewise.
3710         * soft-fp/fixunssfdi.c: Likewise.
3711         * soft-fp/fixunssfsi.c: Likewise.
3712         * soft-fp/fixunssfti.c: Likewise.
3713         * soft-fp/fixunstfdi.c: Likewise.
3714         * soft-fp/fixunstfsi.c: Likewise.
3715         * soft-fp/fixunstfti.c: Likewise.
3716         * soft-fp/floatdidf.c: Likewise.
3717         * soft-fp/floatdisf.c: Likewise.
3718         * soft-fp/floatditf.c: Likewise.
3719         * soft-fp/floatsidf.c: Likewise.
3720         * soft-fp/floatsisf.c: Likewise.
3721         * soft-fp/floatsitf.c: Likewise.
3722         * soft-fp/floattidf.c: Likewise.
3723         * soft-fp/floattisf.c: Likewise.
3724         * soft-fp/floattitf.c: Likewise.
3725         * soft-fp/floatundidf.c: Likewise.
3726         * soft-fp/floatundisf.c: Likewise.
3727         * soft-fp/floatunditf.c: Likewise.
3728         * soft-fp/floatunsidf.c: Likewise.
3729         * soft-fp/floatunsisf.c: Likewise.
3730         * soft-fp/floatunsitf.c: Likewise.
3731         * soft-fp/floatuntidf.c: Likewise.
3732         * soft-fp/floatuntisf.c: Likewise.
3733         * soft-fp/floatuntitf.c: Likewise.
3734         * soft-fp/fmadf4.c: Likewise.
3735         * soft-fp/fmasf4.c: Likewise.
3736         * soft-fp/fmatf4.c: Likewise.
3737         * soft-fp/gedf2.c: Likewise.
3738         * soft-fp/gesf2.c: Likewise.
3739         * soft-fp/getf2.c: Likewise.
3740         * soft-fp/ledf2.c: Likewise.
3741         * soft-fp/lesf2.c: Likewise.
3742         * soft-fp/letf2.c: Likewise.
3743         * soft-fp/muldf3.c: Likewise.
3744         * soft-fp/mulsf3.c: Likewise.
3745         * soft-fp/multf3.c: Likewise.
3746         * soft-fp/negdf2.c: Likewise.
3747         * soft-fp/negsf2.c: Likewise.
3748         * soft-fp/negtf2.c: Likewise.
3749         * soft-fp/op-1.h: Likewise.
3750         * soft-fp/op-2.h: Likewise.
3751         * soft-fp/op-4.h: Likewise.
3752         * soft-fp/op-8.h: Likewise.
3753         * soft-fp/op-common.h: Likewise.
3754         * soft-fp/quad.h: Likewise.
3755         * soft-fp/single.h: Likewise.
3756         * soft-fp/soft-fp.h: Likewise.
3757         * soft-fp/sqrtdf2.c: Likewise.
3758         * soft-fp/sqrtsf2.c: Likewise.
3759         * soft-fp/sqrttf2.c: Likewise.
3760         * soft-fp/subdf3.c: Likewise.
3761         * soft-fp/subsf3.c: Likewise.
3762         * soft-fp/subtf3.c: Likewise.
3763         * soft-fp/truncdfsf2.c: Likewise.
3764         * soft-fp/trunctfdf2.c: Likewise.
3765         * soft-fp/trunctfsf2.c: Likewise.
3766         * soft-fp/trunctfxf2.c: Likewise.
3767         * soft-fp/unorddf2.c: Likewise.
3768         * soft-fp/unordsf2.c: Likewise.
3769         * soft-fp/unordtf2.c: Likewise.
3771 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
3773         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
3774         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
3776 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
3778         * elf/dl-libc.c: Clear initfini list after freeing.
3780 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
3782         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
3783         * soft-fp/addsf3.c: Likewise.
3784         * soft-fp/addtf3.c: Likewise.
3785         * soft-fp/divdf3.c: Likewise.
3786         * soft-fp/divsf3.c: Likewise.
3787         * soft-fp/divtf3.c: Likewise.
3788         * soft-fp/double.h: Likewise.
3789         * soft-fp/eqdf2.c: Likewise.
3790         * soft-fp/eqsf2.c: Likewise.
3791         * soft-fp/eqtf2.c: Likewise.
3792         * soft-fp/extenddftf2.c: Likewise.
3793         * soft-fp/extended.h: Likewise.
3794         * soft-fp/extendsfdf2.c: Likewise.
3795         * soft-fp/extendsftf2.c: Likewise.
3796         * soft-fp/extendxftf2.c: Likewise.
3797         * soft-fp/fixdfdi.c: Likewise.
3798         * soft-fp/fixdfsi.c: Likewise.
3799         * soft-fp/fixdfti.c: Likewise.
3800         * soft-fp/fixsfdi.c: Likewise.
3801         * soft-fp/fixsfsi.c: Likewise.
3802         * soft-fp/fixsfti.c: Likewise.
3803         * soft-fp/fixtfdi.c: Likewise.
3804         * soft-fp/fixtfsi.c: Likewise.
3805         * soft-fp/fixtfti.c: Likewise.
3806         * soft-fp/fixunsdfdi.c: Likewise.
3807         * soft-fp/fixunsdfsi.c: Likewise.
3808         * soft-fp/fixunsdfti.c: Likewise.
3809         * soft-fp/fixunssfdi.c: Likewise.
3810         * soft-fp/fixunssfsi.c: Likewise.
3811         * soft-fp/fixunssfti.c: Likewise.
3812         * soft-fp/fixunstfdi.c: Likewise.
3813         * soft-fp/fixunstfsi.c: Likewise.
3814         * soft-fp/fixunstfti.c: Likewise.
3815         * soft-fp/floatdidf.c: Likewise.
3816         * soft-fp/floatdisf.c: Likewise.
3817         * soft-fp/floatditf.c: Likewise.
3818         * soft-fp/floatsidf.c: Likewise.
3819         * soft-fp/floatsisf.c: Likewise.
3820         * soft-fp/floatsitf.c: Likewise.
3821         * soft-fp/floattidf.c: Likewise.
3822         * soft-fp/floattisf.c: Likewise.
3823         * soft-fp/floattitf.c: Likewise.
3824         * soft-fp/floatundidf.c: Likewise.
3825         * soft-fp/floatundisf.c: Likewise.
3826         * soft-fp/floatunsidf.c: Likewise.
3827         * soft-fp/floatunsisf.c: Likewise.
3828         * soft-fp/floatuntidf.c: Likewise.
3829         * soft-fp/floatuntisf.c: Likewise.
3830         * soft-fp/floatuntitf.c: Likewise.
3831         * soft-fp/fmadf4.c: Likewise.
3832         * soft-fp/fmasf4.c: Likewise.
3833         * soft-fp/fmatf4.c: Likewise.
3834         * soft-fp/gedf2.c: Likewise.
3835         * soft-fp/gesf2.c: Likewise.
3836         * soft-fp/getf2.c: Likewise.
3837         * soft-fp/ledf2.c: Likewise.
3838         * soft-fp/lesf2.c: Likewise.
3839         * soft-fp/letf2.c: Likewise.
3840         * soft-fp/muldf3.c: Likewise.
3841         * soft-fp/mulsf3.c: Likewise.
3842         * soft-fp/multf3.c: Likewise.
3843         * soft-fp/negdf2.c: Likewise.
3844         * soft-fp/negsf2.c: Likewise.
3845         * soft-fp/negtf2.c: Likewise.
3846         * soft-fp/op-1.h: Likewise.
3847         * soft-fp/op-2.h: Likewise.
3848         * soft-fp/op-4.h: Likewise.
3849         * soft-fp/op-8.h: Likewise.
3850         * soft-fp/op-common.h: Likewise.
3851         * soft-fp/quad.h: Likewise.
3852         * soft-fp/single.h: Likewise.
3853         * soft-fp/soft-fp.h: Likewise.
3854         * soft-fp/sqrtdf2.c: Likewise.
3855         * soft-fp/sqrtsf2.c: Likewise.
3856         * soft-fp/sqrttf2.c: Likewise.
3857         * soft-fp/subdf3.c: Likewise.
3858         * soft-fp/subsf3.c: Likewise.
3859         * soft-fp/subtf3.c: Likewise.
3860         * soft-fp/truncdfsf2.c: Likewise.
3861         * soft-fp/trunctfdf2.c: Likewise.
3862         * soft-fp/trunctfsf2.c: Likewise.
3863         * soft-fp/trunctfxf2.c: Likewise.
3864         * soft-fp/unorddf2.c: Likewise.
3865         * soft-fp/unordsf2.c: Likewise.
3866         * soft-fp/unordtf2.c: Likewise.
3868 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
3870         [BZ #15672]
3871         * misc/error.c (error_tail): Fix possible buffer overflow.
3873 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
3875         [BZ #13028]
3876         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
3877         address.
3879 2013-10-14  P. J. McDermott  <pj@pehjota.net>
3881         [BZ #832]
3882         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
3883         testing pipefail option.
3885 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
3887         * soft-fp/double.h: Indent preprocessor directives inside #if.
3888         * soft-fp/extended.h: Likewise.
3889         * soft-fp/op-2.h: Likewise.
3890         * soft-fp/op-4.h: Likewise.
3891         * soft-fp/op-common.h: Likewise.
3892         * soft-fp/quad.h: Likewise.
3893         * soft-fp/single.h: Likewise.
3894         * soft-fp/soft-fp.h: Likewise.
3896 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
3898         * iconv/iconv_prog.c: Fix typos.
3899         * stdio-common/psiginfo-data.h: Likewise.
3901 2013-10-12   Reuben Thomas <rrt@sc3d.org>
3903         [BZ #15764]
3904         * locale/setlocale.c: Fix typo.
3906 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
3908         [BZ #16036]
3909         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
3910         signaling NaN arguments.
3911         * soft-fp/unordsf2.c (__unordsf2): Likewise.
3912         * soft-fp/unordtf2.c (__unordtf2): Likewise.
3914         [BZ #14910]
3915         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
3916         unordered operands.
3917         * soft-fp/gesf2.c (__gesf2): Likewise.
3918         * soft-fp/getf2.c (__getf2): Likewise.
3919         * soft-fp/ledf2.c (__ledf2): Likewise.
3920         * soft-fp/lesf2.c (__lesf2): Likewise.
3921         * soft-fp/letf2.c (__letf2): Likewise.
3923         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
3924         * soft-fp/eqsf2.c (__eqsf2): Likewise.
3925         * soft-fp/eqtf2.c (__eqtf2): Likewise.
3926         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
3927         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
3928         * soft-fp/fixdfti.c (__fixdfti): Likewise.
3929         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
3930         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
3931         * soft-fp/fixsfti.c (__fixsfti): Likewise.
3932         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
3933         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
3934         * soft-fp/fixtfti.c (__fixtfti): Likewise.
3935         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
3936         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
3937         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
3938         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
3939         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
3940         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
3941         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
3942         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
3943         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
3944         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
3945         * soft-fp/floatdisf.c (__floatdisf): Likewise.
3946         * soft-fp/floatsisf.c (__floatsisf): Likewise.
3947         * soft-fp/floattidf.c (__floattidf): Likewise.
3948         * soft-fp/floattisf.c (__floattisf): Likewise.
3949         * soft-fp/floattitf.c (__floattitf): Likewise.
3950         * soft-fp/floatundidf.c (__floatundidf): Likewise.
3951         * soft-fp/floatundisf.c (__floatundisf): Likewise.
3952         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
3953         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
3954         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
3955         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
3956         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
3957         * soft-fp/gesf2.c (__gesf2): Likewise.
3958         * soft-fp/getf2.c (__getf2): Likewise.
3959         * soft-fp/ledf2.c (__ledf2): Likewise.
3960         * soft-fp/lesf2.c (__lesf2): Likewise.
3961         * soft-fp/letf2.c (__letf2): Likewise.
3963         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
3964         Undefine and redefine.
3965         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
3966         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
3967         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
3968         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
3969         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3970         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
3971         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3972         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
3973         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3974         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
3975         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3976         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
3977         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3978         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
3979         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3981         [BZ #16032]
3982         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
3983         without decrementing exponent if mantissa >= that for the
3984         denominator, not >.
3985         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
3986         denominator, not >.  Decrement exponent in < case instead of
3987         incrementing in >= case.
3988         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
3989         without decrementing exponent if mantissa >= that for the
3990         denominator, not >.
3992         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
3993         computing saturated result for unsigned overflow.
3995 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
3996             Jeff Law  <law@redhat.com>
3998         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
3999         (atan2Mp): Add systemtap probe marker.
4000         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
4001         (__ieee754_log): Add systemtap probe marker.
4002         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
4003         (atanMp): Add systemtap probe marker.
4004         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
4005         (tanMp): Add systemtap probe marker.
4006         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
4007         (__slowexp): Add systemtap probe marker.
4008         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
4009         (__slowpow): Add systemtap probe marker.
4010         * manual/probes.texi: Document probes.
4012 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
4014         [BZ #15362]
4015         * libio/fileops.c (_IO_new_file_write): Return count of bytes
4016         written.
4017         (_IO_new_file_xsputn): Don't return EOF if nothing has been
4018         written.
4019         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
4020         written to buffer but not flushed.
4021         * libio/iofwrite_u.c:  Likewise.
4022         * libio/iopadn.c:  Return bytes returned even if EOF was
4023         encountered.
4024         * libio/iowpadn.c:  Likewise.
4025         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
4026         if _IO_padn does not write the whole buffer.
4027         [!COMPILE_WPRINTF] (PAD): Likewise.
4029 2013-10-10  David S. Miller  <davem@davemloft.net>
4031         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
4032         directory block.
4034 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
4036         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
4037         instead of FSF address.
4038         * soft-fp/fixdfti.c: Likewise.
4039         * soft-fp/fixsfti.c: Likewise.
4040         * soft-fp/fixtfti.c: Likewise.
4041         * soft-fp/fixunsdfti.c: Likewise.
4042         * soft-fp/fixunssfti.c: Likewise.
4043         * soft-fp/fixunstfti.c: Likewise.
4044         * soft-fp/floattidf.c: Likewise.
4045         * soft-fp/floattisf.c: Likewise.
4046         * soft-fp/floattitf.c: Likewise.
4047         * soft-fp/floatuntidf.c: Likewise.
4048         * soft-fp/floatuntisf.c: Likewise.
4049         * soft-fp/floatuntitf.c: Likewise.
4050         * soft-fp/trunctfxf2.c: Likewise.
4052         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
4053         * soft-fp/fixdfti.c: Likewise.
4054         * soft-fp/fixsfti.c: Likewise.
4055         * soft-fp/fixtfti.c: Likewise.
4056         * soft-fp/fixunsdfti.c: Likewise.
4057         * soft-fp/fixunssfti.c: Likewise.
4058         * soft-fp/fixunstfti.c: Likewise.
4059         * soft-fp/floattidf.c: Likewise.
4060         * soft-fp/floattisf.c: Likewise.
4061         * soft-fp/floattitf.c: Likewise.
4062         * soft-fp/floatuntidf.c: Likewise.
4063         * soft-fp/floatuntisf.c: Likewise.
4064         * soft-fp/floatuntitf.c: Likewise.
4065         * soft-fp/trunctfxf2.c: Likewise.
4067 2013-10-10  David S. Miller  <davem@davemloft.net>
4069         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4071 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
4073         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
4074         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
4075         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
4076         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
4077         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
4078         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
4079         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
4081         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
4082         for NaNs before doing comparisons on argument.
4083         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
4084         Likewise.
4086 2013-10-10  Will Newton  <will.newton@linaro.org>
4088         * malloc/hooks.c (memalign_check): Ensure the value of bytes
4089         passed to _int_memalign does not overflow.
4091 2013-10-10  Torvald Riegel  <triegel@redhat.com>
4093         * scripts/bench.pl: Add include-sources directive.
4094         * benchtests/README: Update documentation.
4096 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
4098         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
4099         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
4100         instead of FP_INIT_ROUNDMODE.
4101         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
4102         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
4104         [BZ #16034]
4105         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
4106         copy class of input value.
4107         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
4108         not handle exceptions.
4109         * soft-fp/negsf2.c (__negsf2): Likewise.
4110         * soft-fp/negtf2.c (__negtf2): Likewise.
4111         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
4113 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
4115         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
4116         semicolon.  From Linux kernel.
4118 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
4120         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
4122 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
4124         [BZ #156]
4125         * manual/socket.texi: Added statement about buffer
4126         for gethostbyname2_r.
4128 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
4130         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
4131         Use .p2align directive instead, throughout.
4132         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4133         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
4134         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
4135         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4136         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4137         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
4138         * sysdeps/x86_64/strchr.S: Likewise.
4139         * sysdeps/x86_64/strrchr.S: Likewise.
4141 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
4143         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
4145         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
4147         * sysdeps/generic/math_private.h (__mpsin1): Remove
4148         declaration.
4149         (__mpcos1): Likewise.
4150         (__mpsin): New argument __range_reduce.
4151         (__mpcos): Likewise.
4152         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4153         (slow): Use __mpsin and __mpcos.
4154         (slow1): Likewise.
4155         (slow2): Likewise.
4156         (sloww): Likewise.
4157         (sloww1): Likewise.
4158         (sloww2): Likewise.
4159         (bsloww): Likewise.
4160         (bsloww1): Likewise.
4161         (bsloww2): Likewise.
4162         (cslow2): Likewise.
4163         (csloww): Likewise.
4164         (csloww1): Likewise.
4165         (csloww2): Likewise.
4166         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
4167         range_reduce.  Merge in __mpsin1.
4168         (__mpcos): Likewise.
4169         (__mpsin1): Remove.
4170         (__mpcos1): Likewise.
4172 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
4174         * locale/loadlocale.c (_nl_intern_locale_data): Use
4175         LOCFILE_ALIGNED_P.
4176         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
4177         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
4178         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
4179         obstack data is appropriately aligned.
4180         (obstack_int32_grow_fast): Likewise.
4181         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
4182         * locale/programs/locfile.c (add_locale_uint32): Likewise.
4183         (add_locale_uint32_array): Likewise.
4185 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
4187         * benchtests/Makefile: Remove ARGLIST and RET variables.
4188         ($(objpfx)bench-%.c): Pass only function name to the script.
4189         * benchtests/README: Update documentation.
4190         * benchtests/acos-inputs: Add new directives.
4191         * benchtests/acosh-inputs: Likewise.
4192         * benchtests/asin-inputs: Likewise.
4193         * benchtests/asinh-inputs: Likewise.
4194         * benchtests/atan-inputs: Likewise.
4195         * benchtests/atanh-inputs: Likewise.
4196         * benchtests/cos-inputs: Likewise.
4197         * benchtests/cosh-inputs: Likewise.
4198         * benchtests/exp-inputs: Likewise.
4199         * benchtests/log-inputs: Likewise.
4200         * benchtests/pow-inputs: Likewise.
4201         * benchtests/rint-inputs: Likewise.
4202         * benchtests/sin-inputs: Likewise.
4203         * benchtests/sinh-inputs: Likewise.
4204         * benchtests/tan-inputs: Likewise.
4205         * benchtests/tanh-inputs: Likewise.
4206         * scripts/bench.pl: Add support for new directives.
4208 2013-10-07  Alan Modra  <amodra@gmail.com>
4210         * README: Fix careless merge.
4212 2013-10-05  Alan Modra  <amodra@gmail.com>
4214         * NEWS: Mention powerpc64le support and bugs fixed.
4215         * README: Both big-endian and little-endian powerpc64 supported.
4217 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4219         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
4220         _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
4221         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
4222         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
4224 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
4226         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
4227         match prototype.
4229 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
4231         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
4232         Move -mhard-float appending from
4233         ports/sysdeps/powerpc/powerpc32/Makefile.
4234         [$(with-fp) = yes] (ASFLAGS): Likewise.
4235         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
4236         * sysdeps/powerpc/nofpu: Move directory from
4237         ports/sysdeps/powerpc/nofpu.
4238         * sysdeps/powerpc/soft-fp: Move directory from
4239         ports/sysdeps/powerpc/soft-fp.
4240         * sysdeps/powerpc/powerpc32/405: Move directory from
4241         ports/sysdeps/powerpc/powerpc32/405.
4242         * sysdeps/powerpc/powerpc32/440: Move directory from
4243         ports/sysdeps/powerpc/powerpc32/440.
4244         * sysdeps/powerpc/powerpc32/464: Move directory from
4245         ports/sysdeps/powerpc/powerpc32/464.
4246         * sysdeps/powerpc/powerpc32/476: Move directory from
4247         ports/sysdeps/powerpc/powerpc32/476.
4248         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
4249         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
4250         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
4251         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
4252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
4253         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
4254         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
4255         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
4256         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
4257         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
4258         * README: Update for powerpc-*-linux-gnu software floating point
4259         support in libc.
4261         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
4262         case to powerpc/powerpc32*.
4263         * sysdeps/unix/sysv/linux/configure: Regenerated.
4265         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
4266         (_FPU_MASK_OM): Define as 0x04.
4267         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
4268         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
4269         0x00c10080.
4270         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
4271         0x0000003c.
4272         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
4274         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
4275         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4276         getcontext_e500.
4277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
4278         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4279         setcontext_e500.
4280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
4281         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
4282         and setcontext_e500.
4284 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
4286         * locale/iso-3166.def: Update iso-1366.def and related occurrences
4288 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
4290         * manual/threads.texi (Default Thread Attributes): Fix typo.
4292 2013-10-04  Will Newton  <will.newton@linaro.org>
4294         * malloc/Makefile: Add tst-memalign.
4295         * malloc/tst-memalign.c: New file.
4297         * malloc/tst-posix_memalign.c: Add comments.
4298         (do_test): Add comments and call free on all potentially
4299         allocated pointers. Add space after cast.
4301         * malloc/tst-pvalloc.c: Add comments.
4302         (do_test): Add comments and call free on all potentially
4303         allocated pointers. Remove duplicate check for NULL pointer.
4304         Add space after cast.
4306         * malloc/tst-valloc.c: Add comments.
4307         (do_test): Add comments and call free on all potentially
4308         allocated pointers. Remove duplicate check for NULL pointer.
4309         Add space after cast.
4311 2013-10-04  Alan Modra  <amodra@gmail.com>
4313         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4314         Use stdint types in rather than __attribute__((mode())).
4315         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4317 2013-10-04  Alan Modra  <amodra@gmail.com>
4319         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4320         Correct handling of unaligned relocs for little-endian.
4321         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4323 2013-10-04  Alan Modra  <amodra@gmail.com>
4325         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
4326         * configure: Regenerate.
4327         * nptl/shlib-versions: Powerpc*le starts at 2.18.
4328         * shlib-versions: Likewise.
4330 2013-10-04  Alan Modra  <amodra@gmail.com>
4332         * string/tester.c (test_memrchr): Increment reported test cycle.
4334 2013-10-04  Alan Modra  <amodra@gmail.com>
4336         * string/test-memcpy.c (do_one_test): When reporting errors, print
4337         string address and don't overrun end of string.
4339 2013-10-04  Alan Modra  <amodra@gmail.com>
4341         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
4342         insrdi.  Make better use of reg selection to speed exit slightly.
4343         Schedule entry path a little better.  Remove useless "are we done"
4344         checks on entry to main loop.  Handle wrapping around zero address.
4345         Correct main loop count.  Handle single left-over word from main
4346         loop inline rather than by using loop_small.  Remove extra word
4347         case in loop_small caused by wrong loop count.  Add little-endian
4348         support.
4349         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
4350         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
4351         cache hint.
4352         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
4353         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
4354         support.  Avoid rlwimi.
4355         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
4357 2013-10-04  Alan Modra  <amodra@gmail.com>
4359         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
4360         insrdi.  Formatting.
4361         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
4362         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4363         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
4364         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
4365         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4366         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
4368 2013-10-04  Alan Modra  <amodra@gmail.com>
4370         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
4371         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4372         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
4373         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
4374         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
4375         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4376         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4377         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
4378         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
4379         use of regs.  Use power7 mtocrf.  Tidy function tails.
4381 2013-10-04  Alan Modra  <amodra@gmail.com>
4383         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
4384         Formatting.  Consistently use rXXX register defines or rN defines.
4385         Use early exit labels that avoid restoring unused non-volatile regs.
4386         Make cr field use more consistent with rWORDn compares.  Rename
4387         regs used as shift registers for unaligned loop, using rN defines
4388         for short lifetime/multiple use regs.
4389         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4390         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
4391         addi 1,1,64 to pop stack frame.  Simplify return value code.
4392         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4394 2013-10-04  Alan Modra  <amodra@gmail.com>
4396         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
4397         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
4398         rather than rlwimi.
4399         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
4400         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
4401         little-endian support.  Correct typos.
4402         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
4403         rather than rlwimi.
4404         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
4405         in loop and entry code to keep "and." results.
4406         (strchr): Add little-endian support.  Comment.  Move cntlzd
4407         earlier in tail.
4408         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
4410 2013-10-04  Alan Modra  <amodra@gmail.com>
4412         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
4413         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
4414         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
4415         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
4417 2013-10-04  Alan Modra  <amodra@gmail.com>
4419         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
4420         (rTMP): Define as r11.
4421         (strcmp): Add little-endian support.  Optimise tail.
4422         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
4423         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4424         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
4425         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
4426         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
4427         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4428         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
4430 2013-10-04  Alan Modra  <amodra@gmail.com>
4432         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
4433         little-endian support.  Remove unnecessary "are we done" tests.
4434         Handle "s" wrapping around zero and extremely large "size".
4435         Correct main loop count.  Handle single left-over word from main
4436         loop inline rather than by using small_loop.  Correct comments.
4437         Delete "zero" tail, use "end_max" instead.
4438         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
4440 2013-10-04  Alan Modra  <amodra@gmail.com>
4442         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
4443         support.  Don't branch over align.
4444         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
4445         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
4446         support.  Rearrange tmp reg use to suit.  Comment.
4447         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
4449 2013-10-04  Alan Modra  <amodra@gmail.com>
4451         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
4453 2013-10-04  Alan Modra  <amodra@gmail.com>
4455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
4456         conditional form of branch and link when obtaining pc.
4457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
4459 2013-10-04  Alan Modra  <amodra@gmail.com>
4461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
4462         HIWORD/LOWORD.
4463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
4464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
4466 2013-10-04  Alan Modra  <amodra@gmail.com>
4468         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
4469         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
4470         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
4471         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
4472         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
4473         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
4474         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
4475         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
4476         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
4477         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
4479 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
4480             Alistair Popple <alistair@ozlabs.au.ibm.com>
4481             Alan Modra <amodra@gmail.com>
4483         [BZ #15723]
4484         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
4485         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
4486         _dl_hwcap access for little-endian.
4487         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
4488         destroy vmx regs when saving unaligned.
4489         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
4490         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
4491         destroy vmx regs when saving unaligned.
4493 2013-10-04  Alan Modra  <amodra@gmail.com>
4495         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
4496         Don't use a union to pack hi/low value.
4498 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
4500         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
4501         for little-endian.
4502         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
4503         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
4504         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
4505         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
4506         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
4508 2013-10-04  Alan Modra  <amodra@gmail.com>
4510         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
4511         constants to usual value for .cst8 section, and remove redundant
4512         high address load.
4513         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
4514         constant for 0x1p52.  Load little-endian words of double from
4515         correct stack offsets.
4517 2013-10-04  Alan Modra  <amodra@gmail.com>
4519         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
4520         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
4521         words of double from correct stack offsets.
4522         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
4523         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
4524         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
4525         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
4526         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
4527         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
4528         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
4529         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
4530         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
4531         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
4532         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
4533         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
4534         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4535         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4536         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4537         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
4538         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
4540 2013-10-04  Alan Modra  <amodra@gmail.com>
4542         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
4543         64-bit int/double union.
4544         (_FPU_SETCW): Likewise.
4545         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
4546         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
4548 2013-10-04  Alan Modra  <amodra@gmail.com>
4550         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
4551         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
4553 2013-10-04  Alan Modra  <amodra@gmail.com>
4555         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
4556         use vector int constants.
4557         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
4559 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
4561         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
4562         array with long long.
4563         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
4564         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
4565         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
4566         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
4567         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
4568         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
4569         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
4570         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
4571         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
4572         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
4573         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
4574         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
4575         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
4577 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
4579         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
4580         (__signbit): Likewise.  Correct for little-endian.
4581         (__signbitl): Call __signbit.
4582         (lrint): Correct for little-endian.
4583         (lrintf): Call lrint.
4585 2013-10-04  Alan Modra  <amodra@gmail.com>
4587         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
4588         union 32-bit int array member with 64-bit int array.
4589         (t515, tm256): Double rather than long double.
4590         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
4592 2013-10-04  Alan Modra  <amodra@gmail.com>
4594         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
4595         Delete.
4596         (IEEE854_LONG_DOUBLE_BIAS): Delete.
4597         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
4598         version of math_ldbl.h.
4600 2013-10-04  Alan Modra  <amodra@gmail.com>
4602         [BZ #15734], [BZ #15735]
4603         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
4604         all uses of ieee875 long double macros and unions.  Simplify test
4605         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
4606         ldbl_extract_mantissa value for ix,iy exponents.  Properly
4607         normalize after ldbl_extract_mantissa, and don't add hidden bit
4608         already handled.  Don't treat low word of ieee854 mantissa like
4609         low word of IBM long double and mask off bit when testing for
4610         zero.
4611         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
4612         all uses of ieee875 long double macros and unions.  Simplify tests
4613         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
4614         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
4615         two1022, instead use their values.  Recognise that tests for large
4616         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
4617         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
4618         Rewrite all uses of ieee875 long double macros and unions.  Simplify
4619         test for 0.0L and nan.  Correct negation.
4620         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
4621         ieee875 long double macros and unions.  Correct output for large
4622         magnitude x.  Correct absolute value calculation.
4623         (__erfcl): Likewise.
4624         * math/libm-test.inc: Add tests for errors discovered in IBM long
4625         double versions of fmodl, remainderl, erfl and erfcl.
4627 2013-10-04  Alan Modra  <amodra@gmail.com>
4629         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
4630         all uses of ieee854 long double macros and unions.  Simplify tests
4631         for long doubles that are fully specified by the high double.
4632         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
4633         Likewise.
4634         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
4635         Remove dead code too.
4636         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
4637         (__ieee754_ynl): Likewise.
4638         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
4639         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
4640         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
4641         Remove dead code too.
4642         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
4643         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
4644         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
4645         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
4646         Simplify.
4647         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
4648         Simplify.
4649         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
4650         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
4651         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
4652         Comment on variable precision.
4653         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
4654         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4655         Likewise.
4656         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
4657         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
4658         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
4659         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
4660         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
4662 2013-10-04  Alan Modra  <amodra@gmail.com>
4664         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
4665         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
4666         all uses of ieee854 long double macros and unions.
4667         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
4668         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
4669         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
4670         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
4671         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
4672         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
4673         Likewise.
4674         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
4675         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
4676         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
4677         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
4678         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
4679         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
4680         Simplify sign and nan test too.
4681         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
4682         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
4683         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
4684         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
4685         Likewise.
4686         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
4687         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
4688         Likewise.
4689         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4690         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
4691         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
4692         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
4693         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
4694         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
4696 2013-10-04  Alan Modra  <amodra@gmail.com>
4698         * stdio-common/printf_size.c (__printf_size): Don't use
4699         union ieee854_long_double in fpnum union.
4700         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
4701         signbit macro to retrieve sign from long double.
4702         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
4703         retrieve sign from long double.
4704         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
4705         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
4706         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
4707         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
4708         * math/test-misc.c (main): Don't use union ieee854_long_double.
4710 2013-10-04  Alan Modra  <amodra@gmail.com>
4712         [BZ #15680]
4713         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
4714         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
4715         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
4716         calculation.  Remove unnecessary test for denormal exponent.
4717         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
4718         Correct handling of denormals.  Avoid undefined shift behaviour.
4719         Correct normalisation of low mantissa when low double is denormal.
4720         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
4721         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
4722         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
4723         Correct normalisation of low mantissa.  Test for overflow of high
4724         mantissa and normalise.
4725         (ldbl_nearbyint): Use more readable constant for two52.
4726         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
4727         (__mpn_construct_long_double): Fix test for overflow of high
4728         mantissa and correct normalisation.  Avoid undefined shift.
4730 2013-10-04  Alan Modra  <amodra@gmail.com>
4732         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
4733         (union ibm_extended_long_double): Define as an array of ieee754_double.
4734         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
4735         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
4736         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
4737         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
4738         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4739         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
4740         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4741         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
4742         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
4743         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
4744         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
4746 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
4748         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
4749         page size instead of calling getpagesize.
4751         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
4752         (LOCFILE_ALIGN_MASK): Likewise.
4753         (LOCFILE_ALIGN_UP): Likewise.
4754         (LOCFILE_ALIGNED_P): Likewise.
4755         * locale/programs/ld-collate.c (collate_output): Use the new
4756         macros instead of __alignof__ (int32_t).
4757         * locale/weight.h (findidx): Likewise.
4759 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
4761         [BZ #431]
4762         * manual/string.texi: Fix strncat and wcsncat.
4764 2013-10-03  Brooks Moses  <bmoses@google.com>
4766         [BZ #15915]
4767         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
4768         * Makerules: ...here, and adjust associated comments.
4770 2013-10-02  Will Newton  <will.newton@linaro.org>
4772         * malloc/Makefile: Add tst-pvalloc.
4773         * malloc/tst-pvalloc.c: New file.
4775 2013-10-02  Will Newton  <will.newton@linaro.org>
4777         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
4778         improve test coverage.
4780 2013-10-02  Will Newton  <will.newton@linaro.org>
4782         * malloc/Makefile: Add tst-posix_memalign.
4783         * malloc/tst-posix_memalign.c: New file.
4785 2013-10-01  Eric Blake  <eblake@redhat.com>
4787         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
4788         Use __THROWNL rather than __THROW on static functions.
4790 2013-09-30  Petr Machata  <pmachata@redhat.com>
4792         * elf/elf.h (R_AARCH64_ABS16): New macro.
4793         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
4794         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
4795         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
4796         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
4797         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
4798         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
4799         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
4800         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
4801         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
4802         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
4803         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
4804         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
4805         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
4806         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
4807         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
4808         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
4809         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
4810         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
4811         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
4812         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
4813         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
4814         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
4815         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
4816         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
4817         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
4818         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
4819         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
4820         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
4821         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
4822         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
4823         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
4824         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
4825         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
4826         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
4827         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
4828         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
4829         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
4830         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
4831         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
4832         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
4833         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
4834         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
4835         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
4836         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
4837         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
4838         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
4839         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
4840         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
4841         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
4842         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
4843         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
4844         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
4845         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
4846         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
4847         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
4848         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
4849         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
4850         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
4851         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
4852         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
4853         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
4854         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
4855         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
4856         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
4857         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
4858         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
4859         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
4860         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
4861         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
4862         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
4863         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
4864         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
4865         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
4866         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
4867         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
4868         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
4869         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
4870         (R_AARCH64_TLSDESC_LDR): Likewise.
4871         (R_AARCH64_TLSDESC_ADD): Likewise.
4872         (R_AARCH64_TLSDESC_CALL): Likewise.
4874 2013-09-30  Andreas Schwab  <schwab@suse.de>
4876         [BZ #15048]
4877         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
4878         the nss database lookup.
4879         * nscd/initgrcache.c (addinitgroupsX): Likewise.
4880         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
4882 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
4884         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
4886 2013-09-28  P. J. McDermott  <pj@pehjota.net>
4888         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
4889         ${Bash-specific parameter/pattern/string} parameter expansion.
4890         * sysdeps/unix/make-syscalls.sh: Likewise.
4892 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
4894         * sysdeps/sh/stackguard-macros.h: New file.
4896 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
4898         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
4899         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
4900         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
4901         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
4902         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
4903         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
4905 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4907         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
4908         Fix thread ID register.
4910 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
4912         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
4913         [POSIX || UNIX98]: Require rather than permitting all symbols from
4914         <time.h>.
4915         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
4916         element of struct sched_param.
4917         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
4918         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
4919         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
4920         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
4921         constant.
4923 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
4925         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
4926         argument calculation.
4928 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
4930         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
4931         Expect macro.
4932         [POSIX] (pthread_attr_t): Do not require type.
4933         [POSIX] (pthread_cond_t): Likewise.
4934         [POSIX] (pthread_condattr_t): Likewise.
4935         [POSIX] (pthread_key_t): Likewise.
4936         [POSIX] (pthread_mutex_t): Likewise.
4937         [POSIX] (pthread_mutexattr_t): Likewise.
4938         [POSIX] (pthread_once_t): Likewise.
4939         [POSIX] (pthread_t): Likewise.
4940         [POSIX-based standards] (pthread_atfork): Expect function.
4942 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
4943             Richard Sandiford  <richard@codesourcery.com>
4945         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
4946         (swap_endianness_p): New extern variable.
4947         (set_big_endian): New inline function.
4948         (maybe_swap_uint32): Likewise.
4949         (maybe_swap_uint32_array): Likewise.
4950         (maybe_swap_uint32_obstack): Likewise.
4951         * locale/programs/locfile.c: Include <stdbool.h>.
4952         (swap_endianness_p): New variable.
4953         (add_locale_uint32): Call maybe_swap_uint32.
4954         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
4955         (write_locale_data): Call maybe_swap_uint32_array.
4956         * locale/programs/ld-collate.c (obstack_int32_grow): Call
4957         maybe_swap_uint32.
4958         (obstack_int32_grow_fast): Likewise.
4959         (output_weightwc): Call maybe_swap_uint32_obstack.
4960         (collate_output): Likewise.
4961         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
4962         (OPT_LITTLE_ENDIAN): Likewise.
4963         (options): Add --little-endian and --big-endian options.
4964         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
4965         * locale/programs/locarchive.c: Include "locfile.h".
4966         (GET): New macro.
4967         (SET): Likewise.
4968         (INC): Likewise.
4969         (create_archive): Use the new macros to access fields of
4970         structures directly mapped from or written to locale archives.
4971         (oldlocrecentcmp): Likewise.
4972         (enlarge_archive): Likewise.
4973         (insert_name): Likewise.
4974         (add_alias): Likewise.
4975         (add_locale): Likewise.
4976         (delete_locales_from_archive): Likewise.
4977         (show_archive_content): Likewise.
4978         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
4979         locale data.
4981 2013-09-24  Roland McGrath  <roland@hack.frob.com>
4983         * manual/freemanuals.texi: Updated from (newly) canonical copy at
4984         http://www.gnu.org/doc/freemanuals.texi.
4985         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
4987 2013-09-24  Will Newton  <will.newton@linaro.org>
4989         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
4990         macro.
4992 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
4994         * locale/hashval.h (compute_hashval): Interpret bytes of key as
4995         unsigned char.
4997 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
4999         * manual/threads.texi (POSIX Threads): Fix a typo.
5001 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
5003         [BZ #14547]
5004         * string/tst-strcoll-overflow.c: New test case.
5005         * string/Makefile (xtests): Add tst-strcoll-overflow.
5006         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
5007         cache if string sizes may cause integer overflow.
5009         [BZ #14547]
5010         * string/strcoll_l.c (coll_seq): New members rule, idx,
5011         save_idx and back_us.
5012         (get_next_seq_nocache): New function.
5013         (do_compare_nocache): New function.
5014         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
5015         when malloc fails.
5017 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
5019         [BZ #15754]
5020         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
5021         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
5022         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
5024         [BZ #15754]
5025         * elf/Makefile (tests): Add tst-ptrguard1.
5026         (tests-static): Add tst-ptrguard1-static.
5027         (tst-ptrguard1-ARGS): Define.
5028         (tst-ptrguard1-static-ARGS): Define.
5029         * elf/tst-ptrguard1.c: New file.
5030         * elf/tst-ptrguard1-static.c: New file.
5031         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
5032         * sysdeps/i386/stackguard-macros.h: Likewise.
5033         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
5034         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
5035         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
5036         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
5037         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
5038         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
5040 2013-09-23  Hector Marco  <hecmargi@upv.es>
5041             Ismael Ripoll  <iripoll@disca.upv.es>
5042             Carlos O'Donell  <carlos@redhat.com>
5044         [BZ #15754]
5045         * sysdeps/generic/stackguard-macros.h: Define
5046         __pointer_chk_guard_local and POINTER_CHK_GUARD.
5047         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
5048         Define __pointer_chk_guard_local.
5049         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
5050         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
5052 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
5054         [BZ #15859]
5055         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
5057 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
5059         * include/string.h (__ffs): Declare as hidden.
5060         * string/ffs.c (__ffs): Define as hidden.
5061         * sysdeps/i386/ffs.c (__ffs): Likewise.
5062         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
5063         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
5064         * sysdeps/s390/ffs.c (__ffs): Likewise.
5065         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
5067 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
5069         * NEWS: Mention malloc probes.
5071         * malloc/arena.c (new_heap): New memory_heap_new probe.
5072         (grow_heap): New memory_heap_more probe.
5073         (shrink_heap): New memory_heap_less probe.
5074         (heap_trim): New memory_heap_free probe.
5075         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
5076         (systrim): New memory_sbrk_less probe.
5077         * manual/probes.texi: Document them.
5079         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
5080         * manual/probes.texi: Document it.
5082         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
5083         (__libc_realloc): Add memory_realloc_retry probe.
5084         (__libc_memalign): Add memory_memalign_retry probe.
5085         (__libc_valloc): Add memory_valloc_retry probe.
5086         (__libc_pvalloc): Add memory_pvalloc_retry probe.
5087         (__libc_calloc): Add memory_calloc_retry probe.
5088         * manual/probes.texi: Document them.
5090         * malloc/arena.c (get_free_list): Add probe
5091         memory_arena_reuse_free_list.
5092         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
5093         and memory_arena_reuse.
5094         (arena_get2) [!PER_THREAD]: Likewise.
5095         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
5096         memory_arena_reuse_realloc.
5097         * manual/probes.texi: Document them.
5099         * malloc/malloc.c (__libc_free): Add
5100         memory_mallopt_free_dyn_thresholds probe.
5101         (__libc_mallopt): Add multiple memory_mallopt probes.
5102         * manual/probes.texi: Document them.
5104         * malloc/malloc.c: Include stap-probe.h.
5105         (__libc_mallopt): Add memory_mallopt probe.
5106         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
5107         * manual/probes.texi: New.
5108         * manual/Makefile (chapters): Add probes.
5109         * manual/threads.texi: Set next node.
5111 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
5113         [BZ #15963, #13985]
5114         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
5115         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
5116         Add `Chinese' to `nan' entry name.
5118 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5120         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
5121         (POLYNOMIAL): Likewise.
5122         (TAYLOR_SINCOS): Likewise.
5123         (TAYLOR_SLOW): Likewise.
5124         (__sin): Use TAYLOR_SINCOS.
5125         (__cos): Likewise.
5126         (slow): Use TAYLOR_SLOW.
5127         (sloww): Likewise.
5128         (bsloww): Likewise.
5129         (csloww): Likewise.
5131 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
5133         * stdlib/strtod_l.c: Fix buffer overrun.
5135 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5137         * benchtests/Makefile (bench): Add sincos.
5138         * benchtests/bench-sincos.c: New file.
5140         * math/libm-test.inc (cos_test_data): New test inputs.
5141         (sin_test_data): Likewise.
5143         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
5144         macro.
5145         (__sin): Use it.
5146         (__cos): Likewise.
5147         (slow1): Likewise.
5148         (slow2): Likewise.
5149         (sloww1): Likewise.
5150         (sloww2): Likewise.
5151         (bsloww1): Likewise.
5152         (bsloww2): Likewise.
5153         (cslow2): Likewise.
5154         (csloww1): Likewise.
5155         (csloww2): Likewise.
5157         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
5158         function.
5159         (__sin): Use it.
5160         (__cos): Likewise.
5162         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
5163         gotos.
5164         (__cos): Likewise.
5166 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
5168         * config.h.in (HAVE_MIPS_NAN2008): New macro.
5169         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
5170         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
5171         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
5172         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
5173         * elf/cache.c (print_entry): Handle the new cache flags.
5175 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
5176             Aldy Hernandez  <aldyh@redhat.com>
5178         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
5179         Change condition to [_SOFT_FLOAT].
5180         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
5181         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
5182         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
5183         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
5184         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
5185         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
5186         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
5187         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
5188         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
5189         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
5190         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
5191         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
5192         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
5193         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
5194         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
5195         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
5196         declaration.
5198 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
5200         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
5201         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5202         (__longjmp): Use LOAD_GP to load saved GPRs.
5203         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
5204         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5205         (__sigsetjmp): Use SAVE_GP to save GPRs.
5207         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
5208         Do not append -msoft-float.
5209         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
5211 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
5213         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
5215 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
5217         [BZ #15966]
5218         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
5219         (_FPU_GETCW): Use initial "__" on variable and field names but not
5220         on macro parameter name.
5221         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
5222         parentheses around reference to macro parameter.
5224 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
5226         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
5227         prototype.
5228         (ctype_startup): Use uint32_t in cast and sizeof for
5229         ctype->charnames.
5231 2013-09-11  Jia Liu  <proljc@gmail.com>
5233         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
5234         __daddr_t_defined.
5235         [__FreeBSD__]: Likewise.
5237 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
5239         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5240         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
5241         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
5242         (strchr): Remove __strchr_sse42 ifunc selection.
5243         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
5244         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
5246 2013-09-11  Will Newton  <will.newton@linaro.org>
5248         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
5249         parameter to RES. Remove hardcoded 1000 value.
5250         * benchtests/bench-skeleton.c (main): Pass RES parameter
5251         to TIMING_INIT and multiply result by 1000.
5253 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5255         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5257 2013-09-11  Andreas Schwab  <schwab@suse.de>
5259         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
5260         if not defined.
5261         (O_TMPFILE) [__USE_GNU]: Define.
5262         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
5263         Define.
5265 2013-09-11  Will Newton  <will.newton@linaro.org>
5267         [BZ #15857]
5268         * malloc/malloc.c (__libc_memalign): Check the value of bytes
5269         does not overflow.
5271 2013-09-11  Will Newton  <will.newton@linaro.org>
5273         [BZ #15856]
5274         * malloc/malloc.c (__libc_valloc): Check the value of bytes
5275         does not overflow.
5277 2013-09-11  Will Newton  <will.newton@linaro.org>
5279         [BZ #15855]
5280         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
5281         does not overflow.
5283 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
5285         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
5286         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5287         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5288         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5289         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5291 2013-09-10  Allan McRae  <allan@archlinux.org>
5293         [BZ #15748]
5294         * manual/arith.texi (Parsing of Floats): Clarify
5295         cross-reference.
5297         [BZ #15849]
5298         * manual/install.texi (Running make install): Mention
5299         --enable-pt-chown.
5300         * INSTALL: Regenerated.
5302 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
5304         * csu/init-first.c (_init): Remove the !SHARED condition around
5305         FPU control word initialization.
5306         * elf/dl-support.c (_dl_fpu_control): New variable.
5307         (_dl_aux_init) <AT_FPUCW>: Initialize it.
5308         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
5309         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
5310         * math/test-fpucw-static.c: New file.
5311         * math/test-fpucw-ieee.c: New file.
5312         * math/test-fpucw-ieee-static.c: New file.
5313         * math/Makefile (tests): Add `test-fpucw-ieee' and
5314         `$(tests-static)'.
5315         (tests-static): New variable.
5316         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
5317         dependency to...
5318         [($(build-shared),yes)]
5319         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5320         ... this.
5321         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
5322         New dependency.
5324 2013-09-09  Allan McRae  <allan@archlinux.org>
5326         [BZ #15939]
5327         * manual/string.texi (Collation Functions): Fix typo in
5328         strcoll example.
5329         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
5331         [BZ #15893]
5332         * stdlib/isomac.c (get_null_defines): Fix memory leak.
5334         [BZ #15892]
5335         * libio/memstream.c (open_memstream): Fix memory leak.
5336         * libio/wmemstream.c (open_wmemstream): Likewise.
5338         [BZ #15895]
5339         * nscd/netgroupcache.c: Fix nesting of ifdefs.
5341 2013-09-09  Will Newton  <will.newton@linaro.org>
5343         * malloc/Makefile: Add tst-realloc to tests.
5344         * malloc/tst-realloc.c: New file.
5346 2013-09-09  Allan McRae  <allan@archlinux.org>
5348         [BZ #15844]
5349         * COPYING: Update from GNU website to fix FSF address.
5350         * COPYING.LIB: Likewise.
5352 2013-09-06  David S. Miller  <davem@davemloft.net>
5354         * po/zh_TW.po: Update Chinese (traditional) translation from
5355         translation project.
5357 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
5358             Joseph Myers  <joseph@codesourcery.com>
5360         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
5361         "localeinfo.h".
5362         (obstack_chunk_alloc): New macro.
5363         (obstack_chunk_free): Likewise.
5364         (record_offset): New function.
5365         (init_locale_data): Likewise.
5366         (align_locale_data): Likewise.
5367         (add_locale_empty): Likewise.
5368         (add_locale_raw_data): Likewise.
5369         (add_locale_raw_obstack): Likewise.
5370         (add_locale_string): Likewise.
5371         (add_locale_wstring): Likewise.
5372         (add_locale_uint32): Likewise.
5373         (add_locale_uint32_array): Likewise.
5374         (add_locale_char): Likewise.
5375         (start_locale_structure): Likewise.
5376         (end_locale_structure): Likewise.
5377         (start_locale_prelude): Likewise.
5378         (end_locale_prelude): Likewise.
5379         (write_locale_data): Take locale_file structure rather than an
5380         iovec.
5381         * locale/programs/locfile.h: Include "obstack.h".
5382         (struct locale_file): Change to store locale file contents instead
5383         of header.
5384         (init_locale_data): New prototype.
5385         (align_locale_data): Likewise.
5386         (add_locale_empty): Likewise.
5387         (add_locale_raw_data): Likewise.
5388         (add_locale_raw_obstack): Likewise.
5389         (add_locale_string): Likewise.
5390         (add_locale_wstring): Likewise.
5391         (add_locale_uint32): Likewise.
5392         (add_locale_uint32_array): Likewise.
5393         (add_locale_char): Likewise.
5394         (start_locale_structure): Likewise.
5395         (end_locale_structure): Likewise.
5396         (start_locale_prelude): Likewise.
5397         (end_locale_prelude): Likewise.
5398         (write_locale_data): Update prototype.
5399         * locale/programs/3level.h (struct TABLE): Remove result field.
5400         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
5401         Use new locale_file interface.
5402         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
5403         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
5404         * locale/programs/ld-address.c (address_output): Use new
5405         locale_file interface.
5406         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
5407         NO_ADD_LOCALE.
5408         (collate_finish): Don't call collseq_table_finalize.
5409         (collate_output): Use new locale_file interface.
5410         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
5411         in file.
5412         (NO_FINALIZE): Change to NO_ADD_LOCALE.
5413         (TABLE): Move defines earlier in file.
5414         (ELEMENT): Likewise.
5415         (DEFAULT): Likewise.
5416         (wctrans_table_add): Move macro and inline function earlier in
5417         file.
5418         (struct wctype_table): Move type earlier in file.
5419         (add_locale_wctype_table): New static prototype.
5420         (struct locale_ctype_t): Use logical types instead of struct iovec
5421         pointers for members.
5422         (ctype_output): Use new locale_file interface.
5423         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
5424         new locale_file interface.
5425         (allocate_arrays): Update for use of new locale_file interface.
5426         * locale/programs/ld-identification.c (identification_output): Use
5427         new locale_file interface.
5428         * locale/programs/ld-measurement.c (measurement_output): Likewise.
5429         * locale/programs/ld-messages.c (messages_output): Likewise.
5430         * locale/programs/ld-monetary.c (monetary_output): Likewise.
5431         * locale/programs/ld-name.c (name_output): Likewise.
5432         * locale/programs/ld-numeric.c (numeric_output): Likewise.
5433         * locale/programs/ld-paper.c (paper_output): Likewise.
5434         * locale/programs/ld-telephone.c (telephone_output): Likewise.
5435         * locale/programs/ld-time.c (time_output): Likewise.
5437 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5439         * benchtests/Makefile: Add memrchr benchmark.
5440         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
5441         benchmark as memrchr.
5442         * benchtests/bench-memrchr-ifunc.c: New file.
5443         * benchtests/bench-memrchr.c: New file.
5445 2013-09-06   Will Newton  <will.newton@linaro.org>
5447         * benchtests/Makefile (string-bench): Add memcpy.
5449 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
5450             Cong Wang  <amwang@redhat.com>
5452         * sysdeps/unix/sysv/linux/bits/in.h
5453         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
5454         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
5455         before __USE_KERNEL_IPV6_DEFS uses.
5456         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
5457         IPPROTO_BEETPH.
5458         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
5459         sockaddr_in6, or ipv6_mreq.
5461 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5463         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
5464         memory access for final bytes in some large inputs.
5465         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
5467 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5469         * string/test-memrchr.c: New file.
5470         * string/test-memrchr-ifunc.c: New file.
5471         * string/Makefile: Add new memrchr testcase.
5473 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
5475         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
5476         fanotify_init returns EPERM.
5478 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
5480         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
5481         errors.
5482         (top level): Treat second token from macro or constant entries for
5483         allowed headers as allowed.
5484         * include/complex.h: Condition internal declarations on
5485         [!_ISOMAC].
5486         * include/fenv.h: Condition include of <stdbool.h> and internal
5487         declarations on [!_ISOMAC].
5489 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
5491         [BZ #15923]
5492         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
5494 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
5496         * configure.in (--enable-versioning): Remove configure option.
5497         (libc_cv_asm_symver_directive): Remove configure test.
5498         (libc_cv_ld_version_script_option): Likewise.
5499         (VERSIONING): Remove variable and AC_SUBST.
5500         (DO_VERSIONING): Remove AC_DEFINE.
5501         * configure: Regenerated.
5502         * config.h.in (DO_VERSIONING): Remove macro.
5503         * Makerules [$(versioning) = yes]: Change conditionals to
5504         [$(build-shared) = yes].
5505         * config.make.in (versioning): Remove variable.
5506         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
5507         [$(build-shared) = yes].
5508         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
5509         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
5510         * elf/Makefile [$(versioning) = yes]: Change conditionals to
5511         [$(build-shared) = yes].
5512         * extra-lib.mk [$(versioning) = yes]: Likewise.
5513         * hurd/Makefile [$(versioning) = yes]: Likewise.
5514         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
5515         [SHARED].
5516         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
5517         [SHARED].
5518         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
5519         [SHARED && !NO_HIDDEN].
5520         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
5521         [SHARED].
5522         [SHARED && DO_VERSIONING]: Likewise..
5523         * libio/Makefile [$(versioning) = yes]: Change conditionals to
5524         [$(build-shared) = yes].
5525         * manual/install.texi (--disable-versioning): Remove
5526         documentation.
5527         * INSTALL: Regenerated.
5528         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
5529         to [SHARED].
5530         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
5531         [$(build-shared) = yes].
5532         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
5533         * sysdeps/i386/i686/multiarch/strstr-c.c
5534         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
5535         [SHARED && !NO_HIDDEN].
5536         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
5537         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
5538         * sysdeps/powerpc/powerpc32/dl-machine.c
5539         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
5540         * sysdeps/powerpc/powerpc32/sysdep.h
5541         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
5542         to [SHARED && PIC && !NO_HIDDEN].
5543         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
5544         conditional to [SHARED].
5546 2013-09-04   Will Newton  <will.newton@linaro.org>
5548         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
5549         * benchtests/bench-string.h: Include bench-timing.h instead
5550         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
5551         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
5552         call to HP_TIMING_DIFF_INIT.
5553         * benchtests/bench-memccpy.c: Use bench-timing.h macros
5554         instead of hp-timing.h macros.
5555         * benchtests/bench-memchr.c: Likewise.
5556         * benchtests/bench-memcmp.c: Likewise.
5557         * benchtests/bench-memcpy.c: Likewise.
5558         * benchtests/bench-memmem.c: Likewise.
5559         * benchtests/bench-memmove.c: Likewise.
5560         * benchtests/bench-memset.c: Likewise.
5561         * benchtests/bench-rawmemchr.c: Likewise.
5562         * benchtests/bench-strcasecmp.c: Likewise.
5563         * benchtests/bench-strcasestr.c: Likewise.
5564         * benchtests/bench-strcat.c: Likewise.
5565         * benchtests/bench-strchr.c: Likewise.
5566         * benchtests/bench-strcmp.c: Likewise.
5567         * benchtests/bench-strcpy.c: Likewise.
5568         * benchtests/bench-strcpy_chk.c: Likewise.
5569         * benchtests/bench-strlen.c: Likewise.
5570         * benchtests/bench-strncasecmp.c: Likewise.
5571         * benchtests/bench-strncat.c: Likewise.
5572         * benchtests/bench-strncmp.c: Likewise.
5573         * benchtests/bench-strncpy.c: Likewise.
5574         * benchtests/bench-strnlen.c: Likewise.
5575         * benchtests/bench-strpbrk.c: Likewise.
5576         * benchtests/bench-strrchr.c: Likewise.
5577         * benchtests/bench-strspn.c: Likewise.
5578         * benchtests/bench-strstr.c: Likewise.
5580 2013-09-04  Will Newton  <will.newton@linaro.org>
5582         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
5584 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
5586         [BZ #15427]
5587         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
5588         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
5589         * math/libm-test.inc (lgamma_test_data): Add more tests.
5590         * sysdeps/i386/fpu/libm-test-ulps: Update.
5591         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5593 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
5595         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
5596         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5597         Add ifunc.
5598         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5599         Add strcmp-sse2-unaligned
5600         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
5602 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
5604         * Versions.def (libc): Add GLIBC_2.19.
5606 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
5608         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
5609         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
5611 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
5613         [BZ #14155]
5614         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
5615         intermediate calculations in recurrence.
5616         (__ieee754_ynf): Likewise.
5617         * math/libm-test.inc (jn_test_data): Do not allow spurious
5618         underflow exception.  Add more tests.
5619         (yn_test_data): Add more tests.
5620         * sysdeps/i386/fpu/libm-test-ulps: Update.
5621         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5623 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
5625         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
5627 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
5629         * csu/init-first.c: Fix then/than typos.
5630         * locale/programs/ld-collate.c: Likewise.
5631         * locale/programs/linereader.h: Likewise.
5632         * manual/charset.texi: Likewise.
5633         * manual/filesys.texi: Likewise.
5634         * manual/stdio.texi: Likewise.
5635         * manual/string.texi: Likewise.
5636         * stdlib/fmtmsg.c: Likewise.
5637         * sysdeps/i386/stpncpy.S: Likewise.
5638         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5639         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
5640         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5641         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5643 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
5645         * elf/dl-open.c: Fix typos.
5646         * iconvdata/gbbig5.c: Likewise.
5647         * iconvdata/iso-2022-jp.c: Likewise.
5648         * iconv/gconv_int.h: Likewise.
5649         * iconv/loop.c: Likewise.
5650         * nis/rpcsvc/nis.h: Likewise.
5651         * resolv/ns_name.c: Likewise.
5652         * stdio-common/vfscanf.c: Likewise.
5653         * streams/stropts.h: Likewise.
5654         * sunrpc/rpc_thread.c: Likewise.
5655         * sysdeps/i386/strpbrk.S: Likewise.
5656         * sysdeps/ieee754/k_standard.c: Likewise.
5657         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5658         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5659         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
5660         * sysdeps/mach/hurd/profil.c: Likewise.
5661         * sysdeps/s390/dl-procinfo.h: Likewise.
5662         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
5663         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
5664         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
5665         * sysdeps/x86_64/dl-trampoline.S: Likewise.
5666         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5668 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
5670         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
5671         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
5673 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
5675         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
5676         aix specific files.
5677         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
5678         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
5679         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
5680         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
5681         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
5682         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
5683         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
5684         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
5686 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
5687             Roland McGrath  <roland@hack.frob.com>
5689         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
5690         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
5692 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5694         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
5695         __executable_start symbol instead of _start.
5697 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
5699         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
5700         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
5701         Move macros to...
5702         * sysdeps/gnu/ldsodefs.h: ... this new file.
5704         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
5705         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
5706         instead of ELFOSABI_LINUX.
5708         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
5709         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
5710         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
5711         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
5712         Likewise.
5713         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
5714         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
5715         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
5716         Likewise.
5717         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
5718         (ibm_extended_long_double): Add ieee_nan member.
5719         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
5720         (do_test): New function.
5722         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
5723         TEST_TRUNC.
5724         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
5725         functions, renamed from truncdfsf_test, trunctfsf_test,
5726         trunctfdf_test.
5727         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
5728         functions.
5729         (do_test): Run all these.
5731 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
5733         * argp/argp-help.c: Fix typos.
5734         * argp/argp-parse.c: Likewise.
5735         * debug/backtracesyms.c: Likewise.
5736         * elf/elf.h: Likewise.
5737         * malloc/malloc.c: Likewise.
5738         * nis/nis_print.c: Likewise.
5739         * resolv/res_comp.c: Likewise.
5740         * stdlib/stdlib.h: Likewise.
5741         * sunrpc/clnt_tcp.c: Likewise.
5742         * sunrpc/clnt_udp.c: Likewise.
5743         * sunrpc/clnt_unix.c: Likewise.
5744         * sysdeps/unix/bsd/ptsname.c: Likewise.
5745         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
5746         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
5747         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
5748         Likewise.
5749         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
5750         Likewise.
5751         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
5752         Likewise.
5753         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
5755 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
5757         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
5758         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5760 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
5762         [BZ #15897]
5763         * dlfcn/Makefile (tests): Add bug-dl-leaf.
5764         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
5765         ($(objpfx)bug-dl-leaf): New rule.
5766         ($(objpfx)bug-dl-leaf.so): Likewise.
5767         ($(objpfx)bug-dl-leaf.out): Likewise.
5768         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
5769         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
5770         * dlfcn/bug-dl-leaf.c: New test.
5771         * dlfcn/bug-dl-leaf-lib.c: Likewise.
5772         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
5773         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
5774         (dlclose): Likewise.
5775         (dlmopen): Likewise.
5777 2013-08-27  Roland McGrath  <roland@hack.frob.com>
5779         * include/netdb.h [!_ISOMAC]:
5780         Don't include <tls.h>.
5781         (h_errno, __libc_h_errno): Move declaration and macros out of
5782         [_LIBC_REENTRANT].
5784         * include/resolv.h [_RESOLV_H_]:
5785         Don't include <tls.h>.
5786         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
5787         * resolv/res_libc.c: Don't include <tls.h>.
5788         (_res): Use __attribute__ ((nocommon)) in place of
5789         __attribute__ ((section (".bss"))).
5791         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
5792         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
5794         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
5796         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
5797         only under [SIOCGIFCONF && SIOCGIFNETMASK].
5799         * resolv/res_mkquery.c: Include <sys/time.h>.
5801         * inet/ifreq.c: Moved to ...
5802         * sysdeps/unix/ifreq.c: ... here.
5803         * inet/ifreq.c: New file, true stub version.
5805         * socket/sa_len.c: New file.
5806         * socket/Makefile (aux): Add it.
5807         * sysdeps/unix/sysv/linux/Makefile
5808         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
5809         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
5810         and #include <socket/sa_len.c>.
5811         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
5812         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
5814         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
5815         * bits/socket.h: ... here.
5817         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
5818         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
5819         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
5821 2013-08-27  Andreas Schwab  <schwab@suse.de>
5823         [BZ #15736]
5824         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
5825         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
5826         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
5827         * string/test-strcasecmp.c (test_main): Run tests in several
5828         locales.
5829         * string/test-strncasecmp.c (test_main): Likewise.
5831         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
5832         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
5833         to __strcasecmp_nonascii and __strncasecmp_nonascii.
5834         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
5835         (__strncasecmp_ssse3) [PIC]: Likewise.
5837 2013-08-26  Roland McGrath  <roland@hack.frob.com>
5839         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
5841         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
5842         instead of explicitly declaring xdecrypt.
5843         * nis/nss_nis/nis-publickey.c: Likewise.
5845 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5847         [BZ #15890]
5848         * nscd/aicache.c: Include res_hconf.h.
5849         (addhstaiX): Initialize res_hconf.
5851 2013-08-26  Andreas Schwab  <schwab@suse.de>
5853         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
5854         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
5856 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5858         * nscd/aicache.c (addhstaiX): Fix indentation.
5860 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
5862         * configure.ac: Quote $build_pt_chown test.
5863         * configure: Regenerated.
5865 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
5867         [BZ #15532]
5868         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
5869         * math/s_cexpf.c (__cexpf): Likewise.
5870         * math/s_cexpl.c (__cexpl): Likewise.
5871         * math/libm-test.inc (cexp_test_data): Correct expected return
5872         value for NaN + i0.  Add another test.
5874 2013-08-22  David S. Miller  <davem@davemloft.net>
5876         * po/ca.po: Update Catalan translation from translation project.
5877         * po/uk.po: Add Ukrainian translations from translation project.
5879 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
5881         [BZ #15797]
5882         * math/s_fdim.c (__fdim): Check for infinite arguments if result
5883         is infinite, not alongside NaN test.
5884         * math/s_fdimf.c (__fdimf): Likewise.
5885         * math/s_fdiml.c (__fdiml): Likewise.
5886         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
5887         errno is unchanged.
5889 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
5891         * argp/argp-help.c: Fix typos.
5892         * crypt/speeds.c: Likewise.
5893         * csu/check_fds.c: Likewise.
5894         * elf/dl-load.c: Likewise.
5895         * elf/dl-open.c: Likewise.
5896         * elf/reldep3.c: Likewise.
5897         * elf/reldep.c: Likewise.
5898         * elf/sprof.c: Likewise.
5899         * iconv/iconv_charmap.c: Likewise.
5900         * iconv/skeleton.c: Likewise.
5901         * iconv/strtab.c: Likewise.
5902         * io/lockf64.c: Likewise.
5903         * libio/libioP.h: Likewise.
5904         * resolv/gai_notify.c: Likewise.
5905         * resolv/ns_name.c: Likewise.
5906         * resolv/ns_samedomain.c: Likewise.
5907         * resolv/res_send.c: Likewise.
5908         * stdlib/random.c: Likewise.
5909         * sunrpc/rpc/xdr.h: Likewise.
5910         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
5911         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
5912         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
5913         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
5914         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
5915         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
5916         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
5917         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
5918         * sysdeps/mach/hurd/check_fds.c: Likewise.
5919         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
5920         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
5921         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5922         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
5923         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
5924         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
5925         * sysdeps/pthread/aio_notify.c: Likewise.
5926         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
5927         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
5928         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
5929         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
5930         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
5932 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
5934         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
5935         version if bit_Slow_SSE4_2 is set.
5936         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5937         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
5939 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5941         [BZ #15867]
5942         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
5943         trampoline stack frame information.
5944         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
5945         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
5946         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
5947         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
5948         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
5949         * sysdeps/unix/sysv/linux/powerpc/init-first.c
5950         (_libc_vdso_platform_setup): Initialize the signal trampolines.
5951         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
5952         sa_flags value.
5953         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
5954         interrupting a syscall and set with option SA_SIGINFO.
5956 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
5958         [BZ #15531]
5959         * math/s_cproj.c (__cproj): Only return an infinity if one part of
5960         argument is infinite.
5961         * math/s_cprojf.c (__cprojf): Likewise.
5962         * math/s_cprojl.c (__cprojl): Likewise.
5963         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
5964         * math/libm-test.inc (cproj_test_data): Add more tests.
5966         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
5968         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
5969         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
5970         size.  Use __ffs to determine corresponding shift.
5972 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
5973             Roland McGrath  <roland@hack.frob.com>
5975         * Makefile (INSTALL): Remove trailing blank lines from output of
5976         makeinfo.
5978 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5980         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
5981         Align 32 bit compat elf_greg to 8 bytes.
5983 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
5985         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
5987 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
5989         * string/strcoll_l.c (coll_seq): New structure.
5990         (get_next_seq_cached): New function.
5991         (get_next_seq): New function.
5992         (do_compare): New function.
5993         (STRCOLL): Use GNU style definition.  Simplify implementation
5994         by using get_next_seq, get_next_seq_cached and do_compare.
5996 2013-08-16  Florian Weimer  <fweimer@redhat.com>
5998         [BZ #14699]
5999         CVE-2013-4237
6000         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
6001         member.
6002         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
6003         member.
6004         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
6005         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
6006         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
6007         conditional.
6008         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
6009         GETDENTS_64BIT_ALIGNED.
6010         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
6011         * manual/filesys.texi (Reading/Closing Directory): Document
6012         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
6013         strongly.
6014         * manual/conf.texi (Limits for Files): Add portability note to
6015         NAME_MAX, PATH_MAX.
6016         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
6018 2013-08-13  Andreas Schwab  <schwab@suse.de>
6020         [BZ #15749]
6021         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
6022         of fabs.
6023         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
6024         LDBL_MAX_EXP >= 16384]: Add tests for it.
6026 2013-08-12  David S. Miller  <davem@davemloft.net>
6028         * version.h (RELEASE): Set to "development".
6029         (VERSION): Set to "2.18.90".
6030         * NEWS: Add 2.19 section.
6032 2013-08-03  David S. Miller  <davem@davemloft.net>
6034         * po/ko.po: Update Korean translation from translation project.
6036 2013-08-01  David S. Miller  <davem@davemloft.net>
6038         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
6039         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
6040         Bilka.
6042 2013-07-30  David S. Miller  <davem@davemloft.net>
6044         * po/fr.po: Update French translation from translation project.
6046 2013-07-28  David S. Miller  <davem@davemloft.net>
6048         * po/cs.po: Update Czech translation from translation project.
6050         * po/sv.po: Update Swedish translation from translation project.
6052 2013-07-27  David S. Miller  <davem@davemloft.net>
6054         * po/eo.po: Update Esperanto translation from translation project.
6056         * po/vi.po: Update Vietnamese translation from translation project.
6058         * po/de.po: Update German translation from translation project.
6060 2013-07-26  David S. Miller  <davem@davemloft.net>
6062         * po/bg.po: Update Bulgarian translation from translation project.
6064         * po/nl.po: Update Dutch translation from translation project.
6065         * po/pl.po: Update Polish translation from translation project.
6066         * po/ru.po: Update Russian translation from translation project.
6068 2013-07-24  David S. Miller  <davem@davemloft.net>
6070         * po/libc.pot: Update.
6072 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6074         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
6075         variable page size.
6076         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
6077         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
6078         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
6080 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6082         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
6084 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6085             Andreas Schwab  <schwab@suse.de>
6086             Roland McGrath  <roland@hack.frob.com>
6087             Joseph Myers  <joseph@codesourcery.com>
6088             Carlos O'Donell  <carlos@redhat.com>
6090         [BZ #15755]
6091         * config.h.in: Define HAVE_PT_CHOWN.
6092         * config.make.in (build-pt-chown): New variable.
6093         * configure.in (--enable-pt_chown): New configure option.
6094         * configure: Regenerate.
6095         * login/Makefile: Include Makeconfig.  Build pt_chown only if
6096         build-pt-chown is enabled.
6097         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
6098         pt_chown to fix pty ownership.
6099         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
6100         CLOSE_ALL_FDS.
6101         * manual/install.texi (Configuring and compiling): Mention
6102         --enable-pt_chown. Add @findex for grantpt.
6103         * INSTALL: Regenerate.
6105 2013-07-20  David S. Miller  <davem@davemloft.net>
6107         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
6108         difference between 32-bit and 64-bit.
6110 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
6112         [BZ #15711]
6113         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
6114         Avoid system header dependency with -ffreestanding.
6115         ($(objpfx)bits/syscall%d): Likewise.
6117 2013-07-13  David S. Miller  <davem@davemloft.net>
6119         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
6120         underflows from atanl/atan2l due to bug 15319.
6121         (casinh_test_data): Likewise.
6123 2013-07-07  David S. Miller  <davem@davemloft.net>
6125         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
6127 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
6129         * sysdeps/i386/fpu/libm-test-ulps: Update.
6130         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6132 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
6134         * configure.in (--enable-lock-elision): Fix message text.
6135         * INSTALL: Regenerate.
6136         * configure: Regenerate.
6138 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6140         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6142 2013-07-03  Andreas Jaeger  <aj@suse.de>
6144         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
6145         define.
6146         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
6147         (ptrace_peeksiginfo_args): Add.
6148         (__ptrace_peeksiginfo_flags): Add.
6149         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6150         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6151         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6153 2013-07-03  Allan McRae  <allan@archlinux.org>
6155         * sysdeps/i386/fpu/libm-test-ulps: Update.
6157 2013-07-02  David S. Miller  <davem@davemloft.net>
6159         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6161 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
6163         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6165 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
6167         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6168         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6170 2013-07-02  Andi Kleen <ak@linux.intel.com>
6172         * config.h.in (ENABLE_LOCK_ELISION): Add.
6173         * configure.in (--enable-lock-elision): Add option.
6174         * manual/install.texi: Document --enable lock elision.
6175         * configure: Regenerate
6176         * INSTALL: Regenerate.
6178 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
6180         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
6181         SSE4.2 strcasecmp for libc.a.
6182         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
6184 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
6186         [BZ #13304]
6187         * soft-fp/op-common.h (_FP_FMA): New macro.
6188         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
6189         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
6190         (_FP_MUL_MEAT_1_imm): ... here.
6191         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
6192         (_FP_MUL_MEAT_1_wide): ... here.
6193         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
6194         (_FP_MUL_MEAT_1_hard): ... here.
6195         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
6196         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
6197         (_FP_MUL_MEAT_2_wide): ... here.
6198         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
6199         (_FP_MUL_MEAT_2_wide_3mul): ... here.
6200         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
6201         (_FP_MUL_MEAT_2_gmp): ... here.
6202         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
6203         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
6204         (_FP_MUL_MEAT_4_wide): ... here.
6205         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
6206         (_FP_MUL_MEAT_4_gmp): ... here.
6207         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
6208         (_FP_WFRACBITS_DW_S): Likewise.
6209         (_FP_WFRACXBITS_DW_S): Likewise.
6210         (_FP_HIGHBIT_DW_S): Likewise.
6211         (FP_FMA_S): Likewise.
6212         (_FP_FRAC_HIGH_DW_S): Likewise.
6213         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
6214         (_FP_WFRACBITS_DW_D): Likewise.
6215         (_FP_WFRACXBITS_DW_D): Likewise.
6216         (_FP_HIGHBIT_DW_D): Likewise.
6217         (FP_FMA_D): Likewise.
6218         (_FP_FRAC_HIGH_DW_D): Likewise.
6219         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
6220         (_FP_WFRACBITS_DW_E): Likewise.
6221         (_FP_WFRACXBITS_DW_E): Likewise.
6222         (_FP_HIGHBIT_DW_E): Likewise.
6223         (FP_FMA_E): Likewise.
6224         (_FP_FRAC_HIGH_DW_E): Likewise.
6225         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
6226         (_FP_WFRACBITS_DW_Q): Likewise.
6227         (_FP_WFRACXBITS_DW_Q): Likewise.
6228         (_FP_HIGHBIT_DW_Q): Likewise.
6229         (FP_FMA_Q): Likewise.
6230         (_FP_FRAC_HIGH_DW_Q): Likewise.
6231         * soft-fp/fmasf4.c: New file.
6232         * soft-fp/fmadf4.c: Likewise.
6233         * soft-fp/fmatf4.c: Likewise.
6235 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
6237         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
6238         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
6239         Silvermont.
6240         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
6241         macro.
6242         (index_Slow_SSE4_2): Likewise.
6243         (index_Prefer_PMINUB_for_stringop): Likewise.
6244         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
6245         bit_Slow_SSE4_2 is set.
6246         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6247         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6249 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6251         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
6252         rtld_global._dl_hwcap2.
6253         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
6254         POWER8.
6255         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
6256         POWER8 feature descriptions defined in _dl_hwcap2.
6257         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
6258         string handling for POWER8 feature bits.
6259         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
6260         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
6261         _dl_powerpc_cap_flags.
6262         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
6263         * sysdeps/powerpc/rtld-global-offsets.sym
6264         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
6265         _dl_hwcap2 in the rtld_global_ro structure.
6267 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6269         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
6270         hardware capabilities in support of AT_HWCAP2.
6271         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
6272         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
6273         GLRO(dl_hwcap2).
6274         (_dl_show_auxv): Add support for calling _dl_procinfo to display
6275         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
6276         explicitly the unknown a_type display mechanism is used.
6277         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
6278         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
6279         struct member.
6280         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
6281         to macro prototype for AT_HWCAP2 support.
6282         * sysdeps/i386/dl-procinfo.h: Likewise.
6283         * sysdeps/s390/dl-procinfo.h: Likewise.
6284         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
6285         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
6286         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
6287         return -1 for unknown a_type display fallback.
6288         * sysdeps/sparc/dl-procinfo.h: Likewise.
6289         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
6290         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
6292 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
6294         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
6295         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
6297 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
6299         [BZ #12492]
6300         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
6301         mprotect making __stack_prot writable.
6303 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
6304             Joseph Myers  <joseph@codesourcery.com>
6306         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
6307         as being properly aligned.
6309 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
6311         * dlfcn/modstatic5.c: New file.
6312         * dlfcn/tststatic5.c: New file.
6313         * dlfcn/Makefile (tests): Add tststatic5.
6314         (tests-static): Likewise.
6315         (modules-names): Add modstatic5.
6316         (tststatic5-ENV): New variable.
6317         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
6319         [BZ #15022]
6320         * elf/dl-support.c (_dl_main_map): New variable.
6321         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
6322         (_dl_nns, _dl_load_adds): Set to 1.
6323         (_dl_initial_searchlist): Refer to _dl_main_map.
6324         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
6325         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
6326         call to _dl_get_origin.
6327         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
6328         around call_map.
6329         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
6330         * dlfcn/modstatic3.c: New file.
6331         * dlfcn/tststatic3.c: New file.
6332         * dlfcn/tststatic4.c: New file.
6333         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
6334         (tests-static): Likewise.
6335         (modules-names): Add modstatic3.
6336         (tststatic3-ENV, tststatic4-ENV): New variables.
6337         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
6338         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
6340 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
6342         * configure.in (CC): Require GCC version 4.4 or later.
6343         * configure: Regenerated.
6344         * manual/install.texi (Tools for Compilation): Update GCC version
6345         requirement.
6346         * INSTALL: Regenerated.
6348 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
6350         [BZ #15674]
6351         * string/test-memcmp.c (check2): New.
6352         (main): Call check2.
6354         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
6356 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
6358         [BZ #15022]
6359         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
6360         over to...
6361         (dl_open_worker) [!SHARED]: ... here.
6363 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6365         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
6367 2013-06-25  Richard Henderson  <rth@redhat.com>
6369         * locale/programs/locarchive.c: Include <libc-internal.h>
6371 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
6373         * manual/texinfo.tex: Update to version 2013-06-21.17, with
6374         trailing whitespace removed.
6376 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
6378         [BZ #10283]
6379         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
6380         * locale/programs/locarchive.c: Include libc-mmap.h.
6381         (prepare_address_space): Take two new outputs (the mmap base and len).
6382         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
6383         values.
6384         (create_archive): Declare new mmap base and len values for
6385         prepare_address_space, and store the result in ah.
6386         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
6387         (enlarge_archive): If ah->mmap_base is not NULL, use that and
6388         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6389         Declare new mmap base and len values for
6390         prepare_address_space, and store the result in new_ah.
6391         (open_archive): Declare new mmap base and len values for
6392         prepare_address_space, and store the result in ah.
6393         (close_archive): If ah->mmap_base is not NULL, use that and
6394         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6395         * sysdeps/generic/libc-mmap.h: New file.
6397 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
6399         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
6400         (ALIGN_UP): Likewise.
6401         (PTR_ALIGN_DOWN): Likewise.
6402         (PTR_ALIGN_UP): Likewise.
6404 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6406         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
6407         entry mapped to PPC_PLATFORM_POWER8.
6408         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
6409         POWER8.
6410         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
6411         (_dl_string_platform): Add case for exporting platform position for
6412         POWER8.
6413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
6414         search path to sysdeps/powerpc/powerpc32/power8 directory.
6415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
6416         search path to sysdeps/powerpc/powerpc64/power8 directory.
6417         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
6418         power7 directories.
6419         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
6420         power7 directories.
6422 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6424         * INSTALL: Regenerate.
6426         * nscd/connections.c (nscd_init): Fix comment.
6428 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
6430         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
6432         [BZ #15667]
6433         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
6434         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
6436 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
6438         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
6439         DL_DST_REQ_STATIC.
6440         (DL_DST_REQ_STATIC): Remove macro.
6442 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
6444         [BZ #7006]
6445         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
6446         with a shift of 0 bits.
6448 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
6450         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
6451         $(tststatic-ENV).
6453 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6455         [BZ #15655]
6456         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
6458 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6460         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
6461         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
6462         accepts -fno-tree-loop-distribute-patterns.
6463         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
6464         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
6465         recursive call.
6466         * string/memset.c (memset): Likewise.
6467         * string/test-memmove.c (simple_memmove): Disable loop transformation
6468         to library calls.
6469         * string/test-memset.c (simple_memset): Likewise.
6470         * benchtests/bench-memmove.c (simple_memmove): Likewise.
6471         * benchtests/bench-memset.c (simple_memset): Likewise.
6472         * configure: Regenerated.
6474 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
6476         * math/test-misc.c (main): Ignore fesetround failure when failures
6477         of subsequent rounding tests would be ignored.
6479         [BZ #15654]
6480         * math/fedisblxcpt.c (fedisableexcept): Return 0.
6481         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
6482         * math/fegetenv.c (__fegetenv): Return 0.
6483         * math/fegetexcept.c (fegetexcept): Return 0.
6484         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
6485         FE_TONEAREST.
6486         * math/feholdexcpt.c (feholdexcept): Return 0.
6487         * math/fesetenv.c (__fesetenv): Return 0.
6488         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
6489         argument FE_TONEAREST.
6490         * math/feupdateenv.c (__feupdateenv): Return 0.
6491         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
6493 2013-06-18  Roland McGrath  <roland@hack.frob.com>
6495         * elf/rtld-Rules (rtld-compile-command.S): New variable.
6496         (rtld-compile-command.s, rtld-compile-command.c): New variables.
6497         ($(objpfx)rtld-%.os rules): Use them.
6499 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6501         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
6502         fields.
6504 2013-06-17  Roland McGrath  <roland@hack.frob.com>
6506         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
6507         length of target pattern, then descending length of dependency pattern.
6508         * configure.in (AWK): Require gawk 3.1.2 or newer.
6509         * manual/install.texi (Tools for Compilation): Say that we do.
6510         * configure: Regenerated.
6512         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
6513         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
6514         * scripts/sysd-rules.awk: ... this new script.
6515         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
6516         than a glob-style pattern.
6518 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
6520         * math/test-misc.c (main): Do not treat incorrectly rounded
6521         conversions as failure unless ROUNDING_TESTS passes.
6523 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
6525         [BZ #15631]
6526         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
6527         restore exception state around main square root computation, then
6528         check for inexactness explicitly.
6530         * math/libm-test.inc (fma_test_data): Add another test.
6532 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
6534         * manual/threads.texi (Non-POSIX Extensions): New document
6535         node.  Document pthread_getattr_default_np and
6536         pthread_setattr_default_np.
6538         * Versions.def (libpthread): Add GLIBC_2.18.
6539         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
6540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6541         Likewise.
6542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6543         Likewise.
6544         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6545         Likewise.
6546         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6547         Likewise.
6548         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
6549         Likewise.
6550         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6551         Likewise.
6552         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6553         Likewise.
6554         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
6555         Likewise.
6556         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
6557         Likewise.
6559 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
6561         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6562         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
6564 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
6565             H.J. Lu  <hjl.tools@gmail.com>
6567         [BZ #15627]
6568         * sysdeps/x86_64/rtld-memset.c: Remove file.
6569         * sysdeps/x86_64/rtld-memset.S: New file.
6571 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
6573         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
6574         (test_in_one_mode): Take arguments for whether the rounding mode
6575         is supported for each floating-point type.
6576         (do_test): Pass new arguments to test_in_one_mode using
6577         ROUNDING_TESTS.
6579 2013-06-13  Roland McGrath  <roland@hack.frob.com>
6581         * posix/tst-waitid.c (do_test): Distinguish different instances of
6582         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
6583         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
6584         before entering the kernel for waitpid.
6586 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
6588         * NEWS: Fix note on clock function precision.  Text by Roland
6589         McGrath.
6591 2013-06-13  Roland McGrath  <roland@hack.frob.com>
6593         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
6594         it into place only when and if the sanity check passes.
6596 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
6598         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
6599         output for whether conversion result is exact.  Take argument
6600         indicating whether type is IBM long double.
6601         (round_for_all): Change need_exact field to ibm_ld.
6602         * stdlib/tst-strtod-round.c (struct exactness): New type.
6603         (struct test): Change bool ld_ok field to struct exactness exact.
6604         (TEST): Update all definitions for change to field.
6605         (tests): Regenerate array contents.
6606         (test_in_one_mode): Take pointer to new field instead of old ld_ok
6607         field value.  Check for IBM long double here.
6608         (do_test): Update calls to test_in_one_mode.
6610 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
6612         [BZ #12515]
6613         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
6614         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
6616 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6618         [BZ #15605]
6619         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
6620         generated by the compiler on loop optimizations.
6621         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
6622         general definitions.
6624 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
6626         * math/bug-nextafter.c: Include <math-tests.h>.
6627         (main): Only test for exceptions if EXCEPTION_TESTS is true for
6628         the relevant type.
6629         * math/bug-nexttoward.c: Include <math-tests.h>.
6630         (main): Only test for exceptions if EXCEPTION_TESTS is true for
6631         the relevant type.
6632         * math/test-misc.c: Include <math-tests.h>.
6633         (main): Only test for exceptions if EXCEPTION_TESTS is true for
6634         the relevant type.
6636 2013-06-12  Andreas Jaeger  <aj@suse.de>
6638         * po/ia.po: Update Interlingua translation from translation
6639         project.
6641 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
6643         * include/fenv.h: Include stdbool.h.
6644         (struct rm_ctx): New structure.
6645         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
6646         Define macro.
6647         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
6648         (SET_RESTORE_ROUNDF): Likewise.
6649         (SET_RESTORE_ROUNDL): Likewise.
6650         (SET_RESTORE_ROUND_NOEX): Likewise.
6651         (SET_RESTORE_ROUND_NOEXF): Likewise.
6652         (SET_RESTORE_ROUND_NOEXL): Likewise.
6653         (SET_RESTORE_ROUND_53BIT): Likewise.
6654         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
6655         (libc_feresetround_noexf_ctx): Likewise.
6656         (libc_feresetround_noexl_ctx): Likewise.
6657         (libc_feholdsetround_53bit_ctx): Likewise.
6658         (libc_feresetround_53bit_ctx): Likewise.
6659         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
6660         (libc_feholdexcept_setround_sse_ctx): New function.
6661         (libc_fesetenv_sse_ctx): Likewise.
6662         (libc_feupdateenv_sse_ctx): Likewise.
6663         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
6664         (libc_feholdexcept_setround_387_ctx): Likewise.
6665         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
6666         (libc_feholdsetround_387_prec_ctx): Likewise.
6667         (libc_feholdsetround_387_ctx): Likewise.
6668         (libc_feholdsetround_387_53bit_ctx): Likewise.
6669         (libc_feholdsetround_sse_ctx): Likewise.
6670         (libc_feresetround_sse_ctx): Likewise.
6671         (libc_feresetround_387_ctx): Likewise.
6672         (libc_feupdateenv_387_ctx): Likewise.
6673         (libc_feholdexcept_setroundf_ctx): Define macro.
6674         (libc_fesetenvf_ctx): Likewise.
6675         (libc_feupdateenvf_ctx): Likewise.
6676         (libc_feholdsetroundf_ctx): Likewise.
6677         (libc_feresetroundf_ctx): Likewise.
6678         (libc_feholdexcept_setround_ctx): Likewise.
6679         (libc_fesetenv_ctx): Likewise.
6680         (libc_feupdateenv_ctx): Likewise.
6681         (libc_feholdsetround_ctx): Likewise.
6682         (libc_feresetround_ctx): Likewise.
6683         (libc_feholdexcept_setroundl_ctx): Likewise.
6684         (libc_feupdateenvl_ctx): Likewise.
6685         (libc_feholdsetroundl_ctx): Likewise.
6686         (libc_feresetroundl_ctx): Likewise.
6687         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
6688         (libc_feresetround_53bit_ctx): Likewise.
6690 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
6692         * locale/iso-639.def: Convert to UTF-8.
6694 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
6696         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
6697         (EXCEPTION_TESTS_double): Likewise.
6698         (EXCEPTION_TESTS_long_double): Likewise.
6699         (EXCEPTION_TESTS): Likewise.
6700         * math/libm-test.inc (test_exceptions): Only test exceptions if
6701         EXCEPTION_TESTS (FLOAT).
6703 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
6705         * benchtests/Makefile (string-bench): Add strcpy_chk and
6706         stpcpy_chk.
6707         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
6708         * benchtests/bench-stpcpy_chk.c: New file.
6709         * benchtests/bench-strcpy_chk-ifunc.c: New file.
6710         * benchtests/bench-strcpy_chk.c: New file.
6711         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
6712         code.
6713         (do_test): Likewise.
6715 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6717         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
6718         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
6719         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
6720         with tabs where appropriate.
6721         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
6722         dl-procinfo.h.
6723         [PPC_PLATFORM_PPC440]: Likewise.
6724         [PPC_PLATFORM_PPC464]: Likewise.
6725         [PPC_PLATFORM_PPC476]: Likewise.
6726         (_dl_string_platform): Add support for detecting ppc405, ppc440,
6727         ppc464, and ppc476 platform strings merging from ports/
6728         dl-procinfo.h.
6730 2013-06-11  Andreas Schwab  <schwab@suse.de>
6732         [BZ #14991]
6733         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
6734         (from_ucs4_idx): Regenerate.
6735         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
6736         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
6737         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
6738         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
6739         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
6740         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
6741         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
6742         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
6743         from FROM_LOOP and TO_LOOP specific macros.
6744         (BODY): Handle combining characters.
6745         * iconvdata/BIG5HKSCS.irreversible: Update.
6746         * iconvdata/BIG5HKSCS.precomposed: New file.
6747         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
6748         characters.
6749         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
6751 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
6753         * include/sys/time.h: Fix indentation and add copyright header.
6755         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
6756         (do_test): Likewise.
6757         * string/test-memchr.c (do_one_test): Likewise.
6758         (do_test): Likewise.
6759         * string/test-memcmp.c (do_one_test): Likewise.
6760         (do_test): Likewise.
6761         * string/test-memcpy.c (do_one_test): Likewise.
6762         (do_test): Likewise.
6763         * string/test-memmem.c (do_one_test): Likewise.
6764         (do_test): Likewise.
6765         (do_random_tests): Likewise.
6766         * string/test-memmove.c (do_one_test): Likewise.
6767         (do_test): Likewise.
6768         * string/test-memset.c (do_one_test): Likewise.
6769         (do_test): Likewise.
6770         * string/test-rawmemchr.c (do_one_test): Likewise.
6771         (do_test): Likewise.
6772         * string/test-strcasecmp.c (do_one_test): Likewise.
6773         (do_test): Likewise.
6774         * string/test-strcasestr.c (do_one_test): Likewise.
6775         (do_test): Likewise.
6776         * string/test-strcat.c (do_one_test): Likewise.
6777         (do_test): Likewise.
6778         * string/test-strchr.c (do_one_test): Likewise.
6779         (do_test): Likewise.
6780         * string/test-strcmp.c (do_one_test): Likewise.
6781         (do_test): Likewise.
6782         * string/test-strcpy.c (do_one_test): Likewise.
6783         (do_test): Likewise.
6784         * string/test-string.h: Likewise.
6785         (test_init): Likewise.
6786         * string/test-strlen.c (do_one_test): Likewise.
6787         (do_test): Likewise.
6788         * string/test-strncasecmp.c (do_one_test): Likewise.
6789         (do_test): Likewise.
6790         * string/test-strncat.c (do_one_test): Likewise.
6791         (do_test): Likewise.
6792         * string/test-strncmp.c (do_one_test): Likewise.
6793         (do_test_limit): Likewise.
6794         (do_test): Likewise.
6795         * string/test-strncpy.c (do_one_test): Likewise.
6796         (do_test): Likewise.
6797         * string/test-strnlen.c (do_one_test): Likewise.
6798         (do_test): Likewise.
6799         * string/test-strpbrk.c (do_one_test): Likewise.
6800         (do_test): Likewise.
6801         * string/test-strrchr.c (do_one_test): Likewise.
6802         (do_test): Likewise.
6803         * string/test-strspn.c (do_one_test): Likewise.
6804         (do_test): Likewise.
6805         * string/test-strstr.c (do_one_test): Likewise.
6806         (do_test): Likewise.
6808         * benchtests/Makefile (string-bench): Add string benchmarks.
6809         * benchtests/bench-bcopy-ifunc.c: New file.
6810         * benchtests/bench-bcopy.c: New file.
6811         * benchtests/bench-bzero-ifunc.c: New file.
6812         * benchtests/bench-bzero.c: New file.
6813         * benchtests/bench-memccpy-ifunc.c: New file.
6814         * benchtests/bench-memccpy.c: New file.
6815         * benchtests/bench-memchr-ifunc.c: New file.
6816         * benchtests/bench-memchr.c: New file.
6817         * benchtests/bench-memcmp-ifunc.c: New file.
6818         * benchtests/bench-memcmp.c: New file.
6819         * benchtests/bench-memmem-ifunc.c: New file.
6820         * benchtests/bench-memmem.c: New file.
6821         * benchtests/bench-memmove-ifunc.c: New file.
6822         * benchtests/bench-memmove.c: New file.
6823         * benchtests/bench-mempcpy-ifunc.c: New file.
6824         * benchtests/bench-mempcpy.c: New file.
6825         * benchtests/bench-memset-ifunc.c: New file.
6826         * benchtests/bench-memset.c: New file.
6827         * benchtests/bench-rawmemchr-ifunc.c: New file.
6828         * benchtests/bench-rawmemchr.c: New file.
6829         * benchtests/bench-stpcpy-ifunc.c: New file.
6830         * benchtests/bench-stpcpy.c: New file.
6831         * benchtests/bench-stpncpy-ifunc.c: New file.
6832         * benchtests/bench-stpncpy.c: New file.
6833         * benchtests/bench-strcasecmp-ifunc.c: New file.
6834         * benchtests/bench-strcasecmp.c: New file.
6835         * benchtests/bench-strcasestr-ifunc.c: New file.
6836         * benchtests/bench-strcasestr.c: New file.
6837         * benchtests/bench-strcat-ifunc.c: New file.
6838         * benchtests/bench-strcat.c: New file.
6839         * benchtests/bench-strchr-ifunc.c: New file.
6840         * benchtests/bench-strchr.c: New file.
6841         * benchtests/bench-strchrnul-ifunc.c: New file.
6842         * benchtests/bench-strchrnul.c: New file.
6843         * benchtests/bench-strcmp-ifunc.c: New file.
6844         * benchtests/bench-strcmp.c: New file.
6845         * benchtests/bench-strcpy-ifunc.c: New file.
6846         * benchtests/bench-strcpy.c: New file.
6847         * benchtests/bench-strcspn-ifunc.c: New file.
6848         * benchtests/bench-strcspn.c: New file.
6849         * benchtests/bench-strlen-ifunc.c: New file.
6850         * benchtests/bench-strlen.c: New file.
6851         * benchtests/bench-strncasecmp-ifunc.c: New file.
6852         * benchtests/bench-strncasecmp.c: New file.
6853         * benchtests/bench-strncat-ifunc.c: New file.
6854         * benchtests/bench-strncat.c: New file.
6855         * benchtests/bench-strncmp-ifunc.c: New file.
6856         * benchtests/bench-strncmp.c: New file.
6857         * benchtests/bench-strncpy-ifunc.c: New file.
6858         * benchtests/bench-strncpy.c: New file.
6859         * benchtests/bench-strnlen-ifunc.c: New file.
6860         * benchtests/bench-strnlen.c: New file.
6861         * benchtests/bench-strpbrk-ifunc.c: New file.
6862         * benchtests/bench-strpbrk.c: New file.
6863         * benchtests/bench-strrchr-ifunc.c: New file.
6864         * benchtests/bench-strrchr.c: New file.
6865         * benchtests/bench-strspn-ifunc.c: New file.
6866         * benchtests/bench-strspn.c: New file.
6867         * benchtests/bench-strstr-ifunc.c: New file.
6868         * benchtests/bench-strstr.c: New file.
6870         * benchtests/Makefile: Disable parallel execution of targets.
6871         (string-bench): Add memcpy.
6872         (benchset): New variable to store a list of benchmark sets.
6873         (bench-func): Renamed from bench.
6874         (bench-set): New target.
6875         (bench): Depend on bench-func and bench-set.
6876         * benchtests/README: Add section on benchmark sets.
6877         * benchtests/bench-memcpy-ifunc.c: New file.
6878         * benchtests/bench-memcpy.c: New file.
6879         * benchtests/bench-string.h: New file.
6881 2013-06-11  Andreas Schwab  <schwab@suse.de>
6883         [BZ #15577]
6884         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
6885         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
6886         values in the triple.
6887         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
6888         terminator in the group key.
6890 2013-06-11  Andreas Jaeger  <aj@suse.de>
6892         * po/zh_TW.po: Update Chinese (traditional) translation from
6893         translation project.
6895 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
6897         * include/time.h (__clock_gettime): Add libc_hidden_proto.
6898         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
6899         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
6900         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
6901         (clock_getcpuclockid): Likewise.
6902         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
6903         Add weak_alias and libc_hidden_def.
6904         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
6905         * rt/clock_gettime.c (clock_gettime): Rename to
6906         __clock_gettime.  Add weak_alias and libc_hidden_def.
6907         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
6908         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
6909         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
6910         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
6911         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
6912         Likewise.
6913         * rt/clock_settime.c (clock_settime): Rename to
6914         __clock_settime.  Add weak_alias and libc_hidden_def.
6915         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
6917 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
6919         * mach/err_boot.sub: Remove trailing whitespace.
6920         * mach/err_ipc.sub: Likewise.
6921         * mach/err_mach.sub: Likewise.
6923         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
6924         (ROUNDING_TESTS_double): Likewise.
6925         (ROUNDING_TESTS_long_double): Likewise.
6926         (ROUNDING_TESTS): Likewise.
6927         * math/libm-test.inc: Include <math-tests.h>.
6928         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
6929         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
6930         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
6931         (IF_ROUND_INIT_FE_UPWARD): Likewise.
6933 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
6935         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
6936         of assigning.
6938 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
6940         * sysdeps/gnu/errlist.awk: Do not generate space at end of
6941         otherwise empty TRANS lines.
6942         * sysdeps/gnu/errlist.c: Regenerated.
6944         * catgets/gencat.c (error_print): Use (void) in function
6945         definition.
6946         * crypt/crypt_util.c (__init_des): Likewise.
6947         * crypt/speeds.c (Stop): Likewise.
6948         (main): Likewise.
6949         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
6950         * inet/ruserpass.c (token): Likewise.
6951         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
6952         * intl/localealias.c (extend_alias_table): Likewise.
6953         * intl/plural-exp.c (init_germanic_plural): Likewise.
6954         * libio/fcloseall.c (__fcloseall): Likewise.
6955         * libio/genops.c (_IO_flush_all): Likewise.
6956         (_IO_flush_all_linebuffered): Likewise.
6957         (_IO_cleanup): Likewise.
6958         (_IO_iter_begin): Likewise.
6959         (_IO_iter_end): Likewise.
6960         (_IO_list_lock): Likewise.
6961         (_IO_list_unlock): Likewise.
6962         (_IO_list_resetlock): Likewise.
6963         * libio/getchar.c (getchar): Likewise.
6964         * libio/getchar_u.c (getchar_unlocked): Likewise.
6965         * libio/getwchar.c (getwchar): Likewise.
6966         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
6967         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
6968         * login/getpt.c (__getpt): Likewise.
6969         * login/tst-utmp.c (main): Likewise.
6970         * malloc/hooks.c (__malloc_check_init): Likewise.
6971         * malloc/malloc.c (__malloc_stats): Likewise.
6972         * malloc/mtrace.c (tr_break): Likewise.
6973         (mtrace): Likewise.
6974         (muntrace): Likewise.
6975         * misc/fstab.c (endfsent): Likewise.
6976         * misc/getclktck.c (__getclktck): Likewise.
6977         * misc/getdtsz.c (__getdtablesize): Likewise.
6978         * misc/gethostid.c (gethostid): Likewise.
6979         * misc/getpagesize.c (__getpagesize): Likewise.
6980         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
6981         (__get_nprocs): Likewise.
6982         (__get_phys_pages): Likewise.
6983         (__get_avphys_pages): Likewise.
6984         * misc/getttyent.c (getttyent): Likewise.
6985         (setttyent): Likewise.
6986         (endttyent): Likewise.
6987         * misc/getusershell.c (getusershell): Likewise.
6988         (endusershell): Likewise.
6989         (setusershell): Likewise.
6990         (initshells): Likewise.
6991         * misc/hsearch.c (__hdestroy): Likewise.
6992         * misc/sync.c (sync): Likewise.
6993         * misc/syslog.c (closelog_internal): Likewise.
6994         (closelog): Likewise.
6995         * misc/ttyslot.c (ttyslot): Likewise.
6996         * misc/vhangup.c (vhangup): Likewise.
6997         * posix/fork.c (__fork): Likewise.
6998         * posix/getegid.c (__getegid): Likewise.
6999         * posix/geteuid.c (__geteuid): Likewise.
7000         * posix/getgid.c (__getgid): Likewise.
7001         * posix/getpid.c (__getpid): Likewise.
7002         * posix/getppid.c (__getppid): Likewise.
7003         * posix/getuid.c (__getuid): Likewise.
7004         * posix/pause.c (pause): Likewise.
7005         * posix/setpgrp.c (setpgrp): Likewise.
7006         * posix/setsid.c (__setsid): Likewise.
7007         * posix/test-vfork.c (noop): Likewise.
7008         * resolv/gethnamaddr.c (_endhtent): Likewise.
7009         (_gethtent): Likewise.
7010         (ht_endhostent): Likewise.
7011         (gethostent): Likewise.
7012         (dns_service): Likewise.
7013         * stdlib/drand48.c (drand48): Likewise.
7014         * stdlib/lrand48.c (lrand48): Likewise.
7015         * stdlib/mrand48.c (mrand48): Likewise.
7016         * stdlib/rand.c (rand): Likewise.
7017         * stdlib/random.c (__random): Likewise.
7018         * stdlib/setenv.c (clearenv): Likewise.
7019         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
7020         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
7021         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
7022         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
7023         (__get_nprocs): Likewise.
7024         (__get_phys_pages): Likewise.
7025         (__get_avphys_pages): Likewise.
7026         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
7027         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
7028         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
7029         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
7030         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
7031         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
7032         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
7033         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
7034         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
7035         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
7036         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
7037         * sysdeps/mach/hurd/sync.c (sync): Likewise.
7038         * sysdeps/posix/clock.c (clock): Likewise.
7039         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
7040         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
7041         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
7042         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
7043         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
7044         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
7045         (__get_nprocs_conf): Likewise.
7046         (__get_phys_pages): Likewise.
7047         (__get_avphys_pages): Likewise.
7048         * time/clock.c (clock): Likewise.
7049         * time/tzset.c (__tzname_max): Likewise.
7051 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
7053         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
7054         (__bswap_32): Do not use "register".
7055         * crypt/crypt.c (_ufc_doit_r): Likewise.
7056         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
7057         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
7058         * gmon/gmon.c (__monstartup): Likewise.
7059         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
7060         * hurd/hurdmalloc.c (more_memory): Likewise.
7061         (malloc): Likewise.
7062         (free): Likewise.
7063         (realloc): Likewise.
7064         (malloc_fork_prepare): Likewise.
7065         (malloc_fork_parent): Likewise.
7066         (malloc_fork_child): Likewise.
7067         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
7068         (_svcauth_des): Likewise.
7069         * inet/inet_lnaof.c (inet_lnaof): Likewise.
7070         * inet/inet_net.c (inet_network): Likewise.
7071         * inet/inet_netof.c (inet_netof): Likewise.
7072         * inet/rcmd.c (__validuser2_sa): Likewise.
7073         * io/fts.c (fts_open): Likewise.
7074         (fts_load): Likewise.
7075         (fts_close): Likewise.
7076         (fts_read): Likewise.
7077         (fts_children): Likewise.
7078         (fts_build): Likewise.
7079         (fts_stat): Likewise.
7080         (fts_sort): Likewise.
7081         (fts_alloc): Likewise.
7082         (fts_lfree): Likewise.
7083         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
7084         (_IO_file_xsgetn): Likewise.
7085         (_IO_file_xsgetn_mmap): Likewise.
7086         * libio/iofopncook.c (_IO_cookie_read): Likewise.
7087         (_IO_cookie_write): Likewise.
7088         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
7089         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
7090         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
7091         * malloc/obstack.c (_obstack_begin): Likewise.
7092         (_obstack_begin_1): Likewise.
7093         (_obstack_newchunk): Likewise.
7094         (_obstack_allocated_p): Likewise.
7095         (obstack_free): Likewise.
7096         (_obstack_memory_used): Likewise.
7097         * misc/getttyent.c (getttynam): Likewise.
7098         (getttyent): Likewise.
7099         (skip): Likewise.
7100         (value): Likewise.
7101         * misc/getusershell.c (initshells): Likewise.
7102         * misc/syslog.c (__vsyslog_chk): Likewise.
7103         * misc/ttyslot.c (ttyslot): Likewise.
7104         * nis/nis_hash.c (__nis_hash): Likewise.
7105         * posix/fnmatch_loop.c (FCT): Likewise.
7106         * posix/getconf.c (print_all): Likewise.
7107         (main): Likewise.
7108         * posix/getopt.c (exchange): Likewise.
7109         * posix/glob.c (globfree): Likewise.
7110         (prefix_array): Likewise.
7111         (__glob_pattern_type): Likewise.
7112         * resolv/arpa/nameser.h (NS_GET16): Likewise.
7113         (NS_GET32): Likewise.
7114         (NS_PUT16): Likewise.
7115         (NS_PUT32): Likewise.
7116         * resolv/gethnamaddr.c (getanswer): Likewise.
7117         (gethostbyname2): Likewise.
7118         (gethostbyaddr): Likewise.
7119         (_gethtent): Likewise.
7120         (_gethtbyname2): Likewise.
7121         (_gethtbyaddr): Likewise.
7122         * resolv/ns_print.c (dst_s_get_int16): Likewise.
7123         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
7124         * resolv/res_init.c (__res_vinit): Likewise.
7125         (net_mask): Likewise.
7126         * resolv/res_mkquery.c (outchar): Likewise.
7127         (PRINT): Likewise.
7128         * stdio-common/printf_fp.c (outchar): Likewise.
7129         (PRINT): Likewise.
7130         * stdio-common/printf_fphex.c (outchar): Likewise.
7131         (PRINT): Likewise.
7132         * stdio-common/printf_size.c (outchar): Likewise.
7133         (PRINT): Likewise.
7134         * stdio-common/test_rdwr.c (main): Likewise.
7135         * stdio-common/tfformat.c (matches): Likewise.
7136         * stdio-common/vfprintf.c (outchar): Likewise.
7137         (printf_unknown): Likewise.
7138         (buffered_vfprintf): Likewise.
7139         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
7140         * stdio-common/xbug.c (AppendToBuffer): Likewise.
7141         (ReadFile): Likewise.
7142         * stdlib/qsort.c (SWAP): Likewise.
7143         (_quicksort): Likewise.
7144         * stdlib/setenv.c (__add_to_environ): Likewise.
7145         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7146         * stdlib/strtol_l.c (__strtol_l): Likewise.
7147         * stdlib/tst-strtod.c (main): Likewise.
7148         * stdlib/tst-strtol.c (main): Likewise.
7149         * stdlib/tst-strtoll.c (main): Likewise.
7150         * string/bits/string2.h (__strcmp_cc): Likewise.
7151         (__strcmp_cg): Likewise.
7152         (__strcspn_c1): Likewise.
7153         (__strcspn_c2): Likewise.
7154         (__strcspn_c3): Likewise.
7155         (__strspn_c1): Likewise.
7156         (__strspn_c2): Likewise.
7157         (__strspn_c3): Likewise.
7158         (__strsep_1c): Likewise.
7159         (__strsep_2c): Likewise.
7160         (__strsep_3c): Likewise.
7161         * string/memccpy.c (__memccpy): Likewise.
7162         * string/stpcpy.c (__stpcpy): Likewise.
7163         * string/strcmp.c (strcmp): Likewise.
7164         * string/strrchr.c (strrchr): Likewise.
7165         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
7166         Likewise.
7167         * sysdeps/mach/hurd/getcwd.c
7168         (_hurd_canonicalize_directory_name_internal): Likewise.
7169         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
7170         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
7171         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
7172         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
7173         Likewise, in both definitions.
7174         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
7175         definitions.
7176         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
7177         64] (__bswap_64): Likewise.
7178         * time/test_time.c (main): Likewise.
7179         * time/tzfile.c (__tzfile_read): Likewise.
7180         (__tzfile_compute): Likewise.
7181         * time/tzset.c (__tzset_parse_tz): Likewise.
7182         (tzset_internal): Likewise.
7183         (compute_change): Likewise.
7184         * wcsmbs/wcscat.c (__wcscat): Likewise.
7185         * wcsmbs/wcschr.c (wcschr): Likewise.
7186         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
7187         * wcsmbs/wcscspn.c (wcscspn): Likewise.
7188         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
7189         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
7190         * wcsmbs/wcsspn.c (wcsspn): Likewise.
7191         * wcsmbs/wcsstr.c (wcsstr): Likewise.
7192         * wcsmbs/wmemchr.c (wmemchr): Likewise.
7193         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7194         * wcsmbs/wmemset.c (wmemset): Likewise.
7196 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
7198         * scripts/config.guess: Update to version 2013-05-16.
7199         * scripts/config.sub: Update to version 2013-04-24.
7200         * scripts/install-sh: Update to version 2011-11-20.07.
7201         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
7202         * scripts/move-if-change: Update to version 2012-01-06 07:23.
7204 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
7206         * debug/fgetws_u_chk.c: Fix leading whitespaces.
7207         * elf/sln.c: Likewise.
7208         * hurd/hurd/ioctl.h: Likewise.
7209         * hurd/hurdmalloc.c: Likewise.
7210         * hurd/xattr.c: Likewise.
7211         * include/shlib-compat.h: Likewise.
7212         * inet/ruserpass.c: Likewise.
7213         * libio/iofgets_u.c: Likewise.
7214         * libio/iofgetws_u.c: Likewise.
7215         * locale/programs/ld-identification.c: Likewise.
7216         * locale/programs/ld-time.c: Likewise.
7217         * mach/msg-destroy.c: Likewise.
7218         * nss/nss_files/files-netgrp.c: Likewise.
7219         * resolv/res_data.c: Likewise.
7220         * soft-fp/op-1.h: Likewise.
7221         * soft-fp/op-2.h: Likewise.
7222         * soft-fp/op-4.h: Likewise.
7223         * soft-fp/op-common.h: Likewise.
7224         * stdio-common/printf_fphex.c: Likewise.
7225         * stdlib/strtod_l.c: Likewise.
7226         * sunrpc/rpc/clnt.h: Likewise.
7227         * sysdeps/generic/framestate.c: Likewise.
7228         * sysdeps/i386/bsd-_setjmp.S: Likewise.
7229         * sysdeps/i386/bsd-setjmp.S: Likewise.
7230         * sysdeps/i386/__longjmp.S: Likewise.
7231         * sysdeps/i386/setjmp.S: Likewise.
7232         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7233         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7234         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7235         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7236         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7237         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
7238         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7239         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7240         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7241         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
7242         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
7243         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7244         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7245         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7246         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7247         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7248         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7249         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
7250         * sysdeps/ieee754/support.c: Likewise.
7251         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7252         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
7253         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
7254         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
7255         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
7256         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
7257         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
7258         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
7259         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
7260         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
7261         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
7262         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
7263         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
7264         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
7265         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
7266         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
7267         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
7270 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
7272         * posix/transbug.c: Remove executable mode.
7274 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
7276         * crypt/speeds.c: Remove trailing whitespace.
7277         * dlfcn/default.c: Likewise.
7278         * elf/ifuncdep2.c: Likewise.
7279         * elf/ifuncmain1.c: Likewise.
7280         * elf/ifuncmain1vis.c: Likewise.
7281         * elf/testobj.h: Likewise.
7282         * elf/tst-stackguard1.c: Likewise.
7283         * gmon/sys/gmon.h: Likewise.
7284         * hurd/hurdmsg.c: Likewise.
7285         * hurd/new-fd.c: Likewise.
7286         * hurd/ports-get.c: Likewise.
7287         * iconvdata/ibm1008_420.c: Likewise.
7288         * inet/tst-getni1.c: Likewise.
7289         * inet/tst-getni2.c: Likewise.
7290         * libio/ioungetc.c: Likewise.
7291         * libio/wfiledoalloc.c: Likewise.
7292         * manual/libm-err-tab.pl: Likewise.
7293         * math/w_dremf.c: Likewise.
7294         * misc/ftruncate.c: Likewise.
7295         * posix/bug-glob2.c: Likewise.
7296         * posix/tst-pcre.c: Likewise.
7297         * posix/wait4.c: Likewise.
7298         * resolv/README: Likewise.
7299         * resolv/res_debug.h: Likewise.
7300         * resolv/tst-inet_ntop.c: Likewise.
7301         * setjmp/bug269-setjmp.c: Likewise.
7302         * soft-fp/extended.h: Likewise.
7303         * soft-fp/op-1.h: Likewise.
7304         * soft-fp/op-2.h: Likewise.
7305         * soft-fp/op-4.h: Likewise.
7306         * soft-fp/op-8.h: Likewise.
7307         * soft-fp/testit.c: Likewise.
7308         * stdio-common/bug16.c: Likewise.
7309         * stdlib/random.c: Likewise.
7310         * sunrpc/rpcsvc/rquota.x: Likewise.
7311         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
7312         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7313         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7314         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7315         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7316         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7317         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7318         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7319         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7320         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7321         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7322         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7323         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7324         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7325         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7326         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7327         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7328         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7329         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7330         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7331         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7332         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7333         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
7334         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
7335         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
7336         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
7337         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
7338         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
7339         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7340         * sysdeps/ieee754/s_lib_version.c: Likewise.
7341         * sysdeps/mach/hurd/check_fds.c: Likewise.
7342         * sysdeps/mach/hurd/getsockname.c: Likewise.
7343         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
7344         * sysdeps/mach/hurd/recvfrom.c: Likewise.
7345         * sysdeps/powerpc/bits/link.h: Likewise.
7346         * sysdeps/powerpc/dl-procinfo.c: Likewise.
7347         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
7348         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
7349         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
7350         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
7351         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7352         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
7353         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
7354         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
7355         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
7356         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
7357         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
7358         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
7359         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
7360         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
7361         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
7362         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
7363         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
7364         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
7365         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7366         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7367         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
7368         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7369         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
7370         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
7371         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
7372         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
7373         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7374         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7375         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
7376         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
7377         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
7378         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7379         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7380         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
7381         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
7382         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
7383         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
7384         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
7385         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
7386         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
7387         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
7388         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
7389         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
7390         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
7391         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
7392         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
7393         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
7394         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
7395         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
7396         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7397         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7398         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
7399         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
7400         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
7401         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
7402         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
7403         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
7404         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
7405         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
7406         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
7407         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
7408         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
7409         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
7410         * sysdeps/powerpc/sysdep.h: Likewise.
7411         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7412         * sysdeps/s390/s390-64/sub_n.S: Likewise.
7413         * sysdeps/sh/dl-trampoline.S: Likewise.
7414         * sysdeps/sh/memset.S: Likewise.
7415         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
7416         * sysdeps/sh/strlen.S: Likewise.
7417         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
7418         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
7419         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
7420         * sysdeps/sparc/sparc32/rem.S: Likewise.
7421         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
7422         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
7423         * sysdeps/sparc/sparc32/strchr.S: Likewise.
7424         * sysdeps/sparc/sparc32/udiv.S: Likewise.
7425         * sysdeps/sparc/sparc32/urem.S: Likewise.
7426         * sysdeps/sparc/sparc64/add_n.S: Likewise.
7427         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
7428         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
7429         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
7430         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
7431         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
7432         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
7433         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
7434         * sysdeps/unix/bsd/times.c: Likewise.
7435         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
7436         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
7437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
7438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
7439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
7440         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
7441         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
7442         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
7443         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
7444         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
7445         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
7446         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
7447         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
7448         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
7449         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
7450         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
7451         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
7452         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
7453         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
7454         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
7455         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
7456         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
7457         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
7458         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
7459         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
7460         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
7461         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
7462         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7463         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
7464         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
7465         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
7466         * sysdeps/x86_64/strcspn.S: Likewise.
7468 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
7470         * locale/C-translit.h: Revert #include <stdint.h> because this is a
7471         generated file.  Regenerate properly from gen-translit.pl.
7472         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
7473         locale/C-translit.h.
7475 2013-06-05  Andreas Schwab  <schwab@suse.de>
7477         [BZ #15100]
7478         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
7479         week as 6 instead of -1.
7480         * time/tst-strptime.c (day_tests): Add test case.
7482 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
7484         * sysdeps/generic/math_private.h
7485         (libc_feholdexcept_setround_53bit): Replace with
7486         libc_feholdsetround_53bit.
7487         (libc_feupdateenv_53bit): Replace with
7488         libc_feresetround_53bit.
7489         (SET_RESTORE_ROUND_53BIT): Adjust.
7491 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
7493         * string/test-strchrnul.c: Add copyright header.
7495         * posix/tst-getaddrinfo4.c: Increase test timeout.
7497 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
7499         [BZ #15536]
7500         * math/libm-test.inc (MAX_EXP): Remove
7501         (MIN_EXP): Define.
7502         (ulp): Use MIN_EXP - MANT_DIG.
7503         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
7505 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
7507         * po/be.po: Revert last change.
7508         * po/zh_CN.po: Likewise.
7509         * po/header.pot: Likewise.
7511 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
7513         * Makefile ($(common-objpfx)linkobj/libc.so): Define
7514         link-libc-deps to empty as target-specific variable.
7515         * Makerules (link-libc-args): New variable.
7516         (libc-for-link): Likewise.
7517         (link-libc-deps): Likewise.
7518         (lib%.so): Depend on $(link-libc-deps).  Link with
7519         $(link-libc-args).
7520         (build-module): Link with $(link-libc-args).
7521         (build-module-asneeded): Likewise.
7522         (build-module-helper-objlist): Filter out $(link-libc-deps) from
7523         list of objects.
7524         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
7525         target-specific variable.
7526         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
7527         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
7528         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
7529         libc.
7530         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
7531         libc and ld.so.
7532         ($(objpfx)libpcprofile.so): Likewise.
7533         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
7534         libc_nonshared.a.
7535         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
7536         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
7537         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
7538         $(link-libc-deps).
7539         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
7540         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
7541         * login/Makefile ($(objpfx)libutil.so): Likewise.
7542         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
7543         * math/Makefile ($(objpfx)libm.so): Likewise.
7544         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
7545         $(objpfx)libnsl.so): Define libc-for-link as target-specific
7546         variable instead of depending directly on libc.
7547         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
7548         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
7549         $(link-libc-deps).
7550         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
7551         libc.
7552         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
7553         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
7554         ($(objpfx)libanl.so): Likewise.
7555         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
7556         ld.so.
7557         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
7558         $(link-libc-deps).
7559         * sysdeps/i386/fpu/Makefile: Remove file.
7560         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
7561         ($(objpfx)libm.so): Remove dependency on ld.so.
7563 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
7565         [BZ # 15553]
7566         * nis/yp_xdr.c (XDRMAXNAME): Define.
7567         (XDRMAXRECORD): Define.
7568         (xdr_domainname): Use XDRMAXNAME.
7569         (xdr_mapname): Likewise.
7570         (xdr_peername): Likewise.
7571         (xdr_keydat): Use XDRMAXRECORD.
7572         (xdr_valdat): Likewise.
7574 2013-05-30  Jeff Law  <law@redhat.com>
7576         [BZ #14256]
7577         * manual/errno.texi (ESTALE): Update to account for more than
7578         just NFS file systems.
7579         * sysdeps/gnu/errlist.c: Regenerated.
7581 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
7583         [BZ #15465]
7584         * elf/Makefile (tests): Add tst-null-argv.
7585         (modules-names):  Add tst-null-argv-lib.
7586         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
7587         (tst-null-argv-ENV): Set environment for tst-null-argv.
7588         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
7589         (RTLD_PROGNAME): New macro.
7590         * elf/tst-null-argv.c: New test case.
7591         * elf/tst-null-argv-lib.c: Library for test case.
7592         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
7593         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
7594         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
7595         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
7596         * elf/dl-init.c (call_init): Likewise.
7597         (_dl_init): Likewise.
7598         * elf/dl-load.c (print_search_path): Likewise.
7599         (_dl_map_object): Likewise.
7600         * elf/dl-lookup.c (do_lookup_x): Likewise.
7601         (add_dependency): Likewise.
7602         (_dl_lookup_symbol_x): Likewise.
7603         (_dl_debug_bindings): Likewise.
7604         * elf/dl-open.c (_dl_show_scope): Likewise.
7605         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
7606         * elf/dl-version.c (match_symbol): Likewise.
7607         (_dl_check_map_versions): Likewise.
7608         * elf/rtld.c (dl_main): Likewise.
7609         (print_unresolved): Use RTLD_PROGNAME.
7610         (print_missing_version): Likewise.
7611         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
7612         (elf_machine_rela): Likewise.
7613         * sysdeps/powerpc/powerpc32/dl-machine.c
7614         (__process_machine_rela): Likewise.
7615         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7616         Likewise.
7617         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
7618         Likewise.
7619         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
7620         Likewise.
7621         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7622         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
7623         Likewise.
7624         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
7625         Likewise.
7626         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
7628 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
7630         * po/be.po: Add descriptive title.
7631         * po/zh_CN.po: Likewise.
7632         * po/header.pot: Likewise.
7634 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
7636         * locale/programs/locarchive.c (create_archive): Inlucde fname in
7637         error message.
7638         (enlarge_archive): Likewise.
7640 2013-05-28  Ben North  <ben@redfrontdoor.org>
7642         * manual/arith.texi (frexp): It is the magnitude of the return
7643         value which lies in [0.5, 1), not the return value itself.
7645 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7647         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7649 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
7651         * stdio-common/bug26.c (main): Correct fscanf template.
7653         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
7654         declare _dl_skip_args.
7656         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
7657         Don't declare.
7659         * manual/platform.texi: Add missing @end deftypefun.
7661 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
7663         [BZ #15529]
7664         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
7665         bit of mantissa of 2^16382.
7666         * math/libm-test.inc (hypot_test_data): Add more tests.
7668         * math/libm-test.inc: Add drem and pow10 to list of tested
7669         functions.
7670         (pow10_test): New function.
7671         (drem_test): Likewise.
7672         (drem_test_tonearest): Likewise.
7673         (drem_test_towardzero): Likewise.
7674         (drem_test_downward): Likewise.
7675         (drem_test_upward): Likewise.
7676         (main): Call the new functions.
7678         * math/libm-test.inc (finite_test_data): Remove.
7679         (finite_test): Run tests from isfinite_test_data.
7680         (gamma_test_data): Remove.
7681         (gamma_test): Run tests from lgamma_test_data.
7682         * sysdeps/i386/fpu/libm-test-ulps: Update.
7683         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7685 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7687         * manual/platform.texi: Add PowerPC PPR function set documentation.
7688         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
7689         implementation.
7691 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
7693         * math/libm-test.inc (MAX_EXP): Define.
7694         (ULPDIFF): Define.
7695         (ulp): New function.
7696         (check_float_internal): Use ULPDIFF.
7697         (cpow_test): Disable failing test.
7698         (check_ulp): Test ulp() implemetnation.
7699         (main): Call check_ulp before starting tests.
7701 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
7703         * math/gen-libm-test.pl (generate_testfile): Do not handle
7704         START_DATA and END_DATA.
7705         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
7706         END_DATA.
7707         (acos_tonearest_test_data): Likewise.
7708         (acos_towardzero_test_data): Likewise.
7709         (acos_downward_test_data): Likewise.
7710         (acos_upward_test_data): Likewise.
7711         (acosh_test_data): Likewise.
7712         (asin_test_data): Likewise.
7713         (asin_tonearest_test_data): Likewise.
7714         (asin_towardzero_test_data): Likewise.
7715         (asin_downward_test_data): Likewise.
7716         (asin_upward_test_data): Likewise.
7717         (asinh_test_data): Likewise.
7718         (atan_test_data): Likewise.
7719         (atanh_test_data): Likewise.
7720         (atan2_test_data): Likewise.
7721         (cabs_test_data): Likewise.
7722         (cacos_test_data): Likewise.
7723         (cacosh_test_data): Likewise.
7724         (carg_test_data): Likewise.
7725         (casin_test_data): Likewise.
7726         (casinh_test_data): Likewise.
7727         (catan_test_data): Likewise.
7728         (catanh_test_data): Likewise.
7729         (cbrt_test_data): Likewise.
7730         (ccos_test_data): Likewise.
7731         (ccosh_test_data): Likewise.
7732         (ceil_test_data): Likewise.
7733         (cexp_test_data): Likewise.
7734         (cimag_test_data): Likewise.
7735         (clog_test_data): Likewise.
7736         (clog10_test_data): Likewise.
7737         (conj_test_data): Likewise.
7738         (copysign_test_data): Likewise.
7739         (cos_test_data): Likewise.
7740         (cos_tonearest_test_data): Likewise.
7741         (cos_towardzero_test_data): Likewise.
7742         (cos_downward_test_data): Likewise.
7743         (cos_upward_test_data): Likewise.
7744         (cosh_test_data): Likewise.
7745         (cosh_tonearest_test_data): Likewise.
7746         (cosh_towardzero_test_data): Likewise.
7747         (cosh_downward_test_data): Likewise.
7748         (cosh_upward_test_data): Likewise.
7749         (cpow_test_data): Likewise.
7750         (cproj_test_data): Likewise.
7751         (creal_test_data): Likewise.
7752         (csin_test_data): Likewise.
7753         (csinh_test_data): Likewise.
7754         (csqrt_test_data): Likewise.
7755         (ctan_test_data): Likewise.
7756         (ctan_tonearest_test_data): Likewise.
7757         (ctan_towardzero_test_data): Likewise.
7758         (ctan_downward_test_data): Likewise.
7759         (ctan_upward_test_data): Likewise.
7760         (ctanh_test_data): Likewise.
7761         (ctanh_tonearest_test_data): Likewise.
7762         (ctanh_towardzero_test_data): Likewise.
7763         (ctanh_downward_test_data): Likewise.
7764         (ctanh_upward_test_data): Likewise.
7765         (erf_test_data): Likewise.
7766         (erfc_test_data): Likewise.
7767         (exp_test_data): Likewise.
7768         (exp_tonearest_test_data): Likewise.
7769         (exp_towardzero_test_data): Likewise.
7770         (exp_downward_test_data): Likewise.
7771         (exp_upward_test_data): Likewise.
7772         (exp10_test_data): Likewise.
7773         (exp2_test_data): Likewise.
7774         (expm1_test_data): Likewise.
7775         (fabs_test_data): Likewise.
7776         (fdim_test_data): Likewise.
7777         (finite_test_data): Likewise.
7778         (floor_test_data): Likewise.
7779         (fma_test_data): Likewise.
7780         (fma_towardzero_test_data): Likewise.
7781         (fma_downward_test_data): Likewise.
7782         (fma_upward_test_data): Likewise.
7783         (fmax_test_data): Likewise.
7784         (fmin_test_data): Likewise.
7785         (fmod_test_data): Likewise.
7786         (fpclassify_test_data): Likewise.
7787         (frexp_test_data): Likewise.
7788         (gamma_test_data): Likewise.
7789         (hypot_test_data): Likewise.
7790         (ilogb_test_data): Likewise.
7791         (isfinite_test_data): Likewise.
7792         (isgreater_test_data): Likewise.
7793         (isgreaterequal_test_data): Likewise.
7794         (isinf_test_data): Likewise.
7795         (isless_test_data): Likewise.
7796         (islessequal_test_data): Likewise.
7797         (islessgreater_test_data): Likewise.
7798         (isnan_test_data): Likewise.
7799         (isnormal_test_data): Likewise.
7800         (issignaling_test_data): Likewise.
7801         (isunordered_test_data): Likewise.
7802         (j0_test_data): Likewise.
7803         (j1_test_data): Likewise.
7804         (jn_test_data): Likewise.
7805         (ldexp_test_data): Likewise.
7806         (lgamma_test_data): Likewise.
7807         (lrint_test_data): Likewise.
7808         (lrint_tonearest_test_data): Likewise.
7809         (lrint_towardzero_test_data): Likewise.
7810         (lrint_downward_test_data): Likewise.
7811         (lrint_upward_test_data): Likewise.
7812         (llrint_test_data): Likewise.
7813         (llrint_tonearest_test_data): Likewise.
7814         (llrint_towardzero_test_data): Likewise.
7815         (llrint_downward_test_data): Likewise.
7816         (llrint_upward_test_data): Likewise.
7817         (log_test_data): Likewise.
7818         (log10_test_data): Likewise.
7819         (log1p_test_data): Likewise.
7820         (log2_test_data): Likewise.
7821         (logb_test_data): Likewise.
7822         (logb_downward_test_data): Likewise.
7823         (lround_test_data): Likewise.
7824         (llround_test_data): Likewise.
7825         (modf_test_data): Likewise.
7826         (nearbyint_test_data): Likewise.
7827         (nextafter_test_data): Likewise.
7828         (nexttoward_test_data): Likewise.
7829         (pow_test_data): Likewise.
7830         (pow_tonearest_test_data): Likewise.
7831         (pow_towardzero_test_data): Likewise.
7832         (pow_downward_test_data): Likewise.
7833         (pow_upward_test_data): Likewise.
7834         (remainder_test_data): Likewise.
7835         (remainder_tonearest_test_data): Likewise.
7836         (remainder_towardzero_test_data): Likewise.
7837         (remainder_downward_test_data): Likewise.
7838         (remainder_upward_test_data): Likewise.
7839         (remquo_test_data): Likewise.
7840         (rint_test_data): Likewise.
7841         (rint_tonearest_test_data): Likewise.
7842         (rint_towardzero_test_data): Likewise.
7843         (rint_downward_test_data): Likewise.
7844         (rint_upward_test_data): Likewise.
7845         (round_test_data): Likewise.
7846         (scalb_test_data): Likewise.
7847         (scalbn_test_data): Likewise.
7848         (scalbln_test_data): Likewise.
7849         (signbit_test_data): Likewise.
7850         (sin_test_data): Likewise.
7851         (sin_tonearest_test_data): Likewise.
7852         (sin_towardzero_test_data): Likewise.
7853         (sin_downward_test_data): Likewise.
7854         (sin_upward_test_data): Likewise.
7855         (sincos_test_data): Likewise.
7856         (sinh_test_data): Likewise.
7857         (sinh_tonearest_test_data): Likewise.
7858         (sinh_towardzero_test_data): Likewise.
7859         (sinh_downward_test_data): Likewise.
7860         (sinh_upward_test_data): Likewise.
7861         (sqrt_test_data): Likewise.
7862         (tan_test_data): Likewise.
7863         (tan_tonearest_test_data): Likewise.
7864         (tan_towardzero_test_data): Likewise.
7865         (tan_downward_test_data): Likewise.
7866         (tan_upward_test_data): Likewise.
7867         (tanh_test_data): Likewise.
7868         (tgamma_test_data): Likewise.
7869         (trunc_test_data): Likewise.
7870         (y0_test_data): Likewise.
7871         (y1_test_data): Likewise.
7872         (yn_test_data): Likewise.
7873         (significand_test_data): Likewise.
7875         * math/gen-libm-test.pl (@functions): Remove variable.
7876         (generate_testfile): Don't handle START and END lines.
7877         * math/libm-test.inc (START): New macro.
7878         (END): Likewise.
7879         (END_COMPLEX): Likewise.
7880         (acos_test): Use END macro without arguments.
7881         (acos_test_tonearest): Likewise.
7882         (acos_test_towardzero): Likewise.
7883         (acos_test_downward): Likewise.
7884         (acos_test_upward): Likewise.
7885         (acosh_test): Likewise.
7886         (asin_test): Likewise.
7887         (asin_test_tonearest): Likewise.
7888         (asin_test_towardzero): Likewise.
7889         (asin_test_downward): Likewise.
7890         (asin_test_upward): Likewise.
7891         (asinh_test): Likewise.
7892         (atan_test): Likewise.
7893         (atanh_test): Likewise.
7894         (atan2_test): Likewise.
7895         (cabs_test): Likewise.
7896         (cacos_test): Use END_COMPLEX macro without arguments.
7897         (cacosh_test): Likewise.
7898         (carg_test): Use END macro without arguments.
7899         (casin_test): Use END_COMPLEX macro without arguments.
7900         (casinh_test): Likewise.
7901         (catan_test): Likewise.
7902         (catanh_test): Likewise.
7903         (cbrt_test): Use END macro without arguments.
7904         (ccos_test): Use END_COMPLEX macro without arguments.
7905         (ccosh_test): Likewise.
7906         (ceil_test): Use END macro without arguments.
7907         (cexp_test): Use END_COMPLEX macro without arguments.
7908         (cimag_test): Use END macro without arguments.
7909         (clog_test): Use END_COMPLEX macro without arguments.
7910         (clog10_test): Likewise.
7911         (conj_test): Likewise.
7912         (copysign_test): Use END macro without arguments.
7913         (cos_test): Likewise.
7914         (cos_test_tonearest): Likewise.
7915         (cos_test_towardzero): Likewise.
7916         (cos_test_downward): Likewise.
7917         (cos_test_upward): Likewise.
7918         (cosh_test): Likewise.
7919         (cosh_test_tonearest): Likewise.
7920         (cosh_test_towardzero): Likewise.
7921         (cosh_test_downward): Likewise.
7922         (cosh_test_upward): Likewise.
7923         (cpow_test): Use END_COMPLEX macro without arguments.
7924         (cproj_test): Likewise.
7925         (creal_test): Use END macro without arguments.
7926         (csin_test): Use END_COMPLEX macro without arguments.
7927         (csinh_test): Likewise.
7928         (csqrt_test): Likewise.
7929         (ctan_test): Likewise.
7930         (ctan_test_tonearest): Likewise.
7931         (ctan_test_towardzero): Likewise.
7932         (ctan_test_downward): Likewise.
7933         (ctan_test_upward): Likewise.
7934         (ctanh_test): Likewise.
7935         (ctanh_test_tonearest): Likewise.
7936         (ctanh_test_towardzero): Likewise.
7937         (ctanh_test_downward): Likewise.
7938         (ctanh_test_upward): Likewise.
7939         (erf_test): Use END macro without arguments.
7940         (erfc_test): Likewise.
7941         (exp_test): Likewise.
7942         (exp_test_tonearest): Likewise.
7943         (exp_test_towardzero): Likewise.
7944         (exp_test_downward): Likewise.
7945         (exp_test_upward): Likewise.
7946         (exp10_test): Likewise.
7947         (exp2_test): Likewise.
7948         (expm1_test): Likewise.
7949         (fabs_test): Likewise.
7950         (fdim_test): Likewise.
7951         (finite_test): Likewise.
7952         (floor_test): Likewise.
7953         (fma_test): Likewise.
7954         (fma_test_towardzero): Likewise.
7955         (fma_test_downward): Likewise.
7956         (fma_test_upward): Likewise.
7957         (fmax_test): Likewise.
7958         (fmin_test): Likewise.
7959         (fmod_test): Likewise.
7960         (fpclassify_test): Likewise.
7961         (frexp_test): Likewise.
7962         (gamma_test): Likewise.
7963         (hypot_test): Likewise.
7964         (ilogb_test): Likewise.
7965         (isfinite_test): Likewise.
7966         (isgreater_test): Likewise.
7967         (isgreaterequal_test): Likewise.
7968         (isinf_test): Likewise.
7969         (isless_test): Likewise.
7970         (islessequal_test): Likewise.
7971         (islessgreater_test): Likewise.
7972         (isnan_test): Likewise.
7973         (isnormal_test): Likewise.
7974         (issignaling_test): Likewise.
7975         (isunordered_test): Likewise.
7976         (j0_test): Likewise.
7977         (j1_test): Likewise.
7978         (jn_test): Likewise.
7979         (ldexp_test): Likewise.
7980         (lgamma_test): Likewise.
7981         (lrint_test): Likewise.
7982         (lrint_test_tonearest): Likewise.
7983         (lrint_test_towardzero): Likewise.
7984         (lrint_test_downward): Likewise.
7985         (lrint_test_upward): Likewise.
7986         (llrint_test): Likewise.
7987         (llrint_test_tonearest): Likewise.
7988         (llrint_test_towardzero): Likewise.
7989         (llrint_test_downward): Likewise.
7990         (llrint_test_upward): Likewise.
7991         (log_test): Likewise.
7992         (log10_test): Likewise.
7993         (log1p_test): Likewise.
7994         (log2_test): Likewise.
7995         (logb_test): Likewise.
7996         (logb_test_downward): Likewise.
7997         (lround_test): Likewise.
7998         (llround_test): Likewise.
7999         (modf_test): Likewise.
8000         (nearbyint_test): Likewise.
8001         (nextafter_test): Likewise.
8002         (nexttoward_test): Likewise.
8003         (pow_test): Likewise.
8004         (pow_test_tonearest): Likewise.
8005         (pow_test_towardzero): Likewise.
8006         (pow_test_downward): Likewise.
8007         (pow_test_upward): Likewise.
8008         (remainder_test): Likewise.
8009         (remainder_test_tonearest): Likewise.
8010         (remainder_test_towardzero): Likewise.
8011         (remainder_test_downward): Likewise.
8012         (remainder_test_upward): Likewise.
8013         (remquo_test): Likewise.
8014         (rint_test): Likewise.
8015         (rint_test_tonearest): Likewise.
8016         (rint_test_towardzero): Likewise.
8017         (rint_test_downward): Likewise.
8018         (rint_test_upward): Likewise.
8019         (round_test): Likewise.
8020         (scalb_test): Likewise.
8021         (scalbn_test): Likewise.
8022         (scalbln_test): Likewise.
8023         (signbit_test): Likewise.
8024         (sin_test): Likewise.
8025         (sin_test_tonearest): Likewise.
8026         (sin_test_towardzero): Likewise.
8027         (sin_test_downward): Likewise.
8028         (sin_test_upward): Likewise.
8029         (sincos_test): Likewise.
8030         (sinh_test): Likewise.
8031         (sinh_test_tonearest): Likewise.
8032         (sinh_test_towardzero): Likewise.
8033         (sinh_test_downward): Likewise.
8034         (sinh_test_upward): Likewise.
8035         (sqrt_test): Likewise.
8036         (tan_test): Likewise.
8037         (tan_test_tonearest): Likewise.
8038         (tan_test_towardzero): Likewise.
8039         (tan_test_downward): Likewise.
8040         (tan_test_upward): Likewise.
8041         (tanh_test): Likewise.
8042         (tgamma_test): Likewise.
8043         (trunc_test): Likewise.
8044         (y0_test): Likewise.
8045         (y1_test): Likewise.
8046         (yn_test): Likewise.
8047         (significand_test): Likewise.
8049 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
8051         [BZ #15381]
8052         * libio/genops.c (_IO_no_init): Initialize wide struct info.
8054 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
8056         [BZ #14894]
8057         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
8058         __ppc_mdoio and __ppc_mdoom.
8059         * manual/platform.texi: Document new functions __ppc_yield,
8060         __ppc_mdoio and __ppc_mdoom.
8062 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
8064         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
8065         (main): Mention "tls" pseudo-hwcap is legacy.
8066         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
8068 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
8070         * math/gen-libm-test.pl (parse_args): Output only string of
8071         arguments as text for test name, not full call or descriptions of
8072         tests for extra outputs.
8073         (generate_testfile): Do not pass function name to parse_args.
8074         Generate this_func variable from START.
8075         * math/libm-test.inc (struct test_f_f_data): Rename test_name
8076         field to arg_str.
8077         (struct test_ff_f_data): Likewise.
8078         (test_ff_f_data_nexttoward): Likewise.
8079         (struct test_fi_f_data): Likewise.
8080         (struct test_fl_f_data): Likewise.
8081         (struct test_if_f_data): Likewise.
8082         (struct test_fff_f_data): Likewise.
8083         (struct test_c_f_data): Likewise.
8084         (struct test_f_f1_data): Likewise.  Remove field extra_name.
8085         (struct test_fF_f1_data): Likewise.
8086         (struct test_ffI_f1_data): Likewise.
8087         (struct test_c_c_data): Rename test_name field to arg_str.
8088         (struct test_cc_c_data): Likewise.
8089         (struct test_f_i_data): Likewise.
8090         (struct test_ff_i_data): Likewise.
8091         (struct test_f_l_data): Likewise.
8092         (struct test_f_L_data): Likewise.
8093         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
8094         and extra2_name.
8095         (COMMON_TEST_SETUP): New macro.
8096         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
8097         (COMMON_TEST_CLEANUP): Likewise.
8098         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
8099         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
8100         macros.
8101         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
8102         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
8103         macros.
8104         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
8105         (RUN_TEST_fff_f): Take argument string.  Call new setup and
8106         cleanup macros.
8107         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
8108         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
8109         macros.
8110         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
8111         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
8112         macros.
8113         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8114         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
8115         cleanup macros.
8116         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8117         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
8118         cleanup macros.
8119         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8120         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
8121         cleanup macros.
8122         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8123         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
8124         macros.
8125         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
8126         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
8127         macros.
8128         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
8129         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
8130         macros.
8131         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
8132         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
8133         cleanup macros.
8134         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
8135         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
8136         cleanup macros.
8137         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
8138         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
8139         macros.
8140         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
8141         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
8142         cleanup macros.
8143         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
8144         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
8145         macros.
8146         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
8147         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
8148         macros.
8149         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
8150         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
8151         cleanup macros.
8152         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
8154 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
8156         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
8157         to _sifields.sigfault.
8158         (si_addr_lsb): Define new macro.
8159         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
8160         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8161         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
8163 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
8165         [BZ #15441]
8166         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
8167         returns -1.
8168         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
8169         null return -1.
8170         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
8171         loading the domain.
8173 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
8175         * math/gen-libm-test.pl (parse_args): Do not include expected
8176         result in test name.
8177         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
8178         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8179         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8180         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8181         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8182         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8184 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
8186         * benchtests/Makefile: Sort function entries.
8188         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
8189         tanh, asinh, acosh, atanh.
8190         * benchtests/acos-inputs: New file.
8191         * benchtests/acosh-inputs: New file.
8192         * benchtests/asin-inputs: New file.
8193         * benchtests/asinh-inputs: New file.
8194         * benchtests/atanh-inputs: New file.
8195         * benchtests/cosh-inputs: New file.
8196         * benchtests/log-inputs: New file.
8197         * benchtests/sinh-inputs: New file.
8198         * benchtests/tanh-inputs: New file.
8200 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
8202         [BZ #15339]
8203         * posix/tst-getaddrinfo4.c: New test.
8204         * posix/Makefile (tests): Add it.
8206 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8208         [BZ #15339]
8209         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
8210         when no services were used.
8211         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
8212         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
8214 2013-05-21  Andreas Schwab  <schwab@suse.de>
8216         [BZ #15014]
8217         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
8218         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
8219         successful.
8220         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
8221         redundant variable declarations and reallocation of buffer when
8222         parsing as IPv6 address.  Always set NSS status when called from
8223         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
8224         buffer too small.  Correct computation of needed size.
8225         * nss/Makefile (tests): Add test-digits-dots.
8226         * nss/test-digits-dots.c: New test.
8228 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8230         * benchtests/Makefile: Remove instructions for adding
8231         benchmark tests.
8232         * benchtests/README: New file to explain how to execute and
8233         enhance the benchmark tests.
8235 2013-05-21  Andreas Schwab  <schwab@suse.de>
8237         [BZ #15493]
8238         * setjmp/Makefile (tests): Add tst-sigsetjmp.
8239         * setjmp/tst-sigsetjmp.c: New test.
8241 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
8243         * sysdeps/x86_64/memset.S (memset): New implementation.
8244         (__bzero): Likewise.
8245         (__memset_tail): New function.
8247 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
8249         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
8250         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
8251         __memcpy_sse2_unaligned ifunc selection.
8252         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
8253         Add memcpy-sse2-unaligned.S.
8254         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8255         Add: __memcpy_sse2_unaligned.
8257 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
8259         [BZ #15490]
8260         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
8261         math_force_eval before restoring floating-point envrionment.
8262         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
8263         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
8264         Likewise.
8265         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
8266         <math_private.h>.
8267         (__nearbyintl): Use math_force_eval before restoring
8268         floating-point environment.
8269         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
8271         * math/gen-libm-test.pl (special_functions): Remove.
8272         (parse_args): Don't handle TEST_extra.  Handle functions with no
8273         return value.
8274         * math/libm-test.inc (struct test_sincos_data): Replace with
8275         struct test_fFF_11_data.
8276         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
8277         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
8278         (sincos_test_data): Change element type to struct
8279         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
8280         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
8281         RUN_TEST_LOOP_sincos.
8282         * math/README.libm-test: Don't mention special handling of
8283         individual functions.
8284         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
8285         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8286         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8287         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8288         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8289         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8291         * math/gen-libm-test.pl (get_variable): Remove function.
8292         (parse_args): Don't show pointer parameters to call in test
8293         names.  Use "extra output N" in test names for extra outputs
8294         rather than naming variables.
8296 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
8298         [BZ #15488]
8299         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
8300         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
8301         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
8302         double tests.
8303         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
8304         disable.
8305         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
8306         check_long_double.
8308         * math/gen-libm-test.pl (@tests): Remove variable.
8309         ($count): Likewise.
8310         (new_test): Remove function.
8311         (show_exceptions): New function.
8312         (special_functions): Use show_exceptions instead of new_test.
8313         (parse_args): Likewise.
8314         (generate_testfile): Pass only function name in generated call to
8315         print_max_error or print_complex_max_error.
8316         (get_ulps): Do not handle complex tests specially.
8317         (output_test): Rename to ...
8318         (get_all_ulps_for_test): ... this.  Return a string rather than
8319         printing to a file.  Require ulps to be present.
8320         (output_ulps): Generate arrays rather than #defines.
8321         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
8322         (struct ulp_data): New type.
8323         (BUILD_COMPLEX_ULP): Remove macro.
8324         (compare_ulp_data): New function.
8325         (find_ulps): Likewise.
8326         (find_test_ulps): Likewise.
8327         (find_function_ulps): Likewise.
8328         (find_complex_function_ulps): Likewise.
8329         (print_max_error): Determine allowed ulps using
8330         find_function_ulps.
8331         (print_complex_max_error): Determine allowed ulps using
8332         find_complex_function_ulps.
8333         (check_float_internal): Determine max ulps using find_test_ulps.
8334         (check_float): Do not take max_ulp parameter.  Update call to
8335         check_float_internal.
8336         (check_complex): Likewise.
8337         (check_int): Do not take max_ulp parameter.
8338         (check_long): Likewise.
8339         (check_bool): Likewise.
8340         (check_longlong): Likewise.
8341         (struct test_f_f_data): Remove max_ulp field.
8342         (struct test_ff_f_data): Likewise.
8343         (struct test_ff_f_data_nexttoward): Likewise.
8344         (struct test_fi_f_data): Likewise.
8345         (struct test_fl_f_data): Likewise.
8346         (struct test_if_f_data): Likewise.
8347         (struct test_fff_f_data): Likewise.
8348         (struct test_c_f_data): Likewise.
8349         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
8350         (struct test_fF_f1_data): Likewise.
8351         (struct test_ffI_f1_data): Likewise.
8352         (struct test_c_c_data): Remove max_ulp field.
8353         (struct test_cc_c_data): Likewise.
8354         (struct test_f_i_data): Likewise.
8355         (struct test_ff_i_data): Likewise.
8356         (struct test_f_l_data): Likewise.
8357         (struct test_f_L_data): Likewise.
8358         (struct test_sincos_data): Likewise.
8359         (RUN_TEST_f_f): Do not handle ulps.
8360         (RUN_TEST_LOOP_f_f): Likewise.
8361         (RUN_TEST_2_f): Likewise.
8362         (RUN_TEST_LOOP_2_f): Likewise.
8363         (RUN_TEST_fff_f): Likewise.
8364         (RUN_TEST_LOOP_fff_f): Likewise.
8365         (RUN_TEST_c_f): Likewise.
8366         (RUN_TEST_LOOP_c_f): Likewise.
8367         (RUN_TEST_f_f1): Likewise.
8368         (RUN_TEST_LOOP_f_f1): Likewise.
8369         (RUN_TEST_fF_f1): Likewise.
8370         (RUN_TEST_LOOP_fF_f1): Likewise.
8371         (RUN_TEST_fI_f1): Likewise.
8372         (RUN_TEST_LOOP_fI_f1): Likewise.
8373         (RUN_TEST_ffI_f1): Likewise.
8374         (RUN_TEST_LOOP_ffI_f1): Likewise.
8375         (RUN_TEST_c_c): Likewise.
8376         (RUN_TEST_LOOP_c_c): Likewise.
8377         (RUN_TEST_cc_c): Likewise.
8378         (RUN_TEST_LOOP_cc_c): Likewise.
8379         (RUN_TEST_f_i): Likewise.
8380         (RUN_TEST_LOOP_f_i): Likewise.
8381         (RUN_TEST_f_i_tg): Likewise.
8382         (RUN_TEST_LOOP_f_i_tg): Likewise.
8383         (RUN_TEST_ff_i_tg): Likewise.
8384         (RUN_TEST_LOOP_ff_i_tg): Likewise.
8385         (RUN_TEST_f_b): Likewise.
8386         (RUN_TEST_LOOP_f_b): Likewise.
8387         (RUN_TEST_f_b_tg): Likewise.
8388         (RUN_TEST_LOOP_f_b_tg): Likewise.
8389         (RUN_TEST_f_l): Likewise.
8390         (RUN_TEST_LOOP_f_l): Likewise.
8391         (RUN_TEST_f_L): Likewise.
8392         (RUN_TEST_LOOP_f_L): Likewise.
8393         (RUN_TEST_sincos): Likewise.
8394         (RUN_TEST_LOOP_sincos): Likewise.
8396 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
8398         [BZ #15480]
8399         [BZ #15485]
8400         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
8401         main case of finite arguments, set rounding mode to FE_TONEAREST
8402         and discard exceptions.
8403         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
8404         exceptions.
8405         (remainder_tonearest_test_data): New variable.
8406         (remainder_test_tonearest): New function.
8407         (remainder_towardzero_test_data): New variable.
8408         (remainder_test_towardzero): New function.
8409         (remainder_downward_test_data): New variable.
8410         (remainder_test_downward): New function.
8411         (remainder_upward_test_data): New variable.
8412         (remainder_test_upward): New function.
8413         (main): Call the new test functions.
8415         * math/libm-test.inc (struct test_f_f1_data): Remove field
8416         extra_init.
8417         (struct test_fF_f1_data): Likewise.
8418         (struct test_ffI_f1_data): Likewise.
8419         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
8420         based on value of EXTRA_EXPECTED.
8421         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8422         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
8423         EXTRA_VAR based on value of EXTRA_EXPECTED.
8424         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8425         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
8426         EXTRA_VAR based on value of EXTRA_EXPECTED.
8427         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8428         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
8429         EXTRA_VAR based on value of EXTRA_EXPECTED.
8430         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8431         * math/gen-libm-test.pl (parse_args): Don't output initializers
8432         for extra output values.
8434         * math/libm-test.inc (check_int): Expect result to be exactly
8435         equal to expected value and do not handle ulps.
8436         (check_long): Likewise.
8437         (check_longlong): Likewise.
8439         * math/libm-test.inc (ceil_test_data): Test for "inexact"
8440         exceptions.
8441         (cimag_test_data): Likewise.
8442         (conj_test_data): Likewise.
8443         (copysign_test_data): Likewise.
8444         (cproj_test_data): Likewise.
8445         (creal_test_data): Likewise.
8446         (fabs_test_data): Likewise.
8447         (fdim_test_data): Likewise.
8448         (finite_test_data): Likewise.
8449         (floor_test_data): Likewise.
8450         (fmax_test_data): Likewise.
8451         (fmin_test_data): Likewise.
8452         (fmod_test_data): Likewise.
8453         (fpclassify_test_data): Likewise.
8454         (frexp_test_data): Likewise.
8455         (ilogb_test_data): Likewise.
8456         (isfinite_test_data): Likewise.
8457         (isgreater_test_data): Likewise.
8458         (isgreaterequal_test_data): Likewise.
8459         (isinf_test_data): Likewise.
8460         (isless_test_data): Likewise.
8461         (islessequal_test_data): Likewise.
8462         (islessgreater_test_data): Likewise.
8463         (isnan_test_data): Likewise.
8464         (isnormal_test_data): Likewise.
8465         (issignaling_test_data): Likewise.
8466         (isunordered_test_data): Likewise.
8467         (ldexp_test_data): Likewise.
8468         (lrint_test_data): Likewise.
8469         (lrint_test_data) [TEST_FLOAT]: Disable one test.
8470         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
8471         (lrint_tonearest_test_data): Test for "inexact" exceptions.
8472         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
8473         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
8474         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
8475         test input.
8476         (lrint_towardzero_test_data): Test for "inexact" exceptions.
8477         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
8478         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
8479         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
8480         that test input.
8481         (lrint_downward_test_data): Test for "inexact" exceptions.
8482         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
8483         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
8484         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
8485         test input.
8486         (lrint_upward_test_data): Test for "inexact" exceptions.
8487         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
8488         test input.
8489         (llrint_test_data): Test for "inexact" exceptions.
8490         (llrint_test_data) [TEST_FLOAT]: Disable one test.
8491         (llrint_tonearest_test_data): Test for "inexact" exceptions.
8492         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
8493         (llrint_towardzero_test_data): Test for "inexact" exceptions.
8494         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
8495         (llrint_downward_test_data): Test for "inexact" exceptions.
8496         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
8497         (llrint_upward_test_data): Test for "inexact" exceptions.
8498         (logb_test_data): Likewise.
8499         (logb_downward_test_data): Likewise.
8500         (nextafter_test_data): Likewise.
8501         (nexttoward_test_data): Likewise.
8502         (remainder_test_data): Likewise.
8503         (remquo_test_data): Likewise.
8504         (scalbn_test_data): Likewise.
8505         (scalbln_test_data): Likewise.
8506         (signbit_test_data): Likewise.
8507         (sqrt_test_data): Likewise.
8508         (significand_test_data): Likewise.
8510 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
8512         [BZ #15424]
8513         * benchtests/bench-modf.c (struct args): Mark arg0 as
8514         volatile.
8515         * scripts/bench.pl: Mark members of struct args as volatile.
8517 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8519         [BZ # 15497]
8520         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
8521         negative infinity on POWER6 or lower.
8522         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
8524 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
8526         [BZ #15442]
8527         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
8528         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
8529         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
8530         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
8531         (_FP_SETQNAN): New macro.
8532         (_FP_SETQNAN_SEMIRAW): Likewise.
8533         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
8534         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
8535         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
8536         (FP_EXTEND): Use _FP_FRAC_SNANP.
8537         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
8538         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
8539         into account.
8540         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
8541         New macro.
8542         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
8543         Likewise.
8545 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
8547         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
8548         with DIVIDE_BY_ZERO_EXCEPTION.
8549         (gamma_test_data): Likewise.
8550         (lgamma_test_data): Likewise.
8551         (log_test_data): Likewise.
8552         (log10_test_data): Likewise.
8553         (log2_test_data): Likewise.
8554         (tgamma_test_data): Likewise.
8556         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
8557         (acos_test_tonearest): Likewise.
8558         (acos_test_towardzero): Likewise.
8559         (acos_test_downward): Likewise.
8560         (acos_test_upward): Likewise.
8561         (acosh_test): Likewise.
8562         (asin_test): Likewise.
8563         (asin_test_tonearest): Likewise.
8564         (asin_test_towardzero): Likewise.
8565         (asin_test_downward): Likewise.
8566         (asin_test_upward): Likewise.
8567         (asinh_test): Likewise.
8568         (atan_test): Likewise.
8569         (atanh_test): Likewise.
8570         (atan2_test): Likewise.
8571         (cabs_test): Likewise.
8572         (cacos_test): Likewise.
8573         (cacosh_test): Likewise.
8574         (casin_test): Likewise.
8575         (casinh_test): Likewise.
8576         (catan_test): Likewise.
8577         (catanh_test): Likewise.
8578         (cbrt_test): Likewise.
8579         (ccos_test): Likewise.
8580         (ccosh_test): Likewise.
8581         (cexp_test): Likewise.
8582         (clog_test): Likewise.
8583         (clog10_test): Likewise.
8584         (cos_test): Likewise.
8585         (cos_test_tonearest): Likewise.
8586         (cos_test_towardzero): Likewise.
8587         (cos_test_downward): Likewise.
8588         (cos_test_upward): Likewise.
8589         (cosh_test): Likewise.
8590         (cosh_test_tonearest): Likewise.
8591         (cosh_test_towardzero): Likewise.
8592         (cosh_test_downward): Likewise.
8593         (cosh_test_upward): Likewise.
8594         (cpow_test): Likewise.
8595         (csin_test): Likewise.
8596         (csinh_test): Likewise.
8597         (csqrt_test): Likewise.
8598         (ctan_test): Likewise.
8599         (ctan_test_tonearest): Likewise.
8600         (ctan_test_towardzero): Likewise.
8601         (ctan_test_downward): Likewise.
8602         (ctan_test_upward): Likewise.
8603         (ctanh_test): Likewise.
8604         (ctanh_test_tonearest): Likewise.
8605         (ctanh_test_towardzero): Likewise.
8606         (ctanh_test_downward): Likewise.
8607         (ctanh_test_upward): Likewise.
8608         (erf_test): Likewise.
8609         (erfc_test): Likewise.
8610         (exp_test): Likewise.
8611         (exp_test_tonearest): Likewise.
8612         (exp_test_towardzero): Likewise.
8613         (exp_test_downward): Likewise.
8614         (exp_test_upward): Likewise.
8615         (exp10_test): Likewise.
8616         (exp2_test): Likewise.
8617         (expm1_test): Likewise.
8618         (fmod_test): Likewise.
8619         (gamma_test): Likewise.
8620         (hypot_test): Likewise.
8621         (j0_test): Likewise.
8622         (j1_test): Likewise.
8623         (jn_test): Likewise.
8624         (lgamma_test): Likewise.
8625         (log_test): Likewise.
8626         (log10_test): Likewise.
8627         (log1p_test): Likewise.
8628         (log2_test): Likewise.
8629         (logb_test_downward): Likewise.
8630         (pow_test): Likewise.
8631         (pow_test_tonearest): Likewise.
8632         (pow_test_towardzero): Likewise.
8633         (pow_test_downward): Likewise.
8634         (pow_test_upward): Likewise.
8635         (remainder_test): Likewise.
8636         (remquo_test): Likewise.
8637         (sin_test): Likewise.
8638         (sin_test_tonearest): Likewise.
8639         (sin_test_towardzero): Likewise.
8640         (sin_test_downward): Likewise.
8641         (sin_test_upward): Likewise.
8642         (sincos_test): Likewise.
8643         (sinh_test): Likewise.
8644         (sinh_test_tonearest): Likewise.
8645         (sinh_test_towardzero): Likewise.
8646         (sinh_test_downward): Likewise.
8647         (sinh_test_upward): Likewise.
8648         (sqrt_test): Likewise.
8649         (tan_test): Likewise.
8650         (tan_test_tonearest): Likewise.
8651         (tan_test_towardzero): Likewise.
8652         (tan_test_downward): Likewise.
8653         (tan_test_upward): Likewise.
8654         (tanh_test): Likewise.
8655         (tgamma_test): Likewise.
8656         (y0_test): Likewise.
8657         (y1_test): Likewise.
8658         (yn_test): Likewise.
8660         * math/gen-libm-test.pl (adjust_arg): Remove function.
8661         (special_function): Remove argument $in_func.  Only handle
8662         generating output for tables of tests, not inside functions.
8663         (parse_args): Likewise.
8664         (generate_testfile): Remove variable $in_func.  Update call to
8665         parse_args.
8666         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
8667         (MINUS_ZERO_INIT): Rename macro to minus_zero.
8668         (PLUS_INFTY_INIT): Rename macro to plus_infty.
8669         (MINUS_INFTY_INIT): Rename macro to minus_infty.
8670         (QNAN_VALUE_INIT): Rename macro to qnan_value.
8671         (MAX_VALUE_INIT): Rename macro to max_value.
8672         (MIN_VALUE_INIT): Rename macro to min_value.
8673         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
8674         (plus_zero): Remove variable.
8675         (minus_zero): Likewise.
8676         (plus_infty): Likewise.
8677         (minus_infty): Likewise.
8678         (qnan_value): Likewise.
8679         (max_value): Likewise.
8680         (min_value): Likewise.
8681         (min_subnorm_value): Likewise.
8683 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
8685         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
8686         uint64_t or uint32_t usage.
8687         * crypt/sha256-block.c: Likewise.
8688         * crypt/sha256-crypt.c: Likewise.
8689         * crypt/sha256.c: Likewise.
8690         * crypt/sha512-block.c: Likewise.
8691         * crypt/sha512-crypt.c: Likewise.
8692         * crypt/sha512.c: Likewise.
8693         * debug/backtrace-tst.c: Likewise.
8694         * debug/pcprofiledump.c: Likewise.
8695         * elf/cache.c: Likewise.
8696         * elf/dl-cache.c: Likewise.
8697         * elf/dl-misc.c: Likewise.
8698         * elf/dl-profile.c: Likewise.
8699         * elf/dl-support.c: Likewise.
8700         * elf/ldconfig.c: Likewise.
8701         * elf/sprof.c: Likewise.
8702         * iconv/dummy-repertoire.c: Likewise.
8703         * iconv/iconv_charmap.c: Likewise.
8704         * iconv/skeleton.c: Likewise.
8705         * iconvdata/8bit-generic.c: Likewise.
8706         * iconvdata/cp737.h: Likewise.
8707         * iconvdata/cp775.h: Likewise.
8708         * iconvdata/ibm1008.h: Likewise.
8709         * iconvdata/ibm1025.h: Likewise.
8710         * iconvdata/ibm1046.h: Likewise.
8711         * iconvdata/ibm1097.h: Likewise.
8712         * iconvdata/ibm1112.h: Likewise.
8713         * iconvdata/ibm1122.h: Likewise.
8714         * iconvdata/ibm1123.h: Likewise.
8715         * iconvdata/ibm1124.h: Likewise.
8716         * iconvdata/ibm1129.h: Likewise.
8717         * iconvdata/ibm1130.h: Likewise.
8718         * iconvdata/ibm1132.h: Likewise.
8719         * iconvdata/ibm1133.h: Likewise.
8720         * iconvdata/ibm1137.h: Likewise.
8721         * iconvdata/ibm1140.h: Likewise.
8722         * iconvdata/ibm1141.h: Likewise.
8723         * iconvdata/ibm1142.h: Likewise.
8724         * iconvdata/ibm1143.h: Likewise.
8725         * iconvdata/ibm1144.h: Likewise.
8726         * iconvdata/ibm1145.h: Likewise.
8727         * iconvdata/ibm1146.h: Likewise.
8728         * iconvdata/ibm1147.h: Likewise.
8729         * iconvdata/ibm1148.h: Likewise.
8730         * iconvdata/ibm1149.h: Likewise.
8731         * iconvdata/ibm1153.h: Likewise.
8732         * iconvdata/ibm1154.h: Likewise.
8733         * iconvdata/ibm1155.h: Likewise.
8734         * iconvdata/ibm1156.h: Likewise.
8735         * iconvdata/ibm1157.h: Likewise.
8736         * iconvdata/ibm1158.h: Likewise.
8737         * iconvdata/ibm1160.h: Likewise.
8738         * iconvdata/ibm1161.h: Likewise.
8739         * iconvdata/ibm1162.h: Likewise.
8740         * iconvdata/ibm1163.h: Likewise.
8741         * iconvdata/ibm1164.h: Likewise.
8742         * iconvdata/ibm1166.h: Likewise.
8743         * iconvdata/ibm1167.h: Likewise.
8744         * iconvdata/ibm12712.h: Likewise.
8745         * iconvdata/ibm1390.h: Likewise.
8746         * iconvdata/ibm1399.h: Likewise.
8747         * iconvdata/ibm16804.h: Likewise.
8748         * iconvdata/ibm4517.h: Likewise.
8749         * iconvdata/ibm4899.h: Likewise.
8750         * iconvdata/ibm4909.h: Likewise.
8751         * iconvdata/ibm4971.h: Likewise.
8752         * iconvdata/ibm5347.h: Likewise.
8753         * iconvdata/ibm803.h: Likewise.
8754         * iconvdata/ibm856.h: Likewise.
8755         * iconvdata/ibm901.h: Likewise.
8756         * iconvdata/ibm902.h: Likewise.
8757         * iconvdata/ibm9030.h: Likewise.
8758         * iconvdata/ibm9066.h: Likewise.
8759         * iconvdata/ibm921.h: Likewise.
8760         * iconvdata/ibm922.h: Likewise.
8761         * iconvdata/ibm9448.h: Likewise.
8762         * iconvdata/isiri-3342.h: Likewise.
8763         * iconvdata/jis0201.h: Likewise.
8764         * include/link.h: Likewise.
8765         * include/netdb.h: Likewise.
8766         * inet/check_native.c: Likewise.
8767         * inet/check_pf.c: Likewise.
8768         * inet/getipv4sourcefilter.c: Likewise.
8769         * inet/getnameinfo.c: Likewise.
8770         * inet/getsourcefilter.c: Likewise.
8771         * inet/htonl.c: Likewise.
8772         * inet/setipv4sourcefilter.c: Likewise.
8773         * inet/setsourcefilter.c: Likewise.
8774         * inet/test-inet6_opt.c: Likewise.
8775         * inet/tst-network.c: Likewise.
8776         * locale/C-collate.c: Likewise.
8777         * locale/C-ctype.c: Likewise.
8778         * locale/C-time.c: Likewise.
8779         * locale/C-translit.h: Likewise.
8780         * locale/loadarchive.c: Likewise.
8781         * locale/programs/3level.h: Likewise.
8782         * locale/programs/charmap.c: Likewise.
8783         * locale/programs/charmap.h: Likewise.
8784         * locale/programs/ld-address.c: Likewise.
8785         * locale/programs/ld-collate.c: Likewise.
8786         * locale/programs/ld-ctype.c: Likewise.
8787         * locale/programs/ld-identification.c: Likewise.
8788         * locale/programs/ld-measurement.c: Likewise.
8789         * locale/programs/ld-messages.c: Likewise.
8790         * locale/programs/ld-monetary.c: Likewise.
8791         * locale/programs/ld-name.c: Likewise.
8792         * locale/programs/ld-numeric.c: Likewise.
8793         * locale/programs/ld-paper.c: Likewise.
8794         * locale/programs/ld-telephone.c: Likewise.
8795         * locale/programs/ld-time.c: Likewise.
8796         * locale/programs/linereader.c: Likewise.
8797         * locale/programs/locale.c: Likewise.
8798         * locale/programs/locarchive.c: Likewise.
8799         * locale/programs/locfile.h: Likewise.
8800         * locale/programs/repertoire.c: Likewise.
8801         * locale/programs/simple-hash.c: Likewise.
8802         * locale/programs/simple-hash.h: Likewise.
8803         * malloc/memusage.c: Likewise.
8804         * malloc/memusagestat.c: Likewise.
8805         * nis/nis_defaults.c: Likewise.
8806         * nis/nis_hash.c: Likewise.
8807         * nis/nis_print.c: Likewise.
8808         * nis/nis_xdr.c: Likewise.
8809         * nscd/connections.c: Likewise.
8810         * nscd/hstcache.c: Likewise.
8811         * nscd/nscd_gethst_r.c: Likewise.
8812         * nscd/nscd_getserv_r.c: Likewise.
8813         * nscd/nscd_helper.c: Likewise.
8814         * nscd/servicescache.c: Likewise.
8815         * nss/makedb.c: Likewise.
8816         * nss/nss_db/db-XXX.c: Likewise.
8817         * nss/nss_db/db-initgroups.c: Likewise.
8818         * nss/nss_db/db-netgrp.c: Likewise.
8819         * nss/nss_files/files-network.c: Likewise.
8820         * nss/nss_files/files-parse.c: Likewise.
8821         * posix/bug-regex5.c: Likewise.
8822         * posix/fnmatch_loop.c: Likewise.
8823         * posix/regcomp.c: Likewise.
8824         * posix/regexec.c: Likewise.
8825         * posix/tst-rfc3484-2.c: Likewise.
8826         * posix/tst-rfc3484-3.c: Likewise.
8827         * posix/tst-rfc3484.c: Likewise.
8828         * resolv/nss_dns/dns-canon.c: Likewise.
8829         * resolv/nss_dns/dns-network.c: Likewise.
8830         * resolv/res_init.c: Likewise.
8831         * resolv/res_mkquery.c: Likewise.
8832         * resolv/tst-aton.c: Likewise.
8833         * stdlib/cxa_atexit.c: Likewise.
8834         * stdlib/cxa_finalize.c: Likewise.
8835         * stdlib/gen-fpioconst.c: Likewise.
8836         * stdlib/strtol_l.c: Likewise.
8837         * string/tst-endian.c: Likewise.
8838         * sunrpc/auth_des.c: Likewise.
8839         * sunrpc/clnt_udp.c: Likewise.
8840         * sunrpc/rtime.c: Likewise.
8841         * sunrpc/svcauth_des.c: Likewise.
8842         * sunrpc/xdr.c: Likewise.
8843         * sunrpc/xdr_intXX_t.c: Likewise.
8844         * sunrpc/xdr_rec.c: Likewise.
8845         * sysdeps/generic/ldconfig.h: Likewise.
8846         * sysdeps/generic/ldsodefs.h: Likewise.
8847         * sysdeps/generic/memusage.h: Likewise.
8848         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
8849         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
8850         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
8851         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
8852         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8853         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8854         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
8855         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
8856         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8857         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
8858         * sysdeps/posix/getaddrinfo.c: Likewise.
8859         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8860         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8861         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8862         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8863         * sysdeps/powerpc/test-gettimebase.c: Likewise.
8864         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
8865         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
8866         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
8867         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
8868         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
8869         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
8870         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
8871         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
8872         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
8873         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
8874         * sysdeps/x86_64/dl-tls.h: Likewise.
8875         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
8876         * time/alt_digit.c: Likewise.
8877         * time/era.c: Likewise.
8878         * wcsmbs/tst-c16c32-1.c: Likewise.
8880 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
8882         * math/libm-test.inc (struct test_sincos_data): New type.
8883         (RUN_TEST_LOOP_sincos): New macro.
8884         (sincos_test_data): New variable.
8885         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
8887 2013-05-16  Richard Henderson  <rth@redhat.com>
8889         * math/atest-exp2.c (LIMB64): New macro.
8890         (CONSTSZ): New macro.
8891         (mp_exp1, mp_exp_m1, mp_log2): New variables.
8892         (hexdig): Move ...
8893         (print_mpn_fp): ... to function scope.
8894         (read_mpn_hex): Remove.
8895         (get_log2): Remove.
8896         (exp2_mpn): Use mp_log2.
8897         (main): Use mp_exp1.
8899 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
8901         * math/libm-test.inc: Remove comment about not testing "inexact"
8902         exceptions.
8903         (INEXACT_EXCEPTION): New macro.
8904         (NO_INEXACT_EXCEPTION): Likewise.
8905         (INVALID_EXCEPTION_OK): Update value.
8906         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8907         (OVERFLOW_EXCEPTION_OK): Likewise.
8908         (UNDERFLOW_EXCEPTION_OK): Likewise.
8909         (IGNORE_ZERO_INF_SIGN): Likewise.
8910         (ERRNO_UNCHANGED): Likewise.
8911         (ERRNO_EDOM): Likewise.
8912         (ERRNO_ERANGE): Likewise.
8913         (test_exceptions): Handle testing "inexact" exceptions.
8914         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
8915         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
8916         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
8917         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
8918         INEXACT_EXCEPTION.
8919         (rint_towardzero_test_data): Likewise.
8920         (rint_downward_test_data): Likewise.
8921         (rint_upward_test_data): Likewise.
8923         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
8924         with OVERFLOW_EXCEPTION.
8925         (exp10_test_data): Likewise.
8926         (exp2_test_data): Likewise.
8927         (expm1_test_data): Likewise.
8928         (lgamma_test_data): Likewise.
8929         (pow_test_data): Likewise.
8930         (tgamma_test_data): Likewise.
8931         (yn_test_data): Remove duplicate test of overflow.
8933         * math/libm-test.inc (struct test_cc_c_data): New type.
8934         (RUN_TEST_LOOP_cc_c): New macro.
8935         (cpow_test_data): New variable.
8936         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
8938         * math/libm-test.inc (struct test_f_L_data): New type.
8939         (RUN_TEST_LOOP_f_L): New macro.
8940         (llrint_test_data): New variable.
8941         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
8942         (llrint_tonearest_test_data): New variable.
8943         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
8944         (llrint_towardzero_test_data): New variable.
8945         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
8946         (llrint_downward_test_data): New variable.
8947         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
8948         (llrint_upward_test_data): New variable.
8949         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
8950         (llround_test_data): New variable.
8951         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
8953 2013-05-13  Peter Collingbourne  <pcc@google.com>
8955         * math/atest-exp2.c (get_log2): Remove const attribute.
8957 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
8959         * math/libm-test.inc (struct test_f_l_data): New type.
8960         (RUN_TEST_LOOP_f_l): New macro.
8961         (lrint_test_data): New variable.
8962         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
8963         (lrint_tonearest_test_data): New variable.
8964         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
8965         (lrint_towardzero_test_data): New variable.
8966         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
8967         (lrint_downward_test_data): New variable.
8968         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
8969         (lrint_upward_test_data): New variable.
8970         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
8971         (lround_test_data): New variable.
8972         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
8974 2013-05-15  Peter Collingbourne  <pcc@google.com>
8976         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
8977         (EXTRACT_WORDS64) Use where appropriate.
8978         (INSERT_WORDS64) Likewise.
8980         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
8981         constraints with x constraints.
8982         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
8984         * malloc/obstack.c (_obstack_compat): Add initializer.
8986 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
8988         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
8989         si_trapno and add si_addr_lsb to _sifields.sigfault.
8990         (si_trapno): Remove macro.
8991         (si_addr_lsb): Define new macro.
8992         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
8994 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
8996         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
8997         instead of TEST_f_l.
8998         (llrint_test_tonearest): Likewise.
8999         (llrint_test_towardzero): Likewise.
9000         (llrint_test_downward): Likewise.
9001         (llrint_test_upward): Likewise.
9002         (llround_test): Likewise.
9004         * math/libm-test.inc (struct test_f_i_data): Add comment.
9005         (RUN_TEST_LOOP_f_b): New macro.
9006         (RUN_TEST_LOOP_f_b_tg): Likewise.
9007         (finite_test_data): New variable.
9008         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
9009         (isfinite_test_data): New variable.
9010         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9011         (isinf_test_data): New variable.
9012         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9013         (isnan_test_data): New variable.
9014         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9015         (isnormal_test_data): New variable.
9016         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9017         (issignaling_test_data): New variable.
9018         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9019         (signbit_test_data): New variable.
9020         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9022         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
9023         with INVALID_EXCEPTION.
9024         (acosh_test_data): Likewise.
9025         (asin_test_data): Likewise.
9026         (atanh_test_data): Likewise.
9027         (fmod_test_data): Likewise.
9028         (log_test_data): Likewise.
9029         (log10_test_data): Likewise.
9030         (log2_test_data): Likewise.
9031         (pow_test_data): Likewise.
9032         (sqrt_test_data): Likewise.
9033         (y0_test_data): Likewise.
9034         (y1_test_data): Likewise.
9035         (yn_test_data): Likewise.
9037         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
9038         function contents.
9040         * math/libm-test.inc (struct test_ff_i_data): New type.
9041         (RUN_TEST_LOOP_ff_i_tg): New macro.
9042         (isgreater_test_data): New variable.
9043         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9044         (isgreaterequal_test_data): New variable.
9045         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9046         (isless_test_data): New variable.
9047         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9048         (islessequal_test_data): New variable.
9049         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9050         (islessgreater_test_data): New variable.
9051         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9052         (isunordered_test_data): New variable.
9053         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9055 2013-05-14  David S. Miller  <davem@davemloft.net>
9057         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9059 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
9061         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
9063         * math/libm-test.inc (struct test_fF_f1_data): Change type of
9064         extra_test to int.
9065         (struct test_f_i_data): Change type of max_ulp to int.
9067         * math/libm-test.inc (test_ffI_f1_data): New type.
9068         (RUN_TEST_LOOP_ffI_f1): New macro.
9069         (remquo_test_data): New variable.
9070         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
9072         * setjmp/tst-setjmp-fp.c: New file.
9073         * setjmp/Makefile (tests): Add tst-setjmp-fp.
9074         (link-libm): New variable.
9075         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
9077         * math/libm-test.inc (struct test_f_i_data): New type.
9078         (RUN_TEST_LOOP_f_i): New macro.
9079         (RUN_TEST_LOOP_f_i_tg): Likewise.
9080         (fpclassify_test_data): New variable.
9081         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
9082         (ilogb_test_data): New variable.
9083         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
9085         * math/libm-test.inc (scalbln_test): Correct function name in END
9086         call.
9088         * math/libm-test.inc (struct test_f_f1_data): Add comment.
9089         (RUN_TEST_LOOP_fI_f1): New macro.
9090         (frexp_test_data): New variable.
9091         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
9093         * math/libm-test.inc (struct test_fF_f1_data): New type.
9094         (RUN_TEST_LOOP_fF_f1): New macro.
9095         (modf_test_data): New variable.
9096         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
9098         * math/libm-test.inc (struct test_f_f1_data): New type.
9099         (RUN_TEST_LOOP_f_f1): New macro.
9100         (gamma_test_data): New variable.
9101         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9102         (lgamma_test_data): New variable.
9103         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9105 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
9107         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
9108         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
9109         (main): Comment "tls" pseudo-hwcap.
9111 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
9113         * math/libm-test.inc (struct test_fl_f_data): New type.
9114         (RUN_TEST_LOOP_fl_f): New variable.
9115         (scalbln_test_data): New variable.
9116         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
9118         * math/libm-test.inc (struct test_fi_f_data): New type.
9119         (RUN_TEST_LOOP_fi_f): New macro.
9120         (ldexp_test_data): New variable.
9121         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
9122         (scalbn_test_data): New variable.
9123         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
9125         * math/libm-test.inc (struct test_c_f_data): New type.
9126         (RUN_TEST_LOOP_c_f): New macro.
9127         (cabs_test_data): New variable.
9128         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
9129         (carg_test_data): New variable.
9130         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
9131         (cimag_test_data): New variable.
9132         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
9133         (creal_test_data): New variable.
9134         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
9136         * math/libm-test.inc (struct test_if_f_data): New type.
9137         (RUN_TEST_LOOP_if_f): New macro.
9138         (jn_test_data): New variable.
9139         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
9140         (yn_test_data): New variable.
9141         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
9143         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
9145 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9147         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
9148         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
9150 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
9152         * benchtests/Makefile (CPPFLAGS-nonlib): Add
9153         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
9154         (bench-deps): Add bench-timing.h.
9155         * benchtests-bench-skeleton.c: Include bench-timing.h.
9156         (main): Use TIMING_* macros instead of clock_gettime.
9157         * benchtests/bench-timing.h: New file.
9159         [BZ #14582]
9160         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
9161         Renamed from _LIB_VERSION.
9162         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
9164 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
9166         * math/libm-test.inc (struct test_fff_f_data): New type.
9167         (RUN_TEST_LOOP_fff_f): New macro.
9168         (fma_test_data): New variable.
9169         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
9170         (fma_towardzero_test_data): New variable.
9171         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
9172         (fma_downward_test_data): New variable.
9173         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
9174         (fma_upward_test_data): New variable.
9175         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
9177         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
9178         (struct test_c_c_data): New type.
9179         (RUN_TEST_LOOP_c_c): New macro.
9180         (cacos_test_data): New variable.
9181         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
9182         (cacosh_test_data): New variable.
9183         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
9184         (casin_test_data): New variable.
9185         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
9186         (casinh_test_data): New variable.
9187         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
9188         (catan_test_data): New variable.
9189         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
9190         (catanh_test_data): New variable.
9191         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
9192         (ccos_test_data): New variable.
9193         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
9194         (ccosh_test_data): New variable.
9195         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
9196         (cexp_test_data): New variable.
9197         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
9198         (clog_test_data): New variable.
9199         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
9200         (clog10_test_data): New variable.
9201         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
9202         (conj_test_data): New variable.
9203         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
9204         (cproj_test_data): New variable.
9205         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
9206         (csin_test_data): New variable.
9207         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
9208         (csinh_test_data): New variable.
9209         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
9210         (csqrt_test_data): New variable.
9211         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
9212         (ctan_test_data): New variable.
9213         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
9214         (ctan_tonearest_test_data): New variable.
9215         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9216         (ctan_towardzero_test_data): New variable.
9217         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9218         (ctan_downward_test_data): New variable.
9219         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9220         (ctan_upward_test_data): New variable.
9221         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9222         (ctanh_test_data): New variable.
9223         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
9224         (ctanh_tonearest_test_data): New variable.
9225         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9226         (ctanh_towardzero_test_data): New variable.
9227         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9228         (ctanh_downward_test_data): New variable.
9229         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9230         (ctanh_upward_test_data): New variable.
9231         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9232         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
9233         of BUILD_COMPLEX.
9235         * math/libm-test.inc (struct test_ff_f_data): New type.
9236         (struct test_ff_f_data_nexttoward): Likewise.
9237         (RUN_TEST_LOOP_2_f): New macro.
9238         (RUN_TEST_LOOP_ff_f): Likewise.
9239         (atan2_test_data): New variable.
9240         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
9241         (copysign_test_data): New variable.
9242         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
9243         (fdim_test_data): New variable.
9244         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
9245         (fmax_test_data): New variable.
9246         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
9247         (fmin_test_data): New variable.
9248         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
9249         (fmod_test_data): New variable.
9250         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
9251         (hypot_test_data): New variable.
9252         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
9253         (nextafter_test_data): New variable.
9254         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
9255         (nexttoward_test_data): New variable.
9256         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
9257         (pow_test_data): New variable.
9258         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
9259         (pow_tonearest_test_data): New variable.
9260         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
9261         (pow_towardzero_test_data): New variable.
9262         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
9263         (pow_downward_test_data): New variable.
9264         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
9265         (pow_upward_test_data): New variable.
9266         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
9267         (remainder_test_data): New variable.
9268         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
9269         (scalb_test_data): New variable.
9270         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
9271         * sysdeps/i386/fpu/libm-test-ulps: Update.
9273 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
9275         * math/libm-test.inc (fma_test): Use max_value instead of local
9276         variable fltmax.
9277         (nextafter_test): Likewise.
9279         * math/libm-test.inc (acos_towardzero_test_data): New variable.
9280         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9281         (acos_downward_test_data): New variable.
9282         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9283         (acos_upward_test_data): New variable.
9284         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9285         (acosh_test_data): New variable.
9286         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
9287         (asin_test_data): New variable.
9288         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
9289         (asin_tonearest_test_data): New variable.
9290         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9291         (asin_towardzero_test_data): New variable.
9292         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9293         (asin_downward_test_data): New variable.
9294         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9295         (asin_upward_test_data): New variable.
9296         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9297         (asinh_test_data): New variable.
9298         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
9299         (atan_test_data): New variable.
9300         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
9301         (atanh_test_data): New variable.
9302         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
9303         (cbrt_test_data): New variable.
9304         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
9305         (ceil_test_data): New variable.
9306         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
9307         (cos_test_data): New variable.
9308         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
9309         (cos_tonearest_test_data): New variable.
9310         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9311         (cos_towardzero_test_data): New variable.
9312         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9313         (cos_downward_test_data): New variable.
9314         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9315         (cos_upward_test_data): New variable.
9316         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9317         (cosh_test_data): New variable.
9318         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
9319         (cosh_tonearest_test_data): New variable.
9320         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9321         (cosh_towardzero_test_data): New variable.
9322         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9323         (cosh_downward_test_data): New variable.
9324         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9325         (cosh_upward_test_data): New variable.
9326         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9327         (erf_test_data): New variable.
9328         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
9329         (erfc_test_data): New variable.
9330         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
9331         (exp_test_data): New variable.
9332         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
9333         (exp_tonearest_test_data): New variable.
9334         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9335         (exp_towardzero_test_data): New variable.
9336         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9337         (exp_downward_test_data): New variable.
9338         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9339         (exp_upward_test_data): New variable.
9340         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9341         (exp10_test_data): New variable.
9342         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
9343         (exp2_test_data): New variable.
9344         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
9345         (expm1_test_data): New variable.
9346         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
9347         (fabs_test_data): New variable.
9348         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
9349         (floor_test_data): New variable.
9350         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
9351         (j0_test_data): New variable.
9352         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
9353         (j1_test_data): New variable.
9354         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
9355         (log_test_data): New variable.
9356         (log_test): Run tests with RUN_TEST_LOOP_f_f.
9357         (log10_test_data): New variable.
9358         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
9359         (log1p_test_data): New variable.
9360         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
9361         (log2_test_data): New variable.
9362         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
9363         (logb_test_data): New variable.
9364         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
9365         (logb_downward_test_data): New variable.
9366         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9367         (nearbyint_test_data): New variable.
9368         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
9369         (rint_test_data): New variable.
9370         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
9371         (rint_tonearest_test_data): New variable.
9372         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9373         (rint_towardzero_test_data): New variable.
9374         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9375         (rint_downward_test_data): New variable.
9376         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9377         (rint_upward_test_data): New variable.
9378         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9379         (round_test_data): New variable.
9380         (round_test): Run tests with RUN_TEST_LOOP_f_f.
9381         (sin_test_data): New variable.
9382         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
9383         (sin_tonearest_test_data): New variable.
9384         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9385         (sin_towardzero_test_data): New variable.
9386         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9387         (sin_downward_test_data): New variable.
9388         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9389         (sin_upward_test_data): New variable.
9390         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9391         (sinh_test_data): New variable.
9392         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
9393         (sinh_tonearest_test_data): New variable.
9394         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9395         (sinh_towardzero_test_data): New variable.
9396         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9397         (sinh_downward_test_data): New variable.
9398         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9399         (sinh_upward_test_data): New variable.
9400         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9401         (sqrt_test_data): New variable.
9402         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
9403         (tan_test_data): New variable.
9404         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
9405         (tan_tonearest_test_data): New variable.
9406         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9407         (tan_towardzero_test_data): New variable.
9408         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9409         (tan_downward_test_data): New variable.
9410         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9411         (tan_upward_test_data): New variable.
9412         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9413         (tanh_test_data): New variable.
9414         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
9415         (tgamma_test_data): New variable.
9416         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
9417         (trunc_test_data): New variable.
9418         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
9419         (y0_test_data): New variable.
9420         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
9421         (y1_test_data): New variable.
9422         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
9423         (significand_test_data): New variable.
9424         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
9426 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
9428         [BZ #12387]
9429         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
9431 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
9433         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
9435 2013-05-10  Andreas Jaeger  <aj@suse.de>
9437         [BZ #15448]
9438         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
9439         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
9441 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
9443         * math/gen-libm-test.pl (adjust_arg): New function.
9444         (special_functions): Handle generating output in both functions
9445         and arrays.
9446         (parse_args): Likewise.
9447         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
9448         $in_func argument to parse_args.
9449         * math/libm-test.inc (struct test_f_f_data): New type.
9450         (IF_ROUND_INIT_): New macro.
9451         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
9452         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
9453         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
9454         (IF_ROUND_INIT_FE_UPWARD): Likewise.
9455         (ROUND_RESTORE_): Likewise.
9456         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
9457         (ROUND_RESTORE_FE_TONEAREST): Likewise.
9458         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
9459         (ROUND_RESTORE_FE_UPWARD): Likewise.
9460         (RUN_TEST_LOOP_f_f): New macro.
9461         (acos_test_data): New variable.
9462         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
9463         (acos_tonearest_test_data): New variable.
9464         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9466 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
9468         * benchtests/bench-skeleton.c (startup): Fix coding style.
9470 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
9472         [BZ #6809]
9473         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
9474         negative infinity argument.
9475         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
9476         negative infinity argument.
9477         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
9478         negative infinity argument.
9479         * math/libm-test.inc (tgamma_test): Expect errno to be set for
9480         domain errors.
9482 2013-05-10  Florian Weimer  <fweimer@redhat.com>
9484         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
9485         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
9486         * iconv/iconv_prog.c (main): Likewise.
9487         * locale/programs/charmap-dir.c (charmap_readdir)
9488         (fopen_uncompressed): Likewise.
9489         * locale/programs/locfile.c (siblings_uncached)
9490         (write_locale_data): Use lstat64 instead of lstat.
9491         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
9492         stat.
9494 2013-05-10  Andreas Jaeger  <aj@suse.de>
9496         [BZ #15395]
9497         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
9498         localization.
9499         Include <locale.h>.
9501 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
9503         * elf/dl-close.c (_dl_close_worker): Add comments.
9505 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
9507         [BZ #15359]
9508         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
9509         high part of pi/2.
9510         (__ieee754_rem_pio2l): Update comments.
9512         [BZ #15429]
9513         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
9514         high part of pi/2.
9515         (__ieee754_rem_pio2l): Update comments.
9517         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
9518         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
9520         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
9521         M_PI_4l.
9523         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
9524         (M_PI_34_LOG10El): Likewise.
9525         (M_PI2_LOG10El): Likewise.
9526         (M_PI4_LOG10El): Likewise.
9527         (M_PI_LOG10El): Likewise.
9529 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9531         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9533 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
9535         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
9536         (MINUS_ZERO_INIT): Likewise.
9537         (PLUS_INFTY_INIT): Likewise.
9538         (MINUS_INFTY_INIT): Likewise.
9539         (QNAN_VALUE_INIT): Likewise.
9540         (MAX_VALUE_INIT): Likewise.
9541         (MIN_VALUE_INIT): Likewise.
9542         (MIN_SUBNORM_VALUE_INIT): Likewise.
9543         (plus_zero): Initialize with PLUS_ZERO_INIT.
9544         (minus_zero): Initialize with MINUS_ZERO_INIT.
9545         (plus_infty): Initialize with PLUS_INFTY_INIT.
9546         (minus_infty): Initialize with MINUS_INFTY_INIT.
9547         (qnan_value): Initialize with QNAN_VALUE_INIT.
9548         (max_value): Initialize with MAX_VALUE_INIT.
9549         (min_value): Initialize with MIN_VALUE_INIT.
9550         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
9552         * math/libm-test.inc (RUN_TEST_if_f): New macro.
9553         (jn_test): Use TEST_if_f instead of TEST_ff_f.
9554         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
9555         (yn_test): Use TEST_if_f instead of TEST_ff_f.
9557         * math/libm-test.inc (RUN_TEST_f_f): New macro.
9558         (RUN_TEST_2_f): Likewise.
9559         (RUN_TEST_ff_f): Likewise.
9560         (RUN_TEST_fi_f): Likewise.
9561         (RUN_TEST_fl_f): Likewise.
9562         (RUN_TEST_fff_f): Likewise.
9563         (RUN_TEST_c_f): Likewise.
9564         (RUN_TEST_f_f1): Likewise.
9565         (RUN_TEST_fF_f1): Likewise.
9566         (RUN_TEST_fI_f1): Likewise.
9567         (RUN_TEST_ffI_f1): Likewise.
9568         (RUN_TEST_c_c): Likewise.
9569         (RUN_TEST_cc_c): Likewise.
9570         (RUN_TEST_f_i): Likewise.
9571         (RUN_TEST_f_i_tg): Likewise.
9572         (RUN_TEST_ff_i_tg): Likewise.
9573         (RUN_TEST_f_b): Likewise.
9574         (RUN_TEST_f_b_tg): Likewise.
9575         (RUN_TEST_f_l): Likewise.
9576         (RUN_TEST_f_L): Likewise.
9577         (RUN_TEST_sincos): Likewise.
9578         * math/gen-libm-test.pl (new_test): Take new argument to indicate
9579         whether to show exceptions.  Do not include ");\n" in return
9580         value.
9581         (special_functions): Output call to RUN_TEST_sincos instead of
9582         check_float calls.  Update calls to new_test.
9583         (parse_args): Output call to single RUN_TEST_* macro instead of
9584         check_* calls and other assignments.  Update calls to new_test.
9586         [BZ #2546]
9587         [BZ #2560]
9588         [BZ #5159]
9589         [BZ #15426]
9590         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
9591         input to result for tgamma overflow.
9592         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
9593         (gamma_coeff): New variable.
9594         (NCOEFF): New macro.
9595         (gamma_positive): New function.
9596         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
9597         underflow here.  Use gamma_positive instead of exp (lgamma) for
9598         other arguments.
9599         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
9600         (gamma_coeff): New variable.
9601         (NCOEFF): New macro.
9602         (gammaf_positive): New function.
9603         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
9604         underflow here.  Use gamma_positive instead of exp (lgamma) for
9605         other arguments.
9606         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
9607         (gamma_coeff): New variable.
9608         (NCOEFF): New macro.
9609         (gammal_positive): New function.
9610         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
9611         underflow here.  Use gamma_positive instead of exp (lgamma) for
9612         other arguments.
9613         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
9614         (gamma_coeff): New variable.
9615         (NCOEFF): New macro.
9616         (gammal_positive): New function.
9617         (__ieee754_gammal_r): Handle positive infinity, overflow and
9618         underflow here.  Handle NaN the same as positive infinity.  Remove
9619         check x < 0xffffffff for negative integers.  Use gamma_positive
9620         instead of exp (lgamma) for other arguments.
9621         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
9622         (gamma_coeff): New variable.
9623         (NCOEFF): New macro.
9624         (gammal_positive): New function.
9625         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
9626         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
9627         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
9628         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
9629         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
9630         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
9631         * sysdeps/generic/math_private.h (__gamma_productf): New
9632         prototype.
9633         (__gamma_product): Likewise.
9634         (__gamma_productl): Likewise.
9635         * math/Makefile (libm-calls): Add gamma_product.
9636         * math/libm-test.inc (tgamma_test): Add more tests.
9637         * sysdeps/i386/fpu/libm-test-ulps: Update.
9638         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9640 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
9642         * benchtests/bench-skeleton.c (main): Preheat CPU.
9644 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
9646         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
9648 2013-05-07  Roland McGrath  <roland@hack.frob.com>
9650         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
9651         and _dl_skip_args_internal.
9653 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
9655         * manual/message.texi (Message Translation): Talk about users.
9656         Message to key mapping impacts design.
9658 2013-05-06  Roland McGrath  <roland@hack.frob.com>
9660         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
9662         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
9664         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
9665         * sysdeps/wordsize-64/glob64.c: ... here.
9667         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
9668         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
9669         New macros.
9671         * debug/getlogin_r_chk.c: Moved to ...
9672         * login/getlogin_r_chk.c: ... here.
9673         * debug/Makefile (routines): Move getlogin_r_chk to ...
9674         * login/Makefile (routines): ... here.
9675         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
9676         * login/Versions (libc: GLIBC_2.4): ... here.
9678         * io/poll.c (__poll): Renamed from poll.
9679         Add libc_hidden_def.
9680         (poll): Define as weak alias.
9682         * debug/ptsname_r_chk.c: Moved to ...
9683         * login/ptsname_r_chk.c: ... here.
9684         * debug/Makefile (routines): Move ptsname_r_chk to ...
9685         * login/Makefile (routines): ... here.
9686         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
9687         * login/Versions (libc: GLIBC_2.4): ... here.
9689         * posix/getlogin.c: Moved to ...
9690         * login/getlogin.c: ... here.
9691         * posix/getlogin_r.c: Moved to ...
9692         * login/getlogin_r.c: ... here.
9693         * posix/getlogin_r.c: Moved to ...
9694         * login/getlogin_r.c: ... here.
9695         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
9696         * login/Makefile (routines): ... here.
9697         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
9698         * login/Versions (libc: GLIBC_2.0): ... here.
9700         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
9701         (setrlimit): Define as weak alias.
9703         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
9704         Call __ names for open, ftruncate, and close.
9705         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
9706         (truncate): Define as weak alias.
9708 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
9710         * math/gen-libm-test.pl (parse_args): Initialize x before each
9711         test of frexp, modf and remquo.
9713         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
9714         test signgam value.
9716 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9718         [BZ #15418]
9719         [BZ #15419]
9720         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
9721         internal tests.
9722         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9724 2013-05-06  Roland McGrath  <roland@hack.frob.com>
9726         * elf/dl-writev.h: New file.
9727         * elf/dl-misc.c: Include it.
9728         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
9729         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
9731 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
9733         * math/libm-test.inc (noXFails): Remove variable.
9734         (noXPasses): Likewise.
9735         (BUILD_COMPLEX_INT): Remove macro.
9736         (print_screen): Remove xfail argument.
9737         (print_screen_max_error): Likewise.
9738         (update_stats): Likewise.
9739         (print_max_error): Likewise.  Update calls to other affected
9740         functions.
9741         (print_complex_max_error): Likewise.
9742         (test_single_exception): Update calls to print_screen.
9743         (test_single_errno): Likewise.
9744         (check_float_internal): Remove xfail argument.  Update calls to
9745         other affected functions.
9746         (check_float): Likewise.
9747         (check_complex): Likewise.
9748         (check_int): Likewise.
9749         (check_long): Likewise.
9750         (check_bool): Likewise.
9751         (check_longlong): Likewise.
9752         (main): Don't print noXFails and noXPasses.
9753         * math/gen-libm-test.pl (top level): Don't mention expected
9754         failure handling in comment.
9755         (new_test): Don't handle expected failures.
9756         (parse_args): Don't mention expected failure handling in comment.
9757         (generate_testfile): Don't handle expected failures.
9758         (parse_ulps): Likewise.
9759         (print_ulps_file): Likewise.
9760         (get_failure): Remove function.
9761         (output_test): Don't handle expected failures.
9762         * make/README.libm-test: Don't mention expected failure handling.
9764         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
9765         (minus_zero): Likewise.
9766         (plus_infty): Likewise.
9767         (minus_infty): Likewise.
9768         (qnan_value): Likewise.
9769         (max_value): Likewise.
9770         (min_value): Likewise.
9771         (min_subnorm_value): Likewise.
9772         (initialize): Do not initialize those variables dynamically.
9774 2013-05-03  Roland McGrath  <roland@hack.frob.com>
9776         * io/open.c (__open_2): Moved to ...
9777         * io/open_2.c: ... this new file.
9778         * io/open64.c (__open64_2): Moved to ...
9779         * io/open64_2.c: ... this new file.
9780         * io/openat.c (__openat_2): Moved to ...
9781         * io/openat_2.c: ... this new file.
9782         * io/openat64.c (__openat64_2): Moved to ...
9783         * io/openat64_2.c: ... this new file.
9784         * io/Makefile (routines): Add them.
9785         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
9786         * sysdeps/unix/sysv/linux/open_2.c: File removed.
9787         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
9788         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
9789         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
9790         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
9791         (__openat64): Add hidden_ver.
9792         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
9793         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
9795         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
9796         Separately conditionalize setting of GLRO(dl_sysinfo) so
9797         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
9798         as well, but the actual setting is only under [NEED_DL_SYSINFO].
9800 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9802         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
9803         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
9804         definition.
9805         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
9806         * sysdeps/unix/sysv/linux/powerpc/init-first.c
9807         (_libc_vdso_platform_setup): Add __vdso_time initialization.
9808         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
9809         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
9811 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
9813         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
9814         test signgam value.
9816         * math/libm-test.inc (hypot_test): Do not use
9817         IGNORE_ZERO_INF_SIGN.
9819 2013-05-03  Andreas Jaeger  <aj@suse.de>
9821         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
9822         Linux 3.9.
9823         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
9824         (PF_MAX): Adjust for VSOCK change.
9826 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9828         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9830 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
9832         [BZ #15264]
9833         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
9834         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
9835         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
9837 2013-05-02  David S. Miller  <davem@davemloft.net>
9839         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9841 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
9843         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
9845 2013-05-01  Roland McGrath  <roland@hack.frob.com>
9847         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
9849 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
9851         [BZ #14952]
9852         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
9853         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
9854         Use __attribute__ ((__gnu_inline__)).
9855         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
9856         Don't use __attribute__ ((__gnu_inline__)).
9858 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
9860         [BZ #15423]
9861         * math/s_catan.c (__catan): Handle small real or imaginary part of
9862         input specially to avoid spurious underflow.
9863         * math/s_catanf.c (__catanf): Likewise.
9864         * math/s_catanh.c (__catanh): Likewise.
9865         * math/s_catanhf.c (__catanhf): Likewise.
9866         * math/s_catanhl.c (__catanhl): Likewise.
9867         * math/s_catanl.c (__catanl): Likewise.
9868         * math/libm-test.inc (catan_test): Add more tests.
9869         (catanh_test): Likewise.
9870         * sysdeps/i386/fpu/libm-test-ulps: Update.
9871         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9873 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9875         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9877 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
9879         [BZ #15416]
9880         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
9881         accurately for denominator in atan2.
9882         * math/s_catanf.c (__catanf): Likewise.
9883         * math/s_catanh.c (__catanh): Likewise.
9884         * math/s_catanhf.c (__catanhf): Likewise.
9885         * math/s_catanhl.c (__catanhl): Likewise.
9886         * math/s_catanl.c (__catanl): Likewise.
9887         * math/libm-test.inc (catan_test): Add more tests.
9888         (catanh_test): Likewise.
9889         * sysdeps/i386/fpu/libm-test-ulps: Update.
9890         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9892 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
9894         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
9896         * benchtests/Makefile (bench): Remove slow benchmarks.
9897         * benchtests/atan-inputs: Add slow benchmark inputs.
9898         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
9899         (BENCH_FUNC): Accept variant offset.
9900         (VARIANT): Define.
9901         * benchtests/bench-skeleton.c (main): Run benchmark for each
9902         variant.
9903         * benchtests/cos-inputs: Add slow benchmark inputs.
9904         * benchtests/exp-inputs: Likewise.
9905         * benchtests/pow-inputs: Likewise.
9906         * benchtests/sin-inputs: Likewise.
9907         * benchtests/slowatan-inputs: Remove.
9908         * benchtests/slowatan.c: Remove.
9909         * benchtests/slowcos-inputs: Remove.
9910         * benchtests/slowcos.c: Remove.
9911         * benchtests/slowexp-inputs: Remove.
9912         * benchtests/slowexp.c: Remove.
9913         * benchtests/slowpow-inputs: Remove.
9914         * benchtests/slowpow.c: Remove.
9915         * benchtests/slowsin-inputs: Remove.
9916         * benchtests/slowsin.c: Remove.
9917         * benchtests/slowtan-inputs: Remove.
9918         * benchtests/slowtan.c: Remove.
9919         * benchtests/tan-inputs: Add slow benchmark inputs.
9920         * scripts/bench.pl: Parse comments and directives.
9922         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
9923         in CPPFLAGS.
9924         ($(objpfx)bench-%.c): Remove *-ITER.
9925         * benchtests/bench-modf.c: Remove definition of ITER.
9926         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
9927         (main): Loop for DURATION seconds instead of fixed number of
9928         iterations.
9929         * scripts/bench.pl: Don't expect iterations in parameters.
9931 2013-04-29  Roland McGrath  <roland@hack.frob.com>
9933         * io/fchdir.c (__fchdir): Renamed from fchdir.
9934         (fchdir): Define as weak alias.
9936 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
9938         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
9939         (ERRNO_EDOM): Likewise.
9940         (ERRNO_ERANGE): Likewise.
9941         (noErrnoTests): New variable.
9942         (init_max_error): Set errno to 0.
9943         (test_single_errno): New function.
9944         (test_errno): Likewise.
9945         (check_float_internal): Call test_errno.  Set errno to 0.
9946         (check_complex): Refer to errno tests in comment.
9947         (check_int): Call test_errno.  Set errno to 0.
9948         (check_long): Likewise.
9949         (check_bool): Likewise.
9950         (check_longlong): Likewise.
9951         (cos_test): Use ERRNO_* flags for errno tests instead of
9952         check_int.
9953         (expm1_test): Likewise.
9954         (fmod_test): Likewise.
9955         (ilogb_test): Likewise.
9956         (lgamma_test): Likewise.
9957         (pow_test): Likewise.
9958         (remainder_test): Likewise.
9959         (sin_test): Likewise.
9960         (tan_test): Likewise.
9961         (yn_test): Likewise.
9962         (initialize): Set errno to 0.
9963         (main): Print number of errno tests.
9964         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
9966 2013-04-29  Andreas Jaeger  <aj@suse.de>
9968         [BZ #15084]
9969         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
9970         and RES_USEVC.
9972         [BZ #15085]
9973         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
9974         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
9975         unimplemented.
9977         [BZ #15380]
9978         * stdlib/random.c (__initstate): Return NULL if
9979         __initstate fails.
9981         [BZ #15086]
9982         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
9983         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
9984         RES_SNGLKUPREOP.
9986 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9988         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9990 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
9992         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
9993         of individual tests.
9994         (casin_test): Likewise.
9995         (casinh_test): Likewise.
9997 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
9999         [BZ #15409]
10000         * math/s_catan.c (__catan): Handle arguments with large real or
10001         imaginary part separately without squaring.
10002         * math/s_catanf.c (__catanf): Likewise.
10003         * math/s_catanh.c (__catanh): Likewise.
10004         * math/s_catanhf.c (__catanhf): Likewise.
10005         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10006         and redefine.
10007         (__catanhl): Handle arguments with large real or imaginary part
10008         separately without squaring.
10009         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10010         and redefine.
10011         (__catanl): Handle arguments with large real or imaginary part
10012         separately without squaring.
10013         * math/libm-test.inc (catan_test): Add more tests.
10014         (catanh_test): Likewise.
10015         * sysdeps/i386/fpu/libm-test-ulps: Update.
10016         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10018 2013-04-27  Andreas Jaeger  <aj@suse.de>
10020         [BZ #15007]
10021         * stdlib/stdlib.h: Update guards for qecvt.
10022         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
10023         <stdlib.h>.
10025 2013-04-27  Allan McRae  <allan@archlinux.org>
10027         * sysdeps/i386/fpu/libm-test-ulps: Update.
10029 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
10031         [BZ #15406]
10032         * math/s_catan.c: Include <float.h>.
10033         (__catan): Ensure underflow exception occurs for underflowed
10034         result.
10035         * math/s_catanf.c: Include <float.h>.
10036         (__catanf): Ensure underflow exception occurs for underflowed
10037         result.
10038         * math/s_catanh.c: Include <float.h>.
10039         (__catanh): Ensure underflow exception occurs for underflowed
10040         result.
10041         * math/s_catanhf.c: Include <float.h>.
10042         (__catanhf): Ensure underflow exception occurs for underflowed
10043         result.
10044         * math/s_catanhl.c: Include <float.h>.
10045         (__catanhl): Ensure underflow exception occurs for underflowed
10046         result.
10047         * math/s_catanl.c: Include <float.h>.
10048         (__catanl): Ensure underflow exception occurs for underflowed
10049         result.
10050         * math/libm-test.inc (catan_test): Add more tests.
10051         (catanh_test): Likewise.
10053         [BZ #15405]
10054         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
10055         underflowed result.
10056         * math/s_ccoshf.c (__ccoshf): Likewise.
10057         * math/s_ccoshl.c (__ccoshl): Likewise.
10058         * math/s_csin.c (__csin): Likewise.
10059         * math/s_csinf.c (__csinf): Likewise.
10060         * math/s_csinh.c (__csinh): Likewise.
10061         * math/s_csinhf.c (__csinhf): Likewise.
10062         * math/s_csinhl.c (__csinhl): Likewise.
10063         * math/s_csinl.c (__csinl): Likewise.
10064         * math/libm-test.inc (ccos_test): Add more tests.
10065         (ccosh_test): Likewise.
10066         (csin_test): Likewise.
10067         (csinh_test): Likewise.
10069 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10071         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
10072         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
10073         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
10074         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
10075         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
10076         powerpc/power5+/fpu folders.
10077         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
10080 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
10082         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10084 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
10086         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
10087         additions to variable.
10088         [$(config-machine) = x86_64] (modules-names): Likewise.
10089         ($(objpfx)tst-audit3): Remove dependency.
10090         ($(objpfx)tst-audit3.out): Likewise.
10091         ($(objpfx)tst-audit4): Likewise.
10092         ($(objpfx)tst-audit4.out): Likewise.
10093         ($(objpfx)tst-audit5): Likewise.
10094         ($(objpfx)tst-audit5.out): Likewise.
10095         ($(objpfx)tst-audit6): Likewise.
10096         ($(objpfx)tst-audit6.out): Likewise.
10097         ($(objpfx)tst-audit7): Likewise.
10098         ($(objpfx)tst-audit7.out): Likewise.
10099         (tst-audit3-ENV): Remove variable.
10100         (tst-audit4-ENV): Likewise.
10101         (tst-audit5-ENV): Likewise.
10102         (tst-audit6-ENV): Likewise.
10103         (tst-audit7-ENV): Likewise.
10104         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
10105         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
10106         addition to variable.
10107         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
10108         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
10109         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
10110         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
10111         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
10112         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
10113         tst-audit3, tst-audit4 and tst-audit5.
10114         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
10115         tst-audit6 and tst-audit7.
10116         [$(subdir) = elf] (modules-names): Add audit modules for those
10117         tests.
10118         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
10119         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
10120         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
10121         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
10122         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
10123         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
10124         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
10125         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
10126         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
10127         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
10128         [$(subdir) = elf] (tst-audit3-ENV): New variable.
10129         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
10130         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
10131         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
10132         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
10133         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
10134         Likewise.
10135         [$(subdir) = elf && $(config-cflags-avx) = yes]
10136         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
10137         [$(subdir) = elf && $(config-cflags-avx) = yes]
10138         (CFLAGS-tst-auditmod4a.c): Likewise.
10139         [$(subdir) = elf && $(config-cflags-avx) = yes]
10140         (CFLAGS-tst-auditmod4b.c): Likewise.
10141         [$(subdir) = elf && $(config-cflags-avx) = yes]
10142         (CFLAGS-tst-auditmod6b.c): Likewise.
10143         [$(subdir) = elf && $(config-cflags-avx) = yes]
10144         (CFLAGS-tst-auditmod6c.c): Likewise.
10145         [$(subdir) = elf && $(config-cflags-avx) = yes]
10146         (CFLAGS-tst-auditmod7b.c): Likewise.
10147         * elf/tst-audit3.c: Move to ...
10148         * sysdeps/x86_64/tst-audit3.c: ... here.
10149         * elf/tst-audit4.c: Move to ...
10150         * sysdeps/x86_64/tst-audit4.c: ... here.
10151         * elf/tst-audit5.c: Move to ...
10152         * sysdeps/x86_64/tst-audit5.c: ... here.
10153         * elf/tst-audit6.c: Move to ...
10154         * sysdeps/x86_64/tst-audit6.c: ... here.
10155         * elf/tst-audit7.c: Move to ...
10156         * sysdeps/x86_64/tst-audit7.c: ... here.
10157         * elf/tst-auditmod3a.c: Move to ...
10158         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
10159         * elf/tst-auditmod3b.c: Move to ...
10160         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
10161         * elf/tst-auditmod4a.c: Move to ...
10162         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
10163         * elf/tst-auditmod4b.c: Move to ...
10164         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
10165         * elf/tst-auditmod5a.c: Move to ...
10166         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
10167         * elf/tst-auditmod5b.c: Move to ...
10168         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
10169         * elf/tst-auditmod6a.c: Move to ...
10170         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
10171         * elf/tst-auditmod6b.c: Move to ...
10172         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
10173         * elf/tst-auditmod6c.c: Move to ...
10174         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
10175         * elf/tst-auditmod7a.c: Move to ...
10176         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
10177         * elf/tst-auditmod7b.c: Move to ...
10178         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
10180 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
10182         [BZ #15366]
10183         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
10184         define unconditionally.
10185         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
10186         define unconditionally.
10187         (INT8_C, INT16_C, etc.): Likewise.
10189 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
10191         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
10192         __ehdr_start with hidden visibility.
10194         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
10196 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
10198         * math/libm-test.inc (cos_test): Use accurate hex constants.
10199         (sincost_test): Likewise.
10201 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
10203         * math/libm-test.inc (catan_test): Add more tests.
10204         (catanh_test): Likewise.
10206         * math/s_catanf.c (__catanf): Use suffixed floating-point
10207         constants.
10208         * math/s_catanhf.c (__catanhf): Likewise.
10209         * math/s_catanhl.c (__catanhl): Likewise.
10210         * math/s_catanl.c (__catanl): Likewise.
10212         [BZ #15394]
10213         * math/s_catan.c (__catan): Calculate imaginary part of result
10214         with log1p not log unless computing log of number close to 0.
10215         * math/s_catanf.c (__catanf): Likewise.
10216         * math/s_catanl.c (__catanl): Likewise.
10217         * math/s_catanh.c (__catanh): Calculate real part of result with
10218         log1p not log unless computing log of number close to 0.
10219         * math/s_catanhf.c (__catanhf): Likewise.
10220         * math/s_catanhl.c (__catanhl): Likewise.
10221         * math/libm-test.inc (catan_test): Add more tests.
10222         (catanh_test): Likewise.
10223         * sysdeps/i386/fpu/libm-test-ulps: Update.
10224         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10226 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10228         * benchtests/Makefile: Mention files in which fast and slow
10229         paths of math functions are implemented.
10231 2013-04-23  Roland McGrath  <roland@hack.frob.com>
10233         * sysdeps/posix/timespec_get.c: New file.
10235 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10237         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
10238         POWER.
10239         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
10240         for POWER.
10241         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
10242         powerpc/power5/fpu folders.
10243         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
10244         * benchtests/Makefile: Add modf testcase.
10245         * benchtests/bench-modf.c: New file: Benchmark test for mo
10247 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
10249         [BZ #14888]
10250         * time/Makefile (tests): Add tst-strptime-whitespace.
10251         * time/strptime_l.c (get_number): Use ISSPACE.
10252         (__strptime_internal): Likewise.
10253         * time/tst-strptime-whitespace.c: New test case.
10255 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
10257         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
10258         member.
10259         (_nss_files_init): Set it here.
10261 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
10263         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
10264         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
10265         unsigned.
10267 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
10269         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
10271 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
10273         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
10274         size just once.
10276 2013-04-21  David S. Miller  <davem@davemloft.net>
10278         * po/ru.po: Update Russion translation from translation project.
10280 2013-04-17  Adam Conrad  <adconrad@0c3.net>
10282         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
10283         and setfsgid.
10285 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
10287         * configure.in: Remove i386 configure warning. Remove i386 case.
10288         * configure: Regenerate.
10289         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
10290         Add example to error message.
10291         * sysdeps/i386/configure: Regenerate.
10293 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
10295         * benchtests/Makefile (bench): Add cos, tan, slowcos and
10296         slowtan.
10297         * benchtests/cos-inputs: New file.
10298         * benchtests/slowcos-inputs: New file.
10299         * benchtests/slowcos.c: New file.
10300         * benchtests/slowtan-inputs: New file.
10301         * benchtests/slowtan.c: New file.
10302         * benchtests/tan-inputs: New file.
10304 2013-04-16  Roland McGrath  <roland@hack.frob.com>
10306         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
10307         considered kosher.
10309 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10311         * benchtests/Makefile: Include cppflags-iterator.mk to add
10312         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
10314         * Makefile.in (bench-clean): New target.
10315         * benchtests/Makefile (bench-clean): Likewise.
10317 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
10319         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
10321 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
10323         * stdio-common/tstdiomisc.c: Fix coding-style violation.
10325 2013-04-15  Andreas Schwab  <schwab@suse.de>
10327         * nscd/grpcache.c (cache_addgr): Properly check for short write.
10328         * nscd/initgrcache.c (addinitgroupsX): Likewise.
10329         * nscd/pwdcache.c (cache_addpw): Likewise.
10330         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
10331         more than recsize.
10333 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
10335         * benchtests/Makefile (bench): Write all output to
10336         bench-out.tmp together.
10338 2013-04-15  Andreas Schwab  <schwab@suse.de>
10340         * nscd/nscd.c (main): Don't fork again after closing files.
10342 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
10344         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
10346         * benchtests/Rules (bench-deps): Collect dependencies into a
10347         single variable.  Add Makefile to dependencies.
10348         ($(objpfx)bench-%.c): Depend on bench-deps.
10350 2013-04-12  Roland McGrath  <roland@hack.frob.com>
10351             Xavier Roche  <roche+kml2@exalead.com>
10353         [BZ #15361]
10354         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
10355         just that it's a file descriptor.
10356         * manual/llio.texi (Synchronizing AIO Operations): Update description
10357         for EBADF error from aio_fsync.
10359 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
10361         * Rules (bench): Move target definition...
10362         * benchtests/Makefile: ... here.
10364 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
10366         * math/libm-test.inc (cos_test): Fix PI/2 test.
10367         (sincos_test): Likewise.
10368         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
10369         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
10371 2013-04-11  Andreas Schwab  <schwab@suse.de>
10373         [BZ #13988]
10374         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
10375         accept exponent character only when digits were seen.
10376         * stdio-common/Makefile (tests): Add bug26.
10377         * stdio-common/bug26.c: New file.
10379         [BZ #14293]
10380         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
10381         non-freeable.
10383 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
10385         * Makeconfig (rtld-prefix): Define built linker prefix.
10386         * Rules (run-bench): Use it.
10387         * math/Makefile (run-regen-ulps): Likewise.
10389         * Rules (bench): Remove eval.
10391 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
10392             Roland McGrath  <roland@hack.frob.com>
10393             Ondrej Bilka  <neleai@seznam.cz>
10395         [BZ #15346]
10396         * time/getdate.c: Include ctype.h and alloca.h.
10397         (__getdate_r): Trim leading and trailing spaces of input.
10398         * time/tst-getdate.c (tests): Add tests with leading and
10399         trailing spaces.
10401 2013-04-08  Roland McGrath  <roland@hack.frob.com>
10403         [BZ #14280]
10404         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
10405         when computing value.
10407 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
10409         * math/README.libm-test (How can I generate "libm-test-ulps"?):
10410         Use testrun.sh to run libm tests.
10412         [BZ #15309]
10413         * elf/dl-open.c (dl_open_worker): memset all of seen array.
10415 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
10417         [BZ #15264]
10418         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
10420 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
10422         * Makefile.in (regen-ulps): New target.
10423         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
10424         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
10425         [ifneq (no,$(PERL)] (regen-ulps): New target.
10426         [ifeq (no,$(PERL)] (regen-ulps): New target.
10427         * math/libm-test.inc (ulps_file_name): Define.
10428         (output_dir): New variable.
10429         (options): Add "output-dir" option.
10430         (parse_opt): Handle 'o' case.
10431         (main): If output_dir is non-NULL use it as a prefix
10432         otherwise use "".
10433         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
10435 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
10437         [BZ #10060, #10062]
10438         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
10439         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
10440         fail configure if __sync_val_compare_and_swap is not inlined.
10441         * sysdeps/i386/configure: Regenerate.
10442         * configure.in: Build for i686 when configured for i386.
10443         * configure: Regenerate.
10444         * README: Remove i386 reference.
10446 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
10448         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
10449         * sysdeps/s390/s390-64/sysdep.h: Likewise.
10451 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
10453         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
10454         (lmsnanval): New variables.
10455         (F): Add conversion tests.
10456         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
10457         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
10459         * stdio-common/tstdiomisc.c (F): Properly collect individual
10460         tests' results.
10462         [BZ #14686, #15336]
10463         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
10464         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
10465         Instead, use input NaN values or generate a qNaN by arithmetic
10466         operation.  Also fix bugs to comply with the standard.
10467         * math/libm-test.inc (remainder_test): Add more tests.
10469         [BZ #15335, #15342]
10470         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
10471         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
10472         input NaN values or generate a qNaN by arithmetic operation.
10474         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
10475         unreachable code.
10477         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
10478         definitions.
10480 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
10482         [BZ #14478]
10483         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
10484         underflowed result.
10485         * math/s_cexpf.c (__cexpf): Likewise.
10486         * math/s_cexpl.c (__cexpl): Likewise.
10487         * math/libm-test.inc (cexp_test): Add more tests.
10489 2013-04-03  Andreas Schwab  <schwab@suse.de>
10491         [BZ #15330]
10492         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
10493         order arrays from heap if bigger than alloca cutoff.
10495 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
10497         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
10498         (SNAN_TESTS_double): Refer to GCC PR56831.
10499         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
10500         GCC PR56828.
10502 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
10504         * Rules (bench): Move bench.out after the run is complete.
10506         * Rules (bench): Echo currently running benchmark.
10508         * benchtests/Makefile (bench): Add atan and slowatan.
10509         * benchtests/atan-inputs: New file.
10510         * benchtests/slowatan-inputs: New file.
10511         * benchtests/slowatan.c: New file.
10513         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
10514         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
10515         its value.
10517         [BZ #15305]
10518         * sysdeps/unix/sysv/linux/kernel-features.h
10519         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
10520         __ASSUME_XFS_RESTRICTED_CHOWN.
10521         * sysdeps/unix/sysv/linux/pathconf.c
10522         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
10523         Save and restore errno.
10525 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
10527         [BZ #15327]
10528         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
10529         arguments using __kernel_casinh.
10530         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
10531         arguments using __kernel_casinhf.
10532         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
10533         arguments using __kernel_casinhl.
10534         * math/libm-test.inc (cacosh_test): Add more tests.
10535         * sysdeps/i386/fpu/libm-test-ulps: Update.
10536         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10538 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
10540         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
10541         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
10543         * bench/Makefile (bench): Add sin and slowsin.
10544         * benchtests/sin-inputs: New file.
10545         * benchtests/slowsin-inputs: New file.
10546         * benchtests/slowsin.c: New file.
10548         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
10549         (bench): Add slowexp and slowpow.
10550         (exp-ITER): Increase iterations.
10551         (pow-ITER): Likewise.
10552         * benchtests/exp-inputs: Change input.
10553         * benchtests/pow-inputs: Likewise.
10554         * benchtests/slowexp-inputs: New file.
10555         * benchtests/slowexp.c: New file.
10556         * benchtests/slowpow-inputs: New file.
10557         * benchtests/slowpow.c: New file.
10559 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10561         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
10562         instructions.
10563         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
10564         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
10565         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
10566         * benchtests/Makefile: Add rint benchtest.
10567         * benchtests/rint-inputs: Input for rint benchtest.
10569 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
10571         * Versions.def (libm): Add GLIBC_2.18.
10572         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
10573         hidden libm prototypes.
10574         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
10575         * math/Makefile (libm-calls): Add s_issignaling.
10576         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
10577         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
10578         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
10579         declaration.
10580         * math/math.h [__USE_GNU] (issignaling): New macro.
10581         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
10582         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
10583         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
10584         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
10585         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
10586         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
10587         * manual/arith.texi (issignaling): New section.
10588         * manual/libm-err-tab.pl (@all_functions): Update comment.
10589         * math/gen-libm-test.pl (parse_args): Apply special handling for
10590         issignaling.
10591         * math/libm-test.inc (print_float, issignaling_test): New
10592         functions.
10593         (check_float_internal): Add issignaling checks.
10594         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
10595         default definition.
10596         * sysdeps/powerpc/math-tests.h: New file.
10597         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
10598         tests.
10599         * math/test-snan.c (TEST_FUNC): Likewise.
10601 2013-03-30  David S. Miller  <davem@davemloft.net>
10603         * po/de.po: Update from translation team.
10605 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
10607         [BZ #10357]
10608         * math/k_casinh.c (__kernel_casinh): Handle arguments with
10609         imaginary part less than 1.0 and real part less than 0.5
10610         specially.
10611         * math/k_casinhf.c (__kernel_casinhf): Likewise.
10612         * math/k_casinhl.c (__kernel_casinhl): Likewise.
10613         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
10614         (cacos_test): Add more tests.
10615         (casin_test): Likewise.
10616         (casinh_test): Likewise.
10617         * sysdeps/i386/fpu/libm-test-ulps: Update.
10618         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10620 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
10622         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
10623         ONE with its value.
10625         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
10626         (__pow_mp): Replace ONE and MONE with their values.
10627         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10628         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
10629         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10630         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
10631         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10632         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10634         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
10636         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
10637         (__pow_mp): Replace ZERO and MZERO with their values.
10638         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
10639         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10640         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10641         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
10642         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10643         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
10644         (__sqr): Likewise.
10646         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
10648         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
10650 2013-03-28  Roland McGrath  <roland@hack.frob.com>
10652         * include/stdlib.h [!SHARED] (__call_tls_dtors):
10653         Declare with __attribute__ ((weak)).
10654         * stdlib/exit.c (__libc_atexit) [!SHARED]:
10655         Call __call_tls_dtors only if it's not NULL.
10657 2013-03-28  Roland McGrath  <roland@hack.frob.com>
10659         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
10660         didn't do it already, then set _dl_phdr and _dl_phnum based on the
10661         magic __ehdr_start linker symbol if it's defined.
10662         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
10663         them up here if it was already done.
10665         * elf/dl-support.c (_dl_phdr): Make pointer to const.
10666         (_dl_aux_init): Use const in cast when setting it.
10667         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
10668         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
10669         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
10671         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
10672         Declare them here.
10673         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
10674         * csu/libc-tls.c: Nor here.
10675         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
10677         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
10678         (__libc_message): Never call vsyslog.
10680 2013-03-28  Alan Modra  <amodra@gmail.com>
10682         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
10683         Define as empty.
10684         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
10685         Likewise.
10687 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10689         [BZ #15214]
10690         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
10691         underflow.
10692         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10694 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
10696         [BZ #15304]
10697         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
10698         Don't add gid passed as argument.
10700         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
10702 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
10704         [BZ #15307]
10705         * math/k_casinh.c (__kernel_casinh): Handle arguments with
10706         imaginary part between 1.0 and 1.5 and real part less than 0.5
10707         specially.
10708         * math/k_casinhf.c (__kernel_casinhf): Likewise.
10709         * math/k_casinhl.c (__kernel_casinhl): Likewise.
10710         * math/libm-test.inc (cacos_test): Add more tests.
10711         (casin_test): Likewise.
10712         (casinh_test): Likewise.
10713         * sysdeps/i386/fpu/libm-test-ulps: Update.
10714         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10716 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
10718         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
10719         constants.
10720         (norm): Likewise.
10721         (denorm): Likewise.
10722         (__dbl_mp): Likewise.
10723         (add_magnitudes): Likewise.
10724         (sub_magnitudes): Likewise.
10725         (__add): Likewise.
10726         (__sub): Likewise.
10727         (__mul): Likewise.
10728         (__sqr): Likewise.
10729         (__inv): Likewise.
10730         (__dvd): Likewise.
10732         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
10733         commented code.
10734         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
10735         (__dubcos): Likewise.
10736         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
10737         (__ieee754_acos): Likewise.
10738         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
10739         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
10740         (__exp1): Likewise.
10741         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10742         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
10743         (log1): Likewise.
10744         (my_log2): Likewise.
10745         (checkint): Likewise.
10746         * sysdeps/ieee754/dbl-64/e_remainder.c
10747         (__ieee754_remainder): Likewise.
10748         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10749         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
10750         (bsloww): Likewise.
10751         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10753         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
10754         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
10755         MANTISSA_STORE_T to store computations on mantissa.  Use
10756         macros for rounding and division.
10757         (denorm): Likewise.
10758         (__dbl_mp): Likewise.
10759         (add_magnitudes): Likewise.
10760         (sub_magnitudes): Likewise.
10761         (__mul): Likewise.
10762         (__sqr): Likewise.
10763         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
10764         powers of two in terms of TWOPOW macro.
10765         (mp_no): Make type of mantissa as MANTISSA_T.
10766         [!RADIXI]: Define RADIXI.
10767         [!TWO52]: Define TWO52.
10768         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
10770 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10772         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
10773         llroundl symbol when building for PPC32.
10775 2013-03-24  Mark H Weaver  <mhw@netris.org>
10777         * manual/arith.texi (Normalization Functions): Fix prototypes for
10778         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
10780 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10782         [BZ #13889]
10783         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
10784         high value to check if expl overflow.
10785         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
10786         to check for underflow and overflow.
10787         * math/libm-test.inc: Add exp test.
10789 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
10791         [BZ #11120]
10792         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
10793         with NOT_IN_libc.
10795 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10797         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
10798         symbol.
10800 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
10802         * math/gen-libm-test.pl (parse_args, special_functions): Properly
10803         wrap blocks consisting of several statements.
10805         * sysdeps/generic/math-tests.h: New file.
10806         * sysdeps/i386/fpu/math-tests.h: Likewise.
10807         * math/test-snan.c: Include it.
10808         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
10810 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
10812         [BZ #15285]
10813         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
10814         (__ieee754_j0l): Do not improve calculations using cos of twice
10815         input for inputs above LDBL_MAX / 2.0L.
10816         (__ieee754_y0l): Likewise.
10817         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
10818         (__ieee754_j1l): Do not improve calculations using cos of twice
10819         input for inputs above LDBL_MAX / 2.0L.
10820         (__ieee754_y1l): Likewise.
10821         * math/libm-test.inc (j0_test): Add another test.
10822         (j1_test): Likewise.
10823         (y0_test): Likewise.
10824         (y1_test): Likewise.
10825         * sysdeps/i386/fpu/libm-test-ulps: Update.
10827 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
10829         * Rules ($(objpfx)bench-%.c): Include code from a C source
10830         file.
10832 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
10834         [BZ #15287]
10835         * math/k_casinh.c (__kernel_casinh): Handle arguments with
10836         imaginary part 1.0 and real part less than 0.5 specially.
10837         * math/k_casinhf.c (__kernel_casinhf): Likewise.
10838         * math/k_casinhl.c (__kernel_casinhl): Likewise.
10839         * math/libm-test.inc (cacos_test): Add more tests.
10840         (casin_test): Likewise.
10841         (casinh_test): Likewise.
10842         * sysdeps/i386/fpu/libm-test-ulps: Update.
10843         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10845 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
10847         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
10848         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
10850 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
10852         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
10853         * config.make.in (config-cflags-sse4): Remove variable.
10854         (config-cflags-avx): Likewise.
10855         (config-cflags-sse2avx): Likewise.
10856         (config-cflags-novzeroupper): Likewise.
10857         (config-asflags-i686): Likewise.
10858         (have-mfma4): Likewise.
10859         (have-as-vis3): Likewise.
10860         (MIG): Likewise.
10861         * configure.in (MIG): Do not AC_SUBST.
10862         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
10863         (libc_cv_cc_sse4): Do not AC_SUBST.
10864         (libc_cv_cc_avx): Likewise.
10865         (libc_cv_cc_sse2avx): Likewise.
10866         (libc_cv_cc_novzeroupper): Likewise.
10867         (libc_cv_cc_fma4): Likewise.
10868         (libc_cv_as_i686): Likewise.
10869         (libc_cv_sparc_as_vis3): Likewise.
10870         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
10871         LIBC_CONFIG_VAR.
10872         (config-asflags-i686): Likewise.
10873         (config-cflags-avx): Likewise.
10874         (config-cflags-sse2avx): Likewise.
10875         (have-mfma4): Likewise.
10876         (config-cflags-novzeroupper): Likewise.
10877         * sysdeps/mach/configure.in (MIG): Likewise.
10878         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
10879         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
10880         LIBC_CONFIG_VAR.
10881         (config-cflags-avx): Likewise.
10882         (config-cflags-sse2avx): Likewise.
10883         (have-mfma4): Likewise.
10884         (config-cflags-novzeroupper): Likewise.
10885         * configure: Regenerated.
10886         * sysdeps/i386/configure: Likewise.
10887         * sysdeps/mach/configure: Likewise.
10888         * sysdeps/sparc/configure: Likewise.
10889         * sysdeps/x86_64/configure: Likewise.
10891 2013-03-20  Roland McGrath  <roland@hack.frob.com>
10893         [BZ #14812]
10894         * locale/programs/localedef.c (options): Put N_ translation marker
10895         on argument names, not just descriptions.
10897 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
10899         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
10901 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
10903         [BZ #14176]
10904         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
10906 2013-03-19  Roland McGrath  <roland@hack.frob.com>
10908         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
10909         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
10910         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
10911         [!BEFORE_ABORT] (before_abort): New function.
10912         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
10913         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
10914         (writev_for_fatal): New function.
10915         (WRITEV_FOR_FATAL): New macro; call that.
10916         (backtrace_and_maps): New function.
10917         (BEFORE_ABORT): New macro; call that.
10918         (struct str_list): Type removed.
10919         (__libc_message, __libc_fatal): Functions removed.
10920         Include <sysdeps/posix/libc_fatal.c> instead.
10922 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
10924         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
10925         constants.
10926         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
10927         double constants.
10929 2013-03-19  Andreas Schwab  <schwab@suse.de>
10931         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
10932         * sysdeps/gnu/configure: Regenerate.
10934         * configure.in: Substitute libc_cv_rtlddir.
10935         * configure: Regenerate.
10936         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
10937         * Makeconfig (rtlddir, inst_rtlddir): New variables.
10938         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
10939         * elf/Makefile (install-others, CFLAGS-interp.c)
10940         (ldso_install, common-ldd-rewrite): Likewise.
10941         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
10942         $(inst_slibdir)/$(rtld-installed-name).
10943         * scripts/rellns-sh: Add -p option.
10944         * Makerules (make-shlib-link): Use rellns-sh to get relative name
10945         for source.
10947 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
10949         * manual/nptl.texi: Renamed to ...
10950         * manual/threads.texi: ... this.
10951         * manual/Makefile (chapters): Update.
10953 2013-03-18  Roland McGrath  <roland@hack.frob.com>
10955         [BZ #14812]
10956         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
10957         on argument names, not just descriptions.
10958         * malloc/memusagestat.c (options): Likewise.
10959         * nss/getent.c (options): Likewise.
10961 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
10963         [BZ #14812]
10964         * iconv/iconv_prog.c (options): Put N_ translation marker
10965         on argument names, not just descriptions.
10966         * iconv/iconvconfig.c (options): Likewise.
10968 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
10970         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
10971         implementation which is faster on all x86_64 architectures.
10972         Tested on AMD, Intel Nehalem, SNB, IVB.
10973         * sysdeps/x86_64/strnlen.S: Likewise.
10975         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10976         Remove all multiarch strlen and strnlen versions.
10977         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
10978         Remove strlen and strnlen related parts.
10980         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
10981         Inline strlen part.
10982         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
10984         * sysdeps/x86_64/multiarch/strlen.S: Remove.
10985         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
10986         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
10987         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
10988         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
10989         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
10991 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
10993         * manual/memory.texi (Malloc Tunable Parameters):
10994         Sort parameters alphabetically. Add comments for missing entries.
10996 2013-03-17  David S. Miller  <davem@davemloft.net>
10998         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11000 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
11002         [BZ #15283]
11003         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
11004         for arguments at most half maximum finite value.
11005         * math/libm-test.inc (j0_test): Add more tests.
11006         (j1_test): Likewise.
11007         (y0_test): Likewise.
11008         (y1_test): Likewise.
11009         * sysdeps/i386/fpu/libm-test-ulps: Update.
11010         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11012         [BZ #14155]
11013         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
11014         1 / x and functions P and Q for arguments above 0x1p256L.
11015         (__ieee754_y0l): Likewise.
11016         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
11017         (__ieee754_y1l): Likewise.
11018         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
11019         (j1_test): Likewise.
11020         (y0_test): Likewise.
11021         (y1_test): Likewise.
11023 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
11025         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
11026         variable.
11028 2013-03-15  Roland McGrath  <roland@hack.frob.com>
11030         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
11031         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
11032         zero since it's initialized to EXEC_PAGESIZE.
11034         * sysdeps/unix/sysv/linux/ldsodefs.h
11035         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
11036         * sysdeps/generic/ldsodefs.h: ... here.
11038 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
11040         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
11042         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
11043         math/test-snan.c.
11044         * math/test-snan.c: Renamed from
11045         sysdeps/powerpc/fpu/test-powerpc-snan.c.
11046         * math/Makefile (tests): Add test-snan.
11047         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
11048         test-powerpc-snan.
11050         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
11051         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
11052         functions.
11053         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
11054         __builtin_nan family of functions.
11055         * math/libm-test.inc (initialize): Initialize qnan_value with
11056         __builtin_nan family of functions.
11057         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
11058         Remove variables.
11059         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
11060         Remove functions.
11061         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
11062         storage class.  Initialize qNaN_var and sNaN_var with
11063         __builtin_nan and __builtin_nans families of functions,
11064         respectively.
11066         * math/libm-test.inc (acosh_test): Also test with qNaN input.
11067         (sqrt_test): Remove duplicate test with qNaN input.
11068         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
11069         (round_test, signbit_test, significand_test): Note missing +/-Inf
11070         as well as qNaN tests.
11072         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
11073         qNaN_var.  Fix a few strings, too.
11074         * math/libm-test.inc (nan_value): Rename to qnan_value.
11075         * math/gen-libm-test.pl (%beautify): Adjust to that.
11076         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
11077         * math/test-misc.c (main): Likewise.
11078         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
11079         to __qnan_bytes, and __qnan_union, respectively.
11080         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
11081         Likewise.
11082         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
11083         and lqnanval, respectively.
11084         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
11085         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
11086         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
11087         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
11089         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
11090         * math/test-misc.c (main) [__x86_64__]: Enable test for long
11091         doubles.
11093         * math/test-misc.c (main): Fix copy'n'pastos.
11094         * misc/tst-efgcvt.c (special): Likewise.
11096         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
11097         Remove declarations.
11099 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11101         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
11102         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
11103         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
11104         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
11106 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11108         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
11109         macro to return vdso values correctly in IFUNC implementations.
11110         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11111         Optimization by using IFUNC.
11113 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11114             Richard Henderson  <rth@redhat.com>
11115             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11117         * Makefile.in (bench): New target.
11118         * NEWS: Mention the benchmark framework.
11119         * Rules (bench): Likewise.
11120         (binaries-bench): Generate binaries for functions to
11121         benchmark.
11122         * benchtests/Makefile: New makefile for benchmark tests.
11123         * benchtests/bench-skeleton.c: New skeleton file for benchmark
11124         programs.
11125         * benchtests/exp-inputs: New input file for EXP function.
11126         * benchtests/pow-inputs: New input file for POW function.
11127         * scripts/bench.pl: New script to generate source files for
11128         benchmark programs.
11130 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11132         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
11133         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
11134         computations on mantissa.  Use macros for rounding and
11135         division.
11136         (denorm): Likewise.
11137         (__dbl_mp): Likewise.
11138         (add_magnitudes): Likewise.
11139         (sub_magnitudes): Likewise.
11140         (__mul): Likewise.
11141         (__sqr): Likewise.
11142         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
11143         powers of two in terms of TWOPOW macro.
11144         (mp_no): Make type of mantissa as MANTISSA_T.
11145         [!RADIXI]: Define RADIXI.
11146         [!TWO52]: Define TWO52.
11147         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
11149         * manual/nptl.texi (cindex): Modify threads to pthreads.
11151 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
11153         * sysdeps/x86_64/preconfigure: Regenerated.
11155 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
11157         [BZ #14155]
11158         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
11159         0x1p28 and above.
11160         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
11161         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
11162         0x1p28 and above.
11163         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
11164         * math/libm-test.inc (j0_test): Do not allow one spurious
11165         underflow exception.
11166         (y1_test): Likewise.
11168 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
11170         * manual/Makefile (chapters): Add nptl.
11171         * manual/debug.texi (Debugging Support): Add link to Threads
11172         chapter.
11173         * manual/nptl.texi: New file.
11175         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
11177 2013-03-14  Petr Baudis  <pasky@ucw.cz>
11179         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
11180         for non-NULL pointer before the memory validity test. Pointed
11181         out by Holger Brunck <holger.brunck@keymile.com>.
11183 2013-03-13  Andreas Schwab  <schwab@suse.de>
11185         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
11186         instead of .os.
11188 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
11190         * timezone/zic.c: Update from tzcode 2013b.
11192 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
11194         * manual/install.texi (Configuring and compiling):
11195         Mention i686 and i586.
11196         * INSTALL: Regenerate.
11198 2013-03-12  Roland McGrath  <roland@hack.frob.com>
11200         * sysdeps/init_array/elf-init.c: New file.
11201         * csu/elf-init.c
11202         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
11203         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
11205         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
11206         __gmon_start__ as global, but as static with a .preinit_array pointer.
11207         * sysdeps/init_array/gmon-start.c: New file.  Use that.
11208         * sysdeps/init_array/crti.S: New file, empty except for comments.
11209         * sysdeps/init_array/crtn.S: Likewise.
11211 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
11213         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
11214         definining bcopy.
11215         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11216         Remove Prefer_SSE_for_memop.
11217         * sysdeps/x86_64/multiarch/init-arch.h: Remove
11218         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
11219         HAS_PREFER_SSE_FOR_MEMOP.
11220         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
11221         memset-x86-64.
11222         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11223         Remove bzero, memset ifunc support.
11224         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
11225         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
11226         * sysdeps/x86_64/multiarch/memset.S: Likewise.
11227         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11229 2013-03-11  Andreas Schwab  <schwab@suse.de>
11231         [BZ #15234]
11232         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
11233         by SHLIB_COMPAT.
11234         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
11235         (GLIBC_2.16): Remove pthread_atfork.
11237 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
11239         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
11240         (ptestcases.h): Likewise.
11242 2013-03-08  Roland McGrath  <roland@hack.frob.com>
11244         * Makeconfig ($(common-objpfx)config.status): Depend on
11245         sysdeps/*/preconfigure{,.in} too.
11247 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
11249         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
11250         (__free_hook): Use void * instead of __malloc_ptr_t.
11251         (__malloc_hook): Likewise.
11252         (__realloc_hook): Likewise.
11253         (__memalign_hook): Likewise.
11254         (__after_morecore_hook): Likewise.
11255         * malloc/arena.c (save_malloc_hook): Likewise.
11256         (save_free_hook): Likewise.
11257         * malloc/hooks.c (malloc_hook_ini): Likewise.
11258         (realloc_hook_ini): Likewise.
11259         (memalign_hook_ini): Likewise.
11260         * malloc/malloc.c (malloc_hook_ini): Likewise.
11261         (realloc_hook_ini): Likewise.
11262         (memalign_hook_ini): Likewise.
11263         (__free_hook): Likewise.
11264         (__malloc_hook): Likewise.
11265         (__realloc_hook): Likewise.
11266         (__memalign_hook): Likewise.
11267         (__libc_malloc): Likewise.
11268         (__libc_free): Likewise.
11269         (__libc_realloc): Likewise.
11270         (__libc_memalign): Likewise.
11271         (__libc_valloc): Likewise.
11272         (__libc_pvalloc): Likewise.
11273         (__libc_calloc): Likewise.
11274         (__posix_memalign): Likewise.
11275         * malloc/morecore.c (__sbrk): Likewise.
11276         (__default_morecore): Likewise.
11278         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
11280         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
11281         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
11282         __malloc_ptrdiff_t.
11284         * malloc/malloc.h (__malloc_size_t): Remove macro.
11285         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
11286         __malloc_size_t.
11287         (old_memalign_hook): Likewise.
11288         (old_realloc_hook): Likewise.
11289         (struct hdr): Likewise.
11290         (flood): Likewise.
11291         (mallochook): Likewise.
11292         (memalignhook): Likewise.
11293         (reallochook): Likewise.
11294         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
11295         (tr_old_realloc_hook): Likewise.
11296         (tr_old_memalign_hook): Likewise.
11297         (tr_mallochook): Likewise.
11298         (tr_reallochook): Likewise.
11299         (tr_memalignhook): Likewise.
11301 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11303         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
11304         default_ldbl_pack and using as default implementation.
11305         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
11306         implementation.
11307         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
11308         redundant definition.
11309         (ldbl_insert_mantissa): Likewise.
11310         (ldbl_canonicalize): Likewise.
11311         (ldbl_nearbyint): Likewise.
11312         (ldbl_pack): Rename to ldbl_pack_ppc.
11313         (ldbl_unpack): Rename to ldbl_unpack_ppc.
11314         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
11315         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
11317 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
11319         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
11320         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
11321         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
11322         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
11323         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
11324         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
11325         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
11326         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
11328 2013-03-07  Andreas Jaeger  <aj@suse.de>
11330         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11331         bits/mman-linux.h.
11333 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
11335         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
11336         Include mpa.h and declare __MPEXP.
11337         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
11338         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11339         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11340         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
11341         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11342         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11343         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
11345         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
11346         (__slowpow): Use long double EXPL and LOGL functions to
11347         compute POW.
11348         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11349         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11350         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
11351         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11352         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11353         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
11355         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
11356         intermediate variable to calculate exponent.
11357         (__sqr): Likewise.
11358         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
11359         Likewise.
11360         (__sqr): Likewise.
11362         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
11363         [!NO__SQR]: Define __sqr.
11364         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
11365         and NO__SQR.  Remove all code except __mul and __sqr.  Include
11366         sysdeps/ieee754/dbl-64/mpa.c.
11367         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11369         [BZ #12723]
11370         * posix/Makefile (tests): Add tst-pathconf.
11371         * posix/tst-pathconf.c: New test case.
11372         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
11373         _PC_PIPE_BUF.
11374         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
11376 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
11378         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
11380 2013-03-06  Andreas Jaeger  <aj@suse.de>
11382         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
11383         definition via __MAP_ANONYMOUS.
11385         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
11386         it's not part of Linux headers.
11388         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
11389         (MAP_HUGE_MASK): Define.
11391         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11392         Define.
11393         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11394         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11395         Define.
11396         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11397         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11398         Define.
11399         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11400         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
11401         Define.
11402         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11404         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
11405         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
11406         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
11407         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
11408         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
11409         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
11411         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
11412         Handle f2fs.
11414         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11415         Handle f2fs and efivarfs.
11417         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
11418         f2fs.
11420         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
11421         (EFIVARFS_MAGIC): Add.
11422         (F2FS_LINK_MAX): Add.
11424 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
11426         * stdio-common/vfprintf.c: Replace __builtin_expect with
11427         __glibc_unlikely.
11429 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
11431         [BZ #13550]
11432         * sysdeps/generic/bp-sym.h: Remove file.
11433         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
11434         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
11435         <bp-sym.h> and <bp-asm.h>.
11436         (__longjmp): Don't use BP_SYM.
11437         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
11438         and <bp-asm.h>.
11439         (memcpy): Don't use BP_SYM.
11440         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
11441         <bp-sym.h> and <bp-asm.h>.
11442         (memcpy): Don't use BP_SYM.
11443         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
11444         <bp-asm.h>.
11445         (memcpy): Don't use BP_SYM.
11446         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
11447         <bp-asm.h>.
11448         (memset): Don't use BP_SYM.
11449         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11450         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11451         (__bzero): Don't use BP_SYM.
11452         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11453         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11454         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
11455         <bp-sym.h> and <bp-asm.h>.
11456         (memcmp): Don't use BP_SYM.  Remove comment about bounded
11457         pointers.
11458         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
11459         <bp-sym.h> and <bp-asm.h>.
11460         (memcpy): Don't use BP_SYM.
11461         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
11462         <bp-sym.h> and <bp-asm.h>.
11463         (memset): Don't use BP_SYM.
11464         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11465         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11466         (__bzero): Don't use BP_SYM.
11467         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11468         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11469         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
11470         <bp-sym.h> and <bp-asm.h>.
11471         (strncmp): Don't use BP_SYM.  Remove comment about bounded
11472         pointers.
11473         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
11474         <bp-sym.h> and <bp-asm.h>.
11475         (memcpy): Don't use BP_SYM.
11476         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
11477         <bp-sym.h> and <bp-asm.h>.
11478         (memset): Don't use BP_SYM.
11479         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11480         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11481         (__bzero): Don't use BP_SYM.
11482         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11483         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11484         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
11485         <bp-sym.h> and <bp-asm.h>.
11486         (__memchr): Don't use BP_SYM.
11487         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
11488         <bp-sym.h> and <bp-asm.h>.
11489         (memcmp): Don't use BP_SYM.  Remove comment about bounded
11490         pointers.
11491         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
11492         <bp-sym.h> and <bp-asm.h>.
11493         (memcpy): Don't use BP_SYM.
11494         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
11495         <bp-sym.h> and <bp-asm.h>.
11496         (__mempcpy): Don't use BP_SYM.
11497         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
11498         <bp-sym.h> and <bp-asm.h>.
11499         (__memrchr): Don't use BP_SYM.
11500         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
11501         <bp-sym.h> and <bp-asm.h>.
11502         (memset): Don't use BP_SYM.
11503         (__bzero): Likewise.
11504         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
11505         <bp-sym.h> and <bp-asm.h>.
11506         (__rawmemchr): Don't use BP_SYM.
11507         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
11508         <bp-sym.h> and <bp-asm.h>.
11509         (__STRCMP): Don't use BP_SYM.
11510         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
11511         <bp-sym.h> and <bp-asm.h>.
11512         (strchr): Don't use BP_SYM.
11513         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
11514         <bp-sym.h> and <bp-asm.h>.
11515         (__strchrnul): Don't use BP_SYM.
11516         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
11517         <bp-sym.h> and <bp-asm.h>.
11518         (strlen): Don't use BP_SYM.
11519         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
11520         <bp-sym.h> and <bp-asm.h>.
11521         (strncmp): Don't use BP_SYM.  Remove comment about bounded
11522         pointers.
11523         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
11524         <bp-sym.h> and <bp-asm.h>.
11525         (__strnlen): Don't use BP_SYM.
11526         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
11527         <bp-sym.h> and <bp-asm.h>.
11528         (__GI__setjmp): Don't use BP_SYM.
11529         (_setjmp): Likewise.
11530         (__sigsetjmp): Likewise.
11531         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
11532         (L(start_addresses)): Don't use BP_SYM.
11533         (_start): Likewise.
11534         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
11535         <bp-asm.h>.
11536         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
11537         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
11538         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11539         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11540         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
11541         <bp-asm.h>.
11542         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
11543         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
11544         about bounded pointers.
11545         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11546         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11547         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
11548         <bp-asm.h>.
11549         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
11550         about bounded pointers.  Remove GKM FIXME comments.
11551         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11552         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
11553         <bp-asm.h>.
11554         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
11555         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
11556         Remove GKM FIXME comments.
11557         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11558         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11559         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
11560         <bp-asm.h>.
11561         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
11562         about bounded pointers.  Remove GKM FIXME comment.
11563         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
11564         and <bp-asm.h>.
11565         (strncmp): Don't use BP_SYM.  Remove comment about bounded
11566         pointers.
11567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
11568         <bp-sym.h> and <bp-asm.h>.
11569         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
11570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
11571         <bp-sym.h> and <bp-asm.h>.
11572         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
11573         comment.
11575 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
11577         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
11578         call free(NULL).
11580 2013-03-05  David S. Miller  <davem@davemloft.net>
11582         * po/es.po: Update from translation team.
11584 2013-03-05  Andreas Jaeger  <aj@suse.de>
11586         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
11587         <bits/mman-linux.h>.
11588         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11589         is fine.
11590         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
11591         <bits/mman-linux.h> to end of file.
11592         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11593         is fine.
11594         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
11595         <bits/mman-linux.h> to end of file.
11596         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11597         is fine.
11598         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
11599         <bits/mman-linux.h> to end of file.
11601         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
11602         (MCL_CURRENT, MCL_FUTURE): Define here.
11604 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11606         [BZ #15232]
11607         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
11608         attribute_hidden.
11609         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
11611 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11613         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
11614         fourth parameter needed for rt_sigprocmask syscall.
11615         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
11616         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
11617         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
11618         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
11619         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
11620         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
11622 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
11624         [BZ #13550]
11625         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
11626         comment about bounded pointers.
11627         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
11628         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
11630 2013-03-04  Andreas Jaeger  <aj@suse.de>
11632         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
11633         common definitions.
11635         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
11636         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
11637         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
11638         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11639         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
11640         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11642 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11644         [BZ #15055]
11645         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
11646         __ieee754_sqrl instead of __sqrl.
11648 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
11650         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
11651         * sysdeps/powerpc/fpu_control.h: ... here.
11652         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
11653         * sysdeps/powerpc/bits/fenvinline.h: ... here.
11654         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
11655         * sysdeps/powerpc/bits/mathinline.h: ... here.
11657 2013-03-01  Roland McGrath  <roland@hack.frob.com>
11659         * elf/dl-hwcaps.c (_dl_important_hwcaps):
11660         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
11661         to just [NEED_DL_SYSINFO_DSO].
11662         * elf/dl-support.c: Likewise.
11663         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
11664         * elf/rtld.c (dl_main): Likewise.
11665         * elf/setup-vdso.h (setup_vdso): Likewise.
11666         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
11667         * sysdeps/unix/sysv/linux/dl-sysdep.c
11668         (_dl_discover_osversion): Likewise.
11670 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
11672         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
11673         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
11675 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
11677         * NEWS: Mention libm performance improvements and non-x86 PI
11678         futex support.
11680         * csu/libc-start.c (__pthread_initialize_minimal): Change
11681         function arguments.
11682         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
11684 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
11686         [BZ #13550]
11687         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
11688         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
11689         <bp-sym.h> and <bp-asm.h>.
11690         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11691         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
11692         and <bp-asm.h>.
11693         (memcpy): Don't use BP_SYM.
11694         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
11695         <bp-asm.h>.
11696         (__mpn_add_n): Don't use BP_SYM.
11697         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
11698         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
11699         and <bp-asm.h>.
11700         (__mpn_addmul_1): Don't use BP_SYM.
11701         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11702         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
11703         <bp-sym.h>.
11704         (_setjmp): Don't use BP_SYM.
11705         (__novmx_setjmp): Likewise.
11706         (__GI__setjmp): Likewise.
11707         (__vmx_setjmp): Likewise.
11708         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
11709         <bp-sym.h>.
11710         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
11711         (__bzero): Don't use BP_SYM.
11712         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11713         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11714         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
11715         <bp-sym.h> and <bp-asm.h>.
11716         (memcpy): Don't use BP_SYM.
11717         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
11718         <bp-sym.h> and <bp-asm.h>.
11719         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11720         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
11721         <bp-sym.h> and <bp-asm.h>.
11722         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11723         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
11724         <bp-asm.h>.
11725         (__mpn_lshift): Don't use BP_SYM.
11726         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11727         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
11728         <bp-asm.h>.
11729         (memset): Don't use BP_SYM.
11730         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11731         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11732         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
11733         <bp-asm.h>.
11734         (__mpn_mul_1): Don't use BP_SYM.
11735         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11736         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
11737         <bp-sym.h> and <bp-asm.h>.
11738         (memcmp): Don't use BP_SYM.
11739         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
11740         <bp-sym.h> and <bp-asm.h>.
11741         (memcpy): Don't use BP_SYM.
11742         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
11743         <bp-sym.h> and <bp-asm.h>.
11744         (memset): Don't use BP_SYM.
11745         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
11746         <bp-sym.h> and <bp-asm.h>.
11747         (strncmp): Don't use BP_SYM.
11748         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
11749         <bp-sym.h> and <bp-asm.h>.
11750         (memcpy): Don't use BP_SYM.
11751         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
11752         <bp-sym.h> and <bp-asm.h>.
11753         (memset): Don't use BP_SYM.
11754         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
11755         <bp-sym.h> and <bp-asm.h>.
11756         (__memchr): Don't use BP_SYM.
11757         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
11758         <bp-sym.h> and <bp-asm.h>.
11759         (memcmp): Don't use BP_SYM.
11760         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
11761         <bp-sym.h> and <bp-asm.h>.
11762         (memcpy): Don't use BP_SYM.
11763         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
11764         <bp-sym.h> and <bp-asm.h>.
11765         (__mempcpy): Don't use BP_SYM.
11766         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
11767         <bp-sym.h> and <bp-asm.h>.
11768         (__memrchr): Don't use BP_SYM.
11769         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
11770         <bp-sym.h> and <bp-asm.h>.
11771         (memset): Don't use BP_SYM.
11772         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
11773         <bp-sym.h> and <bp-asm.h>.
11774         (__rawmemchr): Don't use BP_SYM.
11775         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
11776         <bp-sym.h> and <bp-asm.h>.
11777         (__STRCMP): Don't use BP_SYM.
11778         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
11779         <bp-sym.h> and <bp-asm.h>.
11780         (strchr): Don't use BP_SYM.
11781         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
11782         <bp-sym.h> and <bp-asm.h>.
11783         (__strchrnul): Don't use BP_SYM.
11784         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
11785         <bp-sym.h> and <bp-asm.h>.
11786         (strlen): Don't use BP_SYM.
11787         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
11788         <bp-sym.h> and <bp-asm.h>.
11789         (strncmp): Don't use BP_SYM.
11790         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
11791         <bp-sym.h> and <bp-asm.h>.
11792         (__strnlen): Don't use BP_SYM.
11793         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
11794         <bp-asm.h>.
11795         (__mpn_rshift): Don't use BP_SYM.
11796         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11797         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
11798         <bp-sym.h> and <bp-asm.h>.
11799         (__sigsetjmp): Don't use BP_SYM.
11800         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
11801         (L(start_addresses)): Don't use BP_SYM.
11802         (_start): Likewise.
11803         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
11804         <bp-asm.h>.
11805         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
11806         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11807         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11808         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
11809         <bp-asm.h>.
11810         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
11811         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11812         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11813         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
11814         <bp-asm.h>.
11815         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
11816         comments.
11817         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11818         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
11819         <bp-asm.h>.
11820         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
11821         FIXME comments.
11822         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11823         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11824         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
11825         <bp-asm.h>.
11826         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
11827         comment.
11828         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
11829         and <bp-asm.h>.
11830         (strncmp): Don't use BP_SYM,
11831         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
11832         <bp-asm.h>.
11833         (__mpn_sub_n): Don't use BP_SYM.
11834         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11835         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
11836         and <bp-asm.h>.
11837         (__mpn_submul_1): Don't use BP_SYM.
11838         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
11840         <bp-sym.h> and <bp-asm.h>.
11841         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
11842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
11843         <bp-sym.h> and <bp-asm.h>.
11844         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
11845         comment.
11847 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
11849         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
11850         Use ZK to minimize writes to Z.
11851         (sub_magnitudes): Simplify code a bit.
11852         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
11853         Use ZK to minimize writes to Z.
11854         (sub_magnitudes): Simplify code a bit.
11856 2013-02-27  Roland McGrath  <roland@hack.frob.com>
11858         * csu/gmon-start.c: Add special exception to license text.
11860 2013-02-27  Richard Henderson  <rth@redhat.com>
11862         * scripts/config.guess: Update from config.git.
11863         * scripts/config.sub: Likewise.
11865 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
11867         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
11869         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
11871         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
11873         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
11875         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
11877 2013-02-26  Roland McGrath  <roland@hack.frob.com>
11879         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
11880         [$(build-shared = yes].
11882 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
11884         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
11885         (__mul): Reduce iterations for calculating mantissa.
11887         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
11888         MPTWO.
11889         (__mpranred): Likewise.
11891         [BZ #15160]
11892         * malloc/memusagestat.c (main): Draw graphs for heap and stack
11893         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
11895 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
11897         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
11898         Define __attribute__.
11900 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
11902         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
11903         unused.
11904         * posix/regex_internal.h (__attribute): Remove.
11905         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
11906         (re_string_context_at): Likewise.
11907         (bitset_not): Use __attribute__ and mark function as possibly
11908         unused.
11909         (bitset_merge): Likewise.
11910         (bitset_mask): Likewise.
11911         (re_string_char_size_at): Likewise.
11912         (re_string_wchar_at): Likewise.
11913         (re_string_elem_size_at): Likewise.
11915 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
11917         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
11918         code.
11919         (cc32): Likewise.
11921         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
11922         (__acr): Likewise.
11923         (__cpy): Likewise.
11924         (norm): Likewise.
11925         (denorm): Likewise.
11926         (__dbl_mp): Likewise.
11927         (add_magnitudes): Likewise.
11928         (sub_magnitudes): Likewise.
11929         (__mul): Likewise.
11930         (__inv): Likewise.
11932         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
11933         style.
11935         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
11936         style.
11938         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
11939         code.
11941         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
11942         up changes with default code.
11943         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
11944         Likewise.
11946 2013-02-24  Allan McRae  <allan@archlinux.org>
11948         * manual/socket.texi (The Internet Namespace): Order menu items
11949         to match that in the file.
11951         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
11952         node listing of the info page menu.
11954 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
11956         [BZ #13550]
11957         * sysdeps/i386/bp-asm.h: Remove file.
11958         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
11959         (PARMS): Do not use macros from bp-asm.h.
11960         (S1): Likewise.
11961         (S2): Likewise.
11962         (SIZE): Likewise.
11963         (__mpn_add_n): Do not use BP_SYM
11964         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
11965         "bp-asm.h".
11966         (PARMS): Do not use macros from bp-asm.h.
11967         (S1): Likewise.
11968         (SIZE): Likewise.
11969         (__mpn_addmul_1): Do not use BP_SYM
11970         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
11971         "bp-asm.h".
11972         (PARMS): Do not use macros from bp-asm.h.
11973         (SIGMSK): Likewise.
11974         (_setjmp): Likewise.  Do not use BP_SYM.
11975         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
11976         "bp-asm.h".
11977         (PARMS): Do not use macros from bp-asm.h.
11978         (SIGMSK): Likewise.
11979         (setjmp): Likewise.  Do not use BP_SYM.
11980         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
11981         "bp-asm.h".
11982         (PARMS): Do not use macros from bp-asm.h.
11983         (__frexp): Do not use BP_SYM.
11984         (frexp): Likewise.
11985         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
11986         "bp-asm.h".
11987         (PARMS): Do not use macros from bp-asm.h.
11988         (__frexpf): Do not use BP_SYM.
11989         (frexpf): Likewise.
11990         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
11991         "bp-asm.h".
11992         (PARMS): Do not use macros from bp-asm.h.
11993         (__frexpl): Do not use BP_SYM.
11994         (frexpl): Likewise.
11995         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
11996         "bp-asm.h".
11997         (PARMS): Do not use macros from bp-asm.h.
11998         (__remquo): Do not use BP_SYM.
11999         (remquo): Likewise.
12000         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
12001         "bp-asm.h".
12002         (PARMS): Do not use macros from bp-asm.h.
12003         (__remquof): Do not use BP_SYM.
12004         (remquof): Likewise.
12005         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
12006         "bp-asm.h".
12007         (PARMS): Do not use macros from bp-asm.h.
12008         (__remquol): Do not use BP_SYM.
12009         (remquol): Likewise.
12010         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
12011         "bp-asm.h".
12012         (PARMS): Do not use macros from bp-asm.h.
12013         (DEST): Likewise.
12014         (SRC): Likewise.
12015         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
12016         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
12017         "bp-asm.h".
12018         (PARMS): Do not use macros from bp-asm.h.
12019         (strlen): Do not use BP_SYM.
12020         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
12021         "bp-asm.h".
12022         (PARMS): Do not use macros from bp-asm.h.
12023         (S1): Likewise.
12024         (S2): Likewise.
12025         (SIZE): Likewise.
12026         (__mpn_add_n): Do not use BP_SYM.
12027         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
12028         "bp-asm.h".
12029         (PARMS): Do not use macros from bp-asm.h.
12030         (S1): Likewise.
12031         (SIZE): Likewise.
12032         (__mpn_addmul_1): Do not use BP_SYM.
12033         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
12034         weak_alias.
12035         (bzero): Likewise.
12036         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
12037         "bp-asm.h".
12038         (PARMS): Do not use macros from bp-asm.h.
12039         (S): Likewise.
12040         (SIZE): Likewise.
12041         (__mpn_lshift): Do not use BP_SYM.
12042         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
12043         "bp-asm.h".
12044         (PARMS): Do not use macros from bp-asm.h.
12045         (DEST): Likewise.
12046         (SRC): Likewise.
12047         (LEN): Likewise.
12048         (memcpy): Likewise.  Do not use BP_SYM.
12049         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
12050         libc_hidden_def and weak_alias.
12051         (mempcpy): Do not use BP_SYM in weak_alias.
12052         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
12053         "bp-asm.h".
12054         (PARMS): Do not use macros from bp-asm.h.
12055         (DEST): Likewise.
12056         (LEN): Likewise.
12057         [!BZERO_P] (CHR): Likewise.
12058         (memset): Likewise.  Do not use BP_SYM.
12059         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
12060         "bp-asm.h".
12061         (PARMS): Do not use macros from bp-asm.h.
12062         (S1): Likewise.
12063         (SIZE): Likewise.
12064         (__mpn_mul_1): Do not use BP_SYM.
12065         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
12066         "bp-asm.h".
12067         (PARMS): Do not use macros from bp-asm.h.
12068         (S): Likewise.
12069         (SIZE): Likewise.
12070         (__mpn_rshift): Do not use BP_SYM.
12071         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
12072         "bp-asm.h".
12073         (PARMS): Do not use macros from bp-asm.h.
12074         (STR): Likewise.
12075         (CHR): Likewise.
12076         (strchr): Likewise.  Do not use BP_SYM.
12077         (index): Do not use BP_SYM in weak_alias.
12078         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
12079         "bp-asm.h".
12080         (PARMS): Do not use macros from bp-asm.h.
12081         (DEST): Likewise.
12082         (SRC): Likewise.
12083         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
12084         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
12085         "bp-asm.h".
12086         (PARMS): Do not use macros from bp-asm.h.
12087         (strlen): Do not use BP_SYM.
12088         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
12089         "bp-asm.h".
12090         (PARMS): Do not use macros from bp-asm.h.
12091         (S1): Likewise.
12092         (S2): Likewise.
12093         (SIZE): Likewise.
12094         (__mpn_sub_n): Do not use BP_SYM.
12095         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
12096         "bp-asm.h".
12097         (PARMS): Do not use macros from bp-asm.h.
12098         (S1): Likewise.
12099         (SIZE): Likewise.
12100         (__mpn_submul_1): Do not use BP_SYM.
12101         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
12102         "bp-asm.h".
12103         (PARMS): Do not use macros from bp-asm.h.
12104         (S1): Likewise.
12105         (S2): Likewise.
12106         (SIZE): Likewise.
12107         (__mpn_add_n): Do not use BP_SYM.
12108         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
12109         weak_alias.
12110         (bzero): Likewise.
12111         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
12112         "bp-asm.h".
12113         (PARMS): Do not use macros from bp-asm.h.
12114         (BLK2): Likewise.
12115         (LEN): Likewise.
12116         (memcmp): Do not use BP_SYM.
12117         (bcmp): Do not use BP_SYM in weak_alias.
12118         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
12119         "bp-asm.h".
12120         (PARMS): Do not use macros from bp-asm.h.
12121         (DEST): Likewise.
12122         (SRC): Likewise.
12123         (LEN): Likewise.
12124         (memcpy): Likewise.  Do not use BP_SYM.
12125         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
12126         "bp-asm.h".
12127         (PARMS): Do not use macros from bp-asm.h.
12128         (DEST): Likewise.
12129         (SRC): Likewise.
12130         (LEN): Likewise.
12131         (memmove): Likewise.  Do not use BP_SYM.
12132         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
12133         "bp-asm.h".
12134         (PARMS): Do not use macros from bp-asm.h.
12135         (DEST): Likewise.
12136         (SRC): Likewise.
12137         (LEN): Likewise.
12138         (__mempcpy): Likewise.  Do not use BP_SYM.
12139         (mempcpy): Do not use BP_SYM in weak_alias.
12140         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
12141         "bp-asm.h".
12142         (PARMS): Do not use macros from bp-asm.h.
12143         (DEST): Likewise.
12144         (LEN): Likewise.
12145         [!BZERO_P] (CHR): Likewise.
12146         (memset): Likewise.  Do not use BP_SYM.
12147         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
12148         "bp-asm.h".
12149         (PARMS): Do not use macros from bp-asm.h.
12150         (STR2): Likewise.
12151         (strcmp): Do not use BP_SYM.
12152         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
12153         "bp-asm.h".
12154         (PARMS): Do not use macros from bp-asm.h.
12155         (STR): Likewise.
12156         (DELIM): Likewise.
12157         [USE_AS_STRTOK_R] (SAVE): Likewise.
12158         (FUNCTION): Likewise.  Do not use BP_SYM.
12159         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
12160         aliases.
12161         (strtok_r): Likewise.
12162         (__GI___strtok_r): Likewise.
12163         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12164         (PARMS): Do not use macros from bp-asm.h.
12165         (S): Likewise.
12166         (SIZE): Likewise.
12167         (__mpn_lshift): Do not use BP_SYM.
12168         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12169         (PARMS): Do not use macros from bp-asm.h.
12170         (STR): Likewise.
12171         (CHR): Likewise.
12172         (__memchr): Do not use BP_SYM.
12173         (memchr): Do not use BP_SYM in weak_alias.
12174         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12175         (PARMS): Do not use macros from bp-asm.h.
12176         (BLK2): Likewise.
12177         (LEN): Likewise.
12178         (memcmp): Do not use BP_SYM.
12179         (bcmp): Do not use BP_SYM in weak_alias.
12180         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
12181         (PARMS): Do not use macros from bp-asm.h.
12182         (S1): Likewise.
12183         (SIZE): Likewise.
12184         (__mpn_mul_1): Do not use BP_SYM.
12185         * sysdeps/i386/rawmemchr.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         (__rawmemchr): Do not use BP_SYM.
12191         (rawmemchr): Do not use BP_SYM in weak_alias.
12192         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12193         (PARMS): Do not use macros from bp-asm.h.
12194         (S): Likewise.
12195         (SIZE): Likewise.
12196         (__mpn_rshift): Do not use BP_SYM.
12197         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12198         (PARMS): Do not use macros from bp-asm.h.
12199         (SIGMSK): Likewise.
12200         (__sigsetjmp): Likewise.  Do not use BP_SYM.
12201         * sysdeps/i386/start.S: Do not include "bp-sym.h".
12202         (_start): Do not use BP_SYM.
12203         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
12204         (PARMS): Do not use macros from bp-asm.h.
12205         (DEST): Likewise.
12206         (SRC): Likewise.
12207         (__stpcpy): Likewise.  Do not use BP_SYM.
12208         (stpcpy): Do not use BP_SYM in weak_alias.
12209         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
12210         "bp-asm.h".
12211         (PARMS): Do not use macros from bp-asm.h.
12212         (DEST): Likewise.
12213         (SRC): Likewise.
12214         (LEN): Likewise.
12215         (__stpncpy): Likewise.  Do not use BP_SYM.
12216         (stpncpy): Do not use BP_SYM in weak_alias.
12217         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12218         (PARMS): Do not use macros from bp-asm.h.
12219         (STR): Likewise.
12220         (CHR): Likewise.
12221         (strchr): Likewise.  Do not use BP_SYM.
12222         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
12223         "bp-asm.h".
12224         (PARMS): Do not use macros from bp-asm.h.
12225         (STR): Likewise.
12226         (CHR): Likewise.
12227         (__strchrnul): Likewise.  Do not use BP_SYM.
12228         (strchrnul): Do not use BP_SYM in weak_alias.
12229         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
12230         "bp-asm.h".
12231         (PARMS): Do not use macros from bp-asm.h.
12232         (STOP): Likewise.
12233         (strcspn): Do not use BP_SYM.
12234         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
12235         "bp-asm.h".
12236         (PARMS): Do not use macros from bp-asm.h.
12237         (STR): Likewise.
12238         (STOP): Likewise.
12239         (strpbrk): Likewise.  Do not use BP_SYM.
12240         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
12241         "bp-asm.h".
12242         (PARMS): Do not use macros from bp-asm.h.
12243         (STR): Likewise.
12244         (CHR): Likewise.
12245         (strrchr): Likewise.  Do not use BP_SYM.
12246         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
12247         (PARMS): Do not use macros from bp-asm.h.
12248         (SKIP): Likewise.
12249         (strspn): Do not use BP_SYM.
12250         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
12251         (PARMS): Do not use macros from bp-asm.h.
12252         (STR): Likewise.
12253         (DELIM): Likewise.
12254         (SAVE): Likewise.
12255         (FUNCTION): Likewise.  Do not use BP_SYM.
12256         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
12257         aliases.
12258         (strtok_r): Likewise.
12259         (__GI___strtok_r): Likewise.
12260         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12261         (PARMS): Do not use macros from bp-asm.h.
12262         (S1): Likewise.
12263         (S2): Likewise.
12264         (SIZE): Likewise.
12265         (__mpn_sub_n): Do not use BP_SYM.
12266         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
12267         "bp-asm.h".
12268         (PARMS): Do not use macros from bp-asm.h.
12269         (S1): Likewise.
12270         (SIZE): Likewise.
12271         (__mpn_submul_1): Do not use BP_SYM.
12272         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
12273         <bp-sym.h>.
12274         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
12275         and <bp-asm.h>.
12276         (PARMS): Do not use macros from bp-asm.h.
12277         (FLAGS): Likewise.
12278         (PTID): Likewise.
12279         (TLS): Likewise.
12280         (CTID): Likewise.
12281         (__clone): Do not use BP_SYM.
12282         (clone): Do not use BP_SYM in weak_alias.
12283         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
12284         and <bp-asm.h>.
12285         (PARMS): Do not use macros from bp-asm.h.
12286         (LEN): Likewise.
12287         (__mmap64): Do not use BP_SYM.
12288         (mmap64): Do not use BP_SYM in weak_alias.
12289         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
12290         <bp-sym.h> and <bp-asm.h>.
12291         (PARMS): Do not use macros from bp-asm.h.
12292         (__posix_fadvise64_l64): Do not use BP_SYM.
12293         * sysdeps/unix/sysv/linux/i386/semtimedop.S
12294         (PARMS): Do not use macros from bp-asm.h.
12295         (NSOPS): Likewise.
12296         (semtimedop): Do not use BP_SYM.
12297         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
12298         and <bp-asm.h>.
12300 2013-02-21  Allan McRae  <allan@archlinux.org>
12302         * manual/message.texi (Charset conversion in gettext):
12303         Move @end statement to beginning of line.
12305 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12307         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
12308         static.
12309         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
12310         Likewise.
12312         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
12313         (denorm): Likewise.
12314         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
12315         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
12317 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12319         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
12320         tail-call to the resolved function if pltexit isn't needed.
12322 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12324         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
12325         or Y being zero as being unlikely.
12326         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
12327         Likewise.
12329 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
12331         * manual/nss.texi (System Databases and Name Service Switch):
12332         Remove frobnicate @pxref.
12334 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
12336         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12337         __attribute__ ((unused)) to __attribute__ ((__unused__)).
12339 2013-02-20  Petr Machata  <pmachata@redhat.com>
12341         * elf/elf.h (R_ARM_TARGET1): New macro.
12342         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
12343         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
12344         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
12345         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
12346         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
12347         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
12348         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
12349         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
12350         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
12351         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
12352         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
12353         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
12354         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
12355         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
12356         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
12357         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
12358         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
12359         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
12360         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
12361         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
12362         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
12363         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
12364         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
12365         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
12366         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
12367         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
12368         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
12369         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
12370         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
12371         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
12372         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
12373         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
12374         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
12375         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
12376         (R_ARM_THM_GOT_BREL12): Likewise.
12377         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
12378         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
12379         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
12380         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
12381         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
12382         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
12383         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
12384         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
12385         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
12387 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
12389         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12390         __attribute_used__ to __attribute__ ((unused)).
12392 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
12394         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
12395         powerpc mpa.c.
12396         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
12397         comment formatting.
12398         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
12400 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
12402         [BZ #13550]
12403         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
12404         Remove macro.
12405         (ENTER): Remove both macro definitions.
12406         (LEAVE): Likewise.
12407         (CHECK_BOUNDS_LOW): Likewise.
12408         (CHECK_BOUNDS_HIGH): Likewise.
12409         (CHECK_BOUNDS_BOTH): Likewise.
12410         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
12411         (RETURN_BOUNDED_POINTER): Likewise.
12412         (RETURN_NULL_BOUNDED_POINTER): Likewise.
12413         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
12414         (POP_ERRNO_LOCATION_RETURN): Likewise.
12415         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
12416         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12417         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
12418         macros.
12419         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12420         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
12421         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
12422         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
12423         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
12424         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
12425         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
12426         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
12427         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
12428         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
12429         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
12430         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
12431         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12432         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
12433         removed macros.
12434         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12435         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
12436         macros.
12437         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12438         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
12439         * sysdeps/i386/i586/memset.S (memset): Likewise.
12440         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
12441         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12442         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
12443         macros.
12444         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12445         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
12446         Change uses of L(2) to L(out).
12447         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
12448         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
12449         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
12450         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12451         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
12452         removed macros.
12453         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12454         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
12455         macros.
12456         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12457         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
12458         (RETURN): Do not use macro LEAVE.
12459         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
12460         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
12461         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
12462         * sysdeps/i386/i686/memset.S (memset): Likewise.
12463         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
12464         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
12465         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12466         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
12467         Likewise.
12468         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12469         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
12470         L(1_2) and L(1_3) into L(1).
12471         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
12472         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
12473         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12474         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
12475         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12476         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
12477         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
12478         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12479         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
12480         macros.
12481         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
12482         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12483         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
12484         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
12485         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
12486         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12487         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
12488         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
12489         * sysdeps/i386/strcspn.S (strcspn): Likewise.
12490         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
12491         * sysdeps/i386/strrchr.S (strrchr): Likewise.
12492         * sysdeps/i386/strspn.S (strspn): Likewise.
12493         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
12494         conditional code.
12495         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12496         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
12497         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
12498         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
12499         L(1_3) into L(1_1).
12500         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
12501         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12502         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
12503         macros.
12504         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12506 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
12508         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
12509         macro.
12511 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
12513         * math/atest-exp.c (exp_mpn): Remove ROUND.
12514         * math/atest-exp2.c (exp_mpn): Likewise.
12515         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
12517         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
12518         * stdlib/tst-tls-atexit-lib.c: Likewise.
12519         * stdlib/tst-tls-atexit.c: Likewise.
12521 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
12523         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
12524         and __attribute_alloc_size__.
12526 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
12528         * include/programs/xmalloc.h: Change __attribute_alloc_size to
12529         __attribute_alloc_size__.
12530         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
12531         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
12533 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
12535         * include/programs/xmalloc.h: New file.
12536         * catgets/gencat.c: Include it.
12537         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
12538         * elf/pldd.c: Likewise.
12539         * iconv/iconv_charmap.c: Likewise.
12540         * iconv/iconvconfig.c: Likewise.
12541         * iconv/strtab.c: Likewise.
12542         * locale/programs/locale.c: Likewise.
12543         * locale/programs/localedef.h: Likewise.
12544         * locale/programs/simple-hash.c: Likewise.
12545         * nscd/nscd.h: Likewise.
12546         * nss/makedb.c: Likewise.
12547         * sysdeps/generic/ldconfig.h: Likewise.
12549 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
12551         * Versions.def: Add GLIBC_2.18.
12552         * include/link.h (struct link_map): New member l_tls_dtor_count.
12553         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
12554         (__call_tls_dtors): Likewise.
12555         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
12556         __cxa_thread_atexit_impl.
12557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12558         Likewise.
12559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12560         Likewise.
12561         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12562         Likewise.
12563         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12564         Likewise.
12565         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
12566         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
12567         Likewise.
12568         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
12569         Likewise.
12570         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
12571         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
12572         Likewise.
12573         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
12574         (tests): Add test case tst-tls-atexit.
12575         (modules-names): Add shared library for tst-tls-atexit.
12576         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
12577         (GLIBC_PRIVATE): Add __call_tls_dtors.
12578         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
12579         for libstdc++.
12580         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
12581         * stdlib/tst-tls-atexit.c: New test case.
12582         * stdlib/tst-tls-atexit-lib.c: New test case.
12584         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
12586         * elf/Versions (ld): Add _dl_find_dso_for_object.
12587         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
12588         * elf/dl-open.c (_dl_find_dso_for_object): New function.
12589         (dl_open_worker): Use _dl_find_dso_for_object.
12590         * elf/dl-sym.c (do_sym): Likewise.
12591         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
12593 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12595         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
12596         Syntactic changes only.
12597         (_dl_runtime_profile): Do a tail-call to the resolved function.
12599 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
12601         [BZ #13550]
12602         * sysdeps/x86_64/bp-asm.h: Remove file.
12603         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
12604         <bp-sym.h> and <bp-asm.h>.
12605         (__clone): Do not use BP_SYM.
12606         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
12607         <bp-sym.h> and <bp-asm.h>.
12608         * sysdeps/unix/x86_64/sysdep.S: Likewise.
12609         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
12610         "bp-asm.h".
12611         (_setjmp): Do not use BP_SYM.
12612         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
12613         "bp-asm.h".
12614         (setjmp): Do not use BP_SYM.
12615         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
12616         libc_hidden_def.
12617         (mempcpy): Do not use BP_SYM in weak_alias.
12618         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
12619         "bp-asm.h".
12620         (strchr): Do not use BP_SYM.
12621         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
12622         "bp-asm.h".
12623         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
12624         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
12625         (_start): Do not use BP_SYM.
12626         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
12627         "bp-asm.h".
12628         (strcat): Do not use BP_SYM.
12629         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
12630         "bp-asm.h".
12631         (STRCMP): Do not use BP_SYM.
12632         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
12633         "bp-asm.h".
12634         (STRCPY): Do not use BP_SYM.
12635         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
12636         "bp-asm.h".
12637         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
12638         "bp-asm.h".
12639         (FUNCTION): Do not use BP_SYM.
12640         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
12641         weak_alias.
12642         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
12644 2013-02-17  Andreas Jaeger  <aj@suse.de>
12646         * time/Versions: Sort entries.
12647         * string/Versions: Likewise.
12648         * resolv/Versions: Likewise.
12649         * posix/Versions: Likewise.
12650         * iconv/Versions: Likewise.
12651         * elf/Versions: Likewise.
12652         * wcsmbs/Versions: Likewise.
12654 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
12656         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
12657         loop termination condition.
12659         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
12660         variable to calculate EZ.
12661         (__sqr): Likewise.
12663         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
12664         the lower precision input.
12666 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
12668         [BZ #13550]
12669         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
12670         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
12671         (run-via-rtld-prefix): Do not handle %-bp tests.
12672         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
12673         (all-object-suffixes): Remove .ob.
12674         (bppfx): Remove variable.
12675         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
12676         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
12677         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
12678         [$(build-bounded) = yes] (libtype.ob): Likewise.
12679         * Makerules (elide-routines.ob): Remove variable.
12680         (do-tests-clean): Do not handle *-bp.out.
12681         (common-mostlyclean): Do not handle *-bp and *-bp.out.
12682         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
12683         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
12684         (tests): Do not include $(tests-bp.out).
12685         (xtests): Do not include $(xtests-bp.out).
12686         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
12687         [$(build-bounded) = yes] ($(addprefix
12688         $(objpfx),$(binaries-bounded))): Remove rule.
12689         ($(objpfx)%-bp.out): Remove rule.
12690         * config.make.in (build-bounded): Remove variable.
12691         * crypt/Makefile [$(build-bounded) = yes]
12692         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
12693         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
12694         append to variable.
12695         [$(build-bounded) = yes] (install-lib): Likewise.
12696         [$(build-bounded) = yes] (generated): Likewise.
12697         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
12698         Remove rule.
12699         * intl/Makefile [$(build-bounded) = yes]
12700         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
12701         * math/Makefile [$(build-bounded) = yes]
12702         ($(tests:%=$(objpfx)%-bp): Likewise.
12703         * misc/Makefile [$(build-bounded) = yes]
12704         ($(objpfx)tst-tsearch-bp): Likewise.
12705         * nptl/Makeconfig (bounded-thread-library): Remove variable.
12706         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
12707         Remove dependency.
12708         * string/Makefile (o-objects.ob): Remove variable.
12709         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
12710         (CFLAGS-.ob): Remove variable.
12711         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
12712         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
12713         both definitions of variable.
12714         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
12715         (ASFLAGS-.ob): Remove variable.
12717 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
12719         [BZ #13550]
12720         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
12721         Remove __BOUNDED_POINTERS__ from condition.
12722         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
12723         * string/bits/string2.h [!__NO_STRING_INLINES &&
12724         !__BOUNDED_POINTERS__]: Likewise.
12725         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
12726         Likewise.
12727         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
12728         Remove conditional code.
12729         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
12730         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
12731         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
12732         condition.
12734         [BZ #13550]
12735         * csu/libc-start.c: Do not include <bp-sym.h>.
12736         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
12737         * elf/dl-open.c: Do not include <bp-sym.h>.
12738         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
12739         * math/fegetenv.c: Do not include <bp-sym.h>.
12740         (fegetenv): Do not use BP_SYM in versioned symbols.
12741         * nptl/sysdeps/pthread/bits/libc-lockP.h
12742         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
12743         <bp-sym.h>.
12744         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12745         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
12746         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12747         (__pthread_mutex_destroy): Likewise.
12748         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12749         (__pthread_mutex_lock): Likewise.
12750         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12751         (__pthread_mutex_trylock): Likewise.
12752         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12753         (__pthread_mutex_unlock): Likewise.
12754         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12755         (__pthread_mutexattr_init): Likewise.
12756         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12757         (__pthread_mutexattr_destroy): Likewise.
12758         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12759         (__pthread_mutexattr_settype): Likewise.
12760         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12761         (__pthread_rwlock_init): Likewise.
12762         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12763         (__pthread_rwlock_destroy): Likewise.
12764         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12765         (__pthread_rwlock_rdlock): Likewise.
12766         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12767         (__pthread_rwlock_tryrdlock): Likewise.
12768         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12769         (__pthread_rwlock_wrlock): Likewise.
12770         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12771         (__pthread_rwlock_trywrlock): Likewise.
12772         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12773         (__pthread_rwlock_unlock): Likewise.
12774         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12775         (__pthread_key_create): Likewise.
12776         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12777         (__pthread_setspecific): Likewise.
12778         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12779         (__pthread_getspecific): Likewise.
12780         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
12781         Likewise.
12782         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12783         (_pthread_cleanup_push_defer): Likewise.
12784         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12785         (_pthread_cleanup_pop_restore): Likewise.
12786         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12787         (pthread_setcancelstate): Likewise.
12788         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
12789         <bp-sym.h>.
12790         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
12791         (memchr): Do not use BP_SYM in weak_alias.
12792         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
12793         (fegetenv): Do not use BP_SYM in versioned symbols.
12794         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
12795         (fesetenv): Do not use BP_SYM in versioned symbols.
12796         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
12797         (feupdateenv): Do not use BP_SYM in versioned symbols.
12798         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
12799         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
12800         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
12801         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
12802         (open64): Do not use BP_SYM in weak_alias.
12803         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
12804         (fegetenv): Do not use BP_SYM in versioned symbols.
12805         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
12806         (fesetenv): Do not use BP_SYM in versioned symbols.
12807         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
12808         (feupdateenv): Do not use BP_SYM in versioned symbols.
12809         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
12810         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
12811         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
12812         (feraiseexcept): Do not use BP_SYM in versioned symbols.
12813         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
12814         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
12815         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
12816         <bp-sym.h>.
12817         (__libc_start_main): Do not use BP_SYM.
12819 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
12821         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
12822         redundant return line.
12823         (norm): Likewise.
12824         (denorm): Likewise.
12825         (dbl_mp): Likewise.
12826         (sub_magnitudes): Likewise.
12827         (__add): Likewise.
12828         (__sub): Likewise.
12829         (__mul): Likewise.
12830         (__inv): Likewise.
12831         (__dvd): Likewise.
12832         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
12833         (norm): Likewise.
12834         (denorm): Likewise.
12835         (dbl_mp): Likewise.
12836         (sub_magnitudes): Likewise.
12837         (__add): Likewise.
12838         (__sub): Likewise.
12839         (__mul): Likewise.
12840         (__inv): Likewise.
12841         (__dvd): Likewise.
12843         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
12844         instead of __mul.
12845         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
12846         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
12847         (cc32): Likewise.
12849         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
12850         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
12851         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
12852         of __mul for squares.
12853         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
12854         function
12855         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
12856         Likewise.
12857         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
12858         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12860 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
12862         [BZ #13550]
12863         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
12864         code.
12865         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
12866         prototype or function definition.  Rename ubp_* variables and
12867         parameters.  Remove argv definitions conditional on
12868         [__BOUNDED_POINTERS__].
12869         * debug/backtrace.c (__backtrace): Do not use __unbounded.
12870         * elf/dl-runtime.c (_dl_fixup): Likewise.
12871         * include/set-hooks.h (RUN_HOOK): Likewise.
12872         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
12873         definition.
12874         * string/strcpy.c (strcpy): Do not use __unbounded.
12875         * sysdeps/generic/frame.h (struct layout): Likewise.
12876         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
12877         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
12878         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
12879         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
12880         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
12881         (__backtrace): Likewise.
12882         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
12883         use __ptrvalue.
12884         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
12885         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
12886         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
12887         Likewise.
12888         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
12889         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
12890         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
12891         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
12892         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
12893         Do not use __unbounded.
12894         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
12895         Rename __unboundedrlimits parameter to rlimits in prototype.
12896         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
12897         Do not use __unbounded.
12898         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
12899         not use __ptrvalue.
12900         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
12901         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
12902         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
12903         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
12904         __ptrvalue or __unbounded.
12905         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
12906         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
12907         use __unbounded.
12908         (__new_msgctl): Do not use __ptrvalue.
12909         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
12910         __unbounded.
12911         (__libc_msgrcv): Do not use __ptrvalue.
12912         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
12913         startup_info): Do not use __unbounded.
12914         (__libc_start_main): Likewise.  Rename ubp_* variables and
12915         parameters.  Remove argv definitions conditional on
12916         [__BOUNDED_POINTERS__].
12917         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
12918         __ptrvalue.
12919         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
12920         use __unbounded.
12921         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
12922         or __ptrvalue.
12923         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
12924         use __unbounded.
12925         (__new_shmctl): Do not use __ptrvalue.
12926         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
12927         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
12928         Likewise.
12929         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
12930         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
12931         (__libc_sigaction): Likewise.
12932         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
12933         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
12934         Likewise.
12935         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
12937 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
12939         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
12941         * string/mempcpy.c: Implement by calling memcpy.
12943 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
12945         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
12947         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
12948         evaluation.
12950         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
12951         values in the mantissa.
12953         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
12954         minimize writes to Z.
12955         (sub_magnitudes): Simplify code a bit.
12957 2013-02-12  Roland McGrath  <roland@hack.frob.com>
12959         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
12960         from the message.  The linker prefixes all warnings with that already.
12962 2013-02-12  Andreas Schwab  <schwab@suse.de>
12964         [BZ #15078]
12965         * posix/regexec.c (extend_buffers): Add parameter min_len.
12966         (check_matching): Pass minimum needed length.
12967         (clean_state_log_if_needed): Likewise.
12968         (get_subexp): Likewise.
12969         * posix/Makefile (tests): Add bug-regex34.
12970         (bug-regex34-ENV): Define.
12971         * posix/bug-regex34.c: New file.
12973         [BZ #11561]
12974         * posix/regcomp.c (parse_bracket_exp): When looking up collating
12975         elements compare against the byte sequence of it, not its name.
12976         * posix/Makefile (tests): Add bug-regex35.
12977         (bug-regex35-ENV): Define.
12978         * posix/bug-regex35.c: New file.
12980 2013-02-11  Tom de Vries  <tom@codesourcery.com>
12982         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
12983         comment.
12984         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
12985         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
12986         (CHECK_EOL): Add undef.
12988 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
12990         * bits/stdlib-bsearch.h: New file.
12991         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
12992         * stdlib/stdlib.h: Likewise.
12994 2013-02-11  Roland McGrath  <roland@hack.frob.com>
12996         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
12997         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
12998         declaration.
12999         * manual/search.texi (Array Search Function): Add missing const in
13000         lfind prototype.
13001         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
13002         declaration to use rlim_t.
13003         (Basic Scheduling Functions): Remove erroneous const from
13004         sched_getparam prototype.  Remove erroneous * from
13005         sched_get_priority_max and sched_get_priority_min prototypes.
13006         (Resource Usage): Fix summary @comment on vtimes to refer to
13007         sys/vtimes.h rather than vtimes.h.
13008         Add missing *s in vtimes prototype.
13009         (Limits on Resources): Fix ulimit prototype to return long int.
13010         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
13011         prototypes to use long int rather than double.
13012         (BSD Random): Fix initstate and setstate to use char *, not void *.
13013         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
13014         prototype to make second argument 'struct aiocb64 *const[]'.
13015         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
13016         (Status of AIO Operations): Remove erroneous const in aio_return and
13017         aio_return64 prototypes.
13018         (Synchronizing I/O): Fix sync prototype to return void.
13019         * manual/startup.texi (Suboptions): Remove an erroneous const in
13020         getsubopt prototype.
13021         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
13022         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
13023         use size_t rather than int.
13024         (Scanning All Users): Likewise for getpwent_r.
13025         (Setting Groups): Add missing const to setgroups prototype.
13026         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
13027         * manual/socket.texi (Host Names): Fix gethostbyaddr and
13028         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
13029         'const void *' rather than 'const char *'.
13030         (Host Address Functions): Likewise for inet_ntop.
13031         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
13032         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
13033         ssize_t for return value.
13034         (Sending Data): Likewise for send, sendto, sendmsg.
13035         (Socket Option Functions): Add a missing const in setsockopt prototype.
13036         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
13037         use wchar_t for the argument.
13038         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
13039         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
13040         take no arguments.
13041         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
13042         double/float/long double for second argument.
13043         Fix return types of significand, significandf, significandl.
13044         * manual/filesys.texi (Setting Permissions): Use mode_t for second
13045         argument in fchmod prototype.
13046         (File Owner): Use uid_t and gid_t in fchown prototype.
13047         (File Times): Add const to utimes, futimes, and lutimes prototypes.
13048         (Making Special Files): Use mode_t and dev_t in mknod prototype.
13049         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
13050         use 'const struct dirent **' as argument types to CMP function pointer
13051         argument.
13052         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
13053         (File Times): Fix summary magic @comment for struct utimbuf and utime
13054         to refer to utime.h, not time.h.
13055         * manual/string.texi (Argz Functions): Add missing const in
13056         argz_extract and argz_next prototypes.
13057         (Finding Tokens in a String): Likewise for basename.
13058         (String/Array Comparison): Fix typo in wcscasecmp prototype.
13059         (Copying and Concatenation): Fix typo in wmemmove prototype.
13060         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
13061         (Signal Stack): Remove erroneous const in sigstack prototype.
13062         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
13063         prototype.
13064         (Simple Calendar Time): Likewise for stime.
13065         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
13066         prototype.
13067         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
13068         say sys/sysctl.h instead.
13069         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
13070         and vsyslog prototypes.
13072 2013-02-11  Tom de Vries  <tom@codesourcery.com>
13074         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
13075         Remove.
13077 2013-02-11  Roland McGrath  <roland@hack.frob.com>
13079         * misc/sys/mman.h: Fix typo in mremap comment.
13081 2013-02-08  Roland McGrath  <roland@hack.frob.com>
13083         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
13084         the '\0' terminator.
13086 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
13088         [BZ #13550]
13089         * debug/segfault.c: Don't include <bp-checks.h>.
13090         * sysdeps/generic/bp-checks.h: Remove file.
13091         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
13092         (__GETDENTS): Don't use CHECK_N.
13093         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
13094         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
13095         (__getgroups): Don't use CHECK_N.
13096         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
13097         (setgroups): Don't use CHECK_N.
13098         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
13099         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
13100         (__libc_msgrcv): Don't use CHECK_N.
13101         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
13102         (__libc_msgsnd): Don't use CHECK_N.
13103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
13104         <bp-checks.h>.
13105         (__libc_pread): Don't use CHECK_N.
13106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
13107         include <bp-checks.h>.
13108         (__libc_pread64): Don't use CHECK_N.
13109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
13110         include <bp-checks.h>.
13111         (__libc_pwrite): Don't use CHECK_N.
13112         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
13113         include <bp-checks.h>.
13114         (__libc_pwrite64): Don't use CHECK_N.
13115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
13116         <bp-checks.h>.
13117         (__libc_pread): Don't use CHECK_N.
13118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
13119         include <bp-checks.h>.
13120         (__libc_pread64): Don't use CHECK_N.
13121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
13122         include <bp-checks.h>.
13123         (__libc_pwrite): Don't use CHECK_N.
13124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
13125         include <bp-checks.h>.
13126         (__libc_pwrite64): Don't use CHECK_N.
13127         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
13128         (do_pread): Don't use CHECK_N.
13129         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
13130         (do_pread64): Don't use CHECK_N.
13131         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
13132         (do_pwrite): Don't use CHECK_N.
13133         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
13134         (do_pwrite64): Don't use CHECK_N.
13135         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
13136         (__libc_readv): Don't use CHECK_N.
13137         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
13138         (semop): Don't use CHECK_N.
13139         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
13140         <bp-checks.h>.
13141         (semtimedop): Don't use CHECK_N.
13142         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
13143         (__libc_pread): Don't use CHECK_N.
13144         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
13145         <bp-checks.h>.
13146         (__libc_pread64): Don't use CHECK_N.
13147         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
13148         <bp-checks.h>.
13149         (__libc_pwrite): Don't use CHECK_N.
13150         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
13151         <bp-checks.h>.
13152         (__libc_pwrite64): Don't use CHECK_N.
13153         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
13154         <bp-checks.h>.
13155         (__libc_msgrcv): Don't use CHECK_N.
13156         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
13157         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
13158         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
13159         (__libc_writev): Don't use CHECK_N.
13161 2013-02-08  Roland McGrath  <roland@hack.frob.com>
13163         * string/strcpy.c: Removed unused variable.
13165         * Makeconfig (+sysdep-includes): Define with := rather than =.
13166         Use an existing include/ subdir of each sysdeps dir before it.
13168 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
13170         * nscd/connection.c (register_traced_file): Comment function.
13171         [HAVE_INOTIFY] (union __inev): Define.
13172         [HAVE_INOTIFY] (inotify_check_files): New function.
13173         [HAVE_INOTIFY] (clear_db_cache): Likewise.
13174         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
13175         clear_db_cache.
13176         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
13178 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
13180         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
13181         loaded if not already and that a failure is permanent.
13183 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
13185         [BZ #15006]
13186         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
13187         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
13189 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
13191         [BZ #13550]
13192         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
13193         (CHECK_1_NULL_OK): Likewise.
13194         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
13195         (__fxstat): Do not use CHECK_1.
13196         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
13197         <bp-checks.h>.
13198         (___fxstat64): Do not use CHECK_1.
13199         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
13200         <bp-checks.h>.
13201         (__fxstatat): Do not use CHECK_1.
13202         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
13203         <bp-checks.h>.
13204         (__fxstatat64): Do not use CHECK_1.
13205         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
13206         <bp-checks.h>.
13207         (__fxstat): Do not use CHECK_1.
13208         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
13209         <bp-checks.h>.
13210         (__fxstatat): Do not use CHECK_1.
13211         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
13212         <bp-checks.h>.
13213         (__getresgid): Do not use CHECK_1.
13214         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
13215         <bp-checks.h>.
13216         (__getresuid): Do not use CHECK_1.
13217         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
13218         <bp-checks.h>.
13219         (__lxstat): Do not use CHECK_1.
13220         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
13221         <bp-checks.h>.
13222         (__old_msgctl): Do not use CHECK_1.
13223         (__new_msgctl): Likewise.
13224         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
13225         <bp-checks.h>.
13226         (__new_setrlimit): Do not use CHECK_1.
13227         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
13228         <bp-checks.h>.
13229         (__old_shmctl): Do not use CHECK_1.
13230         (__new_shmctl): Likewise.
13231         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
13232         <bp-checks.h>.
13233         (__xstat): Do not use CHECK_1.
13234         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
13235         (__lxstat): Do not use CHECK_1.
13236         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
13237         <bp-checks.h>.
13238         (___lxstat64): Do not use CHECK_1.
13239         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
13240         (__old_msgctl): Do not use CHECK_1.
13241         (__new_msgctl): Likewise.
13242         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
13243         <bp-checks.h>.
13244         (__gettimeofday): Do not use CHECK_1.
13245         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
13246         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
13247         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
13248         <bp-checks.h>.
13249         (__gettimeofday): Do not use CHECK_1.
13250         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
13251         (__old_shmctl): Do not use CHECK_1_NULL_OK.
13252         (__new_shmctl): Do not use CHECK_1.
13253         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
13254         <bp-checks.h>.
13255         (do_sigtimedwait): Do not use CHECK_1.
13256         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
13257         <bp-checks.h>.
13258         (do_sigwaitinfo): Do not use CHECK_1.
13259         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
13260         <bp-checks.h>.
13261         (msgctl): Do not use CHECK_1.
13262         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
13263         <bp-checks.h>.
13264         (shmctl): Do not use CHECK_1.
13265         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
13266         (ustat): Do not use CHECK_1.
13267         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
13268         <bp-checks.h>.
13269         (__fxstat): Do not use CHECK_1.
13270         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
13271         <bp-checks.h>.
13272         (__fxstatat): Do not use CHECK_1.
13273         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
13274         <bp-checks.h>.
13275         (__lxstat): Do not use CHECK_1.
13276         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
13277         <bp-checks.h>.
13278         (__xstat): Do not use CHECK_1.
13279         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
13280         (__xstat): Do not use CHECK_1.
13281         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
13282         (___xstat64): Do not use CHECK_1.
13284         [BZ #13550]
13285         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
13286         definitions.
13287         (CHECK_BOUNDS_HIGH): Likewise.
13288         * string/strcpy.c: Do not include <bp-checks.h>.
13289         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
13291 2013-02-07  Roland McGrath  <roland@hack.frob.com>
13293         * nscd/nscd-client.h (__nscd_drop_map_ref):
13294         Add __attribute__ ((unused)).
13295         * nis/nss-nisplus.h (niserr2nss): Likewise.
13297         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
13298         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
13300         * csu/libc-tls.c (init_static_tls, init_slotinfo):
13301         Remove inline keyword.
13302         * include/rounding-mode.h (round_away): Likewise.
13303         * libio/wfileops.c (adjust_wide_data): Likewise.
13304         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
13305         (__m128i_strloadu_tolower): Likewise.
13306         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
13307         (__m128i_strloadu_tolower): Likewise.
13308         * time/mktime.c (ydhms_diff): Likewise.
13309         * locale/elem-hash.h (elem_hash): Likewise.
13310         * locale/setlocale.c (setdata): Likewise.
13311         * posix/regex_internal.h (re_string_char_size_at): Likewise.
13312         (re_string_wchar_at): Likewise.
13313         (bitset_not, bitset_merge, bitset_mask): Likewise.
13314         [!(__GNUC__ > 3)] (inline): Remove macro.
13315         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
13316         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
13317         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
13318         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
13319         * string/memcmp.c (memcmp_bytes): Likewise.
13320         * locale/programs/locarchive.c (compute_hashval): Likewise.
13321         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
13322         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
13323         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
13324         * nss/getent.c (print_rpc, print_protocols): Likewise.
13325         (print_passwd, print_group, print_aliases): Likewise.
13326         * nis/nss-nisplus.h (niserr2nss): Likewise.
13327         * nscd/connections.c (restart_p): Likewise.
13328         Change return type to bool.
13330 2013-02-05  Roland McGrath  <roland@hack.frob.com>
13332         * Makeconfig (all-Depend-files): Add existing
13333         $(sorted-subdirs:=/Depend) files.
13334         (all-subdirs): Remove nss.
13335         * sysdeps/unix/inet/Subdirs: Add it here instead.
13336         * hesiod/Depend: New file.
13338         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
13339         instead of calling alloca.
13341         * io/lseek.c (__lseek): Rename to __libc_lseek.
13342         Define __lseek as an alias.
13344         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
13346 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
13348         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
13349         else clause and remove check for non-standard endianness.
13351 2013-02-04  David S. Miller  <davem@davemloft.net>
13353         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13355 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
13357         [BZ #13550]
13358         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
13359         (__ubp_memchr): Remove prototype.
13360         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
13361         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13362         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
13363         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13364         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
13365         Remove alias.
13366         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
13367         (__ubp_memchr): Likewise.
13368         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
13369         (__ubp_memchr): Likewise.
13370         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
13371         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
13372         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
13373         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
13374         CHECK_STRING.
13375         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13376         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
13377         (__getcwd): Do not use CHECK_STRING.
13378         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
13379         <bp-checks.h>.
13380         (__real_chown): Do not use CHECK_STRING.
13381         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
13382         <bp-checks.h>.
13383         (fchownat): Do not use CHECK_STRING.
13384         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
13385         CHECK_STRING.
13386         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
13387         <bp-checks.h>.
13388         (__lchown): Do not use CHECK_STRING.
13389         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13390         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13391         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13392         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
13393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
13394         include <bp-checks.h>.
13395         (truncate64): Do not use CHECK_STRING.
13396         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
13397         <bp-checks.h>.
13398         (__real_chown): Do not use CHECK_STRING.
13399         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
13400         <bp-checks.h>.
13401         (__lchown): Do not use CHECK_STRING.
13402         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
13403         <bp-checks.h>.
13404         (__chown): Do not use CHECK_STRING.
13405         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
13406         <bp-checks.h>.
13407         (truncate64): Do not use CHECK_STRING.
13408         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
13409         Likewise.
13410         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
13411         (__xmknod): Do not use CHECK_STRING.
13412         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
13413         <bp-checks.h>.
13414         (__xmknodat): Do not use CHECK_STRING.
13415         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13416         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
13418 2013-02-04  Andreas Schwab  <schwab@suse.de>
13420         [BZ #14142]
13421         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
13422         * include/netdb.h: Likewise for h_errno.
13423         * elf/tst-stackguard1.c: Include <tls.h>.
13425 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
13427         * elf/link.h (struct link_map): Extend the l_addr comment.
13428         * include/link.h (struct link_map): Likewise.
13430 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
13432         [BZ #13550]
13433         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
13434         (BOUNDED_1): Remove macro.
13435         * debug/backtrace.c: Don't include <bp-checks.h>.
13436         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
13437         (__backtrace): Likewise.
13438         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
13439         <bp-checks.h>.
13440         (__backtrace): Don't use BOUNDED_1.
13441         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
13442         <bp-checks.h>.
13443         (__backtrace): Don't use BOUNDED_1.
13444         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
13445         (__backtrace): Don't use BOUNDED_1.
13446         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
13447         (shmat): Don't use BOUNDED_N.
13449 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
13451         [BZ #13550]
13452         * sysdeps/generic/bp-start.h: Remove file.
13453         * csu/libc-start.c: Don't include <bp-start.h>.
13454         (LIBC_START_MAIN): Set up __environ directly instead of using
13455         INIT_ARGV_and_ENVIRON.
13456         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
13457         <bp-start.h>.
13459         [BZ #13550]
13460         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
13461         definitions.
13462         (CHECK_FCNTL): Likewise.
13463         (CHECK_N_PAGES): Likewise.
13465         [BZ #13550]
13466         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
13467         definitions.
13468         (CHECK_SIGSET_NULL_OK): Likewise.
13469         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
13470         <bp-checks.h>.
13471         (sigpending): Don't use CHECK_SIGSET.
13472         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
13473         <bp-checks.h>.
13474         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13475         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
13476         <bp-checks.h>.
13477         (do_sigsuspend): Don't use CHECK_SIGSET.
13478         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
13479         use CHECK_SIGSET.
13480         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
13481         (do_sigwait): Don't use CHECK_SIGSET.
13482         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
13483         use CHECK_SIGSET.
13484         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
13485         include <bp-checks.h>.
13486         (sigpending): Don't use CHECK_SIGSET.
13487         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
13488         include <bp-checks.h>.
13489         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13490         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
13491         <bp-checks.h>.
13492         (sigpending): Don't use CHECK_SIGSET.
13493         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
13494         <bp-checks.h>.
13495         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13497         [BZ #13550]
13498         * sysdeps/generic/bp-semctl.h: Remove file.
13499         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
13500         <bp-checks.h> and <bp-semctl.h>.
13501         (__old_semctl): Don't use CHECK_SEMCTL.
13502         (__new_semctl): Likewise.
13503         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
13504         and <bp-semctl.h>.
13505         (__old_semctl): Don't use CHECK_SEMCTL.
13506         (__new_semctl): Likewise.
13507         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
13508         <bp-checks.h> and <bp-semctl.h>.
13509         (__old_semctl): Don't use CHECK_SEMCTL.
13510         (__new_semctl): Likewise.
13511         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
13512         <bp-checks.h> and <bp-semctl.h>.
13513         (semctl): Don't use CHECK_SEMCTL.
13515         [BZ #13550]
13516         * Makerules (elide-bp-thunks): Remove variable.
13517         (elide-routines.oS): Don't use $(elide-bp-thunks).
13518         (elide-routines.os): Likewise.
13519         (elide-routines.o): Likewise.
13520         (elide-routines.op): Likewise.
13521         (elide-routines.og): Likewise.
13522         (objects): Don't use $(bp-thunks).
13523         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
13524         include.
13525         (common-generated): Do not add s-proto-bp.d.
13526         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
13527         (int): Likewise.
13528         (typ): Likewise.
13529         Do not generate makefile rules for bounded-pointer thunks.
13530         * sysdeps/generic/bp-thunks.h: Remove file.
13531         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
13532         * sysdeps/unix/s-proto-bp.S: Likewise.
13534         [BZ #15062]
13535         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
13536         parts of result separately when argument is not close to line from
13537         -i to i and one part of argument is small.
13538         * math/k_casinhf.c (__kernel_casinhf): Likewise.
13539         * math/k_casinhl.c (__kernel_casinhl): Likewise.
13540         * math/libm-test.inc (cacos_test): Add more tests.
13541         (casin_test): Likewise.
13542         (casinh_test): Likewise.
13543         * sysdeps/i386/fpu/libm-test-ulps: Update.
13544         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13546 2013-01-31  David S. Miller  <davem@davemloft.net>
13548         * po/de.po: Update from translation team.
13550 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
13552         * time/tzfile.c: Include stdint.h for SIZE_MAX.
13554 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
13556         * configure.in (_AC_PROG_CC_C89): New definition.
13557         * configure: Regenerate.
13559         * configure.in (AC_PROG_CPP): New definition.
13560         * configure: Regenerate.
13562 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
13564         * debug/tst-backtrace.h: New file.
13565         * debug/tst-backtrace2.c: Include tst-backtrace.h.
13566         (ret): Remove variable.
13567         (x): Likewise.
13568         (FAIL): Remove macro.
13569         (NO_INLINE): Likewise.
13570         (fn1): Use match function instead of strstr.
13571         * debug/tst-backtrace3.c: Include tst-backtrace.h.
13572         (ret): Remove variable.
13573         (x): Likewise.
13574         (FAIL): Remove macro.
13575         (NO_INLINE): Likewise.
13576         (fn): Use match function instead of strstr.
13577         * debug/tst-backtrace4.c: Include tst-backtrace.h.
13578         (ret): Remove variable.
13579         (x): Likewise.
13580         (FAIL): Remove macro.
13581         (NO_INLINE): Likewise.
13582         (handle_signal): Use match function instead of strstr.
13583         * debug/tst-backtrace5.c: Include tst-backtrace.h.
13584         (ret): Remove variable.
13585         (x): Likewise.
13586         (FAIL): Remove macro.
13587         (NO_INLINE): Likewise.
13588         (handle_signal): Use match function instead of strstr.
13590 2013-01-23  Roland McGrath  <roland@hack.frob.com>
13592         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
13594 2013-01-23  David S. Miller  <davem@davemloft.net>
13596         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
13597         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
13598         argument of CAS if possible.
13599         * sysdeps/sparc/sparc64/bits/atomic.h
13600         (__arch_compare_and_exchange_val_32_acq): Likewise.
13601         (__arch_compare_and_exchange_val_64_acq): Likewise.
13603 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
13605         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
13606         * sysdeps/posix/ulimit.c: ... this.
13607         Include <limits.h>.
13608         * sysdeps/unix/bsd/ulimit.c: Remove file.
13610 2013-01-23  Adam Conrad  <adconrad@0c3.net>
13612         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
13613         (LDFLAGS-tst-array5): Likewise.
13615 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
13617         [BZ #15036]
13618         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
13619         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
13620         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
13621         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
13623 2013-01-21  David S. Miller  <davem@davemloft.net>
13625         * sysdeps/sparc/backtrace.c: New file.
13626         * sysdeps/sparc/sparc32/backtrace.h: New file.
13627         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
13628         * sysdeps/sparc/sparc64/backtrace.h: New file.
13629         * sysdeps/sparc/sparc64/backtrace.c: Delete.
13630         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
13631         -funwind-tables.
13633 2013-01-21  Andreas Schwab  <schwab@suse.de>
13635         [BZ #15020]
13636         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
13637         closed its stdout.
13639 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
13641         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
13642         "mpa2.h".
13643         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13645 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
13646             Mark Mitchell  <mark@codesourcery.com>
13647             Tom de Vries  <tom@codesourcery.com>
13648             Paul Pluzhnikov  <ppluzhnikov@google.com>
13650         * debug/tst-backtrace2.c: New file.
13651         * debug/tst-backtrace3.c: Likewise.
13652         * debug/tst-backtrace4.c: Likewise.
13653         * debug/tst-backtrace5.c: Likewise.
13654         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
13655         (CFLAGS-tst-backtrace3.c): Likewise.
13656         (CFLAGS-tst-backtrace4.c): Likewise.
13657         (CFLAGS-tst-backtrace5.c): Likewise.
13658         (LDFLAGS-tst-backtrace2): Likewise.
13659         (LDFLAGS-tst-backtrace3): Likewise.
13660         (LDFLAGS-tst-backtrace4): Likewise.
13661         (LDFLAGS-tst-backtrace5): Likewise.
13662         (tests): Add new tests tst-backtrace2, tst-backtrace3,
13663         tst-backtrace4 and tst-backtrace5.
13665 2013-01-18  Anton Blanchard  <anton@samba.org>
13666             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
13668         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
13669         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
13670         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
13671         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
13672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13673         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
13674         "+r" and remove output regs list as redundant.  Add explicit inline
13675         asm to specify register of return val to work around compiler codegen
13676         bug.  Remove (int) cast on return value.  Add return type parameter to
13677         use in macro so that this macro does not truncate return value for
13678         64-bit values.
13679         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
13680         pass to INTERNAL_VSYSCALL_NCS.
13681         (INLINE_VSYSCALL): Add 'long int' as return type to
13682         INTERNAL_VSYSCALL_NCS macro invocation.
13683         (INTERNAL_VSYSCALL): Add 'long int' as return type to
13684         INTERNAL_VSYSCALL_NCS macro invocation.
13685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13687 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
13689         [BZ #14496]
13690         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
13691         Fix application of SIMD FP exception mask.
13693         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
13694         mp_no from a power of two.
13695         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
13696         __mpexp_twomm1.  Use __pow_mp.
13698         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
13699         multiplication.
13701 2013-01-17  David S. Miller  <davem@davemloft.net>
13703         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13705 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
13707         [BZ #15023]
13708         * include/complex.h: Condition contents on [!_COMPLEX_H].
13709         (__kernel_casinhf): New prototype.
13710         (__kernel_casinh): Likewise.
13711         (__kernel_casinhl): Likewise.
13712         * math/Makefile (libm_calls): Add k_casinh.
13713         * math/k_casinh.c: New file.
13714         * math/k_casinhf.c: Likewise.
13715         * math/k_casinhl.c: Likewise.
13716         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
13717         finite nonzero arguments.
13718         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
13719         finite nonzero arguments.
13720         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
13721         finite nonzero arguments.
13722         * math/s_casinh.c: Do not include <float.h>.
13723         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
13724         * math/s_casinhf.c: Do not include <float.h>.
13725         (__casinhf): Move code for finite nonzero arguments to
13726         k_casinhf.c.
13727         * math/s_casinhl.c: Do not include <float.h>.
13728         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
13729         redefine.
13730         (__casinhl): Move code for finite nonzero arguments to
13731         k_casinhl.c.
13732         * math/libm-test.inc (cacos_test): Add more tests.
13733         * sysdeps/i386/fpu/libm-test-ulps: Update.
13734         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13736 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
13738         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
13739         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
13740         [!HAVE_MREMAP]: Remove [defined linux] case.
13741         * malloc/arena.c: Do not include <malloc-sysdep.h>.
13743 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
13745         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
13747 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
13749         * elf/elf.h (R_386_SIZE32): New relocation.
13750         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
13751         R_386_SIZE32.
13752         (elf_machine_rela): Likewise.
13753         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
13754         R_X86_64_SIZE64 and R_X86_64_SIZE32.
13756 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
13758         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
13759         (FP_FAST_FMA): Do not define.
13760         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
13761         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
13762         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
13763         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
13764         !_SOFT_FLOAT]: Likewise.
13765         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
13766         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
13767         value.
13768         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
13769         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
13770         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
13771         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
13772         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
13773         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
13774         file.
13776 2013-01-16  Andreas Schwab  <schwab@suse.de>
13778         [BZ #14327]
13779         * include/stdlib.h (__mktemp): Add declaration.
13780         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
13781         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
13783 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
13785         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
13786         definitions.
13787         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
13788         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
13789         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
13790         definitions here.
13791         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
13792         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
13793         definitions.
13794         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
13795         and ONE.
13796         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
13797         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
13798         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
13799         definitions.
13800         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
13801         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
13802         definitions.
13803         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
13805         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
13807 2013-01-15  David S. Miller  <davem@davemloft.net>
13809         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13810         trunc{,f} to libm-sysdep_routes.
13811         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13812         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
13813         file.
13814         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
13815         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
13816         file.
13817         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
13818         file.
13819         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
13820         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
13821         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
13822         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
13823         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
13824         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
13825         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
13826         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
13828         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13829         nearbyint{,f} to libm-sysdep_routes.
13830         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13831         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
13832         New file.
13833         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
13834         file.
13835         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
13836         New file.
13837         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
13838         file.
13839         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
13840         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
13841         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
13842         file.
13843         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
13844         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
13845         file.
13846         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
13847         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
13848         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
13850         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
13851         libc_feholdexcept and libc_fesetenv.
13853 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
13855         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
13857 2013-01-14  David S. Miller  <davem@davemloft.net>
13859         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
13860         (SPARC_ASM_VIS2_IFUNC): Likewise.
13861         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
13862         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
13863         use of 'siam' instruction.
13864         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
13865         Likewise.
13866         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
13867         Likewise.
13868         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
13869         Likewise.
13870         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
13871         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
13872         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
13873         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
13874         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
13875         file.
13876         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
13877         file.
13878         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
13879         file.
13880         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
13881         file.
13882         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
13883         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
13884         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
13885         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
13886         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
13887         new VIS2 routines.
13888         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
13889         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
13890         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
13891         Likewise.
13892         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
13893         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
13894         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
13895         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
13896         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
13897         routines to libm-sysdep_routines.
13898         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13900         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13901         fdim/fdimf to libm-sysdep_routines.
13902         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
13903         file.
13904         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
13905         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
13906         file.
13907         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
13908         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
13909         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
13910         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
13911         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
13912         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
13913         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
13915 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
13917         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
13918         to optimize copies.
13920         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
13921         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
13922         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13924         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
13925         local variable MPTWO.
13926         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
13927         Likewise.
13929 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
13931         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
13932         GLOB_NOESCAPE.
13934 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
13936         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
13938 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
13940         * manual/pattern.texi (glob_t): Document gl_flags.
13941         (glob64_t): Likewise.
13943 2013-01-11  David S. Miller  <davem@davemloft.net>
13945         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
13946         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
13947         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
13948         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
13949         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
13950         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
13951         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
13952         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
13953         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
13954         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
13955         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
13956         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
13957         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
13959         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
13960         sparc V9 rather than using V8 code.
13961         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
13962         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
13964         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
13965         Move to...
13966         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
13967         Here.
13969 2013-01-11  Roland McGrath  <roland@hack.frob.com>
13971         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
13972         not in the main loop.
13973         * configure: Regenerated.
13975 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
13977         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
13978         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
13979         to just #else.
13980         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
13981         [!__GLIBC_HAVE_LONG_LONG] case.
13982         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
13983         condition to just #else.
13984         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
13985         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
13986         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
13987         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
13988         unconditional.
13989         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
13990         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
13991         #elif condition to just #else.
13992         * sysdeps/unix/sysv/linux/sys/sysmacros.h
13993         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
13994         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
13995         #elif condition to just #else.
13997 2013-01-11  Steve Ellcey  <sellcey@mips.com>
13999         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
14000         (EF_MIPS_ARCH_64): Fix value.
14001         (EF_MIPS_ARCH_32R2): New.
14002         (EF_MIPS_ARCH_64R2): New.
14004 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
14006         * Makeconfig (+link-pie-before-libc): New.
14007         (+link-pie-after-libc): Likewise.
14008         (+link-pie-tests): Likewise.
14009         (+link-pie): Rewritten.
14010         (link-before-libc): Remove $(config-LDFLAGS).
14011         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
14012         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
14013         (config-LDFLAGS): Renamed to ...
14014         (rtld-LDFLAGS): This.
14015         (rtld-tests-LDFLAGS): New macro.
14016         (link-libc-rpath-link): Likewise.
14017         (link-libc-tests-rpath-link): Likewise.
14018         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
14019         (link-libc): Prepand $(link-libc-rpath-link).
14020         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
14021         (test-program-prefix): New macro.
14022         (test-via-rtld-prefix): Likewise.
14023         (test-program-cmd): Likewise.
14024         (host-test-program-cmd): Likewise.
14025         * Makefile ($(common-objpfx)testrun.sh): Replace
14026         $(run-program-prefix) with $(test-program-prefix).
14027         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
14028         $(rtld-LDFLAGS).
14029         ($(common-objpfx)shlib.lds): Likewise.
14030         (build-module-helper): Likewise.
14031         ($(common-objpfx)format.lds): Likewise.
14032         * Rules (binaries-pie-tests): New.
14033         (binaries-pie-notests): Likewise.
14034         (binaries-pie): Rewritten.
14035         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
14036         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
14037         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
14038         (make-test-out): Replace $(host-built-program-cmd) with
14039         $(host-test-program-cmd).
14040         * config.make.in (build-hardcoded-path-in-tests): New variable.
14041         * configure.in (--enable-hardcoded-path-in-tests): New configure
14042         option.
14043         (hardcoded_path_in_tests): New AC_SUBST.
14044         * configure: Regenerated.
14045         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
14046         $(built-program-cmd) with $(test-program-cmd).
14047         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
14048         (test_program_cmd): This.
14049         * elf/Makefile ($(objpfx)order.out): Run test with
14050         $(test-program-prefix).
14051         ($(objpfx)order2.out): Likewise.
14052         ($(objpfx)tst-initorder.out): Likewise.
14053         ($(objpfx)tst-initorder2.out): Likewise.
14054         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
14055         $(test-program-cmd).
14056         ($(objpfx)tst-array1-static.out): Likewise.
14057         ($(objpfx)tst-array2.out): Likewise.
14058         ($(objpfx)tst-array3.out): Likewise.
14059         ($(objpfx)tst-array4.out): Likewise.
14060         ($(objpfx)tst-array5.out): Likewise.
14061         ($(objpfx)tst-array5-static.out): Likewise.
14062         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
14063         $(test-program-cmd).
14064         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
14065         $(run-program-prefix) with $(test-program-prefix).
14066         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
14067         (test_program_prefix): This.
14068         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
14069         $(run-program-prefix) with $(test-program-prefix).
14070         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
14071         (test_program_prefix): This.
14072         * iconvdata/tst-tables.sh: Likewise.
14073         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
14074         $(run-program-prefix) with $(test-program-prefix).
14075         ($(objpfx)tst-translit.out): Likewise.
14076         ($(objpfx)tst-gettext2.out): Likewise.
14077         ($(objpfx)tst-gettext4.out): Likewise.
14078         ($(objpfx)tst-gettext6.out): Likewise.
14079         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
14080         (test_program_prefix): This.
14081         * intl/tst-gettext2.sh: Likewise.
14082         * intl/tst-gettext4.sh  Likewise.
14083         * intl/tst-gettext6.sh: Likewise.
14084         * intl/tst-translit.sh: Likewise.
14085         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
14086         with $(test-program-cmd).
14087         * libio/Makefile ($(objpfx)test-freopen.out): Replace
14088         $(run-program-prefix) with $(test-program-prefix).
14089         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
14090         (test_program_prefix): This.
14091         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
14092         $(run-program-prefix) with $(test-program-prefix).
14093         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
14094         (test_program_prefix): This.
14095         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
14096         * posix/Makefile ($(objpfx)globtest.out): Replace
14097         $(run-via-rtld-prefix) and $(test-wrapper) with
14098         $(test-program-prefix) and $(test-via-rtld-prefix).
14099         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
14100         $(test-program-prefix).
14101         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
14102         $(host-test-program-cmd).
14103         (tst-spawn-ARGS): Likewise.
14104         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
14105         $(test-program-prefix).
14106         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
14107         (test_via_rtld_prefix): This.
14108         (test_wrapper): Renamed to ...
14109         (test_program_prefix): This.
14110         (run_program_prefix): Replaced by test_program_prefix.
14111         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
14112         (test_program_prefix): This.
14113         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
14114         with $(host-test-program-cmd).
14115         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
14116         $(run-program-prefix) with $(test-program-prefix).
14117         ($(objpfx)tst-printf.out): Likewise.
14118         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
14119         $(test-program-cmd).
14120         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
14121         (test_program_prefix): This.
14122         * stdio-common/tst-unbputc.sh: Likewise.
14123         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
14124         $(run-program-prefix) with $(test-program-prefix).
14125         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
14126         (test_program_prefix): This.
14127         * string/Makefile ($(objpfx)tst-svc.out):  Replace
14128         $(built-program-cmd) with $(test-program-cmd).
14130 2013-01-11  Andreas Jaeger  <aj@suse.de>
14132         [BZ #15003]
14133         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
14134         value. Sync with Linux 3.7.
14136 2013-01-10  David S. Miller  <davem@davemloft.net>
14138         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
14139         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14140         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14142 2013-01-10  Roland McGrath  <roland@hack.frob.com>
14144         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
14145         never set.
14146         * configure: Regenerated.
14148 2013-01-10  David S. Miller  <davem@davemloft.net>
14150         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14151         sparc V9 rather than using V8 code.
14152         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14153         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14155 2013-01-10  Roland McGrath  <roland@hack.frob.com>
14157         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
14158         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
14159         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
14160         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
14161         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
14162         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
14163         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
14164         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
14165         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
14166         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
14167         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
14168         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
14169         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
14170         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
14171         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
14172         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
14173         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
14174         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
14175         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
14176         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
14177         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
14178         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
14179         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
14180         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
14181         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
14182         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
14183         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
14185 2013-01-10  David S. Miller  <davem@davemloft.net>
14187         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14189 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
14191         * posix/Makefile (tests-static): New variable.
14192         (tests): Add $(tests-static).
14193         (tst-exec-static-ARGS): New variable.
14194         (tst-spawn-static-ARGS): Likewise.
14195         * posix/tst-exec-static.c: New file.
14196         * posix/tst-spawn-static.c: Likewise.
14197         * posix/tst-exec.c: Support run directly.
14198         * posix/tst-spawn.c: Likewise.
14200 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
14202         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
14203         long.
14204         * math/bits/mathcalls.h (llrint): Likewise.
14205         (llround): Likewise.
14206         * stdlib/stdlib.h (struct drand48_data): Likewise.
14207         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
14208         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
14209         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
14210         Likewise.
14211         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
14212         Likewise.
14213         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
14214         (elf_greg_t): Likewise.
14215         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
14216         (__jmp_buf): Likewise.
14217         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
14218         definitions.
14219         (llrint): Likewise, for all definitions.
14220         (llrintl): Likewise.
14222         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
14223         Remove [__GNUC__] condition.
14224         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
14225         condition to just [__USE_ISOC99].
14226         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
14228 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
14230         [BZ #14200]
14231         * sysdeps/unix/sysv/linux/x86/bits/environments.h
14232         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
14233         defined.
14234         (_POSIX_V6_ILP32_OFF32): Likewise.
14235         (_XBS5_ILP32_OFF32): Likewise.
14236         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
14237         (__ILP32_OFFBIG_LDFLAGS): Likewise.
14239 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
14241         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
14243         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
14244         doubles __mpexp_twomm1.  Adjust usage.
14245         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
14246         Remove.
14248 2013-01-10  Andreas Schwab  <schwab@suse.de>
14250         [BZ #14964]
14251         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
14252         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
14254 2013-01-09  David S. Miller  <davem@davemloft.net>
14256         [BZ #15003]
14257         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
14258         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
14259         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
14260         TCP_FASTOPEN): Define.
14261         (tcp_repair_opt): New structure.
14262         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
14263         enum values.
14264         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
14265         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
14266         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
14267         (tcp_cookie_transactions): New structure.
14269 2013-01-09  Anton Blanchard  <anton@samba.org>
14271         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
14272         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
14273         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
14274         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
14276 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
14278         * include/features.h (__USE_ANSI): Remove.
14280 2013-01-09  Roland McGrath  <roland@hack.frob.com>
14282         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
14284         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
14286 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
14288         * sysdeps/s390/fpu/libm-test-ulps: Update.
14290         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14292         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
14293         (__acr): Likewise.
14294         (__cpy): Likewise.
14295         (norm): Likewise.
14296         (denorm): Likewise.
14297         (__mp_dbl): Likewise.
14298         (__dbl_mp): Likewise.
14299         (add_magnitudes): Likewise.
14300         (sub_magnitudes): Likewise.
14301         (__add): Likewise.
14302         (__sub): Likewise.
14303         (__mul): Likewise.
14304         (__inv): Likewise.
14305         (__dvd): Likewise.
14306         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
14307         (__acr): Likewise.
14308         (__cpy): Likewise.
14309         (norm): Likewise.
14310         (denorm): Likewise.
14311         (__mp_dbl): Likewise.
14312         (__dbl_mp): Likewise.
14313         (add_magnitudes): Likewise.
14314         (sub_magnitudes): Likewise.
14315         (__add): Likewise.
14316         (__sub): Likewise.
14317         (__mul): Likewise.
14318         (__inv): Likewise.
14319         (__dvd): Likewise.
14320         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
14321         (__acr): Likewise.
14322         (__cpy): Likewise.
14323         (norm): Likewise.
14324         (denorm): Likewise.
14325         (__mp_dbl): Likewise.
14326         (__dbl_mp): Likewise.
14327         (add_magnitudes): Likewise.
14328         (sub_magnitudes): Likewise.
14329         (__add): Likewise.
14330         (__sub): Likewise.
14331         (__mul): Likewise.
14332         (__inv): Likewise.
14333         (__dvd): Likewise.
14335 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
14337         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
14338         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
14339         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
14340         2 && __USE_EXTERN_INLINES]: Likewise.
14342 2013-01-08  Andreas Jaeger  <aj@suse.de>
14344         [BZ# 14985]
14345         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
14346         Remove.
14347         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14348         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14350 2013-01-07  Anton Blanchard  <anton@samba.org>
14352         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
14353         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
14354         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
14355         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
14356         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
14357         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14358         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
14359         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
14360         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14361         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14362         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14363         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14364         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
14365         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14366         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14367         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14368         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14369         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14370         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
14371         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
14372         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
14373         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
14374         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14375         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14376         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
14377         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
14378         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14379         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
14380         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
14381         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
14382         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
14383         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14384         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14385         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14386         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14387         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14388         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14389         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
14390         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
14391         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
14392         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
14393         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14394         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14396 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
14398         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
14399         (__MALLOC_PMT): Likewise.
14400         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
14401         [__GNUC__], only on [_LIBC].
14402         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
14403         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
14404         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
14405         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
14406         forward declaration.
14407         (realloc_hook_ini): Likewise.
14408         (memalign_hook_ini): Likewise.
14409         (__libc_memalign): Do not use __MALLOC_PMT in variable
14410         declaration.
14411         (__libc_valloc): Likewise.
14412         (__libc_pvalloc): Likewise.
14413         (__libc_calloc): Likewise.
14414         (__posix_memalign): Likewise.
14416         [BZ #14996]
14417         * math/s_casinh.c: Include <float.h>.
14418         (__casinh): Do not do computation with squaring and square root
14419         for large arguments.
14420         * math/s_casinhf.c: Include <float.h>.
14421         (__casinhf): Do not do computation with squaring and square root
14422         for large arguments.
14423         * math/s_casinhl.c: Include <float.h>.
14424         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
14425         (__casinhl): Do not do computation with squaring and square root
14426         for large arguments.
14427         * math/libm-test.inc (casin_test): Add more tests.
14428         (casinh_test): Likewise.
14429         * sysdeps/i386/fpu/libm-test-ulps: Update.
14430         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14432 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
14434         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
14435         (__x86_64_raw_data_cache_size): Likewise.
14436         (__x86_64_data_cache_size_half): Likewise.
14437         (__x86_64_raw_data_cache_size_half): Likewise.
14438         (__x86_64_shared_cache_size): Likewise.
14439         (__x86_64_raw_shared_cache_size): Likewise.
14440         (__x86_64_shared_cache_size_half): Likewise.
14441         (__x86_64_raw_shared_cache_size_half): Likewise.
14442         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
14443         to ...
14444         (__x86_data_cache_size): This.
14445         (__x86_64_raw_data_cache_size): Renamed to ...
14446         (__x86_raw_data_cache_size): This.
14447         (__x86_64_data_cache_size_half): Renamed to ...
14448         (__x86_data_cache_size_half): This.
14449         (__x86_64_raw_data_cache_size_half): Renamed to ...
14450         (__x86_raw_data_cache_size_half): This.
14451         (__x86_64_shared_cache_size): Renamed to ...
14452         (__x86_shared_cache_size): This.
14453         (__x86_64_raw_shared_cache_size): Renamed to ...
14454         (__x86_raw_shared_cache_size): This.
14455         (__x86_64_shared_cache_size_half): Renamed to ...
14456         (__x86_shared_cache_size_half): This.
14457         (__x86_64_raw_shared_cache_size_half): Renamed to ...
14458         (__x86_raw_shared_cache_size_half): This.
14459         * sysdeps/x86_64/memcpy.S: Updated.
14460         * sysdeps/x86_64/memset.S: Likewise.
14461         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
14462         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14463         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14465 2013-01-04  David S. Miller  <davem@davemloft.net>
14467         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14469 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
14471         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
14472         1 to avoid redefinition warning.
14473         (__USE_GNU): Don't define.
14474         (init_signaling_nan): Protoize.
14476         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14478 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14480         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
14481         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
14482         (__cpymn): Likewise.
14483         (norm): Remove commented code.
14484         (denorm): Likewise.
14485         (__mp_dbl): Likewise.
14486         (__inv): Likewise.
14487         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
14488         (__cpymn): Likewise.
14489         (norm): Remove commented code.
14490         (denorm): Likewise.
14491         (__mp_dbl): Likewise.
14492         (__inv): Likewise.
14494         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
14495         mp_no value for 1.0 and 2.0.
14496         (norm): Use RADIXI instead of radixi.d.
14497         (denorm): Likewise.
14498         (__mul): Use 0.0 instead of zero.d.
14499         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
14500         mp_no value for 1.0 and 2.0.
14501         (norm): Use RADIXI instead of radixi.d.
14502         (denorm): Likewise.
14503         (__mul): Use 0.0 instead of zero.d.
14505 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
14507         [BZ #14994]
14508         * math/s_casinh.c (__casinh): Reduce finite argument to first
14509         quadrant then set signs of results at the end.
14510         * math/s_casinhf.c (__casinhf): Likewise.
14511         * math/s_casinhl.c (__casinhl): Likewise.
14512         * math/libm-test.inc (casin_test): Add more tests.
14513         (casinh_test): Likewise.
14514         * sysdeps/i386/fpu/libm-test-ulps: Update.
14515         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14517 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14519         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
14521         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
14523         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
14524         declarations.
14525         (denorm): Likewise.
14526         (__mp_dbl): Likewise.
14527         (__inv): Likewise.
14529         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
14530         and adjust the header comment.
14532         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
14533         variable name from declaration.
14535 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
14537         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14538         Initialize COMMON_CPUID_INDEX_7 element.
14539         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
14540         (CPUID_RTM): Likewise.
14541         (HAS_RTM): Likewise.
14542         (COMMON_CPUID_INDEX_7): New enum.
14544 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
14546         [BZ #14981]
14547         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
14548         size is zero, record memory as freed.
14550 2013-01-03  Andreas Jaeger  <aj@suse.de>
14552         * po/ia.po: Add new Interlingua translation.
14554 2012-01-03  Allan McRae  <allan@archlinux.org>
14556         * locale/programs/localedef.c: Fix description of '--posix' flag.
14558 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
14560         * NEWS: Update dates in second copyright notice.
14561         * README: Update copyright dates in example.
14562         * manual/libc.texinfo: Update copyright dates.
14563         * scripts/test-installation.pl: Update copyright date in --version
14564         output.
14566         * hurd/ctty-input.c: Fix copyright notice formatting.
14567         * hurd/ctty-output.c: Likewise.
14568         * hurd/dtable.c: Likewise.
14569         * hurd/hurd-raise.c: Likewise.
14570         * hurd/hurdprio.c: Likewise.
14571         * hurd/msgportdemux.c: Likewise.
14572         * misc/sys/file.h: Likewise.
14573         * misc/sys/ioctl.h: Likewise.
14574         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
14575         * sysdeps/mach/hurd/chdir.c: Likewise.
14576         * sysdeps/mach/hurd/fchdir.c: Likewise.
14577         * sysdeps/mach/hurd/rename.c: Likewise.
14578         * sysdeps/mach/hurd/rmdir.c: Likewise.
14579         * sysdeps/mach/hurd/seekdir.c: Likewise.
14580         * sysdeps/mach/hurd/setsid.c: Likewise.
14581         * sysdeps/posix/wait3.c: Likewise.
14583         * All files with FSF copyright notices: Update copyright dates
14584         using scripts/update-copyrights.
14585         * intl/plural.c: Regenerated.
14586         * locale/programs/charmap-kw.h: Likewise.
14587         * locale/programs/locfile-kw.h: Likewise.
14589 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14591         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
14592         four values.
14594         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
14595         calculation loop and add branch prediction.
14597         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
14598         check access beyond bounds of m1np.
14600         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
14601         MPTWO.
14602         (__inv): Remove local variable MPTWO to use the global
14603         constant.
14604         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
14605         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
14606         variable MPTWO.
14607         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
14608         MP3HALFS static const.
14610 2013-01-01  David S. Miller  <davem@davemloft.net>
14612         * po/ca.po: Update from translation team.
14614 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
14616         * scripts/update-copyrights: New file.
14617         * Makeconfig: Reformat copyright notice.
14618         * ctype/ctype.h: Likewise.
14619         * debug/swprintf_chk.c: Likewise.
14620         * elf/dl-cache.c: Likewise.
14621         * elf/dl-debug.c: Likewise.
14622         * elf/dl-object.c: Likewise.
14623         * grp/initgroups.c: Likewise.
14624         * hurd/Makefile: Likewise.
14625         * hurd/hurd/signal.h: Likewise.
14626         * hurd/hurdfault.c: Likewise.
14627         * hurd/hurdioctl.c: Likewise.
14628         * hurd/hurdlookup.c: Likewise.
14629         * hurd/intr-msg.c: Likewise.
14630         * iconv/gconv_open.c: Likewise.
14631         * libio/swprintf.c: Likewise.
14632         * locale/lc-ctype.c: Likewise.
14633         * locale/nl_langinfo.c: Likewise.
14634         * mach/Machrules: Likewise.
14635         * mach/Makefile: Likewise.
14636         * malloc/obstack.h: Likewise.
14637         * manual/Makefile: Likewise.
14638         * manual/tsort.awk: Likewise.
14639         * misc/bits/stab.def: Likewise.
14640         * nis/nis_print_group_entry.c: Likewise.
14641         * nis/nis_table.c: Likewise.
14642         * nis/nss_compat/compat-pwd.c: Likewise.
14643         * nis/nss_compat/compat-spwd.c: Likewise.
14644         * po/Makefile: Likewise.
14645         * posix/fnmatch.c: Likewise.
14646         * posix/regex.h: Likewise.
14647         * resolv/Makefile: Likewise.
14648         * resolv/nss_dns/dns-network.c: Likewise.
14649         * resolv/res_hconf.c: Likewise.
14650         * scripts/gen-sorted.awk: Likewise.
14651         * soft-fp/soft-fp.h: Likewise.
14652         * stdio-common/printf.h: Likewise.
14653         * stdlib/monetary.h: Likewise.
14654         * stdlib/random.c: Likewise.
14655         * stdlib/random_r.c: Likewise.
14656         * sysdeps/generic/Makefile: Likewise.
14657         * sysdeps/gnu/Makefile: Likewise.
14658         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
14659         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14660         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14661         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14662         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14663         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14664         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14665         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14666         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14667         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14668         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14669         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14670         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
14671         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
14672         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
14673         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
14674         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14675         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14676         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14677         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14678         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
14679         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
14680         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14681         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
14682         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
14683         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
14684         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
14685         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
14686         * sysdeps/mach/hurd/errnos.awk: Likewise.
14687         * sysdeps/mach/hurd/fork.c: Likewise.
14688         * sysdeps/mach/hurd/getcwd.c: Likewise.
14689         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
14690         * sysdeps/mach/hurd/mmap.c: Likewise.
14691         * sysdeps/mach/hurd/utimes.c: Likewise.
14692         * sysdeps/mach/hurd/xmknod.c: Likewise.
14693         * sysdeps/posix/profil.c: Likewise.
14694         * sysdeps/posix/readdir_r.c: Likewise.
14695         * sysdeps/powerpc/bits/mathdef.h: Likewise.
14696         * sysdeps/powerpc/bits/setjmp.h: Likewise.
14697         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
14698         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
14699         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14700         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
14701         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14702         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
14703         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14704         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
14705         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14706         * sysdeps/pthread/lio_listio.c: Likewise.
14707         * sysdeps/sparc/dl-procinfo.h: Likewise.
14708         * sysdeps/unix/i386/sysdep.S: Likewise.
14709         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
14710         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
14711         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
14712         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
14713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14714         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
14715         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
14716         * sysdeps/unix/sysv/linux/speed.c: Likewise.
14717         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
14718         * sysdeps/wordsize-32/divdi3.c: Likewise.
14719         * time/sys/time.h: Likewise.
14720         * wcsmbs/Makefile: Likewise.
14722 2013-01-01  David S. Miller  <davem@davemloft.net>
14724         * po/fr.po: Update from translation team.
14726         * catgets/gencat.c: Update copyright year.
14727         * csu/version.c: Likewise.
14728         * debug/catchsegv.sh: Likewise.
14729         * debug/pcprofiledump.c: Likewise.
14730         * debug/xtrace.sh: Likewise.
14731         * elf/ldconfig.c: Likewise.
14732         * elf/ldd.bash.in: Likewise.
14733         * elf/pldd.c: Likewise.
14734         * elf/sotruss.ksh: Likewise.
14735         * elf/sprof.c: Likewise.
14736         * iconv/iconv_prog.c: Likewise.
14737         * iconv/iconvconfig.c: Likewise.
14738         * locale/programs/locale.c: Likewise.
14739         * locale/programs/localedef.c: Likewise.
14740         * login/programs/pt_chown.c: Likewise.
14741         * malloc/memusage.sh: Likewise.
14742         * malloc/memusagestat.c: Likewise.
14743         * malloc/mtrace.pl: Likewise.
14744         * nscd/nscd.c: Likewise.
14745         * nss/getent.c: Likewise.
14746         * nss/makedb.c: Likewise.
14747         * posix/getconf.c: Likewise.
14749 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
14751         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
14752         numbers.
14754 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
14756         * math/bits/mathcalls.h (modf): Use __nonnull.
14758 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
14760         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
14761         (split): Use macro CN instead of the bare value.
14762         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
14763         could be used.
14764         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
14765         instead of the bare value.
14766         (power1): Likewise.
14768 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14770         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
14771         __ATAN_TWOM.
14772         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14774         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
14775         their values.
14776         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
14777         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
14778         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
14779         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
14781 2012-12-28  Andreas Jaeger  <aj@suse.de>
14783         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
14784         values are from Linux 3.7.
14786         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
14787         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
14789 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14791         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
14792         TRUE case.
14794         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
14795         (norm): Likewise.
14796         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
14797         variables with preprocessor constants.
14798         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14799         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
14800         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
14802 2012-12-27  Bruno Haible  <bruno@clisp.org>
14804         [BZ #14317]
14805         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
14806         only if needed.
14808 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
14810         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
14811         and use variable directly.
14812         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
14814         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
14815         MPONE.
14816         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
14817         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
14818         variable MPONE.
14819         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
14820         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
14821         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
14822         include directive.  Remove local variable MPONE.
14823         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
14824         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
14825         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
14827 2012-12-25  David S. Miller  <davem@davemloft.net>
14829         * version.h (RELEASE): Set to "development".
14830         (VERSION): Set to "2.17.90".
14831         * NEWS: Add 2.18 section.
14833 2012-12-21  David S. Miller  <davem@davemloft.net>
14835         * po/hr.po: Update from translation team.
14837 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14839         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
14841 2012-12-19  Steve Ellcey  <sellcey@mips.com>
14843         * NEWS:  Mention new memcpy for MIPS.
14845 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
14847         * manual/contrib.texi (Contributors): Spelling correction.
14849 2012-12-15  David S. Miller  <davem@davemloft.net>
14851         * po/ru.po: Update from translation team.
14853 2012-12-13  David S. Miller  <davem@davemloft.net>
14855         * NEWS: Mention IFUNC testsuite enhancements.
14857         * po/pl.po: Update from translation team.
14858         * po/bg.po: Likewise.
14860         * manual/contrib.texi (Contributors): Update entries for Hongjiu
14861         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
14863 2012-12-11  David S. Miller  <davem@davemloft.net>
14865         * po/sv.po: Update from translation team.
14867         * po/vi.po: Update from translation team.
14869         * po/cs.po: Update from translation team.
14871         * po/de.po: Update from translation team.
14872         * po/eo.po: Likewise.
14873         * po/nl.po: Likewise.
14875 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
14877         [BZ #14246]
14878         * manual/argp.texi (Argp Helper Functions): Move node to follow
14879         Argp Parsing State.
14881         [BZ #14872]
14882         * manual/conf.texi (Limits on File System Capacity): Mention if
14883         terminating null is included in the max size.
14885 2012-12-10  Andreas Jaeger  <aj@suse.de>
14887         * po/cs.po: Update from translation team.
14889 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
14891         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
14892         void pointer and cast to uintptr_t.
14893         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
14894         path.
14895         * sysdeps/s390/s390-64/memcpy.S: Likewise.
14896         * sysdeps/s390/s390-64/memset.S: Likewise.
14898 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
14900         [BZ #14833]
14901         * menual/message.texi (Message Translation): Fix typos.
14902         (Helper programs for gettext): Likewise.
14904 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
14906         [BZ #14898]
14907         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
14908         Change to -1.
14910 2012-12-07  David S. Miller  <davem@davemloft.net>
14912         * po/libc.pot: Update.
14914 2012-12-07  Richard Henderson  <rth@redhat.com>
14916         [BZ #10114]
14917         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
14918         normal/normal case to before the switch.
14919         (_FP_DIV): Likewise.
14921 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
14922             Mike Frysinger  <vapier@gentoo.org>
14924         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
14925         check for __NR_fadvise64_64.
14927 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
14929         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
14930         0, not just to plain "0" as a statement.
14931         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
14932         with cw.
14934 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
14936         * NEWS: Use sourceware.org in Bugzilla URL.
14938 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
14940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
14941         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
14943         * stdio-common/tst-put-error.c (do_test): Add newline to the
14944         padded test to ensure flush.
14946 2012-12-05  Jeff Law  <law@redhat.com>
14948         * sunrpc/etc.rpc (fedfs_admin): Add entry.
14950 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
14952         * README: Don't refer to ports add-on as distributed separately.
14953         Mention AArch64 in list of systems supported in the ports add-on.
14955         * LICENSES: Add more non-FSF copyright and license notices.
14957         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
14958         ((unused)).
14960         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
14962         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
14963         10000 as width of padded output.
14965 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
14967         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
14969         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
14970         variable LX with __attribute__ ((unused)).
14971         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
14972         Likewise.
14973         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
14974         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14975         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
14976         with __attribute__ ((unused)).
14978 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
14980         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
14982 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
14984         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
14985         (CFLAGS-nldbl-acos.c): New variable.
14986         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
14987         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
14988         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
14989         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
14990         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
14991         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
14992         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
14993         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
14994         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
14995         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
14996         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
14997         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
14998         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
14999         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
15000         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
15001         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
15002         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
15003         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
15004         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
15005         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
15006         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
15007         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
15008         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
15009         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
15010         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
15011         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
15012         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
15013         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
15014         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
15015         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
15016         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
15017         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
15018         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
15019         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
15020         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
15021         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
15022         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
15023         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
15024         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
15025         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
15026         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
15027         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
15028         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
15029         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
15030         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
15031         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
15032         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
15033         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
15034         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
15035         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
15036         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
15037         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
15038         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
15039         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
15040         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
15041         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
15042         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
15043         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
15044         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
15045         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
15046         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
15047         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
15048         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
15049         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
15050         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
15051         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
15052         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
15053         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
15054         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
15055         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
15056         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
15057         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
15058         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
15059         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
15060         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
15061         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
15062         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
15063         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
15064         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
15065         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
15066         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
15067         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
15068         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
15069         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
15070         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
15071         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
15072         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
15073         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
15074         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
15075         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
15076         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
15077         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
15078         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
15079         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
15080         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
15081         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
15082         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
15084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15085         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15087         [BZ #14914]
15088         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
15089         whole low double instead of just low 47 bits when splitting values
15090         into two parts.
15092 2012-12-03  Allan McRae  <allan@archlinux.org>
15094         * manual/stdio.texi (Predefined Printf Handlers): Remove
15095         @hsep and @vsep usage.
15097 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
15099         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
15100         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
15102 2012-12-03  Jeff Law  <law@redhat.com>
15104         * time/sys/time.h (settimeofday): Do not mark TV argument
15105         as __nonnull.
15107 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
15109         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
15110         when currently writing and seek to current position when not.
15111         * libio/Makefile (tests): Remove bug-fclose1.
15112         * libio/bug-fclose1.c: Delete.
15114 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
15116         * manual/arith.texi (feenableexcept): Fix typo.
15117         (fedisableexcept): Likewise.
15119 2012-11-30  Roland McGrath  <roland@hack.frob.com>
15121         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
15122         second, differently-typed declaration, rather than a cast.
15124 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
15126         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
15127         * include/rpc/svc.h: ... here.
15129 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
15131         [BZ #13013]
15132         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
15133         depending n and resplen2 to catch cases where answer
15134         equals answerp2.
15136 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
15138         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
15139         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
15141 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
15143         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
15145 2012-11-29  Roland McGrath  <roland@hack.frob.com>
15147         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
15149 2012-11-28  Jeff Law  <law@redhat.com>
15151         [BZ #13761]
15152         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
15153         dataset_temporary.  Track alloca usage into alloca_used.
15154         If dataset is large allocate and release it via malloc/free.
15156 2012-06-04  Florian Weimer  <fweimer@redhat.com>
15158         [BZ #14197]
15159         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
15161 2012-11-28  David S. Miller  <davem@davemloft.net>
15163         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15165 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
15167         [BZ #14803]
15168         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
15169         of pi/2 rounded to nearest to 64 bits.
15170         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
15171         nearest to 64 bits.
15172         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
15173         bits.
15175 2012-11-28  Jeff Law <law@redhat.com>
15176             Martin Osvald <mosvald@redhat.com>
15178         [BZ #14889]
15179         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
15180         * sunrpc/svc.c: Include time.h.
15181         (__svc_accept_failed): New function.
15182         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
15183         any reason other than EINTR, call __svc_accept_failed.
15184         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
15185         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
15187 2012-11-28  Andreas Schwab  <schwab@suse.de>
15189         * scripts/abilist.awk: Also handle indirect functions in .opd
15190         section.
15192 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
15194         [BZ #13881]
15195         * sysdeps/x86/fpu/powl_helper.c: New file.
15196         * sysdeps/x86/fpu/Makefile: Likewise.
15197         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
15198         (p3): New object.
15199         (__ieee754_powl): Use __powl_helper for finite arguments except
15200         integer exponents below 8.
15201         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
15202         (p3): New object.
15203         (__ieee754_powl): Use __powl_helper for finite arguments except
15204         integer exponents below 8.
15205         * math/libm-test.inc (pow_test): Add more tests and enable some
15206         previously disabled tests.
15207         * sysdeps/i386/fpu/libm-test-ulps: Update.
15208         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15210 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15211             Carlos O'Donell  <carlos_odonell@mentor.com>
15213         * nss/makedb.c (is_prime): Assert that input is odd and greater
15214         than 4.  Note that fact in a comment too.
15215         (next_prime): Add 4 to input.
15217 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
15219         [BZ #11741]
15220         * libio/Makefile (tests): Add test case tst-fwrite-error.
15221         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
15222         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
15223         * libio/tst-fwrite-error.c: New test case.
15225 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
15227         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
15228         before casting to void *.
15229         * include/libc-internal.h (__pointer_type): New macro.
15230         (__integer_if_pointer_type_sub): Likewise.
15231         (__integer_if_pointer_type): Likewise.
15232         (cast_to_integer): Likewise.
15233         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
15234         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
15235         before casting to atomic64_t.
15236         (atomic_exchange_acq): Likewise.
15237         (__arch_exchange_and_add_body): Likewise.
15238         (__arch_add_body): Likewise.
15239         (atomic_add_negative): Likewise.
15240         (atomic_add_zero): Likewise.
15242 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
15244         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
15245         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
15246         (add_fdes): Likewise.
15247         (linear_search_fdes): Likewise.
15248         (binary_search_unencoded_fdes): Likewise.
15250 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
15252         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
15254 2012-11-24  Adam Conrad  <adconrad@0c3.net>
15256         * configure.in: Autodetect C++ header directories.
15257         * configure: Regenerated.
15259 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
15261         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
15263 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
15265         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15267 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
15269         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
15270         LDBL_MANT_DIG == 106]: Disable some tests.
15271         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15272         Likewise.
15273         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15274         Likewise.
15276         [BZ #14871]
15277         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
15278         input for small inputs.  Return +/- pi/2 for large inputs.
15279         * math/libm-test.inc (atan_test): Add more tests.
15281         * sysdeps/generic/unwind-dw2-fde-glibc.c
15282         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
15283         __attribute__ ((unused)).
15285         [BZ #14645]
15286         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
15287         x * y if x and y are nonzero and z is zero.
15289         [BZ #14811]
15290         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
15291         nonzero exponents with absolute value below 0x1p-117 to +/-
15292         0x1p-117.
15294         [BZ #14869]
15295         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
15296         up arguments below 2**-450, not just those below 2**-500.
15297         * math/libm-test.inc (hypot_test): Add another test.
15299         [BZ #14868]
15300         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
15301         Return a+b for ratio over 2**120, not 2**60.
15302         * math/libm-test.inc (hypot_test): Add another test.
15304         * math/libm-test.inc (clog_test): Use
15305         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
15306         (clog10_test): Likewise.
15308         [BZ #6778]
15309         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
15311 2012-11-22  Andreas Schwab  <schwab@suse.de>
15313         * sysdeps/i386/fpu/libm-test-ulps: Update.
15315 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
15317         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
15318         printf output with newline.
15320 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
15322         [BZ #14865]
15323         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
15324         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
15325         -z nodlopen, -z initfirst and -z execstack support.
15326         * configure: Regenerated.
15328         * elf/elf.h (DF_1_NODIRECT): New macro.
15329         (DF_1_IGNMULDEF): Likewise.
15330         (DF_1_NOKSYMS): Likewise.
15331         (DF_1_NOHDR): Likewise.
15332         (DF_1_EDITED): Likewise.
15333         (DF_1_NORELOC): Likewise.
15334         (DF_1_SYMINTPOSE): Likewise.
15335         (DF_1_GLOBAUDIT): Likewise.
15336         (DF_1_SINGLETON): Likewise.
15337         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
15338         DT_1_SUPPORTED_MASK bits.
15339         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
15341 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
15343         * sysdeps/unix/make-syscalls.sh: Document prefixes.
15345 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
15347         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
15348         macro.
15350         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
15351         (sendmmsg): Move declarations...
15352         * socket/sys/socket.h: ... here.
15353         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
15354         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
15355         include it from...
15356         * socket/recvmmsg.c: ... this new file.
15357         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
15358         (sendmmsg): Rename to __sendmmsg, create weak alias and make
15359         definition of __sendmmsg hidden.
15360         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
15361         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
15362         Move ENOSYS stub into and include it from...
15363         * socket/sendmmsg.c: ... this new file.
15364         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
15365         (sysdep_routines): Move recvmmsg and sendmmsg...
15366         * socket/Makefile (routines): ... here.
15367         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
15368         (GLIBC_PRIVATE): Add __sendmmsg.
15369         * include/sys/socket.h (__sendmmsg): Add declarations.
15370         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
15371         sendmmsg.
15373 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
15375         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
15376         variable I1 with __attribute__ ((unused)).
15377         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
15379 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
15381         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
15382         DUMMY variables with __attribute__ ((unused)).
15384         * bits/byteswap.h: Include <bits/types.h>.
15385         (__bswap_64): Use __uint64_t instead of unsigned long long int.
15387 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
15389         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
15390         string_t.  Do not manually set errno.
15391         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
15392         length with __strnlen.  Make sure to both set errno and return it on
15393         failure.
15395 2012-11-19  David S. Miller  <davem@davemloft.net>
15397         With help from Joseph Myers.
15398         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
15399         very large arguments properly.
15400         * math/libm-test.inc (atan_test): New tests.
15401         (atan2_test): New tests.
15402         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15403         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15405 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
15407         [BZ #14856]
15408         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
15409         Define to 3.
15411         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
15412         [POSIX] (EADDRNOTAVAIL): Likewise.
15413         [POSIX] (EAFNOSUPPORT): Likewise.
15414         [POSIX] (EALREADY): Likewise.
15415         [POSIX] (ECONNABORTED): Likewise.
15416         [POSIX] (ECONNREFUSED): Likewise.
15417         [POSIX] (ECONNRESET): Likewise.
15418         [POSIX] (EDESTADDRREQ): Likewise.
15419         [POSIX] (EDQUOT): Likewise.
15420         [POSIX] (EHOSTUNREACH): Likewise.
15421         [POSIX] (EIDRM): Likewise.
15422         [POSIX] (EISCONN): Likewise.
15423         [POSIX] (ELOOP): Likewise.
15424         [POSIX] (EMULTIHOP): Likewise.
15425         [POSIX] (ENETDOWN): Likewise.
15426         [POSIX] (ENETUNREACH): Likewise.
15427         [POSIX] (ENOBUFS): Likewise.
15428         [POSIX] (ENODATA): Likewise.
15429         [POSIX] (ENOLINK): Likewise.
15430         [POSIX] (ENOMSG): Likewise.
15431         [POSIX] (ENOPROTOOPT): Likewise.
15432         [POSIX] (ENOSR): Likewise.
15433         [POSIX] (ENOSTR): Likewise.
15434         [POSIX] (ENOTCONN): Likewise.
15435         [POSIX] (ENOTSOCK): Likewise.
15436         [POSIX] (EOPNOTSUPP): Likewise.
15437         [POSIX] (EOVERFLOW): Likewise.
15438         [POSIX] (EPROTO): Likewise.
15439         [POSIX] (EPROTONOSUPPORT): Likewise.
15440         [POSIX] (EPROTOTYPE): Likewise.
15441         [POSIX] (ESTALE): Likewise.
15442         [POSIX] (ETIME): Likewise.
15443         [POSIX] (ETXTBSY): Likewise.
15444         [POSIX] (EWOULDBLOCK): Likewise.
15445         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
15446         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
15447         [POSIX] (SEEK_CUR): Likewise.
15448         [POSIX] (SEEK_END): Likewise.
15449         [POSIX || UNIX98] (mode_t): Do not require.
15450         [POSIX] (off_t): Likewise.
15451         [POSIX] (pid_t): Likewise.
15452         [POSIX] (sys/stat.h): Do not allow header.
15453         [POSIX] (unistd.h): Likewise.
15454         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
15455         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
15456         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
15457         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
15458         require.
15459         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
15460         sigevent): Specify elements.
15461         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
15462         entry.
15463         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
15464         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
15466         * conform/data/cpio.h-data [POSIX]: Disable whole file.
15467         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
15468         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
15469         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
15470         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
15471         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
15472         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
15473         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
15474         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
15475         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
15476         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
15477         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
15478         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
15479         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
15480         Likewise.
15481         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
15482         Likewise.
15483         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
15484         Likewise.
15485         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
15486         Likewise.
15487         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
15488         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
15489         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
15490         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
15491         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
15492         Specify lower bound on value.
15493         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
15494         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
15495         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
15496         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
15497         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
15498         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
15499         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
15500         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
15501         value.
15502         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
15503         as optional.
15504         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
15505         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
15506         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
15507         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
15508         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
15509         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
15510         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
15511         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
15512         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
15513         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
15514         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
15515         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
15516         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
15517         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
15518         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
15519         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
15520         entry.
15521         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
15522         optional.
15523         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
15524         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
15525         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
15526         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
15527         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
15528         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
15529         Likewise.
15530         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
15531         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
15532         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
15533         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
15534         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
15535         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
15536         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
15537         as optional.
15538         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
15539         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
15540         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
15541         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
15542         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
15543         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
15544         specify as optional.
15545         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
15546         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
15547         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
15548         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
15549         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
15550         [XPG3] (NL_LANGMAX): Likewise.
15551         [POSIX || XPG3] (NL_MSGMAX): Likewise.
15552         [POSIX || XPG3] (NL_NMAX): Likewise.
15553         [POSIX || XPG3] (NL_SETMAX): Likewise.
15554         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
15555         [XPG3] (NZERO): Likewise.
15556         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
15557         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
15558         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
15559         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
15560         (REG_ERANGE): Expect.
15561         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
15562         optional-constant.
15563         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
15564         Use (void) in prototype.
15565         [POSIX] (*_t): Allow.
15566         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
15567         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
15568         (WRDE_BADVAL): Expect.
15570         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
15571         expect.
15572         [XPG3 || XPG4] (O_RSYNC): Likewise.
15573         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
15574         Likewise.
15575         [XPG3 || XPG4] (pthread_sigmask): Likewise.
15576         [XPG3 || XPG4] (sigqueue): Likewise.
15577         [XPG3 || XPG4] (sigtimedwait): Likewise.
15578         [XPG3 || XPG4] (sigwaitinfo): Likewise.
15579         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
15580         [XPG3 || XPG4] (vsnprintf): Likewise.
15581         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
15582         Likewise.
15583         [XPG3 || XPG4] (blksize_t): Likewise.
15584         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
15585         Likewise.
15586         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
15587         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
15588         [XPG3 || XPG4] (struct itimerspec): Likewise.
15589         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
15590         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
15591         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
15592         [XPG3 || XPG4] (clockid_t): Likewise.
15593         [XPG3 || XPG4] (timer_t): Likewise.
15594         [XPG3 || XPG4] (clock_getres): Likewise.
15595         [XPG3 || XPG4] (clock_gettime): Likewise.
15596         [XPG3 || XPG4] (clock_settime): Likewise.
15597         [XPG3 || XPG4] (nanosleep): Likewise.
15598         [XPG3 || XPG4] (timer_create): Likewise.
15599         [XPG3 || XPG4] (timer_delete): Likewise.
15600         [XPG3 || XPG4] (timer_gettime): Likewise.
15601         [XPG3 || XPG4] (timer_getoverrun): Likewise.
15602         [XPG3 || XPG4] (timer_settime): Likewise.
15603         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
15604         [XPG3 || XPG4] (getlogin_r): Likewise.
15605         [XPG3 || XPG4] (pread): Likewise.
15606         [XPG3 || XPG4] (pthread_atfork): Likewise.
15607         [XPG3 || XPG4] (pwrite): Likewise.
15609         [BZ #14835]
15610         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
15611         <bits/siginfo.h>.
15613 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
15615         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
15616         finalizing MALLSTREAM.
15618         * sysdeps/mach/hurd/syncfs.c: New file.
15620 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
15622         [BZ #14719]
15623         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
15624         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
15625         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
15626         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
15627         (_nss_dns_gethostbyname4_r): Likewise.
15628         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
15629         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
15631 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
15633         [BZ #13763]
15634         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
15636 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
15638         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
15639         * elf/cache.c (print_entry): Print ",AArch64" for
15640         FLAG_AARCH64_LIB64
15642         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
15643         * elf/cache.c (print_entry): Print ",hard-float" for
15644         FLAG_ARM_LIBHF.
15646 2012-11-18  David S. Miller  <davem@davemloft.net>
15648         With help from Joseph Myers.
15649         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
15650         cutoff to 2**-13.
15651         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
15652         cutoff to 2**-25.
15653         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
15654         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
15655         small.
15656         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
15657         * math/libm-test.inc (y0_test): New tests.
15658         (y1_test): New tests.
15659         * sysdeps/i386/fpu/libm-test-ulps: Update.
15660         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15661         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15663 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
15665         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
15666         64-bit targets.
15667         * configure: Regenerated.
15669 2012-11-17  David S. Miller  <davem@davemloft.net>
15671         [BZ #14811]
15672         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
15673         nonzero exponents with absolute value below 0x1p-128 to +/-
15674         0x1p-128.
15676 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
15678         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
15680         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
15682         * posix/getconf-speclist.c: New file.
15683         * posix/posix-envs.def: Likewise.
15684         * posix/confstr.c (START_ENV_GROUP): New macro.
15685         (END_ENV_GROUP): Likewise.
15686         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
15687         (KNOWN_PRESENT_ENV_STRING): Likewise.
15688         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
15689         (UNKNOWN_ENVIRONMENT): Likewise.
15690         (confstr): Include posix-envs.def instead of handling
15691         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
15692         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
15693         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
15694         (END_ENV_GROUP): Likewise.
15695         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
15696         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
15697         (UNKNOWN_ENVIRONMENT): Likewise.
15698         (__sysconf): Include posix-envs.def instead of handling associated
15699         cases directly here.
15700         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
15701         preprocessing getconf-speclist.c rather than running getconf or
15702         generating empty file.
15704 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
15706         * scripts/check-local-headers.sh: Ignore 'mach' headers.
15708 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
15710         [BZ #14672]
15711         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
15713 2012-11-16  David S. Miller  <davem@davemloft.net>
15715         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
15716         smaller than LDBL_EPSILON/2.0L, just return xm1.
15718 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
15720         * elf/tst-array1.c (init): Set constructor priority to 1000.
15721         (fini): Set destructor priority to 1000.
15722         * elf/tst-array2dep.c: Likewise.
15724 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
15726         [BZ #11741]
15727         * libio/fileops.c (_IO_new_file_write): Correctly return error.
15728         (_IO_new_file_xsputn): Also return EOF if none of the input
15729         data was written when overflow failed.
15730         * libio/iopadn.c (_IO_padn): Likewise.
15731         * libio/iowpadn.c (_IO_wpadn): Likewise.
15732         * stdio-common/tst-put-error.c: Add copyright notice.
15733         (do_test): Add case for printing padded string.
15734         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
15735         _IO_padn returned error.
15736         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
15737         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
15738         return EOF.
15740 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
15742         * libio/libioP.h: Add comment note that the references to C++
15743         bits are now obsolete.
15745 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15747         * math/libm-test.inc (check_complex): Use asprintf.
15749 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
15751         * debug/pcprofiledump.c (print_version): Update copyright year.
15752         * malloc/memusagestat.c (print_version): Likewise.
15754 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
15756         [BZ #14831]
15757         * elf/Makefile (tests): Add tst-audit8.
15758         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
15759         ($(objpfx)tst-audit8.out): New target.
15760         (tst-audit8-ENV): New variable.
15761         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
15762         audit if l_reloc_result is NULL.
15763         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
15764         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
15765         * elf/tst-audit8.c: New file.
15767 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15769         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
15770         * misc/Makefile (CFLAGS-select.c): Define.
15771         * posix/Makefile (CFLAGS-pause.c): Define.
15773 2012-11-13  David S. Miller  <davem@davemloft.net>
15775         * crypt/Makefile: Move test targets after toplevel Rules
15776         inclusion.  Grab any necessary sysdep routines when linking.
15777         * crypt/md5.c (md5_process_block): Remove define, we will always
15778         name it __md5_process_block.
15779         (md5_finish_ctx): Update md5_process_block call.
15780         (md5_stream): Likewise.
15781         (md5_process_bytes): Likewise.
15782         (md5_process_block): Rename to __md5_process_block and move to ...
15783         * crypt/md5-block.c: ... here.
15784         * crypt/sha256.c (sha256_process_block): Move to ...
15785         * crypt/sha256-block.c: ... here.
15786         * crypt/sha512.c (sha512_process_block): Move to ...
15787         * crypt/sha512-block.c: ... here.
15788         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
15789         path.
15790         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
15791         * sysdeps/sparc/sparc64/multiarch/Makefile
15792         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
15793         crypt subdir.
15794         (localedef-aux): Add md5 crypto assembler when in locale subdir.
15795         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
15796         multiarch changes.
15797         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
15798         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
15799         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
15800         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
15801         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
15802         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
15803         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
15804         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
15805         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
15806         file.
15807         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
15808         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
15809         file.
15810         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
15812 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
15814         * timezone/tzselect.ksh: Update from tzcode git revision
15815         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
15816         * timezone/zdump.c: Likewise.
15817         * timezone/zic.c: Likewise.
15818         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
15819         in TZVERSION setting, not $(PKGVERSION).
15820         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
15821         REPORT_BUGS_TO settings.
15823         [BZ #14838]
15824         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
15825         macro.
15827 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15829         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
15830         detection to immediately after _FP_ROUND().
15831         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
15832         bits are 0.
15834 2012-11-11  David S. Miller  <davem@davemloft.net>
15836         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
15837         inttypes.h
15838         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
15839         __close rather than their public counterparts.
15841 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
15843         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
15844         file.
15845         [UNIX98] (sem_timedwait): Do not expect.
15846         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
15847         [XPG4 || UNIX98] (sockatmark): Do not expect.
15848         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
15849         (clock_getcpuclockid): Do not expect.
15850         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
15851         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
15852         Do not expect.
15853         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
15854         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
15855         [UNIX98] (vwscanf): Likewise.
15856         [UNIX98] (vswscanf): Likewise.
15858 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
15860         * timezone/version.h: Remove file.
15861         * timezone/README: Do not refer to version.h.
15862         * timezone/Makefile ($(objpfx)zic.o): New dependency on
15863         $(objpfx)version.h.
15864         ($(objpfx)zdump.o): Likewise.
15865         ($(objpfx)version.h): New target.
15867         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
15868         2012i.
15869         * timezone/README: Don't mention modification to tzselect.ksh.
15870         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
15871         work on unmodified tzselect.ksh.  Substitute version numbers in
15872         tzselect.ksh.
15874         * Makefile (format-me): Remove.
15875         (INSTALL): Adjust indentation.  Use commands directly instead of
15876         using $(format-me).
15878         * aclocal.m4 (ACX_PKGVERSION): New macro.
15879         (ACX_BUGURL): Likewise.
15880         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
15881         (PKGVERSION): New AC_DEFINE_UNQUOTED.
15882         (REPORT_BUGS_TO): Likewise.
15883         * configure: Regenerated.
15884         * config.h.in (PKGVERSION): New macro.
15885         (REPORT_BUGS_TO): Likewise.
15886         * config.make.in (PKGVERSION): New variable.
15887         (PKGVERSION_TEXI): Likewise.
15888         (REPORT_BUGS_TO): Likewise.
15889         (REPORT_BUGS_TEXI): Likewise.
15890         * Makefile (format-me): Use -I$(common-objpfx)manual.
15891         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
15892         ($(common-objpfx)manual/%): New target.
15893         (manual/%): Remove target.
15894         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
15895         (print_version): Use PKGVERSION.
15896         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
15897         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
15898         and REPORT_BUGS_TO.
15899         ($(objpfx)xtrace): Likewise.
15900         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
15901         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
15902         (print_version): Use PKGVERSION.
15903         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
15904         (do_version): Use PKGVERSION.
15905         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
15906         REPORT_BUGS_TO.
15907         (common-ldd-rewrite): Likewise.
15908         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
15909         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
15910         (print_version): Use PKGVERSION.
15911         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
15912         * elf/pldd.c (argp_program_bug_address): Remove variable.
15913         (more_help): New function.
15914         (argp): Use more_help.
15915         (print_version): Use PKGVERSION.
15916         * elf/sln.c (main): Use PKGVERSION.
15917         (usage): Use REPORT_BUGS_TO.
15918         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
15919         (top level): Use PKGVERSION.
15920         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
15921         (print_version): Use PKGVERSION.
15922         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
15923         (print_version): Use PKGVERSION.
15924         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
15925         (print_version): Use PKGVERSION.
15926         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
15927         (print_version): Use PKGVERSION.
15928         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
15929         (print_version): Use PKGVERSION.
15930         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
15931         (print_version): Use PKGVERSION.
15932         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
15933         and BUGURL.
15934         ($(objpfx)memusage): Likewise.
15935         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
15936         (do_version): Use PKGVERSION.
15937         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
15938         (print_version): Use PKGVERSION.
15939         * malloc/mtrace.pl ($PACKAGE): Remove variable.
15940         ($PKGVERSION): New variable.
15941         ($REPORT_BUGS_TO): Likewise.
15942         (usage): Use $REPORT_BUGS_TO.
15943         (top level): Use $PKGVERSION.
15944         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
15945         ($(objpfx)pkgvers.texi): New rule.
15946         ($(objpfx)stamp-pkgvers): Likewise.
15947         * manual/install.texi: Include pkgvers.texi.
15948         (--with-pkgversion): Document new configure option.
15949         (--with-bugurl): Likewise.
15950         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
15951         than necessarily for this particular distribution.  Use
15952         REPORT_BUGS_TO for where to report bugs.
15953         * INSTALL: Regenerated.
15954         * manual/libc.texinfo: Include pkgvers.texi.
15955         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
15956         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
15957         (print_version): Use PKGVERSION.
15958         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
15959         (print_version): Use PKGVERSION.
15960         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
15961         (print_version): Use PKGVERSION.
15962         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
15963         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
15964         macro.
15965         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
15966         (print_version): Use PKGVERSION.
15967         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
15968         (print_version): Use PKGVERSION.
15969         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
15970         and PKGVERSION.
15972         * timezone/checktab.awk: Update from tzcode 2012i.
15973         * timezone/ialloc.c: Likewise.
15974         * timezone/private.h: Likewise.
15975         * timezone/scheck.c: Likewise.
15976         * timezone/tzfile.h: Likewise.
15977         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
15978         (TZVERSION): Hardcode tzcode version number.
15979         * timezone/zdump.c: Update from tzcode 2012i.
15980         * timezone/zic.c: Likewise.
15981         * timezone/version.h: New file.
15982         * timezone/README: Describe version.h.  Update upstream location.
15984         [BZ #14824]
15985         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
15986         (mktemp): Enable declaration.
15987         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
15988         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
15989         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
15990         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
15991         Likewise.
15992         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
15993         Likewise.
15994         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
15995         Likewise.
15996         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
15997         Likewise.
15998         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
15999         Likewise.
16000         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
16001         Likewise.
16003         [BZ #14821]
16004         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
16005         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
16006         for copies of such integer values.
16007         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16008         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16010 2012-11-09  Andreas Jaeger  <aj@suse.de>
16012         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
16013         definitions and declarations that are provided by
16014         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
16016 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16018         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
16019         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
16020         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
16021         definition.
16023 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16025         * elf/elf.h: Update comment before AArch64 relocations.
16027 2012-11-07  David S. Miller  <davem@davemloft.net>
16029         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
16030         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
16031         (__start_context): Declare.
16032         (__makecontext_ret): Delete.
16033         (__makecontext): Hook up __start_context instead of
16034         __makecontext_ret.
16035         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
16036         (sysdep_routines): Add __start_context when in stdlib.
16038 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
16040         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
16041         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
16042         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
16043         hardcoded "nm".
16044         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
16045         (READELF): New variable.  Use it instead of hardcoded "readelf".
16047 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
16049         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
16050         * sysdeps/x86/Makefile: Here.
16051         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
16052         * sysdeps/x86/tst-xmmymm.sh: This.
16054 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
16056         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
16057         expectations.
16058         [UNIX98] (pthread_barrier_t): Do not expect.
16059         [UNIX98] (pthread_barrierattr_t): Likewise.
16060         [UNIX98] (pthread_spinlock_t): Likewise.
16061         [UNIX98] (pthread_barrier_destroy): Likewise.
16062         [UNIX98] (pthread_barrier_init): Likewise.
16063         [UNIX98] (pthread_barrier_wait): Likewise.
16064         [UNIX98] (pthread_barrierattr_destroy): Likewise.
16065         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
16066         [UNIX98] (pthread_barrierattr_init): Likewise.
16067         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
16068         [UNIX98] (pthread_getcpuclockid): Likewise.
16069         [UNIX98] (pthread_mutex_timedlock): Likewise.
16070         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
16071         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
16072         [UNIX98] (pthread_sigmask): Likewise.
16073         [UNIX98] (pthread_spin_destroy): Likewise.
16074         [UNIX98] (pthread_spin_init): Likewise.
16075         [UNIX98] (pthread_spin_lock): Likewise.
16076         [UNIX98] (pthread_spin_trylock): Likewise.
16077         [UNIX98] (pthread_spin_unlock): Likewise.
16078         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
16079         Do not expect.
16080         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
16081         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
16082         [XPG3 || XPG4] (pthread_cond_t): Likewise.
16083         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
16084         [XPG3 || XPG4] (pthread_key_t): Likewise.
16085         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
16086         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
16087         [XPG3 || XPG4] (pthread_once_t): Likewise.
16088         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
16089         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
16090         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
16091         [XPG3 || XPG4] (pthread_t): Likewise.
16093         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
16094         not expect.
16095         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
16097         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
16098         Change function return type to int.
16100         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
16101         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
16102         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
16103         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
16104         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
16105         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
16106         [!POSIX] (posix_madvise): Likewise.
16107         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
16108         && !UNIX98].
16109         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
16110         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
16111         (mode_t): Likewise.
16112         (posix_mem_offset): Likewise.
16113         (posix_typed_mem_get_info): Likewise.
16114         (posix_typed_mem_open): Likewise.
16116         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
16117         Change condition to [XOPEN2K8].
16119         * conform/conformtest.pl: Preprocess allow-header data with -x c
16120         instead of from stdin.
16121         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
16122         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
16123         [C99-based standards] (cerfc): Likewise.
16124         [C99-based standards] (cexp2): Likewise.
16125         [C99-based standards] (cexpm1): Likewise.
16126         [C99-based standards] (clog10): Likewise.
16127         [C99-based standards] (clog1p): Likewise.
16128         [C99-based standards] (clog2): Likewise.
16129         [C99-based standards] (clgamma): Likewise.
16130         [C99-based standards] (ctgamma): Likewise.
16131         [C99-based standards] (cerff): Likewise.
16132         [C99-based standards] (cerfcf): Likewise.
16133         [C99-based standards] (cexp2f): Likewise.
16134         [C99-based standards] (cexpm1f): Likewise.
16135         [C99-based standards] (clog10f): Likewise.
16136         [C99-based standards] (clog1pf): Likewise.
16137         [C99-based standards] (clog2f): Likewise.
16138         [C99-based standards] (clgammaf): Likewise.
16139         [C99-based standards] (ctgammaf): Likewise.
16140         [C99-based standards] (cerfl): Likewise.
16141         [C99-based standards] (cerfcl): Likewise.
16142         [C99-based standards] (cexp2l): Likewise.
16143         [C99-based standards] (cexpm1l): Likewise.
16144         [C99-based standards] (clog10l): Likewise.
16145         [C99-based standards] (clog1pl): Likewise.
16146         [C99-based standards] (clog2l): Likewise.
16147         [C99-based standards] (clgammal): Likewise.
16148         [C99-based standards] (ctgammal): Likewise.
16149         * conform/data/inttypes.h-data [C99-based standards]: Include
16150         stdint.h-data.  Remove all expectations for stdint.h contents.
16151         [C99-based standards] (PRI*): Do not allow.
16152         [C99-based standards] (SCN*): Likewise.
16153         [C99-based standards] (*_t): Likewise.
16154         [C99-based-standards] (PRId8): Expect macro.
16155         [C99-based-standards] (PRIi8): Likewise.
16156         [C99-based-standards] (PRIo8): Likewise.
16157         [C99-based-standards] (PRIu8): Likewise.
16158         [C99-based-standards] (PRIx8): Likewise.
16159         [C99-based-standards] (PRIX8): Likewise.
16160         [C99-based-standards] (SCNd8): Likewise.
16161         [C99-based-standards] (SCNi8): Likewise.
16162         [C99-based-standards] (SCNo8): Likewise.
16163         [C99-based-standards] (SCNu8): Likewise.
16164         [C99-based-standards] (SCNx8): Likewise.
16165         [C99-based-standards] (PRIdLEAST8): Likewise.
16166         [C99-based-standards] (PRIiLEAST8): Likewise.
16167         [C99-based-standards] (PRIoLEAST8): Likewise.
16168         [C99-based-standards] (PRIuLEAST8): Likewise.
16169         [C99-based-standards] (PRIxLEAST8): Likewise.
16170         [C99-based-standards] (PRIXLEAST8): Likewise.
16171         [C99-based-standards] (SCNdLEAST8): Likewise.
16172         [C99-based-standards] (SCNiLEAST8): Likewise.
16173         [C99-based-standards] (SCNoLEAST8): Likewise.
16174         [C99-based-standards] (SCNuLEAST8): Likewise.
16175         [C99-based-standards] (SCNxLEAST8): Likewise.
16176         [C99-based-standards] (PRIdFAST8): Likewise.
16177         [C99-based-standards] (PRIiFAST8): Likewise.
16178         [C99-based-standards] (PRIoFAST8): Likewise.
16179         [C99-based-standards] (PRIuFAST8): Likewise.
16180         [C99-based-standards] (PRIxFAST8): Likewise.
16181         [C99-based-standards] (PRIXFAST8): Likewise.
16182         [C99-based-standards] (SCNdFAST8): Likewise.
16183         [C99-based-standards] (SCNiFAST8): Likewise.
16184         [C99-based-standards] (SCNoFAST8): Likewise.
16185         [C99-based-standards] (SCNuFAST8): Likewise.
16186         [C99-based-standards] (SCNxFAST8): Likewise.
16187         [C99-based-standards] (PRId16): Likewise.
16188         [C99-based-standards] (PRIi16): Likewise.
16189         [C99-based-standards] (PRIo16): Likewise.
16190         [C99-based-standards] (PRIu16): Likewise.
16191         [C99-based-standards] (PRIx16): Likewise.
16192         [C99-based-standards] (PRIX16): Likewise.
16193         [C99-based-standards] (SCNd16): Likewise.
16194         [C99-based-standards] (SCNi16): Likewise.
16195         [C99-based-standards] (SCNo16): Likewise.
16196         [C99-based-standards] (SCNu16): Likewise.
16197         [C99-based-standards] (SCNx16): Likewise.
16198         [C99-based-standards] (PRIdLEAST16): Likewise.
16199         [C99-based-standards] (PRIiLEAST16): Likewise.
16200         [C99-based-standards] (PRIoLEAST16): Likewise.
16201         [C99-based-standards] (PRIuLEAST16): Likewise.
16202         [C99-based-standards] (PRIxLEAST16): Likewise.
16203         [C99-based-standards] (PRIXLEAST16): Likewise.
16204         [C99-based-standards] (SCNdLEAST16): Likewise.
16205         [C99-based-standards] (SCNiLEAST16): Likewise.
16206         [C99-based-standards] (SCNoLEAST16): Likewise.
16207         [C99-based-standards] (SCNuLEAST16): Likewise.
16208         [C99-based-standards] (SCNxLEAST16): Likewise.
16209         [C99-based-standards] (PRIdFAST16): Likewise.
16210         [C99-based-standards] (PRIiFAST16): Likewise.
16211         [C99-based-standards] (PRIoFAST16): Likewise.
16212         [C99-based-standards] (PRIuFAST16): Likewise.
16213         [C99-based-standards] (PRIxFAST16): Likewise.
16214         [C99-based-standards] (PRIXFAST16): Likewise.
16215         [C99-based-standards] (SCNdFAST16): Likewise.
16216         [C99-based-standards] (SCNiFAST16): Likewise.
16217         [C99-based-standards] (SCNoFAST16): Likewise.
16218         [C99-based-standards] (SCNuFAST16): Likewise.
16219         [C99-based-standards] (SCNxFAST16): Likewise.
16220         [C99-based-standards] (PRId32): Likewise.
16221         [C99-based-standards] (PRIi32): Likewise.
16222         [C99-based-standards] (PRIo32): Likewise.
16223         [C99-based-standards] (PRIu32): Likewise.
16224         [C99-based-standards] (PRIx32): Likewise.
16225         [C99-based-standards] (PRIX32): Likewise.
16226         [C99-based-standards] (SCNd32): Likewise.
16227         [C99-based-standards] (SCNi32): Likewise.
16228         [C99-based-standards] (SCNo32): Likewise.
16229         [C99-based-standards] (SCNu32): Likewise.
16230         [C99-based-standards] (SCNx32): Likewise.
16231         [C99-based-standards] (PRIdLEAST32): Likewise.
16232         [C99-based-standards] (PRIiLEAST32): Likewise.
16233         [C99-based-standards] (PRIoLEAST32): Likewise.
16234         [C99-based-standards] (PRIuLEAST32): Likewise.
16235         [C99-based-standards] (PRIxLEAST32): Likewise.
16236         [C99-based-standards] (PRIXLEAST32): Likewise.
16237         [C99-based-standards] (SCNdLEAST32): Likewise.
16238         [C99-based-standards] (SCNiLEAST32): Likewise.
16239         [C99-based-standards] (SCNoLEAST32): Likewise.
16240         [C99-based-standards] (SCNuLEAST32): Likewise.
16241         [C99-based-standards] (SCNxLEAST32): Likewise.
16242         [C99-based-standards] (PRIdFAST32): Likewise.
16243         [C99-based-standards] (PRIiFAST32): Likewise.
16244         [C99-based-standards] (PRIoFAST32): Likewise.
16245         [C99-based-standards] (PRIuFAST32): Likewise.
16246         [C99-based-standards] (PRIxFAST32): Likewise.
16247         [C99-based-standards] (PRIXFAST32): Likewise.
16248         [C99-based-standards] (SCNdFAST32): Likewise.
16249         [C99-based-standards] (SCNiFAST32): Likewise.
16250         [C99-based-standards] (SCNoFAST32): Likewise.
16251         [C99-based-standards] (SCNuFAST32): Likewise.
16252         [C99-based-standards] (SCNxFAST32): Likewise.
16253         [C99-based-standards] (PRId64): Likewise.
16254         [C99-based-standards] (PRIi64): Likewise.
16255         [C99-based-standards] (PRIo64): Likewise.
16256         [C99-based-standards] (PRIu64): Likewise.
16257         [C99-based-standards] (PRIx64): Likewise.
16258         [C99-based-standards] (PRIX64): Likewise.
16259         [C99-based-standards] (SCNd64): Likewise.
16260         [C99-based-standards] (SCNi64): Likewise.
16261         [C99-based-standards] (SCNo64): Likewise.
16262         [C99-based-standards] (SCNu64): Likewise.
16263         [C99-based-standards] (SCNx64): Likewise.
16264         [C99-based-standards] (PRIdLEAST64): Likewise.
16265         [C99-based-standards] (PRIiLEAST64): Likewise.
16266         [C99-based-standards] (PRIoLEAST64): Likewise.
16267         [C99-based-standards] (PRIuLEAST64): Likewise.
16268         [C99-based-standards] (PRIxLEAST64): Likewise.
16269         [C99-based-standards] (PRIXLEAST64): Likewise.
16270         [C99-based-standards] (SCNdLEAST64): Likewise.
16271         [C99-based-standards] (SCNiLEAST64): Likewise.
16272         [C99-based-standards] (SCNoLEAST64): Likewise.
16273         [C99-based-standards] (SCNuLEAST64): Likewise.
16274         [C99-based-standards] (SCNxLEAST64): Likewise.
16275         [C99-based-standards] (PRIdFAST64): Likewise.
16276         [C99-based-standards] (PRIiFAST64): Likewise.
16277         [C99-based-standards] (PRIoFAST64): Likewise.
16278         [C99-based-standards] (PRIuFAST64): Likewise.
16279         [C99-based-standards] (PRIxFAST64): Likewise.
16280         [C99-based-standards] (PRIXFAST64): Likewise.
16281         [C99-based-standards] (SCNdFAST64): Likewise.
16282         [C99-based-standards] (SCNiFAST64): Likewise.
16283         [C99-based-standards] (SCNoFAST64): Likewise.
16284         [C99-based-standards] (SCNuFAST64): Likewise.
16285         [C99-based-standards] (SCNxFAST64): Likewise.
16286         [C99-based-standards] (PRIdMAX): Likewise.
16287         [C99-based-standards] (PRIiMAX): Likewise.
16288         [C99-based-standards] (PRIoMAX): Likewise.
16289         [C99-based-standards] (PRIuMAX): Likewise.
16290         [C99-based-standards] (PRIxMAX): Likewise.
16291         [C99-based-standards] (PRIXMAX): Likewise.
16292         [C99-based-standards] (SCNdMAX): Likewise.
16293         [C99-based-standards] (SCNiMAX): Likewise.
16294         [C99-based-standards] (SCNoMAX): Likewise.
16295         [C99-based-standards] (SCNuMAX): Likewise.
16296         [C99-based-standards] (SCNxMAX): Likewise.
16297         [C99-based-standards] (PRIdPTR): Likewise.
16298         [C99-based-standards] (PRIiPTR): Likewise.
16299         [C99-based-standards] (PRIoPTR): Likewise.
16300         [C99-based-standards] (PRIuPTR): Likewise.
16301         [C99-based-standards] (PRIxPTR): Likewise.
16302         [C99-based-standards] (PRIXPTR): Likewise.
16303         [C99-based-standards] (SCNdPTR): Likewise.
16304         [C99-based-standards] (SCNiPTR): Likewise.
16305         [C99-based-standards] (SCNoPTR): Likewise.
16306         [C99-based-standards] (SCNuPTR): Likewise.
16307         [C99-based-standards] (SCNxPTR): Likewise.
16308         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
16309         allow.
16310         * conform/data/stdint.h-data: Update comments to clarify
16311         requirements.
16312         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
16313         type.
16314         [C99-based standards] (INT8_MAX): Likewise.
16315         [C99-based standards] (INT16_MIN): Likewise.
16316         [C99-based standards] (INT16_MAX): Likewise.
16317         [C99-based standards] (INT32_MIN): Likewise.
16318         [C99-based standards] (INT32_MAX): Likewise.
16319         [C99-based standards] (INT64_MIN): Likewise.
16320         [C99-based standards] (INT64_MAX): Likewise.
16321         [C99-based standards] (UINT8_MAX): Likewise.
16322         [C99-based standards] (UINT16_MAX): Likewise.
16323         [C99-based standards] (UINT32_MAX): Likewise.
16324         [C99-based standards] (UINT64_MAX): Likewise.
16325         [C99-based standards] (INT_LEAST8_MIN): Likewise.
16326         [C99-based standards] (INT_LEAST8_MAX): Likewise.
16327         [C99-based standards] (INT_LEAST16_MIN): Likewise.
16328         [C99-based standards] (INT_LEAST16_MAX): Likewise.
16329         [C99-based standards] (INT_LEAST32_MIN): Likewise.
16330         [C99-based standards] (INT_LEAST32_MAX): Likewise.
16331         [C99-based standards] (INT_LEAST64_MIN): Likewise.
16332         [C99-based standards] (INT_LEAST64_MAX): Likewise.
16333         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
16334         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
16335         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
16336         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
16337         [C99-based standards] (INT_FAST8_MIN): Likewise.
16338         [C99-based standards] (INT_FAST8_MAX): Likewise.
16339         [C99-based standards] (INT_FAST16_MIN): Likewise.
16340         [C99-based standards] (INT_FAST16_MAX): Likewise.
16341         [C99-based standards] (INT_FAST32_MIN): Likewise.
16342         [C99-based standards] (INT_FAST32_MAX): Likewise.
16343         [C99-based standards] (INT_FAST64_MIN): Likewise.
16344         [C99-based standards] (INT_FAST64_MAX): Likewise.
16345         [C99-based standards] (UINT_FAST8_MAX): Likewise.
16346         [C99-based standards] (UINT_FAST16_MAX): Likewise.
16347         [C99-based standards] (UINT_FAST32_MAX): Likewise.
16348         [C99-based standards] (UINT_FAST64_MAX): Likewise.
16349         [C99-based standards] (INTPTR_MIN): Likewise.
16350         [C99-based standards] (INTPTR_MAX): Likewise.
16351         [C99-based standards] (UINTPTR_MAX): Likewise.
16352         [C99-based standards] (INTMAX_MIN): Likewise.
16353         [C99-based standards] (INTMAX_MAX): Likewise.
16354         [C99-based standards] (UINTMAX_MAX): Likewise.
16355         [C99-based standards] (PTRDIFF_MIN): Likewise.
16356         [C99-based standards] (PTRDIFF_MAX): Likewise.
16357         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
16358         [C99-based standards] (SIZE_MAX): Likewise.
16359         [C99-based standards] (WCHAR_MAX): Likewise.
16360         [C99-based standards] (WINT_MAX): Likewise.
16361         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
16362         constraint on value.
16363         [C99-based standards] (WCHAR_MIN): Likewise.
16364         [C99-based standards] (WINT_MIN): Likewise.
16365         [C99-based standards] (*_t): Allow.
16366         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
16367         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
16368         Include math.h-data and complex.h-data.  Remove all expectations
16369         of math.h and complex.h contents.
16370         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
16371         at end of line.
16372         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
16373         (struct tm): Expect tag.
16374         [C99-based-standards] (wcstof): Expect function.
16375         [C99-based-standards] (wcstold): Likewise.
16376         [C99-based-standards] (wcstoll): Likewise.
16377         [C99-based-standards] (wcstoull): Likewise.
16378         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
16379         macro-int-constant.  Specify type.
16380         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
16381         constraint on value.
16382         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16383         Specify type.
16384         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
16385         Specify value.
16386         [ISO C standards]: Do not allow headers.
16387         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
16388         wcs[abcdefghijklmnopqrstuvwxyz]*.
16389         [ISO C standards] (*_t): Do not allow.
16390         * conform/data/wctype.h-data [C99-based standards] (iswblank):
16391         Expect function.
16392         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
16393         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16394         Specify type.
16395         [ISO C standards]: Do not allow headers.
16396         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
16397         is[abcdefghijklmnopqrstuvwxyz]*.
16398         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
16399         to[abcdefghijklmnopqrstuvwxyz]*.
16400         [ISO C standards] (*_t): Do not allow.
16401         * conform/data/stdalign.h-data: New file.
16402         * conform/data/stdbool.h-data: Likewise.
16403         * conform/data/stdnoreturn.h-data: Likewise.
16405 2012-11-07  Roland McGrath  <roland@hack.frob.com>
16407         [BZ #14815]
16408         * manual/filesys.texi (Directory Entries): Typo fix.
16409         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
16411 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16413         * elf/elf.h (EM_AARCH64): New macro.
16414         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
16415         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
16416         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
16417         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
16418         (R_AARCH64_TLSDESC): Likewise.
16419         (NT_ARM_TLS): Likewise.
16420         (NT_ARM_HW_BREAK): Likewise.
16421         (NT_ARM_HW_WATCH): Likewise.
16423 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
16425         [BZ #14811]
16426         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
16427         (__ieee754_powl): Saturate nonzero exponents with absolute value
16428         below 0x1p-79 to +/- 0x1p-79.
16429         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
16430         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
16431         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
16432         nonzero exponents with absolute value below 0x1p-32 to +/-
16433         0x1p-32.
16434         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
16435         (__ieee754_powl): Saturate nonzero exponents with absolute value
16436         below 0x1p-79 to +/- 0x1p-79.
16437         * math/libm-test.inc (pow_test): Add more tests.
16439 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16441         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
16442         _dl_s390_cap_flags with kernel. Increase string length.
16443         (_dl_s390_platforms): Add z196 and zEC12.
16445 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
16447         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
16448         Change XOPEN21K to XOPEN2K.
16450 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
16452         * string/memmove.c: Use memcpy when possible.
16454 2012-11-06  Andreas Jaeger  <aj@suse.de>
16456         * po/eo.po: Update from translation team.
16458 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
16460         [BZ #14793]
16461         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
16462         exponent and small x and y exponents, scale x or y up.  Increase
16463         by 2 the exponent used in scaling up.
16464         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16465         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16466         * math/libm-test.inc (fma_test): Add more tests.
16467         (fma_test_towardzero): Likewise.
16468         (fma_test_downward): Likewise.
16469         (fma_test_upward): Likewise.
16471 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
16473         [BZ #14805]
16474         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
16475         fenv_t *.
16477         [BZ #14801]
16478         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
16479         namespace for names of struct fields.
16480         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
16481         fenv_t fields.
16482         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
16483         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
16485 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16487         [BZ #3665]
16488         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
16490 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
16492         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
16493         PTR_DEMANGLE.
16495         [BZ #5246]
16496         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
16497         PTR_DEMANGLE.
16499 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
16501         [BZ #14797]
16502         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
16503         definitely overflow as x * y not x * y + z.
16504         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16505         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16506         * math/libm-test.inc (fma_test): Add more tests.
16507         (fma_test_towardzero): Likewise.
16508         (fma_test_downward): Likewise.
16509         (fma_test_upward): Likewise.
16511 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
16513         [BZ #157]
16515         * include/stub-tag.h: Remove file.
16516         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
16517         '#include' of it.
16518         * manual/maint.texi (Porting): Don't reference it.
16519         * Makerules ($(objpfx)stubs): Likewise.
16520         * dirent/closedir.c: Don't include <stub-tag.h>.
16521         * dirent/dirfd.c: Likewise.
16522         * dirent/fdopendir.c: Likewise.
16523         * dirent/getdents.c: Likewise.
16524         * dirent/getdents64.c: Likewise.
16525         * dirent/opendir.c: Likewise.
16526         * dirent/readdir.c: Likewise.
16527         * dirent/readdir64.c: Likewise.
16528         * dirent/readdir64_r.c: Likewise.
16529         * dirent/readdir_r.c: Likewise.
16530         * dirent/rewinddir.c: Likewise.
16531         * dirent/seekdir.c: Likewise.
16532         * dirent/telldir.c: Likewise.
16533         * gmon/profil.c: Likewise.
16534         * grp/setgroups.c: Likewise.
16535         * inet/if_index.c: Likewise.
16536         * io/access.c: Likewise.
16537         * io/chdir.c: Likewise.
16538         * io/chmod.c: Likewise.
16539         * io/chown.c: Likewise.
16540         * io/close.c: Likewise.
16541         * io/dup.c: Likewise.
16542         * io/dup2.c: Likewise.
16543         * io/dup3.c: Likewise.
16544         * io/euidaccess.c: Likewise.
16545         * io/faccessat.c: Likewise.
16546         * io/fchdir.c: Likewise.
16547         * io/fchmod.c: Likewise.
16548         * io/fchmodat.c: Likewise.
16549         * io/fchown.c: Likewise.
16550         * io/fchownat.c: Likewise.
16551         * io/fcntl.c: Likewise.
16552         * io/flock.c: Likewise.
16553         * io/fstatfs.c: Likewise.
16554         * io/fstatfs64.c: Likewise.
16555         * io/fstatvfs.c: Likewise.
16556         * io/fstatvfs64.c: Likewise.
16557         * io/futimens.c: Likewise.
16558         * io/fxstat.c: Likewise.
16559         * io/fxstat64.c: Likewise.
16560         * io/fxstatat.c: Likewise.
16561         * io/fxstatat64.c: Likewise.
16562         * io/getcwd.c: Likewise.
16563         * io/isatty.c: Likewise.
16564         * io/lchmod.c: Likewise.
16565         * io/lchown.c: Likewise.
16566         * io/link.c: Likewise.
16567         * io/linkat.c: Likewise.
16568         * io/lseek.c: Likewise.
16569         * io/lseek64.c: Likewise.
16570         * io/lxstat64.c: Likewise.
16571         * io/mkdir.c: Likewise.
16572         * io/mkdirat.c: Likewise.
16573         * io/mkfifo.c: Likewise.
16574         * io/mkfifoat.c: Likewise.
16575         * io/open.c: Likewise.
16576         * io/open64.c: Likewise.
16577         * io/openat.c: Likewise.
16578         * io/openat64.c: Likewise.
16579         * io/pipe.c: Likewise.
16580         * io/pipe2.c: Likewise.
16581         * io/poll.c: Likewise.
16582         * io/posix_fadvise.c: Likewise.
16583         * io/posix_fadvise64.c: Likewise.
16584         * io/posix_fallocate.c: Likewise.
16585         * io/posix_fallocate64.c: Likewise.
16586         * io/read.c: Likewise.
16587         * io/readlink.c: Likewise.
16588         * io/readlinkat.c: Likewise.
16589         * io/rmdir.c: Likewise.
16590         * io/sendfile.c: Likewise.
16591         * io/sendfile64.c: Likewise.
16592         * io/statfs.c: Likewise.
16593         * io/statfs64.c: Likewise.
16594         * io/statvfs.c: Likewise.
16595         * io/statvfs64.c: Likewise.
16596         * io/symlink.c: Likewise.
16597         * io/symlinkat.c: Likewise.
16598         * io/ttyname.c: Likewise.
16599         * io/ttyname_r.c: Likewise.
16600         * io/umask.c: Likewise.
16601         * io/unlink.c: Likewise.
16602         * io/unlinkat.c: Likewise.
16603         * io/utime.c: Likewise.
16604         * io/utimensat.c: Likewise.
16605         * io/write.c: Likewise.
16606         * io/xmknod.c: Likewise.
16607         * io/xmknodat.c: Likewise.
16608         * io/xstat.c: Likewise.
16609         * io/xstat64.c: Likewise.
16610         * login/getpt.c: Likewise.
16611         * login/grantpt.c: Likewise.
16612         * login/unlockpt.c: Likewise.
16613         * math/e_acoshl.c: Likewise.
16614         * math/e_acosl.c: Likewise.
16615         * math/e_asinl.c: Likewise.
16616         * math/e_atan2l.c: Likewise.
16617         * math/e_atanhl.c: Likewise.
16618         * math/e_coshl.c: Likewise.
16619         * math/e_expl.c: Likewise.
16620         * math/e_fmodl.c: Likewise.
16621         * math/e_gammal_r.c: Likewise.
16622         * math/e_hypotl.c: Likewise.
16623         * math/e_j0l.c: Likewise.
16624         * math/e_j1l.c: Likewise.
16625         * math/e_jnl.c: Likewise.
16626         * math/e_lgammal_r.c: Likewise.
16627         * math/e_log10l.c: Likewise.
16628         * math/e_log2l.c: Likewise.
16629         * math/e_logl.c: Likewise.
16630         * math/e_powl.c: Likewise.
16631         * math/e_rem_pio2l.c: Likewise.
16632         * math/e_sinhl.c: Likewise.
16633         * math/e_sqrtl.c: Likewise.
16634         * math/fclrexcpt.c: Likewise.
16635         * math/fedisblxcpt.c: Likewise.
16636         * math/feenablxcpt.c: Likewise.
16637         * math/fegetenv.c: Likewise.
16638         * math/fegetexcept.c: Likewise.
16639         * math/fegetround.c: Likewise.
16640         * math/feholdexcpt.c: Likewise.
16641         * math/fesetenv.c: Likewise.
16642         * math/fesetround.c: Likewise.
16643         * math/feupdateenv.c: Likewise.
16644         * math/fgetexcptflg.c: Likewise.
16645         * math/fraiseexcpt.c: Likewise.
16646         * math/fsetexcptflg.c: Likewise.
16647         * math/ftestexcept.c: Likewise.
16648         * math/k_cosl.c: Likewise.
16649         * math/k_rem_pio2l.c: Likewise.
16650         * math/k_sinl.c: Likewise.
16651         * math/k_tanl.c: Likewise.
16652         * math/s_asinhl.c: Likewise.
16653         * math/s_atanl.c: Likewise.
16654         * math/s_cbrtl.c: Likewise.
16655         * math/s_erfl.c: Likewise.
16656         * math/s_expm1l.c: Likewise.
16657         * math/s_log1pl.c: Likewise.
16658         * math/s_tanhl.c: Likewise.
16659         * misc/acct.c: Likewise.
16660         * misc/brk.c: Likewise.
16661         * misc/chflags.c: Likewise.
16662         * misc/chroot.c: Likewise.
16663         * misc/fchflags.c: Likewise.
16664         * misc/fgetxattr.c: Likewise.
16665         * misc/flistxattr.c: Likewise.
16666         * misc/fremovexattr.c: Likewise.
16667         * misc/fsetxattr.c: Likewise.
16668         * misc/fsync.c: Likewise.
16669         * misc/ftruncate.c: Likewise.
16670         * misc/futimes.c: Likewise.
16671         * misc/futimesat.c: Likewise.
16672         * misc/getdomain.c: Likewise.
16673         * misc/getdtsz.c: Likewise.
16674         * misc/gethostid.c: Likewise.
16675         * misc/gethostname.c: Likewise.
16676         * misc/getloadavg.c: Likewise.
16677         * misc/getpagesize.c: Likewise.
16678         * misc/getsysstats.c: Likewise.
16679         * misc/getxattr.c: Likewise.
16680         * misc/gtty.c: Likewise.
16681         * misc/ioctl.c: Likewise.
16682         * misc/lgetxattr.c: Likewise.
16683         * misc/listxattr.c: Likewise.
16684         * misc/llistxattr.c: Likewise.
16685         * misc/lremovexattr.c: Likewise.
16686         * misc/lsetxattr.c: Likewise.
16687         * misc/lutimes.c: Likewise.
16688         * misc/madvise.c: Likewise.
16689         * misc/mincore.c: Likewise.
16690         * misc/mlock.c: Likewise.
16691         * misc/mlockall.c: Likewise.
16692         * misc/mmap.c: Likewise.
16693         * misc/mprotect.c: Likewise.
16694         * misc/msync.c: Likewise.
16695         * misc/munlock.c: Likewise.
16696         * misc/munlockall.c: Likewise.
16697         * misc/munmap.c: Likewise.
16698         * misc/preadv.c: Likewise.
16699         * misc/preadv64.c: Likewise.
16700         * misc/ptrace.c: Likewise.
16701         * misc/pwritev.c: Likewise.
16702         * misc/pwritev64.c: Likewise.
16703         * misc/readv.c: Likewise.
16704         * misc/reboot.c: Likewise.
16705         * misc/remap_file_pages.c: Likewise.
16706         * misc/removexattr.c: Likewise.
16707         * misc/revoke.c: Likewise.
16708         * misc/select.c: Likewise.
16709         * misc/setdomain.c: Likewise.
16710         * misc/setegid.c: Likewise.
16711         * misc/seteuid.c: Likewise.
16712         * misc/sethostid.c: Likewise.
16713         * misc/sethostname.c: Likewise.
16714         * misc/setregid.c: Likewise.
16715         * misc/setreuid.c: Likewise.
16716         * misc/setxattr.c: Likewise.
16717         * misc/sstk.c: Likewise.
16718         * misc/stty.c: Likewise.
16719         * misc/swapoff.c: Likewise.
16720         * misc/swapon.c: Likewise.
16721         * misc/sync.c: Likewise.
16722         * misc/syncfs.c: Likewise.
16723         * misc/syscall.c: Likewise.
16724         * misc/truncate.c: Likewise.
16725         * misc/ualarm.c: Likewise.
16726         * misc/usleep.c: Likewise.
16727         * misc/ustat.c: Likewise.
16728         * misc/utimes.c: Likewise.
16729         * misc/vhangup.c: Likewise.
16730         * misc/writev.c: Likewise.
16731         * posix/_exit.c: Likewise.
16732         * posix/alarm.c: Likewise.
16733         * posix/execve.c: Likewise.
16734         * posix/fexecve.c: Likewise.
16735         * posix/fork.c: Likewise.
16736         * posix/fpathconf.c: Likewise.
16737         * posix/getaddrinfo.c: Likewise.
16738         * posix/getegid.c: Likewise.
16739         * posix/geteuid.c: Likewise.
16740         * posix/getgid.c: Likewise.
16741         * posix/getgroups.c: Likewise.
16742         * posix/getlogin.c: Likewise.
16743         * posix/getlogin_r.c: Likewise.
16744         * posix/getpgid.c: Likewise.
16745         * posix/getpid.c: Likewise.
16746         * posix/getppid.c: Likewise.
16747         * posix/getresgid.c: Likewise.
16748         * posix/getresuid.c: Likewise.
16749         * posix/getsid.c: Likewise.
16750         * posix/getuid.c: Likewise.
16751         * posix/glob64.c: Likewise.
16752         * posix/nanosleep.c: Likewise.
16753         * posix/pathconf.c: Likewise.
16754         * posix/pause.c: Likewise.
16755         * posix/posix_madvise.c: Likewise.
16756         * posix/pread.c: Likewise.
16757         * posix/pread64.c: Likewise.
16758         * posix/pwrite.c: Likewise.
16759         * posix/pwrite64.c: Likewise.
16760         * posix/sched_getaffinity.c: Likewise.
16761         * posix/sched_getp.c: Likewise.
16762         * posix/sched_gets.c: Likewise.
16763         * posix/sched_primax.c: Likewise.
16764         * posix/sched_primin.c: Likewise.
16765         * posix/sched_rr_gi.c: Likewise.
16766         * posix/sched_setaffinity.c: Likewise.
16767         * posix/sched_setp.c: Likewise.
16768         * posix/sched_sets.c: Likewise.
16769         * posix/sched_yield.c: Likewise.
16770         * posix/setgid.c: Likewise.
16771         * posix/setlogin.c: Likewise.
16772         * posix/setpgid.c: Likewise.
16773         * posix/setresgid.c: Likewise.
16774         * posix/setresuid.c: Likewise.
16775         * posix/setsid.c: Likewise.
16776         * posix/setuid.c: Likewise.
16777         * posix/sleep.c: Likewise.
16778         * posix/spawni.c: Likewise.
16779         * posix/sysconf.c: Likewise.
16780         * posix/times.c: Likewise.
16781         * posix/wait.c: Likewise.
16782         * posix/wait3.c: Likewise.
16783         * posix/wait4.c: Likewise.
16784         * posix/waitpid.c: Likewise.
16785         * resolv/gai_sigqueue.c: Likewise.
16786         * resource/getpriority.c: Likewise.
16787         * resource/getrlimit.c: Likewise.
16788         * resource/getrusage.c: Likewise.
16789         * resource/nice.c: Likewise.
16790         * resource/setpriority.c: Likewise.
16791         * resource/setrlimit.c: Likewise.
16792         * resource/ulimit.c: Likewise.
16793         * rt/aio_cancel.c: Likewise.
16794         * rt/aio_fsync.c: Likewise.
16795         * rt/aio_read.c: Likewise.
16796         * rt/aio_sigqueue.c: Likewise.
16797         * rt/aio_suspend.c: Likewise.
16798         * rt/aio_write.c: Likewise.
16799         * rt/clock_getres.c: Likewise.
16800         * rt/clock_gettime.c: Likewise.
16801         * rt/clock_nanosleep.c: Likewise.
16802         * rt/clock_settime.c: Likewise.
16803         * rt/lio_listio.c: Likewise.
16804         * rt/mq_close.c: Likewise.
16805         * rt/mq_getattr.c: Likewise.
16806         * rt/mq_notify.c: Likewise.
16807         * rt/mq_open.c: Likewise.
16808         * rt/mq_receive.c: Likewise.
16809         * rt/mq_send.c: Likewise.
16810         * rt/mq_setattr.c: Likewise.
16811         * rt/mq_timedreceive.c: Likewise.
16812         * rt/mq_timedsend.c: Likewise.
16813         * rt/mq_unlink.c: Likewise.
16814         * rt/shm_open.c: Likewise.
16815         * rt/shm_unlink.c: Likewise.
16816         * rt/timer_create.c: Likewise.
16817         * rt/timer_delete.c: Likewise.
16818         * rt/timer_getoverr.c: Likewise.
16819         * rt/timer_gettime.c: Likewise.
16820         * rt/timer_settime.c: Likewise.
16821         * setjmp/__longjmp.c: Likewise.
16822         * setjmp/setjmp.c: Likewise.
16823         * signal/kill.c: Likewise.
16824         * signal/killpg.c: Likewise.
16825         * signal/raise.c: Likewise.
16826         * signal/sigaction.c: Likewise.
16827         * signal/sigaltstack.c: Likewise.
16828         * signal/sigblock.c: Likewise.
16829         * signal/sigignore.c: Likewise.
16830         * signal/sigintr.c: Likewise.
16831         * signal/signal.c: Likewise.
16832         * signal/sigpause.c: Likewise.
16833         * signal/sigpending.c: Likewise.
16834         * signal/sigqueue.c: Likewise.
16835         * signal/sigreturn.c: Likewise.
16836         * signal/sigset.c: Likewise.
16837         * signal/sigsetmask.c: Likewise.
16838         * signal/sigstack.c: Likewise.
16839         * signal/sigsuspend.c: Likewise.
16840         * signal/sigtimedwait.c: Likewise.
16841         * signal/sigvec.c: Likewise.
16842         * signal/sigwait.c: Likewise.
16843         * signal/sigwaitinfo.c: Likewise.
16844         * signal/sysv_signal.c: Likewise.
16845         * socket/accept.c: Likewise.
16846         * socket/accept4.c: Likewise.
16847         * socket/bind.c: Likewise.
16848         * socket/connect.c: Likewise.
16849         * socket/getpeername.c: Likewise.
16850         * socket/getsockname.c: Likewise.
16851         * socket/getsockopt.c: Likewise.
16852         * socket/isfdtype.c: Likewise.
16853         * socket/listen.c: Likewise.
16854         * socket/recv.c: Likewise.
16855         * socket/recvfrom.c: Likewise.
16856         * socket/recvmsg.c: Likewise.
16857         * socket/send.c: Likewise.
16858         * socket/sendmsg.c: Likewise.
16859         * socket/sendto.c: Likewise.
16860         * socket/setsockopt.c: Likewise.
16861         * socket/shutdown.c: Likewise.
16862         * socket/sockatmark.c: Likewise.
16863         * socket/socket.c: Likewise.
16864         * socket/socketpair.c: Likewise.
16865         * stdio-common/ctermid.c: Likewise.
16866         * stdio-common/cuserid.c: Likewise.
16867         * stdio-common/remove.c: Likewise.
16868         * stdio-common/rename.c: Likewise.
16869         * stdio-common/renameat.c: Likewise.
16870         * stdio-common/tempname.c: Likewise.
16871         * stdlib/getcontext.c: Likewise.
16872         * stdlib/makecontext.c: Likewise.
16873         * stdlib/setcontext.c: Likewise.
16874         * stdlib/swapcontext.c: Likewise.
16875         * stdlib/system.c: Likewise.
16876         * streams/fattach.c: Likewise.
16877         * streams/fdetach.c: Likewise.
16878         * streams/getmsg.c: Likewise.
16879         * streams/getpmsg.c: Likewise.
16880         * streams/putmsg.c: Likewise.
16881         * streams/putpmsg.c: Likewise.
16882         * sysdeps/unix/bsd/getpt.c: Likewise.
16883         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
16884         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
16885         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
16886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
16887         Likewise.
16888         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
16889         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
16890         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
16891         * sysvipc/msgctl.c: Likewise.
16892         * sysvipc/msgget.c: Likewise.
16893         * sysvipc/msgrcv.c: Likewise.
16894         * sysvipc/msgsnd.c: Likewise.
16895         * sysvipc/semctl.c: Likewise.
16896         * sysvipc/semget.c: Likewise.
16897         * sysvipc/semop.c: Likewise.
16898         * sysvipc/semtimedop.c: Likewise.
16899         * sysvipc/shmat.c: Likewise.
16900         * sysvipc/shmctl.c: Likewise.
16901         * sysvipc/shmdt.c: Likewise.
16902         * sysvipc/shmget.c: Likewise.
16903         * termios/tcdrain.c: Likewise.
16904         * termios/tcflow.c: Likewise.
16905         * termios/tcflush.c: Likewise.
16906         * termios/tcgetattr.c: Likewise.
16907         * termios/tcgetpgrp.c: Likewise.
16908         * termios/tcsendbrk.c: Likewise.
16909         * termios/tcsetattr.c: Likewise.
16910         * termios/tcsetpgrp.c: Likewise.
16911         * time/adjtime.c: Likewise.
16912         * time/clock.c: Likewise.
16913         * time/getitimer.c: Likewise.
16914         * time/gettimeofday.c: Likewise.
16915         * time/setitimer.c: Likewise.
16916         * time/settimeofday.c: Likewise.
16917         * time/stime.c: Likewise.
16918         * time/time.c: Likewise.
16920 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
16922         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
16923         /usr/old/bin.
16925         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
16926         instead of spaces.
16927         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
16929 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
16931         [BZ #14796]
16932         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
16933         FE_TONEAREST before applying Dekker multiplication and Knuth
16934         addition.  Clear inexact exceptions and check for exact zero
16935         results afterwards.
16936         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16937         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16938         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16939         * math/libm-test.inc (fma_test): Add more tests.
16940         (fma_test_towardzero): Likewise.
16941         (fma_test_downward): Likewise.
16942         (fma_test_upward): Likewise.
16943         * sysdeps/generic/math_private.h (default_libc_fesetround): New
16944         function.
16945         (libc_fesetround): New macro.
16946         (libc_fesetroundf): Likewise.
16947         (libc_fesetroundl): Likewise.
16948         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
16949         function.
16950         (libc_fesetround_387): Likewise.
16951         (libc_fesetroundf): New macro.
16952         (libc_fesetround): Likewise.
16953         (libc_fesetroundl): Likewise.
16954         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
16955         function.
16956         (libc_fesetroundf): New macro.
16957         (libc_fesetround): Likewise.
16958         (libc_fesetroundl): Likewise.
16959         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
16960         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
16961         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
16962         libm_hidden_ver.
16963         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
16964         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
16965         libm_hidden_def.
16966         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
16967         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
16968         libm_hidden_ver.
16969         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
16970         libm_hidden_def.
16972         [BZ #3439]
16973         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
16974         integer constant usable in #if and use that to give value to enum
16975         constant.
16976         (FE_DIVBYZERO): Likewise.
16977         (FE_UNDERFLOW): Likewise.
16978         (FE_OVERFLOW): Likewise.
16979         (FE_INVALID): Likewise.
16980         (FE_INVALID_SNAN): Likewise.
16981         (FE_INVALID_ISI): Likewise.
16982         (FE_INVALID_IDI): Likewise.
16983         (FE_INVALID_ZDZ): Likewise.
16984         (FE_INVALID_IMZ): Likewise.
16985         (FE_INVALID_COMPARE): Likewise.
16986         (FE_INVALID_SOFTWARE): Likewise.
16987         (FE_INVALID_SQRT): Likewise.
16988         (FE_INVALID_INTEGER_CONVERSION): Likewise.
16989         (FE_TONEAREST): Likewise.
16990         (FE_TOWARDZERO): Likewise.
16991         (FE_UPWARD): Likewise.
16992         (FE_DOWNWARD): Likewise.
16993         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
16994         (FE_DIVBYZERO): Likewise.
16995         (FE_OVERFLOW): Likewise.
16996         (FE_UNDERFLOW): Likewise.
16997         (FE_INEXACT): Likewise.
16998         (FE_TONEAREST): Likewise.
16999         (FE_DOWNWARD): Likewise.
17000         (FE_UPWARD): Likewise.
17001         (FE_TOWARDZERO): Likewise.
17002         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
17003         (FE_UNDERFLOW): Likewise.
17004         (FE_OVERFLOW): Likewise.
17005         (FE_DIVBYZERO): Likewise.
17006         (FE_INVALID): Likewise.
17007         (FE_TONEAREST): Likewise.
17008         (FE_TOWARDZERO): Likewise.
17009         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
17010         (FE_OVERFLOW): Likewise.
17011         (FE_UNDERFLOW): Likewise.
17012         (FE_DIVBYZERO): Likewise.
17013         (FE_INEXACT): Likewise.
17014         (FE_TONEAREST): Likewise.
17015         (FE_TOWARDZERO): Likewise.
17016         (FE_UPWARD): Likewise.
17017         (FE_DOWNWARD): Likewise.
17018         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
17019         (FE_DIVBYZERO): Likewise.
17020         (FE_OVERFLOW): Likewise.
17021         (FE_UNDERFLOW): Likewise.
17022         (FE_INEXACT): Likewise.
17023         (FE_TONEAREST): Likewise.
17024         (FE_DOWNWARD): Likewise.
17025         (FE_UPWARD): Likewise.
17026         (FE_TOWARDZERO): Likewise.
17028 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
17030         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
17032 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
17034         * scripts/cross-test-ssh.sh (command): Use newlines to separate
17035         commands.  Quote $PWD.
17036         (blacklist_exports): Don't use remove_newlines.  Replace "declare
17037         -x" by "export".
17038         (remove_newlines): Remove.
17040 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
17042         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
17043         * stdlib/stdlib.h (atof): Moved to ...
17044         * include/bits/stdlib-float.h: Here.  New file.
17045         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
17046         * stdlib/bits/stdlib-float.h: New file.
17047         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
17048         -mno-sse -mno-mmx.
17049         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
17050         <xmmintrin.h>.
17052 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
17054         * conform/conformtest.pl (@headers): Add fenv.h.
17055         * conform/data/fenv.h-data: New file.
17056         * include/fenv.h [_ISOMAC]: Disable all contents of file except
17057         include of <math/fenv.h>.
17059         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
17060         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
17061         && !UNIX98].  Enables tests for XOPEN2K8.
17062         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
17063         POSIX2008]: Likewise.
17065         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
17066         (struct rusage): Do not expect type or its members.
17068         [BZ #3439]
17069         * math/math.h (FP_NAN): Define macro to integer constant usable in
17070         #if and use that to give value to enum constant.
17071         (FP_INFINITE): Likewise.
17072         (FP_ZERO): Likewise.
17073         (FP_SUBNORMAL): Likewise.
17074         (FP_NORMAL): Likewise.
17076 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
17078         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
17079         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
17080         arguments.
17082 2012-11-02  Roland McGrath  <roland@hack.frob.com>
17084         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
17085         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
17086         autoconf-time if not.
17087         * configure.in: Remove AC_PREREQ.
17089 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17091         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
17092         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
17093         of the internal implementation.
17095 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
17097         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
17098         except include of <misc/sys/syslog.h>.
17100 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
17102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
17103         function returns with a NULL context exit with zero.
17105 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17107         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
17109 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
17111         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
17112         (run_program_cmd): This.
17113         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
17114         (tst_langinfo): New variable.  Use it.
17116 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
17118         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
17119         floating point opcodes.
17121 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
17123         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
17124         variable.
17126         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
17128         * sysdeps/mach/hurd/powerpc: Remove directory.
17129         * sysdeps/mach/powerpc: Likewise.
17131 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
17133         * scripts/check-local-headers.sh: Ignore c++ headers.
17135 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
17137         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
17138         __libc_cleanup_region_start argument.
17140 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
17142         [BZ #14784]
17143         [BZ #14785]
17144         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
17145         x * y using scaling, not as x * y + z.
17146         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17147         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17148         * math/libm-test.inc (fma_test): Add more tests.
17149         (fma_test_towardzero): Likewise.
17150         (fma_test_downward): Likewise.
17151         (fma_test_upward): Likewise.
17153 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
17155         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
17157 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
17159         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
17160         New variable.
17162 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
17164         * rt/tst-shm.c (worker): Correct checking for mmap failure.
17166 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
17168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17169         Fix sort order.
17170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17171         Likewise.
17173 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17176         Fix the order of the list for glibc 2.17.
17177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17178         Likewise.
17180 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
17182         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17184 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
17186         [BZ #14610]
17187         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
17188         for low part of x being zero before using __atanl (y).
17189         * math/libm-test.inc (atan2_test): Add another test.
17191         * manual/install.texi (Configuring and compiling): Document
17192         general use of test-wrapper and test-wrapper-env.
17193         * INSTALL: Regenerated.
17195         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
17196         (__fma): Do not extract and scale down low bits on after-rounding
17197         systems when result rounded to normal precision would have normal
17198         exponent.
17199         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
17200         (__fmal): Do not extract and scale down low bits on after-rounding
17201         systems when result rounded to normal precision would have normal
17202         exponent.
17203         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
17204         (__fmal): Do not extract and scale down low bits on after-rounding
17205         systems when result rounded to normal precision would have normal
17206         exponent.
17207         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
17208         macro.
17209         (fma_test): Add more tests.
17210         (fma_test_towardzero): Likewise.
17211         (fma_test_downward): Likewise.
17212         (fma_test_upward): Likewise.
17214 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
17216         * sysdeps/i386/tininess.h: Renamed to ...
17217         * sysdeps/x86/tininess.h: This.
17218         * sysdeps/x86_64/tininess.h: Removed.
17220 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
17222         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
17223         input.  Use $(build-program-cmd).
17224         ($(objpfx)tst-array1-static.out): Likewise.
17225         ($(objpfx)tst-array2.out): Likewise.
17226         ($(objpfx)tst-array3.out): Likewise.
17227         ($(objpfx)tst-array4.out): Likewise.
17228         ($(objpfx)tst-array5.out): Likewise.
17229         ($(objpfx)tst-array5-static.out): Likewise.
17231 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
17233         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
17234         if defined.
17236         * nss/nsswitch.h (nss_interface_function): Provide new
17237         macro for use with NSS functions.
17238         * grp/initgroups.c: Use new macro.
17239         * nss/getXXbyYY.c: Likewise.
17240         * nss/getXXbyYY_r.c: Likewise.
17241         * nss/getXXent.c: Likewise.
17242         * nss/getXXent_r.c: Likewise.
17243         * sysdeps/posix/getaddrinfo.c: Likewise.
17245 2012-10-30  Andreas Jaeger  <aj@suse.de>
17247         * po/ru.po: Update Russion translation from translation project.
17249 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
17251         [BZ #14152]
17252         [BZ #14783]
17253         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
17254         result and shift together with sticky bit instead of replicating
17255         round-to-nearest rounding.
17256         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17257         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17258         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
17259         missing underflow exceptions.
17260         (fma_test_towardzero): Add more tests.
17261         (fma_test_downward): Likewise.
17262         (fma_test_upward): Likewise.
17264         [BZ #14047]
17265         * sysdeps/generic/tininess.h: New file.
17266         * sysdeps/i386/tininess.h: Likewise.
17267         * sysdeps/sh/tininess.h: Likewise.
17268         * sysdeps/x86_64/tininess.h: Likewise.
17269         * stdlib/tst-strtod-underflow.c: Likewise.
17270         * stdlib/tst-tininess.c: Likewise.
17271         * stdlib/strtod_l.c: Include <tininess.h>.
17272         (round_and_return): Do not set errno for exact underflow cases.
17273         Force an underflow exception when setting errno for underflow.
17274         Determine underflow based on rounding to normal precision if
17275         TININESS_AFTER_ROUNDING.
17276         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
17277         ERANGE for exact underflow cases.
17278         * stdlib/Makefile (tests): Add tst-tininess and
17279         tst-strtod-underflow.
17280         ($(objpfx)tst-tininess): Use $(link-libm).
17281         ($(objpfx)tst-strtod-underflow): Likewise.
17283 2012-10-30  Andreas Jaeger  <aj@suse.de>
17285         [BZ#14767]
17286         * elf/Makefile (tests): Remove conditional for have-initfini-array
17287         since this is now always required and the variable does not exist
17288         anymore.
17289         (tests-static): Likewise.
17290         (modules-names): Likewise.
17292         * po/eo.po: Add Esperanto translation from translation project.
17294         * elf/tst-array1.c (fini_array): Make writeable so that it can be
17295         merged with constructor/destructor.
17296         (init_array): Likewise.
17297         * elf/tst-array2dep.c (fini_array): Likewise.
17298         (init_array): Likewise.
17300 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
17302         * manual/message.texi: Delete @cartouche tags.
17304 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
17306         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
17307         EOPNOTSUPP.
17308         * sysdeps/mach/hurd/fsync.c: Likewise.
17310         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
17311         [_POSIX_REALTIME_SIGNALS]: Change condition to
17312         [_POSIX_REALTIME_SIGNALS > 0].
17314 2012-10-27  Andreas Jaeger  <aj@suse.de>
17316         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
17317         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
17318         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
17319         [__WORDSIZE != 64]: Likewise.
17321 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
17323         *  iconvdata/tst-table.sh: Remove ${SHELL}.
17324         *  iconvdata/tst-tables.sh: Likewise.
17326 2012-10-25  David S. Miller  <davem@davemloft.net>
17328         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17329         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
17330         of strtoull.
17332         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
17333         ifunc-impl-list.c
17334         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17335         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
17336         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
17337         file.
17339 2012-10-25  Roland McGrath  <roland@hack.frob.com>
17341         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17342         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
17343         __getdirentries.
17345 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
17346             Jim Blandy  <jimb@codesourcery.com>
17348         * scripts/cross-test-ssh.sh: New file.
17349         * manual/install.texi (Configuring and compiling): Document use of
17350         cross-test-ssh.sh.
17351         * INSTALL: Regenerated.
17353 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
17355         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
17356         EOPNOTSUPP.
17358 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
17360         * Makeconfig (run-program-prefix): Fix comment.
17362 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
17363             Jim Blandy  <jimb@codesourcery.com>
17365         * Makeconfig (test-wrapper): New variable,
17366         (test-wrapper-env): Likewise.
17367         [$(cross-compiling) = yes && $(test-wrapper) != ""]
17368         (run-built-tests): Define to yes.
17369         (run-program-prefix): Use $(test-wrapper).
17370         (built-program-cmd): Likewise.
17371         * Rules (make-test-out): Use $(test-wrapper-env) and
17372         $(host-built-program-cmd).
17373         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
17374         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
17375         tst-pathopt.sh.
17376         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
17377         $(test-wrapper-env) to tst-rtld-load-self.sh.
17378         ($(objpfx)order2.out): Use $(test-wrapper).
17379         ($(objpfx)tst-initorder.out): Likewise.
17380         ($(objpfx)tst-initorder2.out): Likewise.
17381         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
17382         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
17383         (test_wrapper_env): New variable.  Use it to run ld.so.
17384         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
17385         Use it to run ld.so.
17386         (test_wrapper_env): Likewise.
17387         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
17388         $(test-wrapper) to run-iconv-test.sh.
17389         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
17390         (ICONV): Use $test_wrapper.
17391         * posix/Makefile ($(objpfx)globtest.out): Pass
17392         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
17393         globtest.sh, not $(run-program-prefix).
17394         * posix/globtest.sh (run_via_rtld_prefix): New variable.
17395         (test_wrapper): Likewise.
17396         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
17397         set together with run_via_rtld_prefix.
17398         (run_program_prefix): Define in terms of test_wrapper and
17399         run_via_rtld_prefix.
17401 2012-10-24  Roland McGrath  <roland@hack.frob.com>
17403         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
17404         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
17405         Targets removed.
17407         [BZ #14743]
17408         * include/time.h: Remove librt_hidden_proto (clock_gettime).
17409         Declare __clock_getres, __clock_gettime, __clock_settime,
17410         __clock_nanosleep, and __clock_getcpuclockid.
17411         * rt/clock_gettime.c: Define __clock_gettime as an alias.
17412         Remove librt_hidden_def (clock_gettime).
17413         * sysdeps/unix/clock_gettime.c: Likewise.
17414         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
17415         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
17416         * rt/clock_getres.c: Define __clock_getres as an alias.
17417         * sysdeps/posix/clock_getres.c: Likewise.
17418         * rt/clock_settime.c: Define __clock_settime as an alias.
17419         * sysdeps/unix/clock_settime.c: Likewise.
17420         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
17421         * sysdeps/unix/clock_nanosleep.c: Likewise.
17422         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
17423         * rt/clock-compat.c: New file.
17424         * rt/Makefile (librt-routines): Add clock-compat and move
17425         $(clock-routines) to ...
17426         (routines): ... here, new variable.
17427         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
17428         Don't add get_clockfreq here.
17429         * rt/Versions (libc: GLIBC_2.17): New version set.
17430         Add clock_* symbols here.
17431         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
17432         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
17433         (GLIBC_2.17): Add clock_* symbols.
17434         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
17435         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
17436         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17438         Likewise.
17439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17440         Likewise.
17441         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17442         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
17443         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
17444         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
17445         * NEWS: Mention the move.
17447         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
17448         Use __open, __read, __close rather than their public counterparts.
17449         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17450         (__get_clockfreq_via_cpuinfo): Likewise.
17451         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
17452         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
17454         * config.h.in (HAVE_IFUNC): New #undef.
17455         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
17456         was successful.
17457         * configure: Regenerated.
17459 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
17461         * configure.in: Move READELF check to start of file.
17462         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
17463         libc_cv_asm_gnu_indirect_function in the process.
17464         * configure: Regenerated.
17466 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
17468         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
17469         send the output to /dev/null.
17470         (libc_cv_cc_with_libunwind): Likewise.
17471         (libc_cv_as_noexecstack): Likewise.
17472         * configure: Regenerate.
17474 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
17476         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
17478         * posix/globtest.sh (TMPDIR): Do not set.
17479         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
17480         (testout): Likewise.
17482 2012-10-24  Andreas Jaeger  <aj@suse.de>
17484         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
17485         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
17486         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
17487         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
17488         posix_fadvise64, posix_fallocate64.
17490         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
17491         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
17492         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
17493         Likewise.
17494         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
17495         Likewise.
17496         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
17498         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
17499         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
17500         <bits/fcntl-linux.h>.
17501         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
17503         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
17504         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
17505         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
17506         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
17507         [__WORDSIZE != 64]: Likewise.
17509 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
17511         * Makeconfig (run-built-tests): New variable.
17512         * Rules [$(cross-compiling) = yes]: Change condition to
17513         [$(run-built-tests) = no].
17514         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
17515         to [$(run-built-tests) = yes].
17516         * elf/Makefile [$(cross-compiling) = no]: Likewise
17517         * grp/Makefile [$(cross-compiling) = no]: Likewise.
17518         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
17519         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
17520         * intl/Makefile [$(cross-compiling) = no]: Likewise.
17521         * io/Makefile [$(cross-compiling) = no]: Likewise.
17522         * libio/Makefile [$(cross-compiling) = no]: Likewise.
17523         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
17524         * misc/Makefile [$(cross-compiling) = no]: Likewise.
17525         * posix/Makefile [$(cross-compiling) = no]: Likewise.
17526         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
17527         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
17528         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
17529         * string/Makefile [$(cross-compiling) = no]: Likewise.
17531         * posix/Makefile ($(objpfx)globtest.out): Pass
17532         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
17533         $(rtld-installed-name).
17534         * posix/globtest.sh (elf_objpfx): Remove variable.
17535         (rtld_installed_name): Likewise.
17536         (library_path): Likewise.
17537         (run_program_prefix): New variable.  Use for running globtest
17538         binary.
17540 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
17541             Joseph Myers  <joseph@codesourcery.com>
17543         * Makeconfig (host-built-program-cmd): New variable.
17544         * elf/Makefile (tst-stackguard1-ARGS): Use
17545         $(host-built-program-cmd).
17546         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
17547         (tst-spawn-ARGS): Likewise.
17548         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
17550 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
17551             Jim Blandy  <jimb@codesourcery.com>
17553         * Makeconfig (run-via-rtld-prefix): New variable.
17554         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
17555         (built-program-cmd): Likewise.
17557 2012-10-22  Andreas Jaeger  <aj@suse.de>
17559         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
17560         __O_RSYNC if it exists, otherwise to O_SYNC.
17562 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
17563             Joseph Myers  <joseph@codesourcery.com>
17565         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
17566         /dev/null.
17567         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
17568         from /dev/null
17569         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
17570         /dev/null.
17572 2012-10-22  Andreas Jaeger  <aj@suse.de>
17574         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
17575         Define always.
17576         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
17578         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17579         bits/fcntl-linux.h.
17581         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
17582         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
17584         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
17585         to __O_LARGEFILE.
17586         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
17587         to __O_LARGEFILE.
17589 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
17590             Joseph Myers  <joseph@codesourcery.com>
17592         * config.make.in (NM): New variable.
17594 2012-10-21  Andreas Jaeger  <aj@suse.de>
17596         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
17597         definitions and declarations that are provided by
17598         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
17600 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
17602         [BZ #14683]
17603         * elf/Makefile (tests-static): Add tst-leaks1-static.
17604         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
17605         ($(objpfx)tst-leaks1-static): New rule.
17606         ($(objpfx)tst-leaks1-static-mem): Likewise.
17607         (tst-leaks1-static-ENV): New macro.
17608         * elf/dl-open.c (dl_open_worker): Check the main application
17609         only if SHARED is defined.
17610         * elf/tst-leaks1-static.c: New file.
17612 2012-10-20  Andreas Jaeger  <aj@suse.de>
17614         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
17615         generic values for Linux.
17616         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
17617         and declarations that are provided by <bits/fcntl-linux.h> and
17618         include <bits/fcntl-linux.h>.
17619         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17620         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17622 2012-10-20  Roland McGrath  <roland@hack.frob.com>
17624         * io/fcntl.h: Move include of <bits/types.h> to the top and
17625         include it unconditionally.
17627 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
17629         * wcsmbs/Makefile (tests-ifunc): New variable.
17630         (tests): Add $(tests-ifunc).
17631         * wcsmbs/test-wcschr-ifunc.c: New file.
17632         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
17633         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
17634         * wcsmbs/test-wcslen-ifunc.c: Likewise.
17635         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
17636         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
17638         * string/Makefile (tests-ifunc): New variable.
17639         (tests): Add $(tests-ifunc).
17640         * string/test-memccpy.c (TEST_NAME): New macro.
17641         * string/test-memchr.c (TEST_NAME): Likewise.
17642         * string/test-memcmp.c (TEST_NAME): Likewise.
17643         * string/test-memcpy.c (TEST_NAME): Likewise.
17644         * string/test-memmem.c (TEST_NAME): Likewise.
17645         * string/test-memmove.c (TEST_NAME): Likewise.
17646         * string/test-memset.c (TEST_NAME): Likewise.
17647         * string/test-rawmemchr.c (TEST_NAME): Likewise.
17648         * string/test-stpcpy.c (TEST_NAME): Likewise.
17649         * string/test-stpncpy.c (TEST_NAME): Likewise.
17650         * string/test-strcasecmp.c (TEST_NAME): Likewise.
17651         * string/test-strcasestr.c (TEST_NAME): Likewise.
17652         * string/test-strcat.c (TEST_NAME): Likewise.
17653         * string/test-strchr.c (TEST_NAME): Likewise.
17654         * string/test-strcmp.c(TEST_NAME): Likewise.
17655         * string/test-strcpy.c (TEST_NAME): Likewise.
17656         * string/test-strcspn.c (TEST_NAME): Likewise.
17657         * string/test-strlen.c (TEST_NAME): Likewise.
17658         * string/test-strncasecmp.c (TEST_NAME): Likewise.
17659         * string/test-strncmp.c (TEST_NAME): Likewise.
17660         * string/test-strncpy.c (TEST_NAME): Likewise.
17661         * string/test-strnlen.c (TEST_NAME): Likewise.
17662         * string/test-strpbrk.c (TEST_NAME): Likewise.
17663         * string/test-strrchr.c (TEST_NAME): Likewise.
17664         * string/test-strspn.c (TEST_NAME): Likewise.
17665         * string/test-strstr.c (TEST_NAME): Likewise.
17666         * string/test-bcopy-ifunc.c: New file.
17667         * string/test-bzero-ifunc.c: Likewise.
17668         * string/test-memccpy-ifunc.c: Likewise.
17669         * string/test-memchr-ifunc.c: Likewise.
17670         * string/test-memcmp-ifunc.c: Likewise.
17671         * string/test-memcpy-ifunc.c: Likewise.
17672         * string/test-memmem-ifunc.c: Likewise.
17673         * string/test-memmove-ifunc.c: Likewise.
17674         * string/test-mempcpy-ifunc.c: Likewise.
17675         * string/test-memset-ifunc.c: Likewise.
17676         * string/test-rawmemchr-ifunc.c: Likewise.
17677         * string/test-stpcpy-ifunc.c: Likewise.
17678         * string/test-stpncpy-ifunc.c: Likewise.
17679         * string/test-strcasecmp-ifunc.c: Likewise.
17680         * string/test-strcasestr-ifunc.c: Likewise.
17681         * string/test-strcat-ifunc.c: Likewise.
17682         * string/test-strchr-ifunc.c: Likewise.
17683         * string/test-strchrnul-ifunc.c: Likewise.
17684         * string/test-strcmp-ifunc.c: Likewise.
17685         * string/test-strcpy-ifunc.c: Likewise.
17686         * string/test-strcspn-ifunc.c: Likewise.
17687         * string/test-strlen-ifunc.c: Likewise.
17688         * string/test-strncasecmp-ifunc.c: Likewise.
17689         * string/test-strncat-ifunc.c: Likewise.
17690         * string/test-strncmp-ifunc.c: Likewise.
17691         * string/test-strncpy-ifunc.c: Likewise.
17692         * string/test-strnlen-ifunc.c: Likewise.
17693         * string/test-strpbrk-ifunc.c: Likewise.
17694         * string/test-strrchr-ifunc.c: Likewise.
17695         * string/test-strspn-ifunc.c: Likewise.
17696         * string/test-strstr-ifunc.c: Likewise.
17698         * debug/Makefile (tests-ifunc): New variable.
17699         (tests): Add $(tests-ifunc).
17700         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
17701         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
17702         * debug/test-stpcpy_chk-ifunc.c: New file.
17703         * debug/test-strcpy_chk-ifunc.c: Likewise.
17705 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
17707         [BZ #13601]
17708         * elf/dl-load.c (open_verify): Retry read if the entire ELF
17709         header is not read in.
17711 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
17713         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
17714         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
17715         directly.  Pass built executable to script as
17716         $(built-program-cmd).
17717         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
17718         $testprogram without using LD_LIBRARY_PATH and $ldso.
17720         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
17721         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
17722         $(rtld-installed-name).
17723         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
17724         (rtld_installed_name): Likewise.
17725         (library_path): Likewise.
17726         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
17727         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
17728         $(run-program-prefix) to tst-tables.sh.
17729         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
17730         it to run tst-table-from and tst-table-to.
17731         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
17732         Pass it to tst-table.sh.
17733         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
17734         $(run-program-prefix) to tst-gettext.sh.
17735         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
17736         tst-translit.sh.
17737         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
17738         tst-gettext2.sh.
17739         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
17740         to run tst-gettext.
17741         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
17742         to run tst-gettext2.
17743         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
17744         to run tst-translit.
17745         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
17746         $(run-program-prefix) to tst-mtrace.sh.
17747         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
17748         to run tst-mtrace.
17749         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
17750         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
17751         $(rtld-installed-name).
17752         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
17753         (rtld_installed_name): Likewise.
17754         (run_program_prefix): New variable.  Use it to run wordexp-test.
17756         * Makeconfig (ARCH): Remove all definitions.
17757         (machine): Likewise.
17758         [ARCH]: Remove conditional code.
17759         [!objdir]: Give error.
17760         [!objdir] (objpfx): Remove.
17761         [!objdir] (common-objpfx): Likewise.
17762         [!objdir] (common-objdir): Likewise.
17763         * configure.in (config_makefile): Remove.  Hardcode Makefile in
17764         AC_CONFIG_FILES call.
17765         * configure: Regenerated.
17767         [BZ #13888]
17768         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
17769         or TMPDIR.
17770         (testout): Likewise.
17772         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
17773         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
17774         $(rtld-installed-name).
17775         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
17776         (rtld_installed_name): Likwise.
17777         (runit): Remove function.
17778         (run_getconf): New variable,  Use it for running getconf binary.
17780 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
17782         [BZ #14716]
17783         * string/test-memmem.c (check_result): New function.
17784         (do_one_test): Use it.
17785         (check1): New function.
17786         (test_main): Use it.
17788 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
17790         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
17792 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
17794         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
17795         (_G_LSEEK64): Likewise.
17796         (_G_MMAP64): Likewise.
17797         (_G_FSTAT64): Likewise.
17798         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
17799         (_G_LSEEK64): Likewise.
17800         (_G_MMAP64): Likewise.
17801         (_G_FSTAT64): Likewise.
17802         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
17803         unconditional.  Call __mmap64 directly.
17804         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
17805         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
17806         __lseek64 directly.
17807         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
17808         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
17809         __mmap64 directly.
17810         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
17811         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
17812         __lseek64 directly.
17813         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
17814         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
17815         __lseek64 directly.
17816         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
17817         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
17818         __lseek64 directly.
17819         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
17820         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
17821         __fxstat64 directly.
17822         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
17823         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
17824         unconditional.
17825         (freopen64) [!_G_OPEN64]: Remove conditional code.
17826         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
17827         unconditional.
17828         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
17829         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
17830         unconditional.
17831         (ftello64) [!_G_LSEEK64]: Remove conditional code.
17832         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
17833         unconditional.
17834         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
17835         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
17836         unconditional.
17837         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
17838         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
17839         unconditional.
17840         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
17841         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
17842         unconditional.
17843         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
17844         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
17845         unconditional.
17846         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
17848 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
17850         [BZ #12140]
17851         * manual/memory.texi (Malloc Tunable Parameters): Add note
17852         about free list pointers overwriting some perturb bytes.
17853         Wording suggested by Roland McGrath.
17855 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
17857         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
17858         (lgamma_test): Likewise.
17859         (tgamma_test): Likewise.
17861 2012-10-16  Florian Weimer  <fweimer@redhat.com>
17863         [BZ #14700]
17864         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
17865         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
17867 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
17869         * NEWS: Mention BZ #14716.
17870         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
17871         when removing AVAILABLE1_USES_J macro.
17873 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
17875         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
17876         (__bswap_64): __uint64_t for unsigned 64-bit int.
17878 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
17880         * include/string.h (memmem): Declare libc hidden alias.
17881         * string/memmem.c (memmem): Define libc hidden alias.
17882         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
17883         __read, __close instead of open, read, close.
17885 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
17887         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
17888         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
17889         global and hidden.
17890         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
17891         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
17892         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
17893         Likewise.
17894         (__rawmemchr_sse2): Likewise.
17895         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
17896         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
17897         (__strchr_sse2): Likewise.
17898         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
17899         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
17900         (__strcasecmp_sse2): Likewise.
17901         (__strncasecmp_sse2): Likewise.
17902         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
17903         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
17904         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
17905         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
17906         (__strrchr_sse2): Likewise.
17907         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
17908         ifunc-impl-list.c.
17909         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
17910         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
17911         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
17912         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17913         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
17914         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
17915         * sysdeps/x86_64/multiarch/memset.S: Likewise.
17916         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17917         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
17918         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
17919         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
17920         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
17921         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
17922         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
17923         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
17924         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17925         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
17926         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
17927         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
17928         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
17929         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
17930         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
17931         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
17932         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
17933         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
17934         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17935         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
17936         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
17937         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
17938         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
17940         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
17941         global and hidden.
17942         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
17943         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
17944         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
17945         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
17946         Likewise.
17947         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
17948         Likewise.
17949         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
17950         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
17951         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
17952         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
17953         ifunc-impl-list.c.
17954         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
17955         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
17956         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
17957         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
17958         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
17959         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
17960         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
17961         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
17962         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
17963         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
17964         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
17965         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
17966         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
17967         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
17968         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
17969         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17970         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
17971         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
17972         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
17973         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
17974         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17975         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
17976         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
17977         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
17978         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17979         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
17980         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
17981         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
17982         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
17983         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
17984         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
17985         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
17986         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
17987         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
17988         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
17989         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
17990         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
17991         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
17992         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
17993         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
17994         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
17996         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
17997         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
17998         * include/ifunc-impl-list.h: New file.
17999         * misc/ifunc-impl-list.c: Likewise.
18000         * misc/Makefile (routines): Add ifunc-impl-list.
18001         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
18002         * string/test-string.h: Include <ifunc-impl-list.h>.
18003         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
18004         impl_array): New variables.
18005         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
18006         are defined.
18007         (test_init): Call __libc_ifunc_impl_list to initialize
18008         func_list if TEST_IFUNC and TEST_NAME are defined.
18010         * string/Makefile (strop-tests): Add bcopy and bzero.
18011         * string/test-bcopy.c: New file.
18012         * string/test-bzero.c: Likewise.
18013         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
18014         defined.
18015         * string/test-memset.c: Support bzero test if TEST_BZERO is
18016         defined.
18017         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
18018         __libc_memmove.
18019         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
18020         __libc_memset.
18021         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
18022         of memset.
18024 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
18026         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
18027         * configure: Regenerated.
18029         * Makeconfig (+link-static-before-libc): Don't include
18030         $(link-static-libc).
18032         * libio/libio.h (_IO_pos_t): Remove.
18034 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
18036         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
18037         McGrath.
18039 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
18041         * crypt/crypt-entry.c: Include fips-private.h.
18042         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
18043         * crypt/md5c-test.c (main): Tolerate disabled MD5.
18044         * sysdeps/unix/sysv/linux/fips-private.h: New file.
18045         * sysdeps/generic/fips-private.h: New file, dummy fallback.
18047 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
18049         * crypt/crypt-private.h: Include stdbool.h.
18050         (_ufc_setup_salt_r): Return bool.
18051         * crypt/crypt-entry.c: Include errno.h.
18052         (__crypt_r): Return NULL with EINVAL for bad salt.
18053         * crypt/crypt_util.c (bad_for_salt): New.
18054         (_ufc_setup_salt_r): Check that salt is long enough and within
18055         the specified alphabet.
18056         * crypt/badsalttest.c: New file.
18057         * crypt/Makefile (tests): Add it.
18058         ($(objpfx)badsalttest): New.
18060 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
18062         * NEWS: Add entry for BZ #14602.
18064 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
18066         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
18067         type-generic.
18068         * math/libm-test.inc: Update comment listing what functions and
18069         macros are tested.
18070         (isgreater_test): New function.
18071         (isgreaterequal_test): Likewise.
18072         (isless_test): Likewise.
18073         (islessequal_test): Likewise.
18074         (islessgreater_test): Likewise.
18075         (isunordered_test): Likewise.
18076         (main): Call the new functions.
18078 2012-10-09  Roland McGrath  <roland@hack.frob.com>
18080         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
18081         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
18082         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
18083         * sysdeps/i386/configure: Regenerated.
18084         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
18085         * sysdeps/mach/configure: Regenerated.
18086         * sysdeps/mach/hurd/configure: Regenerated.
18087         * sysdeps/powerpc/configure: Regenerated.
18088         * sysdeps/powerpc/powerpc32/configure: Regenerated.
18089         * sysdeps/powerpc/powerpc64/configure: Regenerated.
18090         * sysdeps/s390/s390-32/configure: Regenerated.
18091         * sysdeps/s390/s390-64/configure: Regenerated.
18092         * sysdeps/sh/configure: Regenerated.
18093         * sysdeps/sparc/configure: Regenerated.
18094         * sysdeps/unix/sysv/linux/configure: Regenerated.
18095         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
18096         * sysdeps/x86_64/configure: Regenerated.
18098         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
18099         defined.  Don't check if MAP is NULL.
18101 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
18103         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
18104         (_G_stat64): Likewise.
18105         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
18106         (_G_stat64): Likewise.
18107         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
18108         instead of struct _G_stat64.
18109         * libio/fileops.c (mmap_remap_check): Likewise.
18110         (decide_maybe_mmap): Likewise.
18111         (_IO_new_file_seekoff): Likewise.
18112         (_IO_file_stat): Likewise.
18113         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
18114         _G_off64_t.
18115         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
18116         instead of struct _G_stat64.
18117         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18119 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
18121         [BZ #14602]
18122         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18123         Replace with ...
18124         (CHECK_EOL): New macro.
18125         (two_way_short_needle): Check beginning of haystack for EOL.  Use
18126         CHECK_EOL.
18127         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18128         Replace with CHECK_EOL.
18129         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18130         Replace with CHECK_EOL.
18132 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
18134         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
18135         type-generic.
18136         * math/libm-test.inc: Update comment listing what functions and
18137         macros are tested.
18138         (finite_test): New function.
18139         (isinf_test): Likewise.
18140         (isnan_test): Likewise.
18141         (fpclassify_test): Test subnormal input.
18142         (isfinite_test): Likewise.
18143         (isnormal_test): Likewise.
18144         (main): Call the new functions.
18146 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
18148         [BZ #14660]
18149         * Makerules (%.dynsym): Force C locale when running
18150         $(OBJDUMP) --dynamic-syms.
18152 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
18154         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
18155         <stdint.h>.
18157 2012-10-06  David S. Miller  <davem@davemloft.net>
18159         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
18160         upper 32-bits of the length value in %o2 since we use branch-on-register
18161         tests which consider the entire 64-bit register.
18163 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
18165         * string/test-strstr.c (check2): Add a test for page boundary.
18167 2012-10-05  David S. Miller  <davem@davemloft.net>
18169         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
18170         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
18171         file.
18172         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18173         sysdep_routines.
18174         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18175         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
18176         and bzero when HWCAP_SPARC_CRYPTO is present.
18178 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
18180         [BZ #14602]
18181         * string/test-strstr.c (check2): New function.
18182         (test_main): Call check2.
18184         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
18185         and bug-strchr1.
18186         * string/bug-strcasestr1.c (do_test): Moved to ...
18187         * string/test-strcasestr.c (check1): Here.  New function.
18188         (do_one_test): Break out result checking code into ...
18189         (check_result): This.  New function.
18190         (do_one_test): Call check_result.
18191         (test_main): Call check1.
18192         * string/bug-strchr1.c (do_test): Moved to ...
18193         * string/test-strchr.c (check1): Here.  New function.
18194         (do_one_test): Break out result checking code into ...
18195         (check_result): This.  New function.
18196         (do_one_test): Call check_result.
18197         (test_main): Call check1.
18198         * string/bug-strstr1.c (main): Moved to ...
18199         * string/test-strstr.c (check1): Here.  New function.
18200         (do_one_test): Break out result checking code into ...
18201         (check_result): This.  New function.
18202         (do_one_test): Call check_result.
18203         (test_main): Call check1.
18204         * string/bug-strcasestr1.c: Removed.
18205         * string/bug-strchr1.c: Likewise.
18206         * string/bug-strstr1.c: Likewise.
18208         * elf/Makefile (dl-routines): Add hwcaps.
18209         * elf/dl-support.c (_dl_important_hwcaps): Removed.
18210         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
18211         (_dl_important_hwcaps): Moved to ...
18212         * elf/dl-hwcaps.c: Here.  New file.
18213         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
18215         [BZ #14557]
18216         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
18217         if IS_IN_rtld isn't defined.
18219         * elf/dl-support.c (_dl_sysinfo_map): New.
18220         Include "get-dynamic-info.h" and "setup-vdso.h".
18221         (_dl_non_dynamic_init): Call setup_vdso.
18222         * elf/dynamic-link.h: Don't include <assert.h>.
18223         (elf_get_dynamic_info): Moved to ...
18224         * elf/get-dynamic-info.h: Here.  New file.
18225         * elf/dynamic-link.h: Include "get-dynamic-info.h".
18226         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
18227         * elf/setup-vdso.h: Here.  New file.
18228         * elf/rtld.c: Include "setup-vdso.h".
18229         (dl_main): Call setup_vdso.
18231 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
18233         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
18234         creal in comment listing functions tested.  List finite, isinf,
18235         isnan, isless, islessequal, isgreater, isgreaterequal,
18236         islessgreater, isunordered, lgamma_r and pow10 as functions and
18237         macros not tested.  Mention which functions not tested are aliases
18238         for other functions.  Fix typo.  Note that signs of NaNs are not
18239         tested.
18241         * scripts/config.guess: Update from config.git.
18242         * scripts/config.sub: Likewise.
18244 2012-10-04  Roland McGrath  <roland@hack.frob.com>
18246         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
18247         * misc/madvise.c (madvise): Renamed to __madvise.
18248         Make madvise a weak alias.
18249         * include/sys/mman.h: Declare __madvise.
18250         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
18251         * sysdeps/unix/syscalls.list
18252         (madvise): Make __madvise the strong name, and madvise a weak alias.
18253         * sysdeps/unix/sysv/linux/syscalls.list
18254         (madvise, mmap): Remove redundant entries.
18255         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
18256         * malloc/malloc.c (mtrim): Likewise.
18257         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
18259 2012-10-03  Roland McGrath  <roland@hack.frob.com>
18261         * sysdeps/mach/hurd/dl-cache.c: File removed.
18262         * config.h.in (USE_LDCONFIG): New #undef.
18263         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
18264         * configure: Regenerated.
18265         * elf/Makefile (dl-routines): Add dl-cache only under
18266         [$(use-ldconfig) = yes].
18267         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
18268         cache on [USE_LDCONFIG].
18269         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
18270         [USE_LDCONFIG].
18271         * elf/rtld.c (dl_main): Likewise.
18273 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
18275         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
18276         _SC_LEVEL4_CACHE_LINESIZE.
18278 2012-10-03  Roland McGrath  <roland@hack.frob.com>
18280         * sysdeps/unix/bsd/confstr.h: File removed.
18282 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
18284         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
18285         sys/sdt-config.h.
18287 2012-10-02  Roland McGrath  <roland@hack.frob.com>
18289         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
18290         Make 'mapoff' field ElfW(Off) rather than off_t.
18292 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
18294         * nscd/Makefile: Remove nscd-cflags and all its users.
18295         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
18296         (CFLAGS-nonlib): Add compiler flags for nscd modules.
18298         [BZ #10631]
18299         * malloc.c (malloc_printerr): Clarify error message.
18301 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
18303         [BZ #14648]
18304         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18305         Set bit_FMA_Usable if FMA is supported.
18306         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
18307         macro.
18308         (bit_FMA4_Usable): Updated.
18309         (index_FMA_Usable): New macro.
18310         (CPUID_FMA): Likewise
18311         (HAS_FMA): Defined with bit_FMA_Usable.
18313 2012-10-01  Roland McGrath  <roland@hack.frob.com>
18315         * bits/types.h (__swblk_t): Type removed.
18316         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
18317         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
18318         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18319         (__SWBLK_T_TYPE): Likewise.
18320         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18321         (__SWBLK_T_TYPE): Likewise.
18322         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18323         (__SWBLK_T_TYPE): Likewise.
18324         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18325         (__SWBLK_T_TYPE): Likewise.
18327 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
18328             Honza Horak <hhorak@redhat.com>
18330         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
18331         (xdr_mapname): Use YPMAXMAP as maxsize.
18332         (xdr_peername): Use YPMAXPEER as maxsize.
18333         (xdr_keydat): Use YPAXRECORD as maxsize.
18334         (xdr_valdat): Use YPMAXRECORD as maxsize.
18336 2012-10-01  Roland McGrath  <roland@hack.frob.com>
18338         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
18340         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
18341         * csu/init-first.c: ... here.
18342         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
18343         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
18344         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
18345         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
18346         * sysdeps/i386/init-first.c: File removed.
18347         * sysdeps/sh/init-first.c: File removed.
18349 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
18351         [BZ #14645]
18352         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
18353         if x * y might underflow to zero and z is zero.
18354         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18355         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18356         * math/libm-test.inc (min_subnorm_value): New variable.
18357         (fma_test): Add more tests.
18358         (fma_test_towardzero): Likewise.
18359         (fma_test_downward): Likewise
18360         (fma_test_upward): Likewise.
18361         (initialize): Set min_subnorm_value.
18363 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
18365         [BZ #14638]
18366         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
18367         0 + 0.
18368         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
18369         mode for addition resulting in exact zero.
18370         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
18371         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
18372         exact 0 + 0.
18373         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18374         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18375         * math/libm-test.inc (fma_test): Add more tests.
18376         (fma_test_towardzero): New function.
18377         (fma_test_downward): Likewise.
18378         (fma_test_upward): Likewise.
18379         (main): Call the new functions.
18381 2012-09-28  David S. Miller  <davem@davemloft.net>
18383         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
18385 2012-09-28  Roland McGrath  <roland@hack.frob.com>
18387         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
18388         instead of SIGALRM.
18390         * sysdeps/gnu/_G_config.h: Moved to ...
18391         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
18392         * sysdeps/mach/hurd/_G_config.h: Moved to ...
18393         * sysdeps/generic/_G_config.h: ... here.
18395         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
18397         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
18399         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
18400         Conditionalize target on [libnss_test1.so-version].
18402         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
18404         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
18405         (elfobjdir): Move out of conditionals.
18407         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
18408         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
18409         (__nss_lookup_function): Conditionalize label remove_from_tree on
18410         [!DO_STATIC_NSS || SHARED], matching its only use.
18412 2012-09-28  David S. Miller  <davem@davemloft.net>
18414         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
18415         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
18416         file.
18417         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18418         sysdep_routines.
18419         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18420         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
18421         when HWCAP_SPARC_CRYPTO is present.
18423 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
18425         * io/tst-mknodat.c: Create a FIFO instead of a socket.
18427 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
18429         [BZ #6530]
18430         * stdio-common/vfprintf.c (process_string_arg): Revert
18431         2000-07-22 change.
18433 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
18435         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
18436         for testcase.
18437         * stdio-common/tst-sprintf.c: Include <locale.h>
18438         (main): Test sprintf's handling of incomplete multibyte
18439         characters.
18441 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
18443         * elf/dl-runtime.c (VERSYMIDX): Removed.
18444         * elf/dl-version.c (VERSYMIDX): Likewise.
18445         * elf/do-rel.h (VERSYMIDX): Likewise.
18446         (VALIDX): Likewise.
18447         * elf/dynamic-link.h (VERSYMIDX): Likewise.
18448         * elf/rtld.c (VALIDX): Likewise.
18449         (ADDRIDX): Likewise.
18450         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
18451         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
18452         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
18453         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
18454         (VALIDX): Likewise.
18455         (ADDRIDX): Likewise.
18457 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
18459         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
18461 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
18463         [BZ #11438]
18464         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
18465         to global scope.
18466         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
18467         addresses are in the same scope as 192.0.2/24.
18468         * posix/gai.conf: Document new scope table defaults.
18470 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
18472         [BZ #5298]
18473         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
18474         for ftell.  Compute offsets from write pointers instead.
18475         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18477 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
18479         [BZ #14543]
18480         * libio/Makefile (tests): New test case tst-fseek.
18481         * libio/tst-fseek.c: New test case to verify that fseek/ftell
18482         combination works in wide mode.
18483         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
18484         state when the external buffer state changes.
18486 2012-09-27  David S. Miller  <davem@davemloft.net>
18488         [BZ #14376]
18489         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
18490         pass reloc->r_addend in as the 'high' argument to
18491         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
18493         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18495 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
18497         * rt/tst-aio2.c: Include <pthread.h>.
18498         * rt/tst-aio3.c: Likewise.
18500 2012-09-27  Steve Ellcey  <sellcey@mips.com>
18502         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
18504 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
18506         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
18507         contents on [SHARED].
18509 2012-09-26  Marek Polacek  <polacek@redhat.com>
18511         [BZ #14530]
18512         [BZ #13741]
18513         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
18514         for C++ and GCC <4.3 as well as for non GCC compilers.
18516 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
18518         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18520 2012-09-25  Roland McGrath  <roland@hack.frob.com>
18522         * Makefile.in (all, install): Declare with .PHONY.
18523         Reported by Michael Hope <michael.hope@linaro.org>.
18525 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18527         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
18528         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
18529         system header.
18530         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
18531         Likewise.
18532         (sydep_routines): Add the new and the internal functions.
18533         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
18534         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
18535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
18536         (GLIBC_2.17): Add the new function.
18537         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
18538         (GLIBC_2.17): Likewise.
18539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
18540         (GLIBC_2.17): Likewise.
18541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
18542         (GLIBC_2.17): Likewise.
18543         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
18545 2012-09-25  Alan Modra  <amodra@gmail.com>
18547         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
18548         Add release barrier before setting once_control to say
18549         initialisation is done.  Add hints on lwarx.  Use macro in
18550         place of isync.
18551         (clear_once_control): Add release barrier.
18553 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
18555         [BZ #13629]
18556         * math/s_clog.c (__clog): Handle more values close to |z| = 1
18557         specially.
18558         * math/s_clog10.c (__clog10): Likewise.
18559         * math/s_clog10f.c (__clog10f): Likewise.
18560         * math/s_clog10l.c (__clog10l): Likewise.
18561         * math/s_clogf.c (__clogf): Likewise.
18562         * math/s_clogl.c (__clogl): Likewise.
18563         * math/Makefile (libm-calls): Add x2y2m1.
18564         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
18565         (__x2y2m1): Likewise.
18566         (__x2y2m1l): Likewise.
18567         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
18568         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
18569         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
18570         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
18571         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
18572         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
18573         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
18574         * sysdeps/i386/fpu/libm-test-ulps: Update.
18575         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18577         [BZ #14621]
18578         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
18579         int as type of variable DEPTH.
18580         (glob): Use size_t instead of int as type of variables NEWCOUNT
18581         and OLD_PATHC.
18583 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18585         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
18586         Add s_sincosf-sse2.
18587         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
18588         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
18589         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
18590         macros for using routine as __sincosf_ia32.
18591         Use macro for function declaration and weak_alias.
18592         * sysdeps/i386/fpu/libm-test-ulps: Update.
18594         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
18595         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18597         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
18598         subnormal argument.
18599         * math/s_cexpf.c (__cexpf): Likewise.
18600         * math/s_csinf.c (__csinf): Likewise.
18601         * math/s_csinhf.c (__csinhf): Likewise.
18602         * math/s_ctanf.c (__ctanf): Likewise.
18603         * math/s_ctanhf.c (__ctanhf): Likewise.
18604         * math/s_ccosh.c (__ccoshf): Likewise.
18605         * math/s_cexp.c (__cexpl): Likewise.
18606         * math/s_csin.c (__csin): Likewise.
18607         * math/s_csinh.c (__csinh): Likewise.
18608         * math/s_ctan.c (__ctan): Likewise.
18609         * math/s_ctanh.c (ctanh): Likewise.
18610         * math/s_ccoshl.c (__ccoshl): Likewise.
18611         * math/s_cexpl.c (__cexpl): Likewise.
18612         * math/s_csinl.c (__csinl): Likewise.
18613         * math/s_csinhl.c (__csinhl): Likewise.
18614         * math/s_ctanl.c (__ctanl): Likewise.
18615         * math/s_ctanhl.c (__ctanhl): Likewise.
18617 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
18619         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
18620         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
18621         (_IO_off_t): Define to __off_t, not _G_off_t.
18622         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
18623         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
18624         (_IO_wint_t): Define to wint_t, not _G_wint_t.
18625         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
18626         type of __dummy and __dummy2 fields.
18627         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
18628         (_G_ssize_t): Likewise.
18629         (_G_off_t): Likewise.
18630         (_G_pid_t): Likewise.
18631         (_G_uid_t): Likewise.
18632         (_G_wchar_t): Likewise.
18633         (_G_wint_t): Likewise.
18634         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
18635         (_G_ssize_t): Likewise.
18636         (_G_off_t): Likewise.
18637         (_G_pid_t): Likewise.
18638         (_G_uid_t): Likewise.
18639         (_G_wchar_t): Likewise.
18640         (_G_wint_t): Likewise.
18641         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
18642         (_G_ssize_t): Likewise.
18643         (_G_off_t): Likewise.
18644         (_G_pid_t): Likewise.
18645         (_G_uid_t): Likewise.
18646         (_G_wchar_t): Likewise.
18647         (_G_wint_t): Likewise.
18649 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
18651         * malloc/arena.c: Include malloc-sysdep.h.
18652         (shrink_heap): Use check_may_shrink_heap to decide if madvise
18653         is sufficient to shrink the heap or an unmap is needed.
18654         * sysdeps/generic/malloc-sysdep.h: New file.  Define
18655         new function check_may_shrink_heap.
18656         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
18657         new function check_may_shrink_heap.
18659 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
18661         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
18662         comments.
18664 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
18666         * catgets/test-gencat.sh: Add "set -e".
18667         * elf/tst-pathopt.sh: Likewise.
18668         * grp/tst_fgetgrent.sh: Likewise.
18669         * iconvdata/run-iconv-test.sh: Likewise.
18670         * intl/tst-gettext.sh: Likewise.
18671         * intl/tst-gettext2.sh: Likewise.
18672         * intl/tst-gettext4.sh: Likewise.
18673         * intl/tst-gettext6.sh: Likewise.
18674         * intl/tst-translit.sh: Likewise.
18675         * io/ftwtest-sh: Likewise.
18676         * libio/test-freopen.sh: Likewise.
18677         * malloc/tst-mtrace.sh: Likewise.
18678         * posix/globtest.sh: Likewise.
18679         * posix/tst-getconf.sh: Likewise.
18680         * posix/wordexp-tst.sh: Likewise.
18681         * stdio-common/tst-printf.sh: Likewise.
18682         * stdio-common/tst-unbputc.sh: Likewise.
18683         * stdlib/tst-fmtmsg.sh: Likewise.
18684         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
18685         * catgets/Makefile: Do not specify -e option when running
18686         testsuite shell scripts.
18687         * elf/Makefile: Likewise.
18688         * grp/Makefile: Likewise.
18689         * iconvdata/Makefile: Likewise.
18690         * intl/Makefile: Likewise.
18691         * io/Makefile: Likewise.
18692         * libio/Makefile: Likewise.
18693         * malloc/Makefile: Likewise.
18694         * posix/Makefile: Likewise.
18695         * stdio-common/Makefile: Likewise.
18696         * stdlib/Makefile: Likewise.
18697         * sysdeps/x86_64/Makefile: Likewise.
18699         * io/ftwtest-sh: Add copyright header.
18700         * posix/globtest.sh: Likewise.
18701         * posix/tst-getconf.sh: Likewise.
18702         * posix/wordexp-tst.sh: Likewise.
18703         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
18705 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
18707         [BZ #13679]
18708         * Makeconfig (+link): Defined as $(+link-static) if
18709         $(build-shared) isn't yes.
18710         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
18711         isn't yes.
18712         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
18714         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
18716         [BZ #14562]
18717         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
18718         new chunk size with MALLOC_ALIGN_MASK.
18720 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
18722         [BZ #5044]
18723         * stdio-common/printf_fphex.c: Include <stdbool.h> and
18724         <rounding-mode.h>.
18725         (__printf_fphex): Determine rounding using get_rounding_mode and
18726         round_away.
18727         * stdio-common/tst-printf-round.c (struct hex_test): New
18728         structure.
18729         (hex_tests): New variable.
18730         (test_hex_in_one_mode): New function.
18731         (do_test): Also run tests for hex float output.
18733 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
18735         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
18736         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
18737         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
18738         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
18739         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
18740         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
18741         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
18742         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
18744 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
18746         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
18747         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
18748         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
18749         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
18751 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
18753         [BZ #14579]
18754         * elf/rtld.c (dl_main): Limit the check for self loading to normal
18755         mode only.
18756         * elf/tst-rtld-load-self.sh: New test.
18757         * elf/Makefile: Run it.
18759 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
18761         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
18762         (tst-writev-ENV): Remove.
18763         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
18765 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
18767         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
18769 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
18771         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
18772         unconditional.
18773         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
18774         Likewise.
18775         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
18776         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
18777         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
18778         Likewise.
18780 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
18782         [BZ #14587]
18783         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
18784         * config.make.in (have-cpp-asm-debuginfo): Removed.
18785         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
18786         * configure: Regenerated.
18788 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
18790         [BZ #5044]
18791         * stdio-common/printf_fp.c: Include <stdbool.h> and
18792         <rounding-mode.h>.
18793         (___printf_fp): Determine rounding using get_rounding_mode and
18794         round_away.
18795         * stdio-common/tst-printf-round.c: New file.
18796         * stdio-common/Makefile (tests): Add tst-printf-round.
18797         (link-libm): New variable.
18798         ($(objpfx)tst-printf-round): Depend in $(link-libm).
18800 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
18802         [BZ #14576]
18803         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
18804         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
18805         Likewise.
18806         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
18807         Likewise.
18809 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
18811         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
18812         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18813         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18814         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18816 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
18818         [BZ #14518]
18819         * include/rounding-mode.h: New file.
18820         * sysdeps/generic/get-rounding-mode.h: Likewise.
18821         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
18822         * stdlib/strtod_l.c: Include <rounding-mode.h>.
18823         (MAX_VALUE): New macro.
18824         (MIN_VALUE): Likewise.
18825         (overflow_value): New function.
18826         (underflow_value): Likewise.
18827         (round_and_return): Use overflow_value and underflow_value to
18828         determine return values in overflow and underflow cases.  Use
18829         round_away to determine rounding depending on rounding mode.
18830         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
18831         determine return values in overflow and underflow cases.
18832         * stdlib/tst-strtod-round.c: Include <fenv.h>.
18833         (struct test_results): New structure.
18834         (struct test): Use struct test_results to store expected results
18835         for all rounding modes.
18836         (TEST): Include expected results for all rounding modes.
18837         (test_in_one_mode): New function.
18838         (do_test): Use test_in_one_mode to compute and check results.
18839         Check results for all rounding modes.
18840         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
18841         $(link-libm).
18843 2012-12-09  Allan McRae  <allan@archlinux.org>
18845         * sysdeps/i386/fpu/libm-test-ulps: Update
18847 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
18849         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
18850         (_G_int32_t): Likewise.
18851         (_G_uint16_t): Likewise.
18852         (_G_uint32_t): Likewise.
18853         (_G_HAVE_BOOL): Likewise.
18854         (_G_HAVE_ATEXIT): Likewise.
18855         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18856         (_G_HAVE_IO_FILE_OPEN): Likewise.
18857         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
18858         (_G_int32_t): Likewise.
18859         (_G_uint16_t): Likewise.
18860         (_G_uint32_t): Likewise.
18861         (_G_HAVE_BOOL): Likewise.
18862         (_G_HAVE_ATEXIT): Likewise.
18863         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18864         (_G_HAVE_IO_FILE_OPEN): Likewise.
18865         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
18866         (_G_int32_t): Likewise.
18867         (_G_uint16_t): Likewise.
18868         (_G_uint32_t): Likewise.
18869         (_G_HAVE_BOOL): Likewise.
18870         (_G_HAVE_ATEXIT): Likewise.
18871         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18872         (_G_HAVE_IO_FILE_OPEN): Likewise.
18874 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
18876         * csu/libc-tls.c: Update copyright years.
18878 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
18880         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
18881         [!_G_USING_THUNKS]: Remove conditional code.
18882         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
18883         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
18885         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
18886         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
18887         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18888         (_G_VTABLE_LABEL_PREFIX): Likewise.
18889         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18890         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18891         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18892         (_G_VTABLE_LABEL_PREFIX): Likewise.
18893         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
18894         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18895         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18896         (_G_VTABLE_LABEL_PREFIX): Likewise.
18897         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
18899 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
18901         * libio/Makefile: Include ../Makeconfig before tests.
18902         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
18903         only if $(build-shared) is yes.
18905         * iconv/gconv_db.c: Update copyright years.
18907 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18909         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
18910         unwind info if defined PIC. Fix special cases description.
18911         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
18913         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
18914         DP_HI_MASK entry.
18915         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
18917 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
18919         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
18921         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
18922         is NULL.
18924         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
18925         (LDLIBS-tst-chk4): This.
18926         (LDFLAGS-tst-chk5): Renamed to ...
18927         (LDLIBS-tst-chk5): This.
18928         (LDFLAGS-tst-chk6): Renamed to ...
18929         (LDLIBS-tst-chk6): This.
18930         (LDFLAGS-tst-lfschk4): Renamed to ...
18931         (LDLIBS-tst-lfschk4): This.
18932         (LDFLAGS-tst-lfschk5): Renamed to ...
18933         (LDLIBS-tst-lfschk5): This.
18934         (LDFLAGS-tst-lfschk6): Renamed to ...
18935         (LDLIBS-tst-lfschk6): This.
18937         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
18938         on $(common-objpfx)soversions.mk.
18940 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
18942         [BZ #10014]
18943         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
18944         example host name.
18946 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
18948         * malloc/arena.c (arena_get_retry): New function that gets
18949         another arena for the caller to try its request on.
18950         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
18951         current arena cannot fulfill the request.
18952         (__libc_memalign): Likewise.
18953         (__libc_memalign): Likewise.
18954         (__libc_pvalloc): Likewise.
18955         (__libc_calloc): Likewise.
18957 2012-09-05  John Tobey  <john.tobey@gmail.com>
18959         [BZ #13542]
18960         * manual/arith.texi (Operations on Complex): Fix description
18961         of carg branch cut.
18963 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
18965         [BZ #10014]
18966         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
18967         host name.
18969         [BZ #10038]
18970         * manual/memory.texi (Memory): Make order of menu items match
18971         order of sections.
18973 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
18975         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
18976         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
18977         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
18979 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
18981         * csu/libc-tls.c (static_dtv): Renamed to ...
18982         (_dl_static_dtv): This.  Make it global.
18983         (_dl_initial_dtv): Removed.
18984         (__libc_setup_tls): Updated.
18985         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
18986         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
18987         DL_INITIAL_DTV.
18989 2012-09-06  Petr Machata  <pmachata@redhat.com>
18991         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
18992         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
18993         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
18994         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
18996 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
18998         [BZ #14545]
18999         * csu/libc-tls.c (_dl_initial_dtv): New variable.
19000         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
19001         freeing dtv[-1].
19003 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
19005         [BZ #14544]
19006         * Makeconfig (link-static-before-libc): Replace $(+prector)
19007         with $(+prectorT).
19008         (link-static-after-libc): Replace $(+postctor) with
19009         $(+postctorT).
19010         (link-bounded): Replace $(+prector)/$(+postctor) with
19011         $(+prectorT)/$(+postctorT).
19012         (+prectorT): New macro.
19013         (+postctorT): Likewise.
19015 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
19017         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
19018         (round_str): Handle values above the maximum for IBM long double
19019         as inexact.
19020         * stdlib/tst-strtod-round.c (tests): Regenerated.
19022 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19024         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
19025         assembler flag.
19026         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
19027         zarch_nohighgprs around the zarch optimized routines.
19028         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
19029         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
19030         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
19031         for zarch.
19033 2012-09-05  David S. Miller  <davem@davemloft.net>
19035         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19037         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
19038         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
19039         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
19040         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
19041         entries.
19043 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
19045         * malloc/arena.c: Fold copyright years.
19046         * malloc/mcheck.c, malloc/memusage.c: Likewise.
19048 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
19050         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
19052 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
19054         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
19056 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
19058         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
19059         change internal state upon failure.
19061 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
19063         * malloc/mcheck.c (mcheck_check_all): Fix typo.
19064         * malloc/memusage.c (mmap): Likewise.
19065         (mmap64, mremap): Likewise.  Adjust name in comment.
19067 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
19069         * libio/fileops.c: Fix typos in comments.
19070         * libio/oldfileops.c: Likewise.
19071         * libio/wfileops.c: Likewise.
19073 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
19075         [BZ #1349]
19076         * malloc/Makefile (tests): Add tst-malloc-usable test case.
19077         (tst-malloc-usable-ENV): Set environment for test case.
19078         * malloc/hooks.c (malloc_check_get_size): New function to get
19079         requested size.
19080         * malloc/malloc.c (musable): Use malloc_check_get_size.
19081         * malloc/tst-malloc-usable.c: New test case.
19083 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
19085         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
19087 2012-09-05  Allan McRae  <allan@archlinux.org>
19089         [BZ #13966]
19090         * configure.in (CXX_SYSINCLUDES): Use compiler output to
19091         determine header location.
19092         * configure: Regenerated.
19094 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
19096         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
19097         float format.
19098         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
19099         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
19100         format.
19101         (test): Regenerate.
19103 2012-09-04  David S. Miller  <davem@davemloft.net>
19105         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
19106         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
19107         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
19109 2012-09-04  Florian Weimer  <fweimer@redhat.com>
19111         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
19112         failures.
19114         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
19116 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
19118         [BZ #9914]
19119         * libio/iogetdelim.c: Include <limits.h>.
19120         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
19121         + len + 1 would overflow.
19123 2012-09-03  Andreas Jaeger  <aj@suse.de>
19125         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19126         * sysdeps/i386/fpu/libm-test-ulps: Update.
19128 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19130         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
19131         Add s_sinf-sse2, s_conf-sse2.
19133         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
19134         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
19135         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
19136         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
19138         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
19139         for using routine as __sinf_ia32.
19140         Use macro for function declaration and weak_alias.
19141         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
19142         for using routine as __cosf_ia32.
19143         Use macro for function declaration and weak_alias.
19145         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
19146         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
19148         * sysdeps/x86_64/fpu/s_sinf.S: New file.
19149         * sysdeps/x86_64/fpu/s_cosf.S: New file.
19150         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19152         * math/libm-test.inc (cos_test): Add more test cases.
19153         (sin_test): Likewise.
19154         (sincos_test): Likewise.
19156 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19158         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
19159         (IFUNC_RESOLVE): Make pointers to the specialized implementations
19160         hidden.
19161         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19163 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
19165         [BZ #14538]
19166         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
19167         first element of the GOT.
19168         (elf_machine_load_address): Return the difference between
19169         the runtime address of _DYNAMIC and elf_machine_dynamic ().
19171 2012-09-01  Allan McRae  <allan@archlinux.org>
19173         [BZ #13412]
19174         * configure.in (AWK): Require gawk version 3.0 or later.
19175         * configure: Regenerated.
19177 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
19179         * sysdeps/unix/sysv/linux/kernel-features.h
19180         (__ASSUME_POSIX_CPU_TIMERS): Remove.
19181         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19182         [__NR_clock_getres]: Make code unconditional.
19183         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
19184         (clock_getcpuclockid): Remove code left unreachable by removal of
19185         conditionals.
19186         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
19187         code unconditional.
19188         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19189         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19190         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
19191         Make code unconditional.
19192         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19193         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19194         * sysdeps/unix/sysv/linux/clock_settime.c
19195         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
19196         conditional code.
19197         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
19198         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19200 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
19202         [BZ #14476]
19203         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
19204         scripts/test-installation.pl.
19206         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
19207         and $ld_so_version if it is set.
19209 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
19211         [BZ #14516]
19212         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
19213         failure if reading from procfs failed.
19214         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
19216 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
19218         * sysdeps/unix/sysv/linux/kernel-features.h
19219         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
19220         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19221         Remove conditional code.
19222         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19223         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
19224         Remove conditional code.
19225         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19226         * sysdeps/unix/sysv/linux/i386/fxstat.c
19227         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19228         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19229         * sysdeps/unix/sysv/linux/i386/fxstatat.c
19230         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19231         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19232         * sysdeps/unix/sysv/linux/i386/lxstat.c
19233         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19234         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19235         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
19236         Remove conditional code.
19237         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19238         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19239         Remove conditional code.
19240         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19241         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
19242         <kernel-features.h>.
19243         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
19244         Remove.
19245         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
19246         Remove conditional code.
19247         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19248         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
19249         Remove conditional.
19251 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
19253         [BZ #5400]
19254         * NEWS: Add fixed bug number.
19256 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
19258         [BZ #14519]
19259         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
19260         underflowing exponent in case of negative sign.
19261         * stdlib/tst-strtod-round-data: Add more tests.
19262         * stdlib/tst-strtod-round.c (tests): Regenerated.
19264         [BZ #3479]
19265         * stdlib/strtod_l.c (NDIG): Remove.
19266         (HEXNDIG): Likewise.
19267         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
19268         smallest representable value.
19269         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
19270         lie within an exact representation of 1/2 ulp of the result.
19271         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
19272         unconditionally.
19273         (TENS_P9_IDX): Define unconditionally.
19274         (TENS_P9_SIZE): Likewise.
19275         (TENS_P10_IDX): Likewise.
19276         (TENS_P10_SIZE): Likewise.
19277         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
19278         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
19279         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
19280         entries for 10^2^13 and 10^2^14.
19281         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
19282         (TENS_P13_IDX): Define.
19283         (TENS_P13_SIZE): Likewise.
19284         (TENS_P14_IDX): Likewise.
19285         (TENS_P14_SIZE): Likewise.
19286         (_fpioconst_pow10): Change array size to
19287         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
19288         unconditional.
19289         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
19290         1024]: Add entries for 10^2^13 and 10^2^14.
19291         [LAST_POW10 > _LAST_POW10]: Remove #error.
19292         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
19293         (_fpioconst_pow10): Change array size to
19294         FPIOCONST_POW10_ARRAY_SIZE.
19295         * stdlib/gen-fpioconst.c: New file.
19296         * stdlib/gen-tst-strtod-round.c: Likewise.
19297         * stdlib/tst-strtod-round-data: Likewise.
19298         * stdlib/tst-strtod-round.c: Likewise.
19299         * stdlib/Makefile (tests): Add tst-strtod-round.
19301         [BZ #14459]
19302         * stdlib/strtod_l.c: Include <stdint.h>.
19303         (NDEBUG): Do not define.
19304         (round_and_return): Change EXPONENT parameter to type intmax_t.
19305         Rearrange calculations to avoid internal overflow possibilities.
19306         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
19307         Rearrange calculations to avoid internal overflow possibilities.
19308         Assert that number fits inside MPNSIZE limbs.
19309         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
19310         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
19311         calculations and add assertions to avoid internal overflow
19312         possibilities.  Add casts to avoid signed/unsigned operations.
19313         * stdlib/tst-strtod-overflow.c: New file.
19314         * stdlib/Makefile (tests): Add tst-strtod-overflow.
19316 2012-08-25  Marek Polacek  <polacek@redhat.com>
19318         * time/time.h: Fix some typos in comments.
19320 2012-08-23  Roland McGrath  <roland@hack.frob.com>
19322         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
19323         * posix/tst-rfc3484-2.c: Likewise.
19324         * posix/tst-rfc3484-3.c: Likewise.
19326 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
19328         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
19329         (EF_ARM_ABI_FLOAT_HARD): Likewise.
19331 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
19333         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
19334         #include of fxstatat64.c.
19336 2012-08-22  Roland McGrath  <roland@hack.frob.com>
19338         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
19339         * shadow/getspent_r.c: Likewise.
19340         * shadow/getspnam.c: Likewise.
19341         * shadow/getspnam_r.c: Likewise.
19342         * gshadow/getsgent.c: Likewise.
19343         * gshadow/getsgent_r.c: Likewise.
19344         * gshadow/getsgnam.c: Likewise.
19345         * gshadow/getsgnam_r.c: Likewise.
19346         * inet/getnetbyad.c: Likewise.
19347         * inet/getnetbyad_r.c: Likewise.
19348         * inet/getnetbynm.c: Likewise.
19349         * inet/getnetbynm_r.c: Likewise.
19350         * inet/getnetent.c: Likewise.
19351         * inet/getnetent_r.c: Likewise.
19352         * inet/getproto.c: Likewise.
19353         * inet/getproto_r.c: Likewise.
19354         * inet/getprtent.c: Likewise.
19355         * inet/getprtent_r.c: Likewise.
19356         * inet/getprtname.c: Likewise.
19357         * inet/getprtname_r.c: Likewise.
19358         * inet/getrpcbyname.c: Likewise.
19359         * inet/getrpcbyname_r.c: Likewise.
19360         * inet/getrpcbynumber.c: Likewise.
19361         * inet/getrpcbynumber_r.c: Likewise.
19362         * inet/getrpcent.c: Likewise.
19363         * inet/getrpcent_r.c: Likewise.
19364         * inet/getaliasent.c: Likewise.
19365         * inet/getaliasent_r.c: Likewise.
19366         * inet/getaliasname.c: Likewise.
19367         * inet/getaliasname_r.c: Likewise.
19368         * nscd/getgrgid_r.c: Likewise.
19369         * nscd/getgrnam_r.c: Likewise.
19370         * nscd/gethstbyad_r.c: Likewise.
19371         * nscd/gethstbynm3_r.c: Likewise.
19372         * nscd/getpwnam_r.c: Likewise.
19373         * nscd/getpwuid_r.c: Likewise.
19374         * nscd/getsrvbynm_r.c: Likewise.
19375         * nscd/getsrvbypt_r.c: Likewise.
19376         * nscd/gai.c: Likewise.
19378         * configure.in (build_nscd): New substituted variable, set
19379         by --disable-build-nscd and defaults to $use_nscd.
19380         * configure: Regenerated.
19381         * config.make.in (build-nscd): New substituted variable.
19382         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
19383         Change conditional to require [$(build-nscd) = yes] as well.
19384         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
19386         [BZ# 13696]
19387         * configure.in (use_nscd): New substituted variable, set by
19388         --disable-nscd.  If enabled, define USE_NSCD.
19389         * configure: Regenerated.
19390         * config.h.in: Add USE_NSCD.
19391         * config.make.in (use-nscd): New substituted variable.
19392         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
19393         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
19394         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
19395         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
19396         (CFLAGS-getgrnam_r.c): Likewise.
19397         (CFLAGS-initgroups.c): Likewise.
19398         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
19399         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
19400         Variables removed.
19401         * inet/getnetgrent_r.c
19402         (nscd_setnetgrent): New function, broken out of ...
19403         (setnetgrent): ... here.  Call it.
19404         (innetgr): Conditionalize nscd bits on [USE_NSCD].
19405         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
19406         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
19407         * nscd/Makefile (routines, aux): Move definitions after include of
19408         Makeconfig.  Conditionalize on [$(use-nscd) != no].
19409         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
19410         Conditionalize on [USE_NSCD].
19411         (is_nscd, nscd_init_cb): Likewise.
19412         (nss_load_library): Conditionalize init callback on [USE_NSCD].
19413         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
19414         * nss/nss_db/db-init.c: Likewise.
19415         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
19416         [USE_NSCD].
19417         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
19418         (make_request): Use it.
19419         (cache_valid_p): New function.
19420         (__check_pf): Use it.
19421         * NEWS: Add item for --disable-nscd.
19423 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
19425         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
19426         to support sed >= 4.2.1-20-ga9bf076.
19427         * configure: Regenerated.
19429 2012-08-22  Roland McGrath  <roland@hack.frob.com>
19431         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
19432         Conditionalize whole body on [IREL].
19434 2012-08-22  Jeff Law <law@redhat.com>
19436         [BZ #14505]
19437         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
19438         if the family is PF_UNSPEC.
19440 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
19442         * Makerules (lib-version): Rename from V.
19443         (install-lib-nosubdir): Change V to lib-version.
19445 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
19447         [BZ #14252]
19448         * powerpc32/power6/wcschr.c: New file.
19449         * powerpc32/power6/wcscpy.c: New file.
19450         * powerpc32/power6/wcsrchr.c: New file.
19451         * powerpc64/power6/wcschr.c: New file.
19452         * powerpc64/power6/wcscpy.c: New file.
19453         * powerpc64/power6/wcsrchr.c: New file.
19455 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
19457         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
19458         (two_way_short_needle): Use it.
19459         * string/strstr.c (AVAILABLE1_USES_J): Define.
19460         * string/strcasestr.c: Likewise.
19462         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
19463         array references.
19464         * string/strcasestr.c (TOLOWER): Make side-effect safe.
19466         [BZ #11607]
19467         * NEWS: Add an entry.
19468         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
19469         define their defaults.
19470         (two_way_short_needle): Detect end-of-string on-the-fly.
19471         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
19472         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
19473         * string/bug-strcasestr1.c: New test.
19474         * string/Makefile: Run it.
19476 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
19478         [BZ #11607]
19479         * string/str-two-way.h (two_way_short_needle): Optimize matching of
19480         the first character.
19482 2012-08-21  Roland McGrath  <roland@hack.frob.com>
19484         * csu/elf-init.c (__libc_csu_irel): Function removed.
19485         * csu/libc-start.c (apply_irel): New function.
19486         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
19488 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
19490         * sysdeps/unix/sysv/linux/kernel-features.h
19491         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
19492         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
19493         <kernel-features.h>.
19494         [__NR_fadvise64_64]: Make code unconditional.
19495         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
19496         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
19497         !__NR_fadvise64_64)]: Likewise.
19498         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
19499         !__NR_fadvise64_64))]: Likewise.
19500         [__NR_fadvise64]: Make code unconditional.
19501         [!__NR_fadvise64]: Remove conditional code.
19502         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
19503         <kernel-features.h>.
19504         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19505         unconditional.
19506         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19507         conditional code.
19508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
19509         not include <kernel-features.h>.
19510         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19511         unconditional.
19512         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19513         conditional code.
19514         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
19515         include <kernel-features.h>.
19516         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19517         unconditional.
19518         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19519         conditional code.
19521 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
19523         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
19524         slight instruction rearrangements per scrollpipe analysis.
19525         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
19527 2012-08-20  Roland McGrath  <roland@hack.frob.com>
19529         * manual/syslog.texi (syslog; vsyslog, closelog):
19530         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
19531         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
19533         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
19534         DSOCAPS to match condition on defining it.
19536 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
19538         * sysdeps/unix/sysv/linux/kernel-features.h
19539         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
19540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
19541         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19542         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19543         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
19544         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19545         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19546         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
19547         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19548         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19550         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
19551         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
19553         * sysdeps/unix/sysv/linux/kernel-features.h
19554         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
19555         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
19556         unconditional.
19557         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19558         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
19559         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
19560         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19561         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
19562         Make code unconditional.
19563         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19564         (__mmap64) [!__NR_mmap2]: Likewise.
19565         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
19566         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
19567         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19568         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
19569         [__NR_mmap2]: Make code unconditional.
19570         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19571         (__mmap64) [!__NR_mmap2]: Likewise.
19573 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19575         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
19577 2012-08-18  Andreas Jaeger  <aj@suse.de>
19579         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
19581 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
19583         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
19584         * include/unistd.h (__have_sock_cloexec): Likewise.
19585         (__have_pipe2): Likewise.
19586         (__have_dup3): Likewise.
19588 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
19590         [BZ #9685]
19591         * include/unistd.h (__have_pipe2): Change define into an extern int.
19592         (__have_dup3): Likewise.
19593         * socket/have_sock_cloexec.c: Include fcntl.h.
19594         (__have_pipe2): New variable.
19595         (__have_dup3): Likewise.
19597 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
19599         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
19601 2012-08-17  Marek Polacek  <polacek@redhat.com>
19603         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
19604         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
19606 2012-08-17  Roland McGrath  <roland@hack.frob.com>
19608         * configure.in: Add AC_SUBST for sysheaders.
19609         * configure: Regenerated.
19610         * config.make.in (sysheaders): New substituted variable.
19612         * sysdeps/unix/mkfifo.c: Moved ...
19613         * sysdeps/posix/mkfifo.c: ... here.
19614         * sysdeps/unix/mkfifoat.c: Moved ...
19615         * sysdeps/posix/mkfifoat.c: ... here.
19617         * sysdeps/unix/utime.c: Moved ...
19618         * sysdeps/posix/utime.c: ... here.
19620         * sysdeps/unix/time.c: Moved ...
19621         * sysdeps/posix/time.c: ... here.
19622         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
19623         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
19625         * sysdeps/unix/nice.c: Moved ...
19626         * sysdeps/posix/nice.c: ... here.
19628         * sysdeps/unix/alarm.c: Moved ...
19629         * sysdeps/posix/alarm.c: ... here.
19631         * intl/Makefile ($(codeset_mo)): Depend on the input file.
19633 2012-08-17  Jeff Law <law@redhat.com>
19635         * intl/Makefile (codeset_mo): New variable.
19636         ($(codeset_mo)): New target.
19637         (tst-codeset.out): Depend on that.  Remove explicit rule.
19638         (tst-gettext3.out, tst-gettext5.out): Likewise.
19639         (LOCPATH-ENV, tst-codeset-ENV): New variables.
19640         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
19641         * intl/tst-codeset.sh: Remove.
19642         * intl/tst-gettext3.sh: Likewise.
19643         * intl/tst-gettext5.sh: Likewise.
19645 2012-08-17  Roland McGrath  <roland@hack.frob.com>
19647         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
19648         * sysdeps/unix/syscalls.list: ... here.
19650         * sysdeps/posix/getaddrinfo.c
19651         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
19652         (gaiconf_init, gaiconf_reload): Use them.
19653         [!_STATBUF_ST_NSEC]
19654         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
19655         Define using time_t rather than struct timespec.
19657         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
19658         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
19659         Macros removed.
19660         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
19661         [!NO_THREADS].
19662         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
19663         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
19664         Likewise.
19666         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
19667         __libc_cleanup_push argument.
19669         * bits/param.h: New file.
19670         * misc/sys/param.h: New file.
19671         * include/sys/param.h: New file.
19672         * misc/Makefile (headers): Add bits/param.h.
19673         * sysdeps/generic/sys/param.h: File removed.
19674         * sysdeps/unix/sysv/linux/bits/param.h: New file.
19675         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
19676         * sysdeps/mach/hurd/bits/param.h: New file.
19677         * sysdeps/mach/hurd/sys/param.h: File removed.
19679         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
19680         last change.
19682         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
19683         [_IO_MTSAFE_IO].
19684         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
19685         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
19686         New macros.
19688         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
19689         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
19690         rather than -D_IO_MTSAFE_IO conditionally.
19691         * stdio-common/Makefile (CPPFLAGS): Likewise.
19692         * wcsmbs/Makefile (CPPFLAGS): Likewise.
19693         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
19694         Use $(libio-mtsafe).
19695         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
19696         of -D_IO_MTSAFE_IO.
19697         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
19698         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
19699         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
19700         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
19701         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
19702         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
19703         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
19704         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
19705         (CFLAGS-fread_u_chk.c): Likewise.
19706         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
19707         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
19708         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
19709         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
19710         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
19711         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
19712         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
19713         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
19714         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
19716         * libio/Makefile: Test [$(libc-reentrant) = yes]
19717         instead of [$(filter %REENTRANT, $(defines)) nonempty].
19719         * Makeconfig
19720         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
19721         * sysdeps/pthread/configure: File removed.
19722         * sysdeps/pthread/Makeconfig: New file.
19723         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
19724         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
19726 2012-08-16  Gary Benson  <gbenson@redhat.com>
19728         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
19729         unmapping the first object in a namespace.
19731 2012-08-16  Roland McGrath  <roland@hack.frob.com>
19733         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
19734         (__internal_setnetgrent): ... this.  Add internal_function to
19735         definition.  Add libc_hidden_def.
19736         (setnetgrent): Update caller.
19737         (internal_endnetgrent): Renamed to ...
19738         (__internal_endnetgrent): ... this.  Add internal_function to
19739         definition.  Add libc_hidden_def.
19740         (endnetgrent): Update caller.
19741         (internal_getnetgrent_r): Renamed to ...
19742         (__internal_getnetgrent_r): ... this.  Add internal_function to
19743         definition.  Add libc_hidden_def.
19744         (__getnetgrent_r): Update caller.
19745         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
19747 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
19749         * stdlib/longlong.h: Update from GCC.
19751 2012-08-16  Roland McGrath  <roland@hack.frob.com>
19753         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
19754         on _QL, which is set by umul_ppmm but never used.
19755         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
19756         variables, which are set by GMP macros but never used.
19757         * stdio-common/_itowa.c (_itowa): Likewise.
19758         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
19759         * stdlib/mod_1.c (mpn_mod_1): Likewise.
19761 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
19763         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
19764         struct La_sh_regs is not constant.
19765         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
19766         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
19767         and struct La_sparc64_regs are not constant.
19769 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
19771         * sysdeps/unix/sysv/linux/kernel-features.h
19772         (__ASSUME_POSIX_TIMERS): Remove.
19773         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19774         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19775         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
19776         Make code unconditional.
19777         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19778         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
19779         Make code unconditional.
19780         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19781         * sysdeps/unix/sysv/linux/clock_nanosleep.c
19782         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
19783         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19784         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
19785         Make code unconditional.
19786         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19787         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
19788         (__libc_missing_posix_timers): Remove.
19790 2012-08-15  Roland McGrath  <roland@hack.frob.com>
19792         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
19793         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
19795         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
19797         * elf/dl-sym.c: Include <stdlib.h>.
19799         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
19800         constants, which avoids warnings in 32-bit builds.
19802         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
19803         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
19805         * misc/lseek.c: File moved to ...
19806         * io/lseek.c: ... here.
19808         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
19810         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
19811         shifting LEN more than 31 bits at once.
19813 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19815         [BZ #14195]
19816         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
19817         segmentation fault for a case of two empty input strings.
19818         * string/test-strncasecmp.c (check1): Renamed to...
19819         (bz12205): ...this.
19820         (bz14195): Add new testcase for two empty input strings and N > 0.
19821         (test_main): Call new testcase, adapt for renamed function.
19823 2012-08-15  Andreas Jaeger  <aj@suse.de>
19825         [BZ #14090]
19826         * crypt/md5test2.c: New test, based on test supplied by Serge
19827         Belyshev <belyshev@depni.sinp.msu.ru>.
19828         * crypt/Makefile (xtests): Add md5test-giant..
19829         * crypt/Makefile ($(objpfx)md5test-giant): Add.
19831 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
19833         [BZ #14090]
19834         * crypt/md5.c (md5_process_block): Don't assume the buffer
19835         length is less than 2**32.
19836         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
19837         length is less than 2**64.
19839 2012-08-15  Roland McGrath  <roland@hack.frob.com>
19841         * string/str-two-way.h: Include <sys/param.h>.
19842         (MAX): Macro removed.
19844         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
19845         Move #define and #undef of memmove to just before and after
19846         including <string.h>.
19848         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
19849         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
19850         and after including <string.h>.  Move declarations of
19851         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
19852         to before #include "string/memmove.c".
19854         * include/dirent.h: Declare __getdirentries.
19856         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
19857         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
19859 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
19861         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
19862         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
19863         * sysdeps/i386/configure: Regenerated.
19864         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
19865         STABS_CURRENT_FILE, and STABS_FUN.
19866         (END): Remove call to STABS_FUN_END.
19867         (STABS_CURRENT_FILE1): Delete.
19868         (STABS_CURRENT_FILE): Likewise.
19869         (STABS_FUN): Likewise.
19870         (STABS_FUN_END): Likewise.
19871         (STABS_FUN2): Likewise.
19872         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
19873         * sysdeps/x86_64/configure: Regenerated.
19875 2012-08-14  Roland McGrath  <roland@hack.frob.com>
19877         * elf/dl-open.c: Include <atomic.h>.
19878         * elf/dl-lookup.c: Likewise.
19880 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
19882         * sysdeps/unix/sysv/linux/kernel-features.h
19883         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
19884         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
19885         unconditionally.
19886         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
19887         unconditionally.
19888         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
19889         condition on __ASSUME_CLONE_THREAD_FLAGS.
19891 2012-08-14  Andreas Jaeger  <aj@suse.de>
19893         * sysdeps/i386/fpu/libm-test-ulps: Update.
19895 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
19897         * include/atomic.h (atomic_exchange_and_add): Split into ...
19898         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
19899         New atomic macros.
19901 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
19903         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19905 2012-08-13  Jeff Law <law@redhat.com>
19907         * manual/stdio.texi (snprintf): Clarify handling of the trailing
19908         null byte in the output string.
19910 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
19912         * sysdeps/unix/sysv/linux/kernel-features.h
19913         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
19914         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
19915         (__ASSUME_ARG_MAX_STACK_BASED): Define.
19916         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
19917         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
19918         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
19919         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
19921 2012-08-09  Jeff Law <law@redhat.com>
19923         [BZ #13939]
19924         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
19925         When avoid_arena is set, don't retry in the that arena.  Pick the
19926         next one, whatever it might be.
19927         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
19928         (arena_lock): Pass in new parameter to arena_get2.
19929         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
19930         arena_get2.
19931         (__libc_malloc): Unify retrying after main arena failure with
19932         __libc_memalign version.
19933         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
19935 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
19937         [BZ #14166]
19938         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
19939         to __redirect_strstr.
19940         (__strstr_sse42): Use typeof __redirect_strstr.
19941         (__strstr_ia32): Likewise.
19942         (__libc_strstr): New prototype.
19943         (strstr): Renamed to ...
19944         (__libc_strstr): This.
19945         (strstr): New strong alias of __libc_strstr.
19946         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
19947         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
19948         __redirect_time.
19949         Include <time.h>.
19950         (__libc_time): New prototype.
19951         (time_ifunc): Replace time with __libc_time.
19952         (time): New strong alias and hidden definition of __libc_time.
19953         (__GI_time): Remove strong alias.
19954         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
19955         Include <stddef.h>.
19956         (memmove): Redefined to __redirect_memmove.
19957         (__memmove_sse2): Use typeof __redirect_memmove.
19958         (__memmove_ssse3): Likewise.
19959         (__memmove_ssse3_back): Likewise.
19960         (__libc_memmove): New prototype.
19961         (memmove): Renamed to ...
19962         (__libc_memmove): This.
19963         (memmove): New strong alias of __libc_memmove.
19965 2012-08-08  Mark Salter  <msalter@redhat.com>
19967         * elf/elf.h
19968         (R_MN10300_TLS_GD): Define.
19969         (R_MN10300_TLS_LD): Likewise.
19970         (R_MN10300_TLS_LDO): Likewise.
19971         (R_MN10300_TLS_GOTIE): Likewise.
19972         (R_MN10300_TLS_IE): Likewise.
19973         (R_MN10300_TLS_LE): Likewise.
19974         (R_MN10300_TLS_DTPMOD): Likewise.
19975         (R_MN10300_TLS_DTPOFF): Likewise.
19976         (R_MN10300_TLS_TPOFF): Likewise.
19977         (R_MN10300_SYM_DIFF): Likewise.
19978         (R_MN10300_ALIGN): Likewise.
19979         (R_MN10300_NUM): Update.
19981 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
19983         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
19984         Remove.
19986 2012-08-08  Roland McGrath  <roland@hack.frob.com>
19988         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
19990         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
19991         sysdeps/unix -> sysdeps/posix move.
19992         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
19994 2012-08-07      Allan McRae     <allan@archlinux.org>
19996         [BZ #14303]
19997         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
19998         (SUNOS_CPP): Likewise.
19999         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
20000         not found.
20001         (open_input): Call CPP using execvp.
20003 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
20005         * sysdeps/unix/sysv/linux/kernel-features.h
20006         (__ASSUME_PROT_GROWSUPDOWN): Remove.
20007         (__ASSUME_NO_CLONE_DETACHED): Likewise.
20008         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20009         (__ASSUME_WAITID_SYSCALL): Likewise.
20010         * sysdeps/unix/sysv/linux/dl-execstack.c
20011         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
20012         code unconditional.
20013         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
20014         conditional code.
20015         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
20016         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
20017         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
20018         code.
20019         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
20020         unconditional.
20021         [__ASSUME_WAITID_SYSCALL]: Likewise.
20022         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
20024 2012-08-07  Roland McGrath  <roland@hack.frob.com>
20026         * sysdeps/unix/closedir.c: Renamed to ...
20027         * sysdeps/posix/closedir.c: ... here.
20028         * sysdeps/unix/dirfd.c: Renamed to ...
20029         * sysdeps/posix/dirfd.c: ... here.
20030         * sysdeps/unix/dirstream.h: Renamed to ...
20031         * sysdeps/posix/dirstream.h: ... here.
20032         * sysdeps/unix/fdopendir.c: Renamed to ...
20033         * sysdeps/posix/fdopendir.c: ... here.
20034         * sysdeps/unix/opendir.c: Renamed to ...
20035         * sysdeps/posix/opendir.c: ... here.
20036         * sysdeps/unix/readdir.c: Renamed to ...
20037         * sysdeps/posix/readdir.c: ... here.
20038         * sysdeps/unix/readdir_r.c: Renamed to ...
20039         * sysdeps/posix/readdir_r.c: ... here.
20040         * sysdeps/unix/rewinddir.c: Renamed to ...
20041         * sysdeps/posix/rewinddir.c: ... here.
20042         * sysdeps/unix/seekdir.c: Renamed to ...
20043         * sysdeps/posix/seekdir.c: ... here.
20044         * sysdeps/unix/telldir.c: Renamed to ...
20045         * sysdeps/posix/telldir.c: ... here.
20046         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
20047         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
20048         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
20049         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
20051         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
20052         * bits/fcntl.h: ... here.
20054         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
20055         not 0.
20056         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
20057         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
20058         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
20059         (struct flock): Move l_start, l_len to the beginning.
20060         Use __pid_t for l_pid.
20061         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
20062         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
20063         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
20064         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
20065         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
20066         [__USE_LARGEFILE64] (struct flock64): New type.
20067         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
20069         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
20070         * bits/dirent.h: ... here.
20072         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
20073         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
20075 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
20077         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20078         Change from 2.6.0 to 2.6.16.
20079         * sysdeps/unix/sysv/linux/configure: Regenerated.
20080         * sysdeps/unix/sysv/linux/kernel-features.h
20081         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
20082         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
20083         version.
20084         (__ASSUME_UTIMES): Likewise.
20085         (__ASSUME_CLONE_STOPPED): Remove.
20086         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
20087         architectures, not kernel version.
20088         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
20089         (__ASSUME_NO_CLONE_DETACHED): Likewise.
20090         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20091         (__ASSUME_WAITID_SYSCALL): Likewise.
20092         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
20093         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
20094         * README: State 2.6.16 as minimum Linux kernel version.  Do not
20095         refer to older versions.
20097 2012-08-06  Roland McGrath  <roland@hack.frob.com>
20099         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
20100         Define alphasort64 as an alias.
20101         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
20102         Define versionsort64 as an alias.
20103         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
20104         Define scandir64 as an alias.
20105         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
20106         Define scandirat64 as an alias.
20107         * dirent/alphasort64.c (alphasort64):
20108         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
20109         * dirent/versionsort64.c: Likewise.
20110         * dirent/scandir64.c: Likewise.
20111         * dirent/scandirat64.c: Likewise.
20112         * sysdeps/wordsize-64/alphasort.c: File removed.
20113         * sysdeps/wordsize-64/alphasort64.c: File removed.
20114         * sysdeps/wordsize-64/scandir.c: File removed.
20115         * sysdeps/wordsize-64/scandir64.c: File removed.
20116         * sysdeps/wordsize-64/scandirat.c: File removed.
20117         * sysdeps/wordsize-64/scandirat64.c: File removed.
20118         * sysdeps/wordsize-64/versionsort.c: File removed.
20119         * sysdeps/wordsize-64/versionsort64.c: File removed.
20120         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
20121         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
20122         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
20123         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
20124         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
20125         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
20126         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
20127         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
20129         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
20130         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20131         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
20132         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20133         [defined __arch64__ || defined __sparcv9]
20134         (__INO_T_MATCHES_INO64_T): New macro.
20135         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20136         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
20137         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
20138         * sysdeps/unix/sysv/linux/bits/dirent.h
20139         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
20140         (_DIRENT_MATCHES_DIRENT64): New macro.
20142         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
20143         Define lockf64 as an alias.
20144         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
20145         Define fseeko64 as an alias.
20146         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
20147         Define ftello64 as an alias.
20148         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
20149         Define _IO_fgetpos64 and fgetpos64 as aliases.
20150         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
20151         Define _IO_fsetpos64 and fsetpos64 as aliases.
20152         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
20153         Conditionalize body on this.
20154         * libio/fseeko64.c: Likewise.
20155         * libio/ftello64.c: Likewise.
20156         * libio/iofgetpos64.c: Likewise.
20157         * libio/iofsetpos64.c: Likewise.
20158         * sysdeps/wordsize-64/lockf.c: File removed.
20159         * sysdeps/wordsize-64/lockf64.c: File removed.
20160         * sysdeps/wordsize-64/fseeko.c: File removed.
20161         * sysdeps/wordsize-64/fseeko64.c: File removed.
20162         * sysdeps/wordsize-64/ftello.c: File removed.
20163         * sysdeps/wordsize-64/ftello64.c: File removed.
20164         * sysdeps/wordsize-64/iofgetpos.c: File removed.
20165         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
20166         * sysdeps/wordsize-64/iofsetpos.c: File removed.
20167         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
20168         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
20169         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
20170         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
20171         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
20172         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
20173         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
20174         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
20175         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
20176         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
20177         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
20179         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20180         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20181         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
20182         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20183         [defined __arch64__ || defined __sparcv9]
20184         (__OFF_T_MATCHES_OFF64_T): New macro.
20185         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20186         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20187         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20188         (__OFF_T_MATCHES_OFF64_T): New macro.
20190 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
20192         * stdlib/secure-getenv.c (__secure_getenv): Replace
20193         GLIBC_2_16 with GLIBC_2_17.
20195 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
20197         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
20198         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
20200 2012-08-03  David S. Miller  <davem@davemloft.net>
20202         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20204 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
20206         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
20207         Remove.
20208         (__ASSUME_CORRECT_SI_PID): Likewise.
20209         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
20210         (__ASSUME_TMPFS_NAME): Likewise.
20211         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
20212         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
20213         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
20214         (HAVE_AUX_SECURE): Make definition unconditional.
20215         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
20216         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
20218 2012-08-03  Roland McGrath  <roland@hack.frob.com>
20220         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
20221         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
20222         * sysdeps/mach/hurd/eloop-threshold.h: New file.
20223         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
20224         __eloop_threshold instead of SYMLOOP_MAX.
20226         * sysdeps/generic/eloop-threshold.h: New file.
20227         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
20228         of MAXSYMLINKS.
20229         * elf/chroot_canon.c (chroot_canon): Likewise.
20231 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
20233         [BZ #13717]
20234         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20235         Change to 2.6.0 everywhere.
20236         * sysdeps/unix/sysv/linux/configure: Regenerated.
20237         * sysdeps/unix/sysv/linux/kernel-features.h
20238         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
20239         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
20240         kernel versions.
20241         (__ASSUME_POSIX_TIMERS): Define unconditionally.
20242         (__ASSUME_FUTEX_REQUEUE): Remove.
20243         (__ASSUME_STATFS64): Define unconditionally.
20244         (__ASSUME_AT_SECURE): Likewise.
20245         (__ASSUME_CORRECT_SI_PID): Likewise.
20246         (__ASSUME_TGKILL): Define without depending on kernel version for
20247         i386.
20248         (__ASSUME_UTIMES): Likewise.
20249         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
20250         kernel version.
20251         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
20252         (__ASSUME_TMPFS_NAME): Likewise.
20253         * README: Update reference to Linux kernel versions.
20255 2012-08-02  Marek Polacek  <polacek@redhat.com>
20257         [BZ# 14150]
20258         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
20259         libc_cv_asm_type_prefix with %.
20260         * configure: Regenerated.
20261         * include/libc-symbols.h: Remove comment about
20262         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
20263         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
20264         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
20265         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
20266         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
20267         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
20268         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
20269         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
20270         * elf/tst-unique2mod1.c: Likewise.
20271         * elf/tst-unique1mod2.c: Likewise.
20272         * elf/tst-unique1mod1.c: Likewise.
20273         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
20274         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
20275         Replace ASM_TYPE_DIRECTIVE with .type.
20276         * sysdeps/s390/s390-64/sysdep.h: Likewise.
20277         * sysdeps/i386/sysdep.h: Likewise.
20278         * sysdeps/x86_64/sysdep.h: Likewise.
20279         * sysdeps/sh/sysdep.h: Likewise.
20280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
20281         Do not define ASM_TYPE_DIRECTIVE.
20282         * sysdeps/powerpc/sysdep.h: Likewise.
20283         * sysdeps/powerpc/powerpc32/sysdep.h:
20284         Replace ASM_TYPE_DIRECTIVE with .type.
20285         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
20286         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20287         * sysdeps/i386/fpu/e_powf.S: Likewise.
20288         * sysdeps/i386/fpu/e_expl.S: Likewise.
20289         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20290         * sysdeps/i386/fpu/e_acosh.S: Likewise.
20291         * sysdeps/i386/fpu/e_pow.S: Likewise.
20292         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
20293         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20294         * sysdeps/i386/fpu/s_expm1.S: Likewise.
20295         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
20296         * sysdeps/i386/fpu/e_log2.S: Likewise.
20297         * sysdeps/i386/fpu/e_log2l.S: Likewise.
20298         * sysdeps/i386/fpu/e_scalb.S: Likewise.
20299         * sysdeps/i386/fpu/e_powl.S: Likewise.
20300         * sysdeps/i386/fpu/e_log10f.S: Likewise.
20301         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
20302         * sysdeps/i386/fpu/e_logl.S: Likewise.
20303         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
20304         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
20305         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
20306         * sysdeps/i386/fpu/e_log2f.S: Likewise.
20307         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20308         * sysdeps/i386/fpu/e_log.S: Likewise.
20309         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20310         * sysdeps/i386/fpu/e_logf.S: Likewise.
20311         * sysdeps/i386/fpu/e_log10l.S: Likewise.
20312         * sysdeps/i386/fpu/e_atanh.S: Likewise.
20313         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
20314         * sysdeps/i386/fpu/e_log10.S: Likewise.
20315         * sysdeps/i386/fpu/s_frexp.S: Likewise.
20316         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20317         * sysdeps/i386/fpu/s_asinh.S: Likewise.
20318         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
20319         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20320         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
20321         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
20322         * sysdeps/i386/i686/strtok.S: Likewise.
20323         * sysdeps/i386/i386-mcount.S: Likewise.
20324         * sysdeps/i386/strtok.S: Likewise.
20325         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
20326         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20327         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20328         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20329         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
20330         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20331         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
20332         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
20333         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20334         * sysdeps/x86_64/_mcount.S: Likewise.
20335         * sysdeps/x86_64/strtok.S: Likewise.
20336         * sysdeps/sh/_mcount.S: Likewise.
20338 2012-08-01  Roland McGrath  <roland@hack.frob.com>
20340         * libio/iofopen.c: Include <fcntl.h>.
20341         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
20342         (_IO_fopen64, fopen64): Define as aliases.
20343         * libio/iofopen64.c: Include <fcntl.h>.
20344         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
20345         Conditionalize body on this.
20346         * sysdeps/wordsize-64/iofopen.c: File removed.
20347         * sysdeps/wordsize-64/iofopen64.c: File removed.
20349 2012-08-01  Marek Polacek  <polacek@redhat.com>
20351         * libc/Makeconfig: Use elf in place of binfmt-subdir.
20352         Use dlfcn directly instead of a variable.
20353         (binfmt-subdir): Do not define.
20354         (dlfcn): Likewise.
20356 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
20358         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
20359         Remove all definitions.
20360         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
20361         <kernel-features.h>.
20362         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20363         (miss_F_GETOWN_EX): Remove all definitions.
20364         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
20365         macro definition.
20366         [!__ASSUME_FCNTL64]: Remove conditional code.
20367         [__ASSUME_FCNTL64]: Make code unconditional.
20368         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
20369         <kernel-features.h>.
20370         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20371         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
20372         (lockf64) [__NR_fcntl64]: Make code unconditional.
20373         (lockf64) [__ASSUME_FCNTL64]: Likewise.
20375         * sysdeps/unix/sysv/linux/kernel-features.h
20376         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
20377         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
20378         Make code unconditional.
20379         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20380         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
20382         [__NR_vfork]: Make code unconditional.
20383         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20384         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
20386         [__NR_vfork]: Make code unconditional.
20387         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20388         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20390 2012-08-01  Roland McGrath  <roland@hack.frob.com>
20392         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
20393         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
20395         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20396         Define mkstemp64 as an alias.
20397         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20398         Define mkstemps64 as an alias.
20399         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20400         Define mkostemp64 as an alias.
20401         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20402         Define mkostemps64 as an alias.
20403         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
20404         Conditionalize body on this.
20405         * misc/mkostemp64.c: Likewise.
20406         * misc/mkostemps64.c: Likewise.
20407         * misc/mkstemps64.c: Likewise.
20408         * sysdeps/wordsize-64/mkstemp64.c: File removed.
20409         * sysdeps/wordsize-64/mkostemp64.c: File removed.
20410         * sysdeps/wordsize-64/mkostemp.c: File removed.
20411         * sysdeps/wordsize-64/mkstemp.c: File removed.
20412         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
20413         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
20414         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
20415         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
20417         [BZ #14138]
20418         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
20419         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
20420         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
20421         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
20423         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
20424         compat_symbol macros from <shlib-compat.h> rather than the underlying
20425         default_symbol_version and symbol_version macros, so that DEFAULT
20426         lines in shlib-versions are respected.
20427         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
20429 2012-08-01  Florian Weimer  <fweimer@redhat.com>
20431         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
20432         Declare with warn_unused_result.
20433         (setgid, setregid, setegid, setresgid): Likewise.
20434         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
20435         Likewise.
20436         * WUR-REPORT: Remove set*id functions.
20438 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
20440         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
20442 2012-07-31  Roland McGrath  <roland@hack.frob.com>
20444         [BZ #10191]
20445         * include/sys/socket.h (__libc_accept, __libc_accept4):
20446         Add attribute_hidden.
20447         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
20449         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
20450         use of PTR_MANGLE.
20451         * inet/getnetgrent_r.c (setup): Likewise.
20453         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
20455 2012-07-31  David S. Miller  <davem@davemloft.net>
20457         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20459 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
20461         [BZ #13629]
20462         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
20463         value between 1.0 and 2.0 and smaller part has absolute value less
20464         than 1.0.
20465         * math/s_clog10.c (__clog10): Likewise.
20466         * math/s_clog10f.c (__clog10f): Likewise.
20467         * math/s_clog10l.c (__clog10l): Likewise.
20468         * math/s_clogf.c (__clogf): Likewise.
20469         * math/s_clogl.c (__clogl): Likewise.
20470         * math/libm-test.inc (clog_test): Add more tests.
20471         (clog10_test): Likewise.
20472         * sysdeps/i386/fpu/libm-test-ulps: Update.
20473         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20475 2012-07-31  Florian Weimer  <fweimer@redhat.com>
20477         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
20478         Exit with zero in case no suitable GID is found, and write a
20479         message to standard error.
20481 2012-07-30  Roland McGrath  <roland@hack.frob.com>
20483         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
20484         rather than to 1.
20485         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
20486         (MAXPATHLEN): Removed.
20487         (NOGROUP, NODEV): New macros.
20488         (setbit, clrbit, isset, isclr): New macros.
20489         (howmany, roundup, powerof2): New macros.
20490         (DEV_BSIZE): New macro.
20492         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
20493         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
20495         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
20496         definition on [!__NO_LONG_DOUBLE_MATH].
20498         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
20499         PTR_MANGLE and PTR_DEMANGLE.
20501         * socket/accept4.c (accept4): Rename to __libc_accept4.
20502         Define accept4 as a weak alias.
20504         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
20505         on [_DIRENT_HAVE_D_TYPE].
20506         * io/ftw.c (ftw_dir): Likewise.
20508         * io/xmknod.c (__xmknod): Don't check PATH for being null.
20510         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
20512         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
20513         Use the BSD numbers rather than the arbitrary ones we had.
20514         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
20515         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
20516         (SIGXCPU, SIGXFSZ): New macros.
20517         (_NSIG): Now 32.
20519         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
20520         initializer on [_LIBC_REENTRANT].
20522         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
20523         definitions inside [_POSIX_MAPPED_FILES].
20525         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
20527         * dirent/opendir.c: Include <fcntl.h>.
20529         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
20530         (__libc_getspecific): Likewise.
20531         (__libc_key_create): Likewise.
20533         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
20534         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
20535         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
20536         (tmpfile64): Define as alias.
20537         * sysdeps/wordsize-64/tmpfile.c: File removed.
20538         * sysdeps/wordsize-64/tmpfile64.c: File removed.
20539         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
20540         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
20542         * stdio-common/vfscanf.c: Include <stdbool.h>.
20543         * nss/makedb.c: Likewise.
20544         * stdio-common/_i18n_number.h: Likewise.
20545         * argp/argp-help.c: Likewise.
20546         * posix/wordexp.c: Likewise.
20547         * sysdeps/posix/spawni.c: Likewise.
20548         * nss/nss_files/files-initgroups.c: Likewise.
20549         * stdio-common/reg-modifier.c: Include <stdlib.h>.
20550         * nss/nss_files/files-initgroups.c: Likewise.
20551         * nss/nss_db/db-netgrp.c: Likewise.
20552         * nss/nss_db/db-initgroups.c: Likewise.
20553         * io/fchmodat.c: Include <sys/stat.h>.
20555         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
20556         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
20558         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
20559         [HAVE_MMAP].
20561         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
20562         Add multiple inclusion protection.
20564 2012-07-27  David S. Miller  <davem@davemloft.net>
20566         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20568 2012-07-27  Gary Benson  <gbenson@redhat.com>
20570         [BZ #14298]
20571         * elf/rtld.c: Include <stap-probe.h>.
20572         (dl_main): Added static probes "init_start" and "init_complete".
20573         * elf/dl-load.c: Include <stap-probe.h>.
20574         (lose): Take new parameter "nsid".
20575         Added static probe "map_failed".
20576         (_dl_map_object_from_fd): Pass namespace id to lose.
20577         Added static probe "map_start".
20578         (open_verify): Pass namespace id to lose.
20579         * elf/dl-open.c: Include <stap-probe.h>.
20580         (dl_open_worker) Added static probes "map_complete", "reloc_start"
20581         and "reloc_complete".
20582         * elf/dl-close.c: Include <stap-probe.h>.
20583         (_dl_close_worker): Added static probes "unmap_start" and
20584         "unmap_complete".
20585         * elf/rtld-debugger-interface.txt: New file documenting the above.
20587 2012-07-26  Roland McGrath  <roland@hack.frob.com>
20589         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
20590         rather than a string variable.
20591         * sunrpc/rpc_main.c (h_output): Likewise.
20592         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
20594 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
20596         * inet/check_native.c: New file.
20598 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
20600         [BZ #13629]
20601         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
20602         if larger part has absolute value 1.0.
20603         * math/s_clog10.c (__clog10): Likewise.
20604         * math/s_clog10f.c (__clog10f): Likewise.
20605         * math/s_clog10l.c (__clog10l): Likewise.
20606         * math/s_clogf.c (__clogf): Likewise.
20607         * math/s_clogl.c (__clogl): Likewise.
20608         * math/libm-test.inc (clog_test): Add more tests.
20609         (clog10_test): Likewise.
20610         * sysdeps/i386/fpu/libm-test-ulps: Update.
20611         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20613         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
20614         (pltexit): Likewise.
20615         (La_regs): Likewise.
20616         (La_retval): Likewise.
20617         (int_retval): Likewise.
20618         Update #error for removed macros to refer only to definitions in
20619         tst-audit.h.
20620         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
20621         macro.
20622         (pltexit): Likewise.
20623         (La_regs): Likewise.
20624         (La_retval): Likewise.
20625         (int_retval): Likewise.
20626         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
20627         macro.
20628         (pltexit): Likewise.
20629         (La_regs): Likewise.
20630         (La_retval): Likewise.
20631         (int_retval): Likewise.
20632         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
20633         macro.
20634         (pltexit): Likewise.
20635         (La_regs): Likewise.
20636         (La_retval): Likewise.
20637         (int_retval): Likewise.
20638         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
20639         macro.
20640         (pltexit): Likewise.
20641         (La_regs): Likewise.
20642         (La_retval): Likewise.
20643         (int_retval): Likewise.
20644         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
20645         macro.
20646         (pltexit): Likewise.
20647         (La_regs): Likewise.
20648         (La_retval): Likewise.
20649         (int_retval): Likewise.
20650         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
20651         macro.
20652         (pltexit): Likewise.
20653         (La_regs): Likewise.
20654         (La_retval): Likewise.
20655         (int_retval): Likewise.
20656         * sysdeps/generic/tst-audit.h: Update comment to refer only to
20657         macro definitions in tst-audit.h.
20658         * sysdeps/i386/tst-audit.h: New file.
20659         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
20660         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
20661         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
20662         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
20663         * sysdeps/sh/tst-audit.h: Likewise.
20664         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
20665         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
20666         * sysdeps/x86_64/tst-audit.h: Likewise.
20668 2012-07-26  Andreas Jaeger  <aj@suse.de>
20670         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
20671         ptrace.
20673         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
20674         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
20675         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
20676         PTRACE_O_MASK.
20677         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
20678         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
20679         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
20681         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
20682         value.
20684         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
20685         _sigsys.
20686         (si_call_addr, si_syscall, si_arch): Define new macro.
20687         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
20688         _sigsys.
20689         (si_call_addr, si_syscall, si_arch): Define new marcro.
20690         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
20691         _sigsys.
20692         (si_call_addr, si_syscall, si_arch): Define new macro.
20693         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
20694         _sigsys.
20695         (si_call_addr, si_syscall, si_arch): Define new macro.
20697 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
20699         [BZ #13717]
20700         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20701         Change to 2.4.21 where previously 2.4.1.
20702         * sysdeps/unix/sysv/linux/configure: Regenerated.
20703         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
20704         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
20705         Linux kernel version.
20706         (__ASSUME_STD_AUXV): Remove.
20707         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
20708         kernel version.
20709         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
20710         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
20711         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
20712         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
20713         (__ASSUME_NETLINK_SUPPORT): Likewise.
20714         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
20715         (__no_netlink_support): Remove conditional definition.
20716         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
20717         Remove.
20718         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
20719         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
20720         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
20721         (if_nameindex_ioctl): Remove.
20722         (if_nameindex_netlink): Do not handle __no_netlink_support.
20723         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
20724         code.
20725         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
20726         Remove conditional code.
20727         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
20728         code.
20729         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
20730         unconditional.
20731         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
20732         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
20733         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
20734         Remove.
20735         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
20736         [!__ASSUME_STD_AUXV]: Remove conditional code.
20737         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
20738         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
20739         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
20740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
20741         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
20742         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
20743         code.
20744         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
20745         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20746         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
20747         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
20748         conditional code.
20749         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
20750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
20751         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
20752         code.
20753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20754         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
20755         conditional code.
20756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
20757         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20758         code unconditional.
20759         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20760         conditional code.
20761         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20762         unconditional.
20763         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20764         conditional code.
20765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20766         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20767         unconditional.
20768         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20769         conditional code.
20770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
20771         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20772         code unconditional.
20773         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20774         conditional code.
20775         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20776         unconditional.
20777         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20778         conditional code.
20779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
20780         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20781         code unconditional.
20782         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20783         conditional code.
20784         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20785         unconditional.
20786         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20787         conditional code.
20789 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
20791         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
20792         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
20793         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
20794         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
20795         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
20796         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
20797         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
20798         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
20799         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
20800         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
20801         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
20802         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
20803         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
20804         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
20805         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
20806         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
20807         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
20808         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
20809         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
20810         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
20811         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
20812         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
20813         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
20815 2012-07-25  Florian Weimer  <fweimer@redhat.com>
20817         * Versions.def: Add GLIBC_2.17.
20818         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
20819         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
20820         Introduce __libc_secure_getenv.
20821         * stdlib/Versions (2.17): Add secure_getenv
20822         (GLIBC_PRIVATE): Add __libc_secure_getenv.
20823         * stdlib/secure-getenv.c: Rename __secure_getenv to
20824         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
20825         symbol __secure_getenv for GLIBC_2.0.
20826         * stdlib/tst-secure-getenv.c: New.
20827         * stdlib/Makefile (tests): Add testcase.
20828         * manual/startup.texi (Environment Access): Document
20829         secure_getenv.
20830         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
20831         __libc_secure_getenv.
20832         * inet/ruserpass.c (ruserpass): Likewise.
20833         * malloc/mtrace.c (mtrace): Likewise.
20834         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
20835         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
20836         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
20837         * sysdeps/posix/tempname.c: Likewise.  Evaluate
20838         HAVE_SECURE_GETENV.
20839         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
20840         __secure_getenv to __libc_secure_getenv.
20841         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
20842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20843         Likewise.
20844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20845         Likewise.
20846         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
20847         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
20848         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
20849         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
20850         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
20851         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
20852         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
20854 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
20856         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
20857         (struct La_i86_retval): Likewise.
20858         (struct La_x86_64_regs): Likewise.
20859         (struct La_x86_64_retval): Likewise.
20860         (struct La_x32_regs): Likewise.
20861         (struct La_x32_retval): Likewise.
20862         (struct La_ppc32_regs): Likewise.
20863         (struct La_ppc32_retval): Likewise.
20864         (struct La_ppc64_regs): Likewise.
20865         (struct La_ppc64_retval): Likewise.
20866         (struct La_sh_regs): Likewise.
20867         (struct La_sh_retval): Likewise.
20868         (struct La_s390_32_regs): Likewise.
20869         (struct La_s390_32_retval): Likewise.
20870         (struct La_s390_64_regs): Likewise.
20871         (struct La_s390_64_retval): Likewise.
20872         (struct La_sparc32_regs): Likewise.
20873         (struct La_sparc32_retval): Likewise.
20874         (struct La_sparc64_regs): Likewise.
20875         (struct La_sparc64_retval): Likewise.
20876         (struct audit_ifaces): Remove architecture-specific pltenter and
20877         pltexit members.
20878         * sysdeps/i386/ldsodefs.h: New file.
20879         * sysdeps/powerpc/ldsodefs.h: Likewise.
20880         * sysdeps/s390/ldsodefs.h: Likewise.
20881         * sysdeps/sh/ldsodefs.h: Likewise.
20882         * sysdeps/sparc/ldsodefs.h: Likewise.
20883         * sysdeps/x86_64/ldsodefs.h: Likewise.
20885 2012-07-25  Marek Polacek  <polacek@redhat.com>
20887         [BZ #6808]
20888         * math/libm-test.inc (yn_test): Add another test.
20889         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
20890         to ERANGE when the result is +-Inf.
20891         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
20892         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
20893         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
20894         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
20896 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
20898         * conform/data/time.h-data (NULL): Use macro-constant.  Require
20899         equal to 0.
20900         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
20901         clock_t.
20902         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
20904 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
20906         * configure.in <sysdeps resolving>: Correct printing
20907         Implies_before.
20908         * configure: Regenerate.
20910 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
20912         * math/w_ilogb.c: Include <limits.h>.
20913         * math/w_ilogbl.c: Likewise.
20915 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
20917         * manual/lang.texi (__va_copy): Document primarily as ISO C99
20918         va_copy.  Document allowing for unavailable va_copy only as
20919         pre-C99 compatibility.
20920         * manual/string.texi (Copying and Concatenation): Use va_copy
20921         instead of __va_copy in concat example.
20923 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
20925         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
20926         (__sendto): Use create_address_port.  Initialize APORT and deallocate
20927         it if not null.
20929         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
20930         with O_NOLINK passed to __file_name_lookup.
20932         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
20933         with O_NOLINK passed to __file_name_lookup.
20935         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
20936         negative N or less than NGIDS.
20938         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
20939         type to string_t.  Set ERANGE as errno and return it if NAME is not big
20940         enough.  Use memcpy instead of strncpy.
20942 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
20944         * elf/Makefile (check-data): Remove.
20945         (localplt.data): New vpath directive.
20946         ($(objpfx)check-localplt.out): Use localplt.data from vpath
20947         instead of $(check-data).
20948         * scripts/data/localplt-generic.data: Move to ...
20949         * sysdeps/generic/localplt.data: ... here.
20950         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
20951         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
20952         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
20953         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
20954         ... here.
20955         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
20956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
20957         ... here.
20958         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
20959         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
20960         ... here.
20961         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
20962         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
20963         ... here.
20964         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
20965         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
20966         ... here.
20967         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
20968         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
20969         ... here.
20971 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20973         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
20974         PPC32 and PPC64 files.
20975         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
20976         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
20978 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20980         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
20981         __makecontext_ret to ...
20982         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
20983         ... here and call exit if uc_link is NULL.  New file.
20984         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
20985         __makecontext_ret.S.
20986         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
20987         __makecontext_ret to ...
20988         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
20989         ... here and call exit if uc_link is NULL.  New file.
20990         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
20991         __makecontext_ret.S.
20993 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20995         * elf/elf.h (R_390_IRELATIVE): New definition.
20996         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
20997         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
20998         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
20999         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
21000         (elf_machine_lazy_rel): Likewise.
21001         * sysdeps/s390/dl-irel.h: New file.
21002         * sysdeps/s390/s390-64/memcpy.S: New asm code.
21003         * sysdeps/s390/s390-64/memset.S: New asm code.
21004         * sysdeps/s390/s390-64/memcmp.S: New asm code.
21005         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
21006         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
21007         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
21008         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
21009         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
21010         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
21011         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
21012         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
21013         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
21014         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
21015         * sysdeps/s390/s390-32/memcpy.S: New asm code.
21016         * sysdeps/s390/s390-32/memset.S: New asm code.
21017         * sysdeps/s390/s390-32/memcmp.S: New asm code.
21019 2012-07-17  Marek Polacek  <polacek@redhat.com>
21021         [BZ #14349]
21022         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
21023         * sysdeps/s390/s390-64/configure.in: Likewise.
21024         * sysdeps/sparc/configure.in: Likewise.
21025         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
21026         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
21027         * sysdeps/i386/configure.in: Likewise.
21028         * sysdeps/x86_64/configure.in: Likewise.
21029         * sysdeps/sh/configure.in: Likewise.
21030         * sysdeps/s390/s390-32/configure: Regenerated.
21031         * sysdeps/s390/s390-64/configure: Likewise.
21032         * sysdeps/x86_64/configure: Likewise.
21033         * sysdeps/sh/configure: Likewise.
21034         * sysdeps/powerpc/powerpc64/configure: Likewise.
21035         * sysdeps/powerpc/powerpc32/configure: Likewise.
21036         * sysdeps/sparc/configure: Likwise.
21037         * sysdeps/i386/configure: Likewise.
21039         * elf/dl-open.c: Comment fixes.
21041 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
21043         * Makefile [CXX] (check-data): Remove.
21044         [CXX] (c++-types.data): New vpath directive.
21045         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
21046         vpath.  Do not allow for C++ type data being missing.
21047         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
21048         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
21049         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
21050         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
21051         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
21052         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
21053         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
21054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
21055         ... here.
21056         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
21057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
21058         ... here.
21059         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
21060         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
21061         ... here.
21062         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
21063         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
21064         ... here.
21065         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
21066         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
21067         ... here.
21068         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
21069         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
21070         ... here.
21071         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
21072         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
21073         ... here.
21074         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
21075         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
21077         * elf/tls-macros.h (TLS_LE): Move architecture-specific
21078         definitions to architecture-specific files.
21079         (TLS_IE): Likewise.
21080         (TLS_LD): Likewise.
21081         (TLS_GD): Likewise.
21082         * sysdeps/i386/tls-macros.h: New file.
21083         * sysdeps/powerpc/tls-macros.h: Likewise.
21084         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
21085         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
21086         * sysdeps/sh/tls-macros.h: Likewise.
21087         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
21088         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
21089         * sysdeps/x86_64/tls-macros.h: Likewise.
21091 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
21093         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
21094         zero value for regular exit case.
21096         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
21097         (__start_context): Preserve zero value for regular exit case.
21099 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
21100             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21102         * manual/setjmp.texi (setcontext): Clarify normal process
21103         termination when uc_link is the null pointer.
21104         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
21105         exit call.
21107 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
21109         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
21110         preprocessor.  Test for each exception mask separately.
21112 2012-07-16  Andreas Jaeger  <aj@suse.de>
21114         * po/ru.po: Update from translation team.
21116 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
21118         * conform/data/string.h-data (NULL): Use macro-constant.  Require
21119         equal to 0.
21120         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
21121         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
21122         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
21123         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
21124         [ISO || ISO99 || ISO11] (*_t): Do not allow.
21126 2012-07-13  Andreas Jaeger  <aj@suse.de>
21128         * po/fr.po: Update from translation team.
21130 2012-07-12  Marek Polacek  <polacek@redhat.com>
21132         [BZ #14173]
21133         * math/libm-test.inc (yn_test): Add test for BZ #14173.
21134         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
21135         loop condition.
21137 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
21139         [BZ #13717]
21140         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21141         Change to 2.4.1 where previously 2.4.0.
21142         * sysdeps/unix/sysv/linux/configure: Regenerated.
21143         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
21144         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
21145         version.
21146         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
21147         (__ASSUME_AT_CLKTCK): Remove.
21148         (__ASSUME_AT_PAGESIZE): Likewise.
21149         (__ASSUME_AT_XID): Likewise.
21150         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
21151         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
21152         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
21153         unconditionally.
21154         (HAVE_AUX_PAGESIZE): Likewise.
21155         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
21156         [__ASSUME_AT_CLKTCK]: Make code unconditional.
21157         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
21159 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
21161         [BZ #14307]
21162         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
21163         the temporary buffer used to invoke __gethostbyname2_r,
21164         __gethostbyaddr_r and gethostbyname4_r to make room for struct
21165         host_data / struct gaih_addrtuple.
21166         * resolv/nss_dns/dns-host.c (global scope): Move definition of
21167         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
21168         header file nss/nsswitch.h.
21169         * nss/nsswitch.h (global scope): Add definition of implementation
21170         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
21171         resolv/nss_dns/dns-host.c).
21173 2012-07-11  Andreas Jaeger  <aj@suse.de>
21175         * po/fr.po: Update from translation team.
21177         * po/sv.po: Update from translation team
21178         * po/fr.po: Another update from translation team.
21180 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21182         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
21183         for subnormals or multiply small sinh result by itself.
21184         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21185         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21187 2012-07-11  David S. Miller  <davem@davemloft.net>
21189         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21191 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
21193         [BZ #14347]
21194         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
21195         (INTERNAL_MARK): Shift it here.
21197 2012-07-10  Marek Polacek  <polacek@redhat.com>
21199         [BZ #14151]
21200         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
21201         libc_cv_asm_global_directive with .globl.
21202         * configure: Regenerated.
21203         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
21204         with .globl.
21205         * sysdeps/i386/configure: Regenerated.
21206         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
21207         with .globl.
21208         * sysdeps/x86_64/configure: Regenerated.
21209         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
21210         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
21211         * elf/tst-unique2mod2.c: Likewise.
21212         * elf/tst-unique2mod1.c: Likewise.
21213         * elf/tst-unique1mod2.c: Likewise.
21214         * elf/tst-unique1mod1.c: Likewise.
21215         * sysdeps/s390/s390-32/sysdep.h: Likewise.
21216         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
21217         * sysdeps/s390/s390-64/sysdep.h: Likewise.
21218         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21219         * sysdeps/mach/sysdep.h: Likewise.
21220         * sysdeps/i386/sysdep.h: Likewise.
21221         * sysdeps/i386/i386-mcount.S: Likewise.
21222         * sysdeps/x86_64/_mcount.S: Likewise.
21223         * sysdeps/x86_64/sysdep.h: Likewise.
21224         * sysdeps/sh/_mcount.S: Likewise.
21225         * sysdeps/sh/sysdep.h: Likewise.
21226         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
21227         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
21228         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
21229         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21230         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
21231         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
21232         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
21233         * locale/localeinfo.h: Likewise.
21234         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
21235         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
21237 2012-07-09  Roland McGrath  <roland@hack.frob.com>
21239         [BZ #14336]
21240         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
21241         system".
21242         * manual/message.texi (The Uniforum approach): Likewise.
21243         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
21244         (glibc iconv Implementation): Likewise.
21246 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
21248         [BZ #14337]
21249         * math/s_clog.c (__clog): Avoid scaling a value down where that
21250         could result in underflow.
21251         * math/s_clog10.c (__clog10): Likewise.
21252         * math/s_clog10f.c (__clog10f): Likewise.
21253         * math/s_clog10l.c (__clog10l): Likewise.
21254         * math/s_clogf.c (__clogf): Likewise.
21255         * math/s_clogl.c (__clogl): Likewise.
21256         * math/libm-test.inc (clog_test): Add more tests.
21257         (clog10_test): Likewise.
21258         * sysdeps/i386/fpu/libm-test-ulps: Update.
21259         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21261 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
21263         [BZ #14283]
21264         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
21265         by 7 not 8 to examine high bit of fractional part.
21267         [BZ #14042]
21268         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
21269         for call to __mcount_internal.
21270         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
21271         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
21272         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
21274 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
21276         [BZ #14154]
21277         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
21278         approximation for values within 0x1p-13f of an odd multiple of
21279         pi/4.
21280         * math/libm-test.inc (tan_test): Do not allow spurious underflow
21281         exception.  Add more tests.
21282         * sysdeps/i386/fpu/libm-test-ulps: Update.
21284         [BZ #6778]
21285         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
21286         inputs and return -1 for them.  Do not check for +Inf in case not
21287         reachable for +Inf.
21288         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
21289         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
21290         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21291         and return -1 for them.  Do not check for +Inf in case not
21292         reachable for +Inf.
21293         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
21294         define.
21295         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21296         and return -1 for them.  Do not check for +Inf in case not
21297         reachable for +Inf.
21298         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
21299         spurious underflow.
21300         * sysdeps/i386/fpu/libm-test-ulps: Update.
21301         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21303 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
21305         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
21307 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
21309         [BZ #14157]
21310         [BZ #14331]
21311         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
21312         could result in spurious underflow.  Scale down values above
21313         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
21314         * math/s_csqrtf.c (__csqrtf): Likewise.
21315         * math/s_csqrtl.c (__csqrtl): Likewise.
21316         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
21317         spurious underflow.
21318         * sysdeps/i386/fpu/libm-test-ulps: Update.
21319         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21321 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
21323         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
21324         xopen-msg.sed.
21325         * catgets/xopen-msg.awk: New file.
21326         * catgets/xopen-msg.sed: Removed.
21328         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
21329         po2text.sed.
21330         * intl/po2test.awk: New file.
21331         * intl/po2test.sed: Removed.
21333 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
21335         [BZ #14328]
21336         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
21337         or multiply small sinh result by itself.
21338         * math/s_ctanf.c (__ctanf): Likewise.
21339         * math/s_ctanh.c (__ctanh): Likewise.
21340         * math/s_ctanhf.c (__ctanhf): Likewise.
21341         * math/s_ctanhl.c (__ctanhl): Likewise.
21342         * math/s_ctanl.c (__ctanl): Likewise.
21343         * math/libm-test.inc (ctan_test_tonearest): New function.
21344         (ctan_test_towardzero): Likewise.
21345         (ctan_test_downward): Likewise.
21346         (ctan_test_upward): Likewise.
21347         (ctanh_test_tonearest): Likewise.
21348         (ctanh_test_towardzero): Likewise.
21349         (ctanh_test_downward): Likewise.
21350         (ctanh_test_upward): Likewise.
21351         (main): Call these new functions.
21352         * sysdeps/i386/fpu/libm-test-ulps: Update.
21353         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21355 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
21357         * .gitignore: Delete /ports entry.
21359 2012-07-03  Andreas Jaeger  <aj@suse.de>
21361         * po/bg.po: Update from translation team.
21362         * po/cs.po: Likewise.
21363         * po/de.po: Likewise.
21364         * po/hr.po: Likewise.
21365         * po/nl.pl: Likewise.
21366         * po/pl.po: Likewise.
21367         * po/vi.po: Likewise.
21369 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
21371         * Makeconfig [!+link] (+link-before-libc): New variable.
21372         [!+link] (+link-after-libc): Likewise.
21373         [!+link] (+link-tests): Likewise.
21374         [!+link] (+link): Define in terms of $(+link-before-libc) and
21375         $(+link-after-libc).
21376         [!+link-static] (+link-static-before-libc): New variable.
21377         [!+link-static] (+link-static-after-libc): Likewise.
21378         [!+link-static] (+link-static-tests): Likewise.
21379         [!+link-static] (+link-static): Define in terms of
21380         $(+link-static-before-libc) and $(+link-static-after-libc).
21381         [build-shared] (link-libc-before-gnulib): New variable.
21382         [build-shared] (link-libc-tests): Likewise.
21383         [build-shared] (link-libc): Define in terms of
21384         $(link-libc-before-gnulib).
21385         [!build-shared] (link-libc-tests): New variable.
21386         (link-libc-static-tests): New variable.
21387         [!gnulib] (gnulib-arch): New variable.
21388         [!gnulib] (gnulib-tests): Likewise.
21389         [!gnulib] (static-gnulib-arch): Likewise.
21390         [!gnulib] (static-gnulib-tests): Likewise.
21391         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
21392         Define with "=" instead of ":=".
21393         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
21394         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
21395         * Rules (binaries-all-notests): New variable.
21396         (binaries-all-tests): Likewise.
21397         (binaries-static-notests): Likewise.
21398         (binaries-static-tests): Likewise.
21399         (binaries-all): Define using $(binaries-all-notests) and
21400         $(binaries-all-tests).
21401         (binaries-static): Define using $(binaries-static-notests) and
21402         $(binaries-static-tests).
21403         (binaries-shared-tests): New variable.
21404         (binaries-shared-notests): Likewise.
21405         (binaries-shared): Remove variable.
21406         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
21407         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
21408         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
21409         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
21410         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
21411         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
21412         * elf/Makefile (sln-modules): New variable.
21413         (extra-objs): Add $(sln-modules:=.o).
21414         (ldconfig-modules): Add static-stubs.
21415         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
21416         * elf/static-stubs.c: New file.
21418         [BZ #14283]
21419         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
21420         by 7 not 8 to examine high bit of fractional part.  Use volatile
21421         variables when splitting into final array of floats if
21422         __FLT_EVAL_METHOD__ != 0.
21423         * math/libm-test.inc (cos_test): Add another test.
21424         (sin_test): Likewise.
21425         * sysdeps/i386/fpu/libm-test-ulps: Update.
21427         [BZ #14273]
21428         * math/libm-test.inc (cosh_test): Add more tests.
21430         * version.h (RELEASE): Set to "development".
21431         (VERSION): Set to "2.16.90".
21433 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
21435         * NEWS: Update copyright. Remove last-updated date.
21436         Mention math library bug fixes and timezone data changes.
21437         * README: Mention GNU/Hurd, x32, and HPPA support status.
21439 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
21441         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
21443 2012-06-27  Andreas Jaeger  <aj@suse.de>
21445         * manual/contrib.texi (Contributors): Add Samuel Thibault.
21447 2012-06-25  Andreas Jaeger  <aj@suse.de>
21449         * sysdeps/s390/fpu/libm-test-ulps: Update.
21451 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
21452             Thomas Schwinge  <thomas@codesourcery.com>
21454         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
21455         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
21456         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
21457         fanotify_mark.
21459 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
21461         * sysdeps/mach/start.c: Remove file.
21462         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
21463         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
21464         * sysdeps/sh/init-first.c: Likewise.
21466         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
21467         registers for frame unwinding purposes, add CFI directives.
21468         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
21469         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
21470         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
21471         Likewise.
21473         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
21474         __fortify_fail returning.
21475         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
21477         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
21478         sysdeps/sh/____longjmp_chk.S.
21479         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
21480         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
21481         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
21482         (gen-as-const-headers): Append sigaltstack-offsets.sym.
21484         * sysdeps/sh/abort-instr.h: New file.
21485         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
21486         process in case exit returns.
21488         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
21489         initialize the GOT register before use.
21491         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
21492         calculation of ARGC > 4.
21494         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
21495         meaningful names to some local labels.
21497 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
21498             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21500         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
21501         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
21502         (__arch_compare_and_exchange_val_16_acq): Likewise.
21503         (__arch_compare_and_exchange_val_32_acq): Likewise.
21504         (atomic_exchange_and_add): Fix gUSA sequence.
21505         (atomic_add): Likewise.
21506         (atomic_add_negative): Likewise.
21507         (atomic_add_zero): Likewise.
21508         (atomic_bit_test_set): Likewise.
21510 2012-06-22  Andreas Schwab  <schwab@redhat.com>
21512         [BZ #13579]
21513         * include/link.h (struct link_map): Add l_free_initfini.
21514         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
21515         l_initfini.
21516         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
21517         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
21518         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
21519         set.
21521 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
21523         * configure.in: Use AC_LANG_SOURCE.
21524         * configure: Regenerate.
21526 2012-06-22  Roland McGrath  <roland@hack.frob.com>
21528         * configure.in (libc_cv_localstatedir): New substituted variable.
21529         * configure: Regenerated.
21530         * config.make.in (localstatedir): New variable, substituted from
21531         libc_cv_localstatedir.
21532         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
21533         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
21534         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
21535         * sysdeps/gnu/configure: Regenerated.
21537 2012-06-21  Jeff Law  <law@redhat.com>
21539         [BZ #14277]
21540         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
21541         free.  Simplify list management for _LIBC case.
21543 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
21545         [BZ #14273]
21546         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
21547         Clear sign bit of 64-bit integer value before comparing against
21548         overflow value.
21550         * sysdeps/mach/configure: Regenerated.
21552 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
21554         [BZ #14278]
21555         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
21557 2012-06-21  Jeff Law  <law@redhat.com>
21559         [BZ #13882]
21560         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
21561         uint16_t for elements in the "seen" array to avoid char overflows.
21562         * elf/dl-fini.c (_dl_sort_fini): Likewise.
21563         * elf/dl-open.c (dl_open_worker): Likewise.
21565 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
21567         * scripts/list-sources.sh: Scan PORTS for translations.
21568         * po/libc.pot: Regenerated.
21570 2012-06-21  Andreas Jaeger  <aj@suse.de>
21572         [BZ #12194]
21573         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
21574         warning.
21575         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
21576         * bits/byteswap-16.h (__bswap_16): Likewise.
21577         * bits/byteswap.h (__bswap_constant_16): Likewise.
21579 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
21581         [BZ #14117]
21582         * sysdeps/i386/fpu_control.h: Removed.
21583         * sysdeps/x86_64/fpu_control.h: Moved to ...
21584         * sysdeps/x86/fpu_control.h: Here.
21586         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
21587         (_FPU_SETCW): Likewise.
21589 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
21591         [BZ #14117]
21592         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
21593         * sysdeps/x86/fpu/bits/mathinline.h: This.
21594         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
21596         [BZ #14050]
21597         [BZ #14117]
21598         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
21599         functions if __x86_64__ is defined.
21601 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
21603         * string/endian.h: Add !__ASSEMBLER__ condition for including
21604         conversion interfaces.
21606 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
21608         [BZ #14241]
21609         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
21610         of ABS(x) in calculating zero to negative powers other than odd
21611         integers.
21612         * math/libm-test.inc (pow_test): Add more tests.
21614 2012-06-15  Andreas Jaeger  <aj@suse.de>
21616         * manual/contrib.texi (Contributors): Update entry of Liubov
21617         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
21618         Machado Filho.
21620 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
21622         * string/string.h: Add __wur to GNU version of strerror_r.
21624 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
21626         [BZ #14229]
21627         * string/Makefile (tests): Add tst-strtok_r.
21628         * string/tst-strtok_r.c: New file.
21629         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
21630         RAX_LP/RDX_LP on SAVE_PTR.
21632 2012-06-14  Roland McGrath  <roland@hack.frob.com>
21634         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
21636 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
21638         * libm_test.inc (csqrt_test): Allow more spurious underflow
21639         exceptions.
21640         (j0_test): Likewise.
21641         (j1_test): Likewise.
21642         (y0_test): Likewise.
21643         (y1_test): Likewise.
21645 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
21647         * po/Makefile (libc.pot): Use UTF-8 charset.
21649 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
21651         [BZ #14210]
21652         Suppress sign-conversion warning from FD_SET.
21653         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
21654         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
21655         not unsigned long int.
21656         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
21658 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
21660         [BZ #14050]
21661         [BZ #14117]
21662         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
21663         __extern_always_inline instead of __extern_inline.
21664         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
21665         (__signbit): Likewise.
21666         (__signbitl): Support C++ namespace.
21667         (lrintf): New inline function.
21668         (lrint): Likewise.
21669         (llrintf): Likewise.
21670         (llrint): Likewise.
21671         (fmaxf): Likewise.
21672         (fmax): Likewise.
21673         (fminf): Likewise.
21674         (fmin): Likewise.
21675         (rint): Likewise.
21676         (rintf): Likewise.
21677         (ceil): Likewise.
21678         (ceilf): Likewise.
21679         (floor): Likewise.
21680         (floorf): Likewise.
21681         (nearbyint): Likewise.
21682         (nearbyintf): Likewise.
21684 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
21686         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
21687         non-default versions.
21689 2012-06-11  Roland McGrath  <roland@hack.frob.com>
21691         [BZ #14218]
21692         * manual/argp.texi (Argp): Reword argp_parse description slightly.
21694 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
21696         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
21697         (FE_UPWARD, FE_DOWNWARD): Don't define.
21698         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
21699         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
21701         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
21702         reading it.
21703         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
21704         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21706 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21708         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
21709         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
21710         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
21711         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
21713 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
21715         [BZ #14117]
21716         * sysdeps/i386/fpu/bits/fenv.h: Removed.
21717         * sysdeps/i386/fpu/Implies: New file.
21718         * sysdeps/x86_64/fpu/Implies: Likewise.
21719         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
21720         * sysdeps/x86/fpu/bits/fenv.h: This.
21722         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
21723         __SSE_MATH__.
21725 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
21727         [BZ #14134]
21728         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
21729         character 0xffff that matches the last element of the
21730         conversion table.
21732 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21734         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
21735         fmodl commit.
21737 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21739         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
21740         values higher than 25.6283.
21742 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21744         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
21745         subnormal exponent extraction and add some __builtin_expect.
21746         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
21747         Fix for subnormal mantissa calculation.
21749 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
21751         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
21752         cpu2 is -1 and errno is not ENOSYS.
21754 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
21756         [BZ #14117]
21757         * sysdeps/i386/i486/bits/string.h: Renamed to ...
21758         * sysdeps/x86/bits/string.h: This.
21759         * sysdeps/x86_64/bits/string.h: Removed.
21761         * sysdeps/i386/i486/bits/string.h: Define inline functions only
21762         if not compiling for x86-64, but compiling for >= i486.
21764         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
21765         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
21767         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
21768         New macro from Linux kernel 3.4.0.
21769         (FP_XSTATE_MAGIC2): Likewise.
21770         (FP_XSTATE_MAGIC2_SIZE): Likewise.
21771         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
21772         (struct _fpx_sw_bytes): New struct.
21773         (struct _xsave_hdr): Likewise.
21774         (struct _ymmh_state): Likewise.
21775         (struct _xstate): Likewise.
21777         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
21778         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
21779         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
21780         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
21781         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
21782         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
21784         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
21785         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
21786         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
21787         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
21788         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
21789         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
21791 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
21793         [BZ #13743]
21794         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
21795         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
21796         (sysdep_headers): Include sys/platform/ppc.h.
21797         * sysdeps/powerpc/test-gettimebase.c: Test for
21798         __ppc_get_timebase() to catch future ISA opcode/insn changes.
21799         * manual/Makefile (appendices): Include platform.texi.
21800         * manual/contrib.texi (Contributors): Update @node pointers.
21801         * manual/maint.texi (Maintenance): Likewise.
21802         (Platform): New node.
21803         * manual/platform.texi: New file.  Document the new features.
21805 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
21806             Jakub Jelinek  <jakub@redhat.com>
21808         [BZ #14188]
21809         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
21810         where __builtin_expect is unavailable.
21812 2012-06-03  David S. Miller  <davem@davemloft.net>
21814         * stdlib/longlong.h: Updated from GCC.
21816 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
21818         [BZ #14042]
21819         * sysdeps/powerpc/powerpc32/mcount.c: New file.
21820         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
21821         __mcount_internal.
21822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
21823         (GLIBC_2.16): Likewise.
21825 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
21827         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
21829 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
21831         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
21832         (default-abi): New variable.
21833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
21834         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
21835         variable.
21836         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
21837         Likewise.
21838         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
21839         Likewise.
21840         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
21841         Likewise.
21843         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
21844         definition.  Document in comment.
21846 2012-06-01  David S. Miller  <davem@davemloft.net>
21848         * stdlib/longlong.h: Updated from GCC.
21850 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
21852         [BZ #14117]
21853         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
21854         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
21855         sys/debugreg.h sys/io.h here.
21856         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
21857         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
21858         sys/io.h.
21859         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
21860         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
21861         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
21862         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
21863         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
21864         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
21866         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
21867         Define only if __x86_64__ is defined.
21869 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
21871         [BZ #14048]
21872         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
21873         Use int64_t for variable i.
21874         * math/libm-test.inc (fmod_test): Add more tests.
21876         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
21877         z computation is not scheduled after fetestexcept.
21878         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
21879         Use math_force_eval instead of asm to ensure calculation scheduled
21880         before exception test.
21881         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
21882         Ensure a1 + u.d computation is not scheduled after fetestexcept.
21884 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
21886         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
21887         computation is not scheduled after fetestexcept.
21889 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
21891         [BZ #14117]
21892         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
21893         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
21895 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21897         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
21898         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
21900 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
21902         [BZ #14117]
21903         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
21904         <bits/wordsize.h>.
21905         (__WCHAR_MIN): Support __WORDSIZE == 64.
21906         (__WCHAR_MAX): Likewise.
21908         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
21909         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
21911         [BZ #14183]
21912         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
21913         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
21915         [BZ #14117]
21916         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
21917         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
21919         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
21920         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
21922         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
21923         Defined to 1 if __x86_64__ isn't defined.
21924         (_STAT_VER_LINUX_OLD): New.
21925         (st_atime): Remove duplicate.
21926         (st_mtime): Likewise.
21927         (st_ctime): Likewise.
21929 2012-05-31  David S. Miller  <davem@davemloft.net>
21931         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
21932         entries.
21934 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
21936         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
21937         gen-libm-test.pl.
21939         [BZ #14132]
21940         * elf/dl-reloc.c: Include <_itoa.h>.
21941         (_dl_reloc_bad_type): Remove use of INTUSE.
21942         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
21943         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
21944         * stdio-common/psiginfo.c (psiginfo): Likewise.
21945         * stdio-common/psignal.c (psignal): Likewise.
21946         * string/strsignal.c (strsignal): Likewise.
21947         * include/signal.h (_sys_siglist): Declare hidden proto.
21948         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
21949         INTVARDEF with libc_hidden_data_def.
21950         * stdio-common/itoa-udigits.c: Likewise.
21951         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
21952         (_itoa_lower_digits_internal): Remove declaration.
21953         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
21954         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
21955         (_sys_sigabbrev_internal): Remove aliases.
21956         (_sys_siglist): Define hidden alias.
21958 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
21960         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21961         bits/sysctl.h.
21963 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
21965         [BZ #14117]
21966         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
21967         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
21969         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
21970         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
21971         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
21972         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
21973         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
21974         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
21976         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
21977         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
21978         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
21980         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
21981         with __addr.
21982         (insw): Likewise.
21983         (insl): Likewise.
21984         (outsb): Likewise.
21985         (outsw): Likewise.
21986         (outsl): Likewise.
21988         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
21989         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
21990         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
21992         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
21993         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
21994         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
21995         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
21996         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
21997         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
21999         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
22000         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
22002         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
22003         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
22005         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
22006         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
22007         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
22009         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
22010         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
22011         to ...
22012         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
22014         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
22015         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
22016         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
22018         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
22019         for x86-64.
22020         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
22022 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
22024         * math/math.h (M_El): Use two more decimal places.
22025         (M_LOG2El): Likewise.
22026         (M_LOG10El): Likewise.
22027         (M_LN2l): Likewise.
22028         (M_LN10l): Likewise.
22029         (M_PIl): Likewise.
22030         (M_PI_2l): Likewise.
22031         (M_PI_4l): Likewise.
22032         (M_1_PIl): Likewise.
22033         (M_2_PIl): Likewise.
22034         (M_2_SQRTPIl): Likewise.
22035         (M_SQRT2l): Likewise.
22036         (M_SQRT1_2l): Likewise.
22038 2012-05-31  David S. Miller  <davem@davemloft.net>
22040         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
22041         values between float registers.
22042         * sysdeps/sparc/sparc64/memset.S: Likewise.
22043         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22045 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
22047         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
22048         -D_FORTIFY_SOURCE=1.
22049         (CPPFLAGS-tst-longjmp_chk.c): Define.
22050         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
22051         (CPPFLAGS-tst-longjmp_chk2.c): Define.
22052         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
22053         CFLAGS-tst-wchar-h.c.
22055 2012-05-31  Marek Polacek  <polacek@redhat.com>
22057         [BZ #14132]
22058         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
22059         __endmntent_internal): Remove declaration.
22060         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
22061         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
22062         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
22064 2012-05-30  David S. Miller  <davem@davemloft.net>
22066         * sysdeps/sparc/sparc32/soft-fp/q_util.c
22067         (___Q_simulate_exceptions): Use real FP ops rather than writing
22068         into the %fsr.
22069         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
22070         Likewise.
22072 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
22074         [BZ #14117]
22075         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
22076         * sysdeps/x86/bits/xtitypes.h: This.
22078         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
22079         * sysdeps/x86/bits/wordsize.h: This.
22081         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
22082         * sysdeps/x86/bits/huge_vall.h: This.
22084         * sysdeps/i386/bits/select.h: Removed.
22085         * sysdeps/x86_64/bits/select.h: Renamed to ...
22086         * sysdeps/x86/bits/select.h: This.
22088         * sysdeps/i386/bits/setjmp.h: Removed.
22089         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
22090         * sysdeps/x86/bits/setjmp.h: This.
22092         * sysdeps/i386/bits/mathdef.h: Removed.
22093         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
22094         * sysdeps/x86/bits/mathdef.h: This.
22096 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
22098         [BZ #14132]
22099         * include/sys/socket.h (__connect_internal)
22100         (__libc_sa_len_internal): Remove declaration.
22101         (__connect, __libc_sa_len): Declare hidden_proto.
22102         (SA_LEN): Remove use of INTUSE.
22103         * socket/connect.c: Add libc_hidden_def.
22104         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
22105         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
22106         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
22107         alias.
22108         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
22109         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
22110         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
22111         of adding _internal alias.
22113 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
22115         [BZ #14117]
22116         * sysdeps/i386/bits/link.h: Removed.
22117         * sysdeps/i386/bits/linkmap.h: Likewise.
22118         * sysdeps/x86_64/bits/link.h: Renamed to ...
22119         * sysdeps/x86/bits/link.h: This.
22120         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
22121         * sysdeps/x86/bits/linkmap.h: This.
22123         * sysdeps/i386/bits/endian.h: Removed.
22124         * sysdeps/x86_64/bits/endian.h: Renamed to ...
22125         * sysdeps/x86/bits/endian.h: This.
22127         * sysdeps/i386/bits/byteswap.h: Removed.
22128         * sysdeps/i386/bits/byteswap-16.h: Likewise.
22129         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
22130         * sysdeps/x86/bits/byteswap.h: This.
22131         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
22132         * sysdeps/x86/bits/byteswap-16.h: This.
22133         * sysdeps/i386/Implies: Add x86.
22134         * sysdeps/x86_64/Implies: Likewise.
22136 2012-05-30  David S. Miller  <davem@davemloft.net>
22138         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
22139         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
22140         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
22141         (FP_TRAPPING_EXCEPTIONS): Define.
22142         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
22143         (FP_TRAPPING_EXCEPTIONS): Define.
22144         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
22145         subnormals only when inexact has been signalled or underflow
22146         exceptions are enabled.
22147         (_FP_PACK_CANONICAL): Likewise.
22149 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
22151         [BZ #14183]
22152         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
22153         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
22155 2012-05-30  Richard Henderson  <rth@twiddle.net>
22157         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
22158         with #ifndef NOT_IN_libc.
22160         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
22161         marked to avoid plt entry.
22163 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
22165         [BZ #14112]
22166         * Makeconfig (default-abi): New macro.
22167         (abi-includes): Likewise.
22168         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
22169         $(abi-$(default-abi)-lib-soname) for soname if defined.
22170         ($(common-objpfx)gnu/lib-names.stmp): Generate from
22171         abi-variants.
22172         * Makefile (installed-stubs): Likewise.
22173         * include/stubs-biarch.h: Removed.
22174         * scripts/lib-names.awk: Only handle one library at a time.
22175         * scripts/soversions.awk: Remove WORDSIZE support.
22176         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
22177         entries.
22178         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
22179         Removed.
22180         (syscall-list-default-condition): Likewise.
22181         (syscall-list-default-condition): Likewise.
22182         (syscall-list-includes): Likewise.
22183         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
22184         syscall-list-* with abi-*.  Handle undefined abi-variants.
22185         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
22186         * sysdeps/unix/sysv/linux/i386/Implies: New file.
22187         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
22188         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
22189         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
22190         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
22191         Removed.
22192         (syscall-list-32-options): Likewise.
22193         (syscall-list-32-condition): Likewise.
22194         (syscall-list-64-options): Likewise.
22195         (syscall-list-64-condition): Likewise.
22196         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
22197         macro.
22198         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
22199         Renamed to ...
22200         (abi-*): This.
22201         (abi-64-ld-soname): New macro.
22202         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
22203         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
22204         Renamed to ...
22205         (abi-*): This.
22206         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
22207         * sysdeps/x86_64/x32/shlib-versions: Likewise.
22209 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
22211         * sysdeps/unix/sysv/linux/kernel-features.h
22212         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
22213         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
22214         include <kernel-features.h>.
22215         [!__NR_ftruncate64]: Remove conditional code.
22216         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22217         [__NR_ftruncate64]: Make code unconditional.
22218         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22219         * sysdeps/unix/sysv/linux/truncate64.c: Do not
22220         include <kernel-features.h>.
22221         [!__NR_ftruncate64]: Remove conditional code.
22222         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22223         [__NR_ftruncate64]: Make code unconditional.
22224         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22225         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
22226         include <kernel-features.h>.
22227         [!__NR_ftruncate64]: Remove conditional code.
22228         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22229         [__NR_ftruncate64]: Make code unconditional.
22230         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22231         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
22232         include <kernel-features.h>.
22233         [!__NR_ftruncate64]: Remove conditional code.
22234         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22235         [__NR_ftruncate64]: Make code unconditional.
22236         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22238         * configure.in (libc_cv_fpie): Weaken to a compile test using
22239         LIBC_TRY_CC_OPTION.
22240         * configure: Regenerated.
22242 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22244         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
22245         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
22246         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
22247         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22248         Refreshed.
22249         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
22250         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
22251         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
22252         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
22253         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
22254         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22255         Refreshed.
22257 2012-05-27  David S. Miller  <davem@davemloft.net>
22259         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
22260         (___Q_zero): New.
22261         (__Q_simulate_exceptions): Return void.  Change to simulate
22262         exceptions by writing into the %fsr.
22263         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
22264         (__Qp_handle_exceptions): Likewise.
22265         (numbers): Delete.
22266         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
22267         __Qp_handle_exceptions.
22268         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
22269         __Qp_handle_exceptions.
22270         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22271         as unused and give dummy FP_RND_NEAREST initializer.
22272         (FP_INHIBIT_RESULTS): Define.
22273         (___Q_simulate_exceptions): Update declaration.
22274         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
22275         formatting.
22276         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22277         as unused and give dummy FP_RND_NEAREST initializer.
22278         (__Qp_handle_exceptions): Update declaration.
22279         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
22280         formatting.
22282 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
22284         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
22285         the temporary FPU control word.
22286         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
22287         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
22288         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
22289         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
22290         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22291         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
22292         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
22293         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22294         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
22295         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
22296         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22298 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22300         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
22301         fields.
22303 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
22305         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
22306         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
22307         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
22308         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
22309         Likewise.
22310         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
22311         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
22312         Likewise.
22314 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
22316         * po/h.po: Update from translation team.
22318 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
22320         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
22322         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
22323         handling of denormals.
22324         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22325         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
22326         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
22327         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
22328         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22329         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
22330         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
22331         Likewise.
22333 2012-05-26  Marek Polacek  <polacek@redhat.com>
22335         [BZ #14152]
22336         * math/libm-test.inc (fma_test): Don't always expect underflow
22337         exception.
22339 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22341         [BZ #12416]
22342         * elf/tst-execstack.c: Include stackinfo.h.
22343         (do_test): Adjust test case to ensure that pthread_getattr_np
22344         behaviour remains the same after marking stack executable.
22346 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
22348         * sysdeps/unix/sysv/linux/kernel-features.h
22349         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
22350         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
22351         kernel-features.h.
22352         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22353         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22354         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
22355         kernel-features.h.
22356         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22357         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22359 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
22361         * configure.in: Define the default includes to being none.
22362         * configure: Regenerated.
22364 2012-05-25  Roland McGrath  <roland@hack.frob.com>
22366         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
22367         * sysdeps/x86_64/setjmp.S: Likewise.
22368         * sysdeps/i386/bsd-setjmp.S: Likewise.
22369         * sysdeps/i386/bsd-_setjmp.S: Likewise.
22370         * sysdeps/i386/setjmp.S: Likewise.
22371         * sysdeps/i386/__longjmp.S: Likewise.
22372         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
22373         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
22375         * include/stap-probe.h: New file.
22376         * configure.in: Handle --enable-systemtap.
22377         * configure: Regenerated.
22378         * config.h.in (USE_STAP_PROBE): New #undef.
22379         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
22380         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
22381         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
22383 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
22385         [BZ #13717]
22386         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
22387         to 2.4.0 where earlier.
22388         * sysdeps/unix/sysv/linux/configure: Regenerated.
22389         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
22390         <kernel-features.h>.
22391         [__ASSUME_32BITUIDS]: Make code unconditional.
22392         [!__ASSUME_32BITUIDS]: Remove conditional code.
22393         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
22394         <kernel-features.h>.
22395         [__ASSUME_32BITUIDS]: Make code unconditional.
22396         [!__ASSUME_32BITUIDS]: Remove conditional code.
22397         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
22398         [__ASSUME_32BITUIDS]: Make code unconditional.
22399         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
22400         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
22401         <kernel-features.h>.
22402         [__ASSUME_32BITUIDS]: Make code unconditional.
22403         [!__ASSUME_32BITUIDS]: Remove conditional code.
22404         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
22405         <kernel-features.h>.
22406         [__ASSUME_32BITUIDS]: Make code unconditional.
22407         [!__ASSUME_32BITUIDS]: Remove conditional code.
22408         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
22409         <kernel-features.h>.
22410         [__ASSUME_32BITUIDS]: Make code unconditional.
22411         [!__ASSUME_32BITUIDS]: Remove conditional code.
22412         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
22413         <kernel-features.h>.
22414         [__ASSUME_32BITUIDS]: Make code unconditional.
22415         [!__ASSUME_32BITUIDS]: Remove conditional code.
22416         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
22417         <kernel-features.h>.
22418         [__ASSUME_32BITUIDS]: Make code unconditional.
22419         [!__ASSUME_32BITUIDS]: Remove conditional code.
22420         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
22421         <kernel-features.h>.
22422         [__ASSUME_32BITUIDS]: Make code unconditional.
22423         [!__ASSUME_32BITUIDS]: Remove conditional code.
22424         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
22425         <kernel-features.h>.
22426         [__ASSUME_32BITUIDS]: Make code unconditional.
22427         [!__ASSUME_32BITUIDS]: Remove conditional code.
22428         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
22429         <kernel-features.h>.
22430         [__ASSUME_32BITUIDS]: Make code unconditional.
22431         [!__ASSUME_32BITUIDS]: Remove conditional code.
22432         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
22433         <kernel-features.h>.
22434         [__ASSUME_32BITUIDS]: Make code unconditional.
22435         [!__ASSUME_32BITUIDS]: Remove conditional code.
22436         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
22437         <kernel-features.h>.
22438         [__ASSUME_32BITUIDS]: Make code unconditional.
22439         [!__ASSUME_32BITUIDS]: Remove conditional code.
22440         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
22441         <kernel-features.h>.
22442         [__NR_setresgid] (__setresgid): Do not declare.
22443         [__ASSUME_32BITUIDS]: Make code unconditional.
22444         [!__ASSUME_32BITUIDS]: Remove conditional code.
22445         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
22446         <kernel-features.h>.
22447         [__NR_setresuid] (__setresuid): Do not declare.
22448         [__ASSUME_32BITUIDS]: Make code unconditional.
22449         [!__ASSUME_32BITUIDS]: Remove conditional code.
22450         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
22451         <kernel-features.h>.
22452         [__ASSUME_32BITUIDS]: Make code unconditional.
22453         [!__ASSUME_32BITUIDS]: Remove conditional code.
22454         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
22455         <kernel-features.h>.
22456         [__ASSUME_32BITUIDS]: Make code unconditional.
22457         [!__ASSUME_32BITUIDS]: Remove conditional code.
22458         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
22459         <kernel-features.h>.
22460         [__ASSUME_32BITUIDS]: Make code unconditional.
22461         [!__ASSUME_32BITUIDS]: Remove conditional code.
22462         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
22463         <kernel-features.h>.
22464         [__ASSUME_32BITUIDS]: Make code unconditional.
22465         [!__ASSUME_32BITUIDS]: Remove conditional code.
22466         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
22467         <kernel-features.h>.
22468         [__ASSUME_32BITUIDS]: Make code unconditional.
22469         [!__ASSUME_32BITUIDS]: Remove conditional code.
22470         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
22471         <kernel-features.h>.
22472         [__ASSUME_32BITUIDS]: Make code unconditional.
22473         [!__ASSUME_32BITUIDS]: Remove conditional code.
22474         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
22475         <kernel-features.h>.
22476         [__ASSUME_32BITUIDS]: Make code unconditional.
22477         [!__ASSUME_32BITUIDS]: Remove conditional code.
22478         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
22479         <kernel-features.h>.
22480         [__ASSUME_32BITUIDS]: Make code unconditional.
22481         [!__ASSUME_32BITUIDS]: Remove conditional code.
22482         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
22483         <kernel-features.h>.
22484         [__ASSUME_32BITUIDS]: Make code unconditional.
22485         [!__ASSUME_32BITUIDS]: Remove conditional code.
22486         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
22487         <kernel-features.h>.
22488         [__ASSUME_32BITUIDS]: Make code unconditional.
22489         [!__ASSUME_32BITUIDS]: Remove conditional code.
22490         * sysdeps/unix/sysv/linux/kernel-features.h
22491         (__ASSUME_SETRESUID_SYSCALL): Remove.
22492         (__ASSUME_SETRESGID_SYSCALL): Likewise.
22493         (__ASSUME_32BITUIDS): Likewise.
22494         (__ASSUME_LDT_WORKS): Likewise.
22495         (__ASSUME_O_DIRECTORY): Likewise.
22496         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
22497         architecture but not kernel version.
22498         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
22499         (__ASSUME_MMAP2_SYSCALL): Likewise.
22500         (__ASSUME_STAT64_SYSCALL): Likewise.
22501         (__ASSUME_IPC64): Likewise.
22502         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
22503         <kernel-features.h>.
22504         [__ASSUME_32BITUIDS]: Make code unconditional.
22505         [!__ASSUME_32BITUIDS]: Remove conditional code.
22506         * sysdeps/unix/sysv/linux/opendir.c: Do not include
22507         <kernel-features.h>.
22508         [__ASSUME_O_DIRECTORY]: Make code unconditional.
22509         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
22510         132096]: Remove conditional code.
22511         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
22512         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
22513         <kernel-features.h>.
22514         [__ASSUME_32BITUIDS]: Make code unconditional.
22515         [!__ASSUME_32BITUIDS]: Remove conditional code.
22516         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
22517         <kernel-features.h>.
22518         [__ASSUME_32BITUIDS]: Make code unconditional.
22519         [!__ASSUME_32BITUIDS]: Remove conditional code.
22520         * sysdeps/unix/sysv/linux/setegid.c: Do not include
22521         <kernel-features.h>.
22522         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
22523         unconditional.
22524         (__setresgid): Do not declare.
22525         [__ASSUME_32BITUIDS]: Make code unconditional.
22526         [!__ASSUME_32BITUIDS]: Remove conditional code.
22527         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
22528         <kernel-features.h>.
22529         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
22530         unconditional.
22531         (__setresuid): Do not declare.
22532         [__ASSUME_32BITUIDS]: Make code unconditional.
22533         [!__ASSUME_32BITUIDS]: Remove conditional code.
22534         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
22535         <kernel-features.h>.
22536         [__ASSUME_32BITUIDS]: Make code unconditional.
22537         [!__ASSUME_32BITUIDS]: Remove conditional code.
22538         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
22539         <kernel-features.h>.
22540         [__ASSUME_32BITUIDS]: Make code unconditional.
22541         [!__ASSUME_32BITUIDS]: Remove conditional code.
22543 2012-05-25  Richard Henderson  <rth@twiddle.net>
22545         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
22546         dl_hwcap to ifunc resolver.
22547         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
22548         elf_ifunc_invoke.
22549         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
22550         dl_hwcap to ifunc resolver.
22551         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
22553 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
22555         [BZ #14153]
22556         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
22557         for |x| <= 2**-26, not 2**-57.
22558         * math/libm-test.inc (acos_test): Do not allow spurious underflow
22559         exception.
22561 2012-05-24  Jeff Law  <law@redhat.com>
22563         * stdio-common/Makefile (tests): Add bug25.
22564         * stdio-common/bug25.c: New test.
22566 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
22568         [BZ #13576]
22569         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
22570         multiple of MALLOC_ALIGNMENT in size.
22571         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
22573 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
22575         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
22576         Require >= 256.
22577         (FILENAME_MAX): Use macro-int-constant.
22578         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
22579         (_IOFBF): Use macro-int-constant.
22580         (_IOLBF): Likewise.
22581         (_IONBF): Likewise.
22582         (SEEK_CUR): Likewise.
22583         (SEEK_END): Likewise.
22584         (SEEK_SET): Likewise.
22585         (TMP_MAX): Likewise.
22586         (EOF): Use macro-int-constant.  Require < 0.
22587         (NULL): Use macro-constant.  Require == 0.
22588         (stdin): Require type to be FILE *.
22589         (stdout): Likewise.
22590         (stderr): Likewise.
22591         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
22592         macro-int-constant.
22593         (EXIT_SUCCESS): Likewise.
22594         (NULL): Use macro-constant.  Require == 0.
22595         (RAND_MAX): Use macro-int-constant.
22596         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
22597         [C99-based standards] (strtof): Require function.
22598         [C99-based standards] (strtold): Likewise.
22599         [C99-based standards] (strtoll): Likewise.
22600         [C99-based standards] (strtoull): Likewise.
22601         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
22602         [ISO || ISO99 || ISO11] (limits.h): Likewise.
22603         [ISO || ISO99 || ISO11] (math.h): Likewise.
22604         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
22605         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
22606         [ISO || ISO99 || ISO11] (*_t): Do not allow.
22608 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
22610         [BZ #14132]
22611         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
22612         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
22613         * intl/dgettext.c (DCGETTEXT): Likewise.
22614         * intl/gettext.c (DCGETTEXT): Likewise.
22615         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
22616         * posix/regex_internal.h (gettext): Likewise.
22617         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
22618         Remove declaration.
22619         * include/argz.h (__argz_count_internal)
22620         (__argz_stringify_internal): Remove declaration.
22621         (__argz_count, __argz_stringify): Declare hidden proto.
22622         * intl/dcgettext.c: Remove use of INTDEF.
22623         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
22624         * string/argz-stringify.c: Likewise.
22625         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
22626         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
22627         Declare hidden proto.
22628         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
22629         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
22630         Declare hidden proto.
22631         * include/stdio.h (__asprintf_internal): Don't declare.
22632         (__asprintf): Don't define as macro.  Declare hidden proto.
22633         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
22634         (__fsetlocking): Declare hidden proto.
22635         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
22636         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
22637         hidden proto.
22638         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
22639         (_IO_setlinebuf): Remove use of INTUSE.
22640         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
22641         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
22642         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
22643         Remove declaration.
22644         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
22645         (_IO_do_flush): Remove use of INTUSE.
22646         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
22647         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
22648         (_IO_adjust_column, _IO_least_wmarker)
22649         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
22650         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
22651         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
22652         (_IO_default_doallocate, _IO_wdefault_doallocate)
22653         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
22654         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
22655         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
22656         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
22657         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
22658         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
22659         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
22660         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
22661         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
22662         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
22663         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
22664         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
22665         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
22666         proto.
22667         (_IO_flush_all_internal, _IO_adjust_column_internal)
22668         (_IO_default_uflow_internal, _IO_default_finish_internal)
22669         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
22670         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
22671         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
22672         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
22673         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
22674         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
22675         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
22676         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
22677         (_IO_file_close_internal, _IO_file_close_it_internal)
22678         (_IO_file_underflow_internal, _IO_file_overflow_internal)
22679         (_IO_file_init_internal, _IO_file_attach_internal)
22680         (_IO_file_fopen_internal, _IO_file_read_internal)
22681         (_IO_file_sync_internal, _IO_file_seek_internal)
22682         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
22683         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
22684         (_IO_str_underflow_internal, _IO_str_overflow_internal)
22685         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
22686         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
22687         (_IO_list_all_internal, _IO_link_in_internal)
22688         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
22689         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
22690         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
22691         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
22692         (_IO_do_write_internal, _IO_padn_internal)
22693         (_IO_getline_info_internal, _IO_getline_internal)
22694         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
22695         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
22696         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
22697         (_IO_vfscanf_internal, _IO_vfprintf_internal)
22698         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
22699         (_IO_init_internal, _IO_un_link_internal): Don't declare.
22700         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
22701         with libc_hidden_ver, remove use of INTUSE.
22702         * libio/genops.c: Likewise.
22703         * libio/freopen.c: Likewise.
22704         * libio/freopen64.c: Likewise.
22705         * libio/iofclose.c: Likewise.
22706         * libio/iofdopen.c: Likewise.
22707         * libio/iofflush.c: Likewise.
22708         * libio/iofflush_u.c: Likewise.
22709         * libio/iofgets.c: Likewise.
22710         * libio/iofgets_u.c: Likewise.
22711         * libio/iofopen.c: Likewise.
22712         * libio/iofopncook.c: Likewise.
22713         * libio/iofread.c: Likewise.
22714         * libio/iofread_u.c: Likewise.
22715         * libio/ioftell.c: Likewise.
22716         * libio/iofwrite.c: Likewise.
22717         * libio/iogetline.c: Likewise.
22718         * libio/iogets.c: Likewise.
22719         * libio/iogetwline.c: Likewise.
22720         * libio/iopadn.c: Likewise.
22721         * libio/iopopen.c: Likewise.
22722         * libio/ioseekoff.c: Likewise.
22723         * libio/ioseekpos.c: Likewise.
22724         * libio/iosetbuffer.c: Likewise.
22725         * libio/iosetvbuf.c: Likewise.
22726         * libio/ioungetc.c: Likewise.
22727         * libio/ioungetwc.c: Likewise.
22728         * libio/iovdprintf.c: Likewise.
22729         * libio/iovsprintf.c: Likewise.
22730         * libio/iovsscanf.c: Likewise.
22731         * libio/memstream.c: Likewise.
22732         * libio/obprintf.c: Likewise.
22733         * libio/oldfileops.c: Likewise.
22734         * libio/oldiofclose.c: Likewise.
22735         * libio/oldiofdopen.c: Likewise.
22736         * libio/oldiofopen.c: Likewise.
22737         * libio/oldiopopen.c: Likewise.
22738         * libio/oldstdfiles.c: Likewise.
22739         * libio/putc.c: Likewise.
22740         * libio/setbuf.c: Likewise.
22741         * libio/setlinebuf.c: Likewise.
22742         * libio/stdfiles.c: Likewise.
22743         * libio/strops.c: Likewise.
22744         * libio/vasprintf.c: Likewise.
22745         * libio/vscanf.c: Likewise.
22746         * libio/vsnprintf.c: Likewise.
22747         * libio/vswprintf.c: Likewise.
22748         * libio/wfiledoalloc.c: Likewise.
22749         * libio/wfileops.c: Likewise.
22750         * libio/wgenops.c: Likewise.
22751         * libio/wmemstream.c: Likewise.
22752         * libio/wstrops.c: Likewise.
22753         * libio/__fpurge.c: Likewise.
22754         * libio/__fsetlocking.c: Likewise.
22755         * assert/assert.c: Likewise.
22756         * debug/fgets_chk.c: Likewise.
22757         * debug/fgets_u_chk.c: Likewise.
22758         * debug/fread_chk.c: Likewise.
22759         * debug/fread_u_chk.c: Likewise.
22760         * debug/gets_chk.c: Likewise.
22761         * debug/obprintf_chk.c: Likewise.
22762         * debug/vasprintf_chk.c: Likewise.
22763         * debug/vdprintf_chk.c: Likewise.
22764         * debug/vsnprintf_chk.c: Likewise.
22765         * debug/vsprintf_chk.c: Likewise.
22766         * malloc/mtrace.c: Likewise.
22767         * misc/error.c: Likewise.
22768         * misc/syslog.c: Likewise.
22769         * stdio-common/asprintf.c: Likewise.
22770         * stdio-common/fxprintf.c: Likewise.
22771         * stdio-common/getw.c: Likewise.
22772         * stdio-common/isoc99_fscanf.c: Likewise.
22773         * stdio-common/isoc99_scanf.c: Likewise.
22774         * stdio-common/isoc99_vfscanf.c: Likewise.
22775         * stdio-common/isoc99_vscanf.c: Likewise.
22776         * stdio-common/isoc99_vsscanf.c: Likewise.
22777         * stdio-common/printf-prs.c: Likewise.
22778         * stdio-common/printf_fp.c: Likewise.
22779         * stdio-common/printf_fphex.c: Likewise.
22780         * stdio-common/printf_size.c: Likewise.
22781         * stdio-common/putw.c: Likewise.
22782         * stdio-common/scanf.c: Likewise.
22783         * stdio-common/sprintf.c: Likewise.
22784         * stdio-common/tmpfile.c: Likewise.
22785         * stdio-common/vfprintf.c: Likewise.
22786         * stdio-common/vfscanf.c: Likewise.
22787         * stdlib/strfmon_l.c: Likewise.
22788         * sunrpc/openchild.c: Likewise.
22789         * sunrpc/xdr_stdio.c: Likewise.
22790         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
22791         * sysdeps/mach/hurd/tmpfile.c: Likewise.
22793 2012-05-24  Roland McGrath  <roland@hack.frob.com>
22795         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
22797         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
22798         in the third column, to generate for the shared library an IFUNC
22799         that uses _dl_vdso_vsym.
22800         * Makerules (COMPILE.c, compile-stdin.c): New variables.
22801         * Makeconfig (object-suffixes-noshared): New variable.
22803         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
22804         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
22805         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
22806         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
22808         [BZ #14132]
22809         * include/sys/time.h (__gettimeofday): Remove macro.
22810         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
22811         * time/gettimeofday.c (__gettimeofday): Remove #undef.
22812         Remove INTDEF.
22813         (__gettimeofday): Add libc_hidden_def.
22814         (gettimeofday): Add libc_hidden_weak.
22815         * sysdeps/mach/gettimeofday.c: Likewise.
22816         * sysdeps/posix/gettimeofday.c: Likewise.
22817         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
22818         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
22819         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
22820         (__gettimeofday_internal): Remove strong_alias.
22821         (__gettimeofday): Add libc_hidden_def.
22822         (gettimeofday): Add libc_hidden_weak.
22823         * sysdeps/unix/syscalls.list (gettimeofday):
22824         Remove __gettimeofday_internal alias.
22826 2012-05-24  Daniel Jacobowitz  <drow@false.org>
22827             H.J. Lu  <hongjiu.lu@intel.com>
22829         [BZ #12495]
22830         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
22831         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
22832         (largebin_index_32_big): New.
22833         (largebin_index): Use it for 16-byte alignment.
22834         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
22835         correction with front_misalign.
22837 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
22839         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
22840         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
22841         Likewise.
22842         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
22843         Likewise.
22844         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
22845         Likewise.
22846         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
22847         Likewise.
22848         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
22849         Likewise.
22850         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
22851         Likewise.
22852         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
22853         Likewise.
22854         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
22855         Likewise.
22856         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
22857         Likewise.
22858         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
22859         Likewise.
22860         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
22861         Likewise.
22862         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
22863         Likewise.
22865         * scripts/data/c++-types-x32-linux-gnu.data: New file.
22866         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
22868 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
22870         [BZ #10846]
22871         [BZ #14036]
22872         * math/libm-test.inc (exp_test): Add test from bug 14036.
22873         (pow_test): Add test from bug 10846.
22875         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
22876         and other flags.
22877         (special_function): Do not include flags in test name.
22878         (parse_args): Likewise.
22879         * sysdeps/i386/fpu/libm-test-ulps: Update.
22880         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22881         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22882         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22883         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22885         * math/gen-libm-test.pl (%beautify): Add entries for underflow
22886         exceptions.
22887         * math/libm-test.inc ("Philosophy"): Update comment about
22888         exception testing.
22889         (UNDERFLOW_EXCEPTION): New macro.
22890         (UNDERFLOW_EXCEPTION_OK): Likewise.
22891         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
22892         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
22893         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
22894         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
22895         (INVALID_EXCEPTION_OK): Update value.
22896         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
22897         (OVERFLOW_EXCEPTION_OK): Likewise.
22898         (IGNORE_ZERO_INF_SIGN): Likewise.
22899         (test_exceptions): Handle underflow exceptions.
22900         (acos_test): Update for underflow exception expectations.
22901         (cexp_test): Likewise.
22902         (clog_test): Likewise.
22903         (clog10_test): Likewise.
22904         (csqrt_test): Likewise.
22905         (ctan_test): Likewise.
22906         (ctanh_test): Likewise.
22907         (exp_test): Likewise.
22908         (exp10_test): Likewise.
22909         (exp2_test): Likewise.
22910         (expm1_test): Likewise.
22911         (fma_test): Likewise.
22912         (j0_test): Likewise.
22913         (jn_test): Likewise.
22914         (nexttoward_test): Likewise.
22915         (pow_test): Likewise.
22916         (scalbn_test): Likewise.
22917         (scalbln_test): Likewise.
22918         (tan_test): Likewise.
22919         (y1_test): Likewise.
22920         * sysdeps/i386/fpu/libm-test-ulps: Update.
22921         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22923 2012-05-23  David S. Miller  <davem@davemloft.net>
22925         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
22926         (__libc_sigaction): Remove unused local variables.
22928 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
22930         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
22932 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
22934         mktime: avoid signed integer overflow
22935         * time/mktime.c (__mktime_internal): Do not mishandle the case
22936         where diff == INT_MIN.
22938         mktime: simplify computation of average
22939         * time/mktime.c (ranged_convert): Use new time_t_avg function
22940         instead of rolling our own (probably-slower) code.
22942         mktime: do not assume signed right shift propagates sign bit
22943         * time/mktime.c (isdst_differ): New static function.
22944         (__mktime_internal): No need to normalize tm_isdst now.
22945         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
22946         tm_isdst values.
22948         mktime: merge another wrapv change from gnulib
22949         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
22950         from some compilers.
22952         mktime: remove incorrect attempt at unusual arithmetics
22953         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
22954         The code didn't really work on such machines anyway.
22955         (TYPE_MINIMUM): Assume two's complement.
22956         (twos_complement_arithmetic): Verify that long_int and time_t
22957         are two's complement (or unsigned, in the latter case).
22959         mktime: check signed shifts on long_int and time_t, too
22960         * time/mktime.c (SHR): Check that shifts work as desired
22961         on the types long_int and time_t too, as SHR is used on
22962         such types.
22964         mktime: do not assume 'long' is wide enough
22965         * time/mktime.c (verify): Move decl up.
22966         (long_int): New type.
22967         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
22968         to remove assumption in the code that 'long' is wide enough to
22969         store year values.  This assumption is not true on x32 and on
22970         some non-glibc platforms.
22972         mktime: merge wrapv change from gnulib
22973         * time/mktime.c (WRAPV): New macro.
22974         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
22975         (guess_time_tm, __mktime_internal): Do not assume that signed
22976         integer overflow wraps around; modern compilers generate code
22977         where this assumption is no longer valid.
22979 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
22981         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
22982         Replace "jmp L(pseudo_end)" with "ret".
22983         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
22984         Likewise.
22986 2012-05-23  Andreas Jaeger  <aj@suse.de>
22988         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
22989         * sysdeps/unix/sysv/linux/poll.c: Remove file.
22991 2012-05-23  Andreas Jaeger  <aj@suse.de>
22992             Maximilian Attems  <max@stro.at>
22994         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
22995         New macros.
22997 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
22999         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
23000         code so that pseudo_end is just ret and the stack pointer is
23001         correct also for static library in error case.
23003 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
23005         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
23006         move to syscalls.list.
23007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
23008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
23009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
23010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
23012         * manual/install.texi (Running make install): Do not mention Linux
23013         kernel version for which pt_chown is not needed.
23014         (Linux): Do not mention problems with nscd with 2.0 kernels.
23015         * INSTALL: Regenerated.
23017 2012-05-23  Andreas Jaeger  <aj@suse.de>
23019         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
23020         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
23021         macro.
23022         * sysdeps/unix/sysv/linux/s390/bits/mman.h
23023         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23024         * sysdeps/unix/sysv/linux/sh/bits/mman.h
23025         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23026         * sysdeps/unix/sysv/linux/i386/bits/mman.h
23027         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23028         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
23029         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23030         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
23031         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23032         * sysdeps/unix/sysv/linux/bits/in.h
23033         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
23035 2012-05-22  Roland McGrath  <roland@hack.frob.com>
23037         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
23038         (PREPARE_VERSION): Just use assert instead, it will be elided
23039         under [NDEBUG] anyway.
23041 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
23043         * sysdeps/unix/sysv/linux/Makefile: Include
23044         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
23045         (sysdep_routines): Remove sysctl.
23046         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
23047         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
23048         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
23049         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
23050         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
23052 2012-05-22  Andreas Jaeger  <aj@suse.de>
23054         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
23055         that pseudo_end is just ret and the stack pointer is correct also
23056         for static library in error case.
23058 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
23060         [BZ #14122]
23061         * nss/nsswitch.c (defconfig_entries): New variable.
23062         (__nss_database_lookup): Don't leak defconfig entries.
23063         (nss_parse_service_list): Don't leak on error paths.
23064         (free_database_entries): New function.
23065         (free_defconfig): New function.
23066         (free_mem): Move common code to free_database_entries.
23068 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
23070         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
23071         Add arch_prctl.
23072         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
23074         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23075         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
23076         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
23077         New macro.
23078         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
23079         (INTERNAL_SYSCALL_TYPES): Likewise.
23080         (LOAD_ARGS_TYPES_[1-6]): Likewise.
23081         (LOAD_REGS_TYPES_[1-6]): Likewise.
23082         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
23083         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
23085 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23087         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
23088         copysignl for GLIBC_2_0.
23089         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
23090         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
23091         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
23092         logbl for GLIBC_2_0.
23093         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
23094         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
23096 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
23098         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
23099         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
23101         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23102         Use "neg %eax".
23104         * time/mktime.c: Update copyright years.
23106 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
23108         mktime: merge comment-quoting-style change from gnulib
23109         * time/mktime.c: Quote 'like this' in comments.
23110         The GNU coding standards suggest that we no longer quote `like this',
23111         as "`" and "'" are typically rendered asymmetrically nowadays.
23112         The typical gnulib style is to quote 'like this' when quoting
23113         code, and "like this" when quoting English.
23115         * time/mktime.c (compile-command): Add "-I.".
23117         mktime: merge mktime-internal.h change from gnulib
23118         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
23120         mktime: merge time_r change from gnulib
23121         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
23123         mktime: merge DEBUG change from gnulib
23124         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
23125         case system <time.h> has a #define.
23127         mktime: merge <sys/types.h> change from gnulib
23128         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
23129         since <time.t> is now guaranteed to define time_t.
23131         mktime: merge HAVE_CONFIG_H change from gnulib
23132         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
23134 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
23136         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23137         Use "neg %eax".
23139         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
23140         __rlim_t cast.
23141         (struct rusage): Use anonymous union to pad each field to
23142         __syscall_slong_t.
23144 2012-05-21  David S. Miller  <davem@davemloft.net>
23146         * Makefules (o-iterator): Remove .s cases.
23147         (compile-command.s): Delete.
23148         (COMPILE.s): Delete.
23149         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
23151 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
23153         * configure.in (libc_cv_predef_stack_protector): Only consider
23154         "foobar" and "__stack_chk_fail" lines in libc_undefs.
23155         * configure: Regenerated.
23157 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
23159         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23160         New macro.  Use R*LP on int and pointer.
23161         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
23162         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
23163         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
23164         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
23166         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
23167         [__WORDSIZE_TIME64_COMPAT32] instead of
23168         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
23169         (struct utmp): Likewise.
23170         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
23171         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
23172         Renamed to ...
23173         (__WORDSIZE_TIME64_COMPAT32): This.
23174         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
23175         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
23176         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
23177         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
23178         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
23179         (__WORDSIZE_TIME64_COMPAT32): New macro.
23181 2012-05-21  Andreas Jaeger  <aj@suse.de>
23183         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
23184         only if [SHARED]. Add prototype for __wcschr_ia32.
23186 2012-05-21  Roland McGrath  <roland@hack.frob.com>
23188         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
23189         of %rbp unmolested in the jmp_buf while mangling the low bits.
23190         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
23191         unmolested high bits of %rbp while demangling the low bits.
23192         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
23194 2012-05-21  Andreas Jaeger  <aj@suse.de>
23196         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
23197         * sunrpc/svc_simple.c: Use it for registerrpc.
23198         * sunrpc/xcrypt.c: Use it for passwd2des.
23200         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
23202 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
23204         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
23205         Don't define if [__SYSCALL_WORDSIZE != 32].
23206         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
23207         New macro.
23209 2012-05-21  Bruno Haible  <bruno@clisp.org>
23210             Andreas Jaeger  <aj@suse.de>
23212         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
23213         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
23214         inptr and inend for must_buffer_ch.
23215         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
23216         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
23217         * stdio-common/Makefile (tests): Remove bug15.
23218         (bug15-ENV): Remove macro.
23219         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
23220         anymore.
23222 2012-05-19  Andreas Jaeger  <aj@suse.de>
23223             Roland McGrath  <roland@hack.frob.com>
23225         * manual/contrib.texi: Completely rewritten. It contains now an
23226         alphabetical list of contributors and their contributions.
23228 2012-05-21  Richard Henderson  <rth@twiddle.net>
23230         * misc/getauxval.c (__getauxval): Use unsigned long int.
23231         * misc/sys/auxv.h: Include <sys/cdefs.h>.
23232         (getauxval): Use unsigned long int.
23234 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
23236         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
23238 2012-05-21  Roland McGrath  <roland@hack.frob.com>
23240         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
23241         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
23242         __alignof__ (long double).
23244 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23246         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23248 2012-05-20  Richard Henderson  <rth@twiddle.net>
23250         * misc/getauxval.c: New file.
23251         * misc/sys/auxv.h: New file.
23252         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
23253         (routines): Add getauxval.
23254         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
23255         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
23256         * elf/dl-sysdep.c (_dl_auxv): Remove.
23257         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
23258         * elf/dl-support.c (_dl_auxv): New variable.
23259         (_dl_aux_init): Initialize it.
23260         * manual/startup.texi (Auxiliary Vector): New node.
23261         * sysdeps/generic/bits/hwcap.h: New file.
23262         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
23263         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
23264         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
23265         * sysdeps/sparc/sysdep.h: ... here.  Include it.
23266         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
23267         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
23268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23269         Update.
23270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
23271         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
23272         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
23273         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
23274         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23275         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23276         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
23277         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
23279 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23281         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23283 2012-05-19  David S. Miller  <davem@davemloft.net>
23285         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23287 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
23289         [BZ #14123]
23290         * math/s_ccosh.c: Include <float.h>
23291         (__ccosh): Avoid internal overflow calculating sinh and cosh
23292         values before multiplying by sin and cos values.
23293         * math/s_ccoshf.c: Likewise.
23294         * math/s_ccoshl.c: Likewise.
23295         * math/s_csin.c: Likewise.
23296         * math/s_csinf.c: Likewise.
23297         * math/s_csinl.c: Likewise.
23298         * math/s_csinh.c: Likewise.
23299         * math/s_csinhf.c: Likewise.
23300         * math/s_csinhl.c: Likewise.
23301         * math/libm-test.inc (ccos_test): Add more tests.
23302         (ccosh_test): Likewise.
23303         (csin_test): Likewise.
23304         (csinh_test): Likewise.
23305         * sysdeps/i386/fpu/libm-test-ulps: Update.
23306         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23308 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
23310         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
23311         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
23313         * sysdeps/x86_64/x32/_itoa.h: Add comment.
23315 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
23317         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
23318         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
23319         * sysdeps/powerpc/soft-fp/Versions: Likewise.
23320         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
23321         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
23322         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
23323         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
23324         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
23325         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
23326         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
23327         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
23328         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
23329         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
23330         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
23331         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
23332         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
23333         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
23334         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
23335         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
23336         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
23337         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
23338         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
23339         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
23340         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
23341         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
23342         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
23343         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
23344         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
23345         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
23346         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
23347         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
23349 2012-05-18  Andreas Jaeger  <aj@suse.de>
23351         * csu/.gitignore: Delete.
23353 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
23355         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
23356         (timex): Use __syscall_slong_t.
23358 2012-05-18  Andreas Jaeger  <aj@suse.de>
23359             Carlos O'Donell  <carlos_odonell@mentor.com>
23361         * manual/install.texi (Configuring and compiling): Update
23362         description about files modified in the source directory.
23363         * INSTALL: Regenerated.
23365 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
23367         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
23368         value.  Use "or" to set return value to -1.
23369         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
23370         negate return value.
23372 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23374         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
23375         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
23376         failure if the compiler has Graphite support disabled.
23377         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
23378         Likewise.
23379         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
23380         CFLAGS-memmove.c): Likewise.
23381         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
23382         Likewise.
23384 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
23386         * sysdeps/x86_64/x32/_itoa.h: New file.
23388         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
23389         getdents system call only if kernel and user dirents have the
23390         same d_ino and d_off.
23392         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
23393         LLONG_MAX != LONG_MAX.
23394         (_itoa_word): Use _ITOA_WORD_TYPE on value.
23395         (_fitoa_word): Likewise.
23397         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
23398         years.
23399         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
23400         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
23401         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
23403         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
23404         include <bits/wordsize.h>.  Check __x86_64__ instead of
23405         __WORDSIZE.
23406         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
23407         if __x86_64__ is defined.  Use anonymous union on fpstate.
23409         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
23410         anonymous union.
23412 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
23414         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
23415         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
23416         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
23417         Refer to _rtld_local_ro instead of _rtld_global_ro.
23418         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
23419         Likewise.
23420         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
23421         Likewise.
23422         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
23423         Likewise.
23424         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
23425         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
23426         of _rtld_global, and rtld_progname instead of _dl_argv[0].
23428         * sysdeps/powerpc/powerpc32/dl-machine.c
23429         (__elf_machine_runtime_setup) [PROF]: Don't reference
23430         _dl_prof_resolve.
23432 2012-05-18  Andreas Jaeger  <aj@suse.de>
23434         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
23435         function only available for GCCs before 3.4 since GCC 3.4
23436         introduced a builtin.
23437         (lrint): Likewise.
23438         (llrintf): Likewise.
23439         (llrint): Likewise.
23440         (fmaxf): Likewise.
23441         (fmax): Likewise.
23442         (fminf): Likewise.
23443         (fmin): Likewise.
23444         (rint): Likewise.
23445         (rintf): Likewise.
23446         (nearbyint): Likewise.
23447         (nearbyintf): Likewise.
23448         (ceil): Likewise.
23449         (ceilf): Likewise.
23450         (floor): Likewise.
23451         (floorf): Likewise.
23453 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
23455         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
23456         on both fields and cast pointer to __syscall_ulong_t.
23458         * bits/types.h (__fsword_t): New type.
23459         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
23460         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
23461         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23462         (__FSWORD_T_TYPE): Likewise.
23463         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23464         (__FSWORD_T_TYPE): Likewise.
23465         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23466         (__FSWORD_T_TYPE): Likewise.
23467         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
23468         (__FSWORD_T_TYPE): Likewise.
23469         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
23470         __SWORD_TYPE with __fsword_t.
23471         (statfs64): Likewise.
23473 2012-05-17  David S. Miller  <davem@davemloft.net>
23475         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
23477 2012-05-17  Andreas Jaeger  <aj@suse.de>
23479         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
23480         warning.
23482 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
23484         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
23486 2012-05-17  Andreas Jaeger  <aj@suse.de>
23488         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
23489         when it is used.
23491 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
23493         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
23495 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
23497         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
23498         * sysdeps/x86_64/tst-mallocalign1.c: New file.
23500 2012-05-17  Andreas Jaeger  <aj@suse.de>
23501             Carlos O'Donell  <carlos_odonell@mentor.com>
23503         [BZ #14059]
23504         * sysdeps/x86_64/multiarch/init-arch.h
23505         (bit_YMM_Usable): Rename to...
23506         (bit_AVX_Usable): ... this.
23507         (bit_FMA4_Usable): New macro.
23508         (bit_XMM_state): New macro.
23509         (bit_YMM_state): New macro.
23510         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
23511         [__ASSEMBLER__] (index_AVX_Usable): ... this.
23512         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
23513         (CPUID_OSXSAVE): New macro.
23514         (CPUID_AVX): New macro.
23515         (CPUID_FMA4): New macro.
23516         (index_YMM_Usable): Rename to...
23517         (index_AVX_Usable): ... this.
23518         (HAS_AVX): Use HAS_ARCH_FEATURE.
23519         (HAS_FMA4): Likewise.
23520         (HAS_YMM_USABLE): Remove.
23521         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23522         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
23523         are present.
23524         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
23525         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
23526         * sysdeps/x86_64/multiarch/Makefile: Likewise.
23527         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
23528         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
23530 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
23532         * math/libm-test.c: Support platforms without multiple rounding modes.
23533         * math/bug-nextafter.c: Support platforms without FP exceptions.
23534         * math/bug-nexttoward.c: Likewise.
23535         * math/test-fenv.c: Likewise.
23536         * math/test-misc.c: Likewise.
23537         * stdlib/bug-getcontext.c: Likewise.
23539 2012-05-17  Andreas Jaeger  <aj@suse.de>
23541         * manual/examples/search.c (critter_cmp): Change signature to
23542         avoid warnings.
23543         * manual/string.texi (Collation Functions): Likewise.
23545 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
23547         * bits/types.h: Fold copyright years.
23548         * bits/typesizes.h: Likewise.
23549         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
23550         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
23551         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
23552         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
23553         * time/time.h: Likewise.
23555 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
23557         [BZ #208]
23558         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
23559         in instead of returning them.  Return void.
23560         (__libc_mallinfo): Accumulate over all arenas.
23561         (__malloc_stats): Adjust for change in int_mallinfo interface.
23563 2012-05-16  Roland McGrath  <roland@hack.frob.com>
23565         [BZ #10375]
23566         * configure.in (NM): Add AC_CHECK_TOOL for it.
23567         (libc_extra_cflags): New substituted variable.
23568         Check for -fstack-protector being used implicitly.
23569         * configure: Regenerated.
23570         * config.make.in (config-extra-cflags): New variable,
23571         gets @libc_extra_cflags@.
23572         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
23574         [BZ #10375]
23575         * configure.in: Check for _FORTIFY_SOURCE being predefined.
23576         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
23577         * configure: Regenerated.
23578         * config.make.in (CPPUNDEFS): New substituted variable.
23579         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
23580         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
23581         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
23583 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
23585         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
23586         (mq_attr): Use __syscall_slong_t.
23588 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
23590         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
23591         Check __x86_64__ instead of __WORDSIZE.
23592         (_STAT_VER_LINUX): Likewise.
23593         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
23594         __syscall_ulong_t and __syscall_slong_t.
23595         (stat64): Likewise.
23597 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
23599         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
23601 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
23603         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
23605 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
23607         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
23608         __syscall_ulong_t.
23610         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
23611         include <bits/wordsize.h>.  Check __x86_64__ instead of
23612         __WORDSIZE.
23613         (greg_t): Use "__extension__ long long int" if __x86_64__ is
23614         defined.
23615         (mcontext_t): Replace "unsigned long" with "unsigned long long".
23617         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
23618         include <bits/wordsize.h>.  Check __x86_64__ instead of
23619         __WORDSIZE.
23620         (user_regs_struct): Use "__extension__ unsigned long long"
23621         instead of "unsigned long" if __x86_64__ is defined.
23622         (user): Likewise.  Pad after pointer field if __ILP32__ is
23623         defined.
23625 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
23627         * configure.in (makeinfo): Require version 4.5 or later.  Allow
23628         versions 5 to 9.
23629         * configure: Regenerated.
23630         * manual/install.texi (texinfo): Increase version requirement to
23631         4.5 or later.
23632         * INSTALL: Regenerated.
23634         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
23636 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
23638         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
23640         * sysdeps/x86_64/x32/ffs.c: New file.
23642         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
23643         __syscall_ulong_t.
23644         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
23645         defined.  Use __syscall_ulong_t.
23646         (shminfo): Use __syscall_ulong_t.
23647         (shm_info): Likewise.
23649         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
23650         __syscall_ulong_t.
23652         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
23653         <bits/wordsize.h>.
23654         (msgqnum_t): Use __syscall_ulong_t.
23655         (msglen_t): Likewise.
23656         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
23657         __syscall_ulong_t.
23659         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
23660         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
23662         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
23664         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
23665         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
23667         * sysvipc/sys/msg.h (msgbuf): Replace long int with
23668         __syscall_slong_t.
23670         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
23671         include <bits/wordsize.h>.  Check __x86_64__ instead of
23672         __WORDSIZE.
23674         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
23675         "unsigned long long int" if __x86_64__ is defined.
23676         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
23678         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
23679         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
23680         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
23682         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
23683         <stdint.h>.
23684         (GET_PC): Cast to uintptr_t first.
23685         (GET_FRAME): Likewise.
23686         (GET_STACK): Likewise.
23688         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
23689         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
23690         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
23691         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
23692         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
23693         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
23694         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
23695         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
23696         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
23697         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
23698         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
23699         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
23700         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
23701         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
23702         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
23703         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
23704         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
23705         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
23706         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
23707         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
23708         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
23709         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
23710         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
23711         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
23712         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
23713         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
23714         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
23715         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
23716         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
23718 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
23720         * Makerules (+depfiles): Also collect depfiles from .oS in
23721         $(extra-objs).
23722         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
23723         .oS, $(libnldbl-routines)).
23725         * Makerules (native-compile-mkdep-flags): Define.
23726         * sunrpc/Makefile (extra-objs): Add $(addprefix
23727         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
23728         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
23729         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
23730         calling $(make-target-directory).
23732 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23734         * bits/types.h (__snseconds_t): Removed.
23735         * time/time.h (struct timespec): Replace __snseconds_t with
23736         __syscall_slong_t.
23737         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
23738         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
23739         Likewise.
23740         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23741         (__SNSECONDS_T_TYPE): Likewise.
23742         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23743         (__SNSECONDS_T_TYPE): Likewise.
23744         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23745         (__SNSECONDS_T_TYPE): Likewise.
23747 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23749         * sysdeps/mach/hurd/bits/typesizes.h
23750         (__SYSCALL_SLONG_TYPE): New macro.
23751         (__SYSCALL_ULONG_TYPE): Likewise.
23753 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23755         * bits/types.h (__syscall_slong_t): New type.
23756         (__syscall_ulong_t): Likewise.
23758         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
23759         (__SYSCALL_ULONG_TYPE): Likewise.
23760         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23761         (__SYSCALL_SLONG_TYPE): Likewise.
23762         (__SYSCALL_ULONG_TYPE): Likewise.
23763         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23764         (__SYSCALL_SLONG_TYPE): Likewise.
23765         (__SYSCALL_ULONG_TYPE): Likewise.
23766         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23767         (__SYSCALL_SLONG_TYPE): Likewise.
23768         (__SYSCALL_ULONG_TYPE): Likewise.
23770 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23772         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
23773         Add sigaltstack-offsets.sym.
23774         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
23775         <sigaltstack-offsets.h>.
23776         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
23777         longjmp_msg pointer.
23778         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
23779         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
23780         signal stack.
23781         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
23783 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
23785         * elf/stackguard-macros.h: Remove file.
23786         * sysdeps/generic/stackguard-macros.h: New file.
23787         * sysdeps/i386/stackguard-macros.h: Likewise.
23788         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
23789         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
23790         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
23791         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
23792         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
23793         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
23794         * sysdeps/x86_64/stackguard-macros.h: Likewise.
23795         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
23796         <elf/stackguard-macros.h>.
23798         [BZ #14109]
23799         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
23800         __aligned__ in attribute.
23801         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
23802         (gregset_t): Likewise.
23804 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23806         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
23807         * sysdeps/x86_64/64/Implies-after: Here.  New file.
23808         * sysdeps/x86_64/x32/Implies-after: New file.
23810 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23812         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
23813         and access return value for _dl_profile_fixup.  Use R10_LP to
23814         load frame size.
23816 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23818         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
23820 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23822         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
23823         * sysdeps/x86_64/x32/sysdep.h: New file.
23825 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23827         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
23828         * sysdeps/x86_64/setjmp.S: Likewise.
23830 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23832         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
23833         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
23834         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
23835         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
23836         remove unused global constant.
23838 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
23840         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
23841         include of <not-cancel.h>.
23843 2012-05-15  Roland McGrath  <roland@hack.frob.com>
23845         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
23847 2012-05-15  Jeff Law  <law@redhat.com>
23848             Andreas Jaeger  <aj@suse.de>
23850         [BZ #13594]
23851         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
23852         out from...
23853         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
23854         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
23855         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
23856         code changing __hst_map_handle.map.
23858 2012-05-15  Roland McGrath  <roland@hack.frob.com>
23860         * configure.in (sysnames): Look for Implies-before and Implies-after
23861         files.
23862         * configure: Regenerated.
23864 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23866         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
23867         8-byte data alignment with LP_SIZE alignment.
23869 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23871         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
23872         into R10_LP.
23874 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23876         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
23878 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23880         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
23881         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
23882         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
23883         Likewise.
23884         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
23886 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23888         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
23889         (stackinfo_sub_sp): Likewise.
23891 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23893         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
23894         RAX_LP.
23896 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23898         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
23899         into R*_LP.
23901 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23903         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
23904         sizes into R*_LP.
23906 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23908         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
23910 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23912         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
23913         into R11_LP and load __x86_64_shared_cache_size_half into
23914         R8_LP.
23916 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23918         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
23919         R8_LP.
23921 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23923         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
23924         logb for POWER7.
23925         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
23926         logbf for POWER7.
23927         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
23928         logbl for POWER7.
23929         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
23930         powerpc32/power7/fpu/s_logb.c via #include.
23931         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
23932         powerpc32/power7/fpu/s_logbf.c via #include.
23933         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
23934         powerpc32/power7/fpu/s_logbl.c via #include.
23936 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
23938         * README.libm: Remove file.
23940 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
23942         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
23943         count for x32.  Use R*_LP and omit operand-size suffix.
23945 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
23947         * shlib-versions: Move x86_64-.*-linux.* entries to ...
23948         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
23949         * sysdeps/x86_64/x32/shlib-versions: New file.
23951 2012-05-14  Roland McGrath  <roland@hack.frob.com>
23953         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
23954         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
23955         Use _dl_fatal_printf instead.
23957 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
23959         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
23960         set if not set by the user.  Do not allow for being unset.
23961         * sysdeps/unix/sysv/linux/configure: Regenerated.
23963 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
23965         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
23966         the `q' suffix from lea and replace .quad with ASM_ADDR.
23968 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
23970         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
23971         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
23972         instead of $17.
23973         (PTR_DEMANGLE): Likewise.
23975 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
23977         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
23978         (LP_OP): Likewise.
23979         (ASM_ADDR): Likewise.
23980         (RAX_LP): Likewise.
23981         (RBP_LP): Likewise.
23982         (RBX_LP): Likewise.
23983         (RCX_LP): Likewise.
23984         (RDI_LP): Likewise.
23985         (RSI_LP): Likewise.
23986         (RSP_LP): Likewise.
23987         (R8_LP): Likewise.
23988         (R9_LP): Likewise.
23989         (R10_LP): Likewise.
23990         (R10_LP): Likewise.
23991         (R11_LP): Likewise.
23992         (R12_LP): Likewise.
23993         (R13_LP): Likewise.
23994         (R14_LP): Likewise.
23995         (R15_LP): Likewise.
23997 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
23999         * sysdeps/x86_64/x32/dl-machine.h: New file.
24001 2012-05-14  Andreas Jaeger  <aj@suse.de>
24003         * manual/Makefile (subdir): Remove export of subdir.
24004         (all): Remove target.
24005         (.PHONY): Remove all from list.
24006         (mkinstalldirs): Remove.
24007         (.PHONY): Remove installdirs from list.
24008         ($(inst_infodir)/libc.info): Use make-target-directory.
24009         (installdirs): Remove.
24010         (subdir_%): Remove.
24011         (glibc-targets): Remove.
24012         (lib): Remove.
24013         (stubs): Remove.
24014         ($(objpfx)stubs ../po/manual.pot): Remove.
24015         ($(objpfx)stamp%): Remove.
24016         (make-target-directory): Remove.
24017         (subdir_install): Remove.
24018         (routines): Remove.
24019         (aux): Remove.
24020         (sources): Remove.
24021         (objects): Remove.
24022         (headers): Remove.
24024         [BZ #13750]
24025         * manual/.gitignore: Remove, it's not needed anymore.
24026         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
24027         all files in it.
24028         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
24029         directory.
24030         (texis): Renamed to $(objpfx)texis.
24031         (texis-path): New, contains path to generated files.
24032         (chapters.%): Use texis-path for complete path, add extra argument
24033         libc-texinfo.sh.
24034         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
24035         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
24036         (summary,texi, stamp-summary): Use complete path of
24037         files. Generate files in build dir.
24038         (dir-add.texi): Build in build dir.
24039         (libm-err.texi,stamp-libm-err): Likewise.
24040         (version.texi, stamp-version): Likewise.
24041         (.%c.texi): Likewise.
24042         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
24043         (mostlyclean): Remove target.
24044         (realclean): Remove target.
24045         (generated): Add new variable with contents from mostlyclean and
24046         realclean, remove entries duplicated in common-mostlyclean, add
24047         stamp-libm-err and stamp-version.
24048         (generated-dirs): Add libc directory.
24049         ($(inst_infodir)/libc.info): Install files from build dir.
24051         * manual/install.texi (Configuring and compiling): Adjust since
24052         the info files are not part of the tar ball anymore.
24054 2012-05-14  Andreas Jaeger  <aj@suse.de>
24056         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
24057         variable.
24059 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
24061         [BZ #13717]
24062         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
24063         to 2.2.0 where earlier.
24064         * sysdeps/unix/sysv/linux/configure: Regenerated.
24065         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
24066         Remove conditional code.
24067         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
24068         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
24069         Remove conditional code.
24070         [!__NR_lchown]: Likewise.
24071         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24072         [__NR_lchown]: Likewise.
24073         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
24074         comment referencing __ASSUME_LCHOWN_SYSCALL.
24075         * sysdeps/unix/sysv/linux/i386/sigaction.c
24076         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24077         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24078         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
24079         Remove conditional code.
24080         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
24081         (__protocol_available): Remove #if 0 code.
24082         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
24083         conditional code.
24084         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
24085         * sysdeps/unix/sysv/linux/kernel-features.h
24086         (__ASSUME_GETCWD_SYSCALL): Don't define.
24087         (__ASSUME_REALTIME_SIGNALS): Likewise.
24088         (__ASSUME_PREAD_SYSCALL): Likewise.
24089         (__ASSUME_PWRITE_SYSCALL): Likewise.
24090         (__ASSUME_POLL_SYSCALL): Likewise.
24091         (__ASSUME_LCHOWN_SYSCALL): Likewise.
24092         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
24093         non-SPARC.
24094         (__ASSUME_SIOCGIFNAME): Don't define.
24095         (__ASSUME_MSG_NOSIGNAL): Likewise.
24096         (__ASSUME_SENDFILE): Define unconditionally.
24097         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
24098         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
24099         conditional code.
24100         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
24101         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
24102         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24103         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24104         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
24105         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24106         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
24108         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24109         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
24111         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24112         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
24114         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24115         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
24117         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24118         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
24120         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24121         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
24123         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24124         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
24126         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24127         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
24129         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24130         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24131         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
24132         Remove conditional code.
24133         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24134         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24135         Remove conditional code.
24136         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24137         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
24138         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
24139         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24140         Remove conditional code.
24141         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24142         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
24143         Remove conditional code.
24144         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24145         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
24146         Remove conditional code.
24147         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24148         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24149         Remove conditional code.
24150         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24151         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24152         Remove conditional code.
24153         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24154         * sysdeps/unix/sysv/linux/sh/pwrite64.c
24155         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24156         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24157         * sysdeps/unix/sysv/linux/sigaction.c
24158         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24159         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24160         * sysdeps/unix/sysv/linux/sigpending.c
24161         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24162         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24163         * sysdeps/unix/sysv/linux/sigprocmask.c
24164         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24165         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24166         * sysdeps/unix/sysv/linux/sigsuspend.c
24167         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24168         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24169         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
24170         (__libc_missing_rt_sigs): Remove.
24171         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
24172         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
24173         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
24174         Remove conditional code.
24175         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
24176         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
24177         return 1.
24178         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
24179         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
24180         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
24181         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
24183 2012-05-14  Andreas Jaeger  <aj@suse.de>
24185         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
24186         it's not used in glibc.
24187         (__coshm1): Likewise.
24188         (__acosh1p): Likewise.
24189         (__sgn): Likewise.
24191         * manual/string.texi (Copying and Concatenation): Add missing
24192         variable in concat example.
24193         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
24195 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24197         [BZ #14103]
24198         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
24199         __builtin_clzl with __builtin_clzll.
24201 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24203         [BZ #14104]
24204         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
24205         libc_freeres_ptr.
24207 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24209         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
24210         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
24211         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
24212         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
24214 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
24216         * NEWS: Update ia64 info.
24218 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
24220         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
24221         used as bcopy.
24223 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
24225         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
24226         * sysdeps/unix/syscalls.list (dup3): Likewise.
24227         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
24228         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
24230 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
24232         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
24233         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
24235 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
24237         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
24238         thread pointer.
24239         (TLS_IE): Use mov/add instead of movq/addq to load thread
24240         pointer.
24241         (TLS_GD_PREFIX): New.
24242         (TLS_GD): Use it.
24244 2012-05-11  David S. Miller  <davem@davemloft.net>
24246         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
24247         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
24248         (_FPU_SETCW): Likewise.
24250 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
24252         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
24253         is 32-byte aligned.
24255 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
24257         [BZ #11837]
24258         * iconvdata/gb18030.c: Update tables.
24259         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
24260         characters specially.
24261         (BODY for TO_LOOP): Add encoding of missing ranges.
24263 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
24265         [BZ #13673]
24266         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
24267         * sysdeps/mach/hurd/dup3.c: Likewise.
24268         * sysdeps/mach/hurd/readlinkat.c: Likewise.
24269         * sysdeps/powerpc/memmove.c:: Likewise.
24271 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
24273         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
24274         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
24276 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
24278         * elf/elf.h (R_X86_64_RELATIVE64): New.
24279         (R_X86_64_NUM): Updated.
24280         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24281         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
24282         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
24283         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
24284         tst-quad1pie tst-quad2pie
24285         (modules-names): Add tst-quadmod1 tst-quadmod2.
24286         ($(objpfx)tst-quad1): New dependency.
24287         ($(objpfx)tst-quad2): Likewise.
24288         ($(objpfx)tst-quad1pie): Likewise.
24289         ($(objpfx)tst-quad2pie): Likewise.
24290         * sysdeps/x86_64/tst-quad1.c: New file.
24291         * sysdeps/x86_64/tst-quad1pie.c: New file.
24292         * sysdeps/x86_64/tst-quad2.c: Likewise.
24293         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
24294         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
24295         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
24296         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
24297         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
24299 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24301         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
24302         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
24303         * streams/stropts.h (t_scalar_t): Define type.
24305         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
24306         (_PATH_PRESERVE): Set to "/var/lib".
24307         (_PATH_RWHODIR): Set to "/var/spool/rwho".
24309         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
24310         instead of int.
24312         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
24313         if __dir_mkfile succeeded.
24315         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
24316         checking for _hurd_dtablesize.  Unlock it right after having
24317         finished _hurd_dtable allocation.
24319 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24321         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
24322         * sysdeps/mach/hurd/configure: Regenerated.
24323         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
24324         special-casing to...
24325         * sysdeps/gnu/configure.in: ... this new file.
24326         * sysdeps/unix/sysv/linux/configure: Regenerated.
24327         * sysdeps/gnu/configure: New generated file.
24329         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
24330         for Linux: use nsec instead of usec, as well as:
24331         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
24332         members of type struct timespec.
24333         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
24334         New macros.
24335         (struct stat64): Likewise.
24336         (_STATBUF_ST_NSEC): New macro.
24337         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
24339         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
24340         __strtoul_internal rather than strtoul.
24342 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
24344         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
24345         and reject them.
24347 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24349         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
24350         which preserves existing values.
24351         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
24353 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
24355         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
24356         TIMEOUT values.  Return EINVAL for NFDS values either negative or
24357         greater than FD_SETSIZE.
24359 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24361         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
24362         allocated, call __vm_protect to finish enabling the existing space, and
24363         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
24364         allocate the remainder.
24366 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
24368         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
24369         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
24371 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24373         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
24374         sysdeps/mach/hurd/readlink.c.
24376         * posix/tst-sysconf.c (posix_options): Only use
24377         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
24378         _POSIX_SYNCHRONIZED_IO when they are defined
24379         * sysdeps/mach/hurd/bits/posix_opt.h:
24380         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
24381         (_XOPEN_REALTIME): Undefine macro.
24382         (_XOPEN_REALTIME_THREADS): Undefine macro.
24383         (_XOPEN_SHM): Undefine macro.
24384         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
24385         macro to -1.
24386         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
24387         macro to -1.
24388         (_POSIX_ASYNC_IO): Undefine macro.
24389         (_POSIX_PRIORITIZED_IO): Undefine macro.
24390         (_POSIX_SPIN_LOCKS): Define macro to -1.
24392         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
24393         SA_NODEFER, SA_RESETHAND.
24394         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
24395         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
24396         F_DUPFD_CLOEXEC.
24398 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24400         * elf/Makefile (pldd-modules): Define unconditionally.
24402 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24404         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
24406 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24408         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
24409         Return ENOENT when name is empty.
24410         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
24412 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24414         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
24416         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
24418 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24420         Fix mlock in all cases except non-readable pages.
24421         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
24422         instead of VM_PROT_ALL as parameter to __vm_wire function.
24424         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
24425         (__mkdir): When path is `/', just fail with EEXIST.
24426         * sysdeps/mach/hurd/mkdirat.c: Likewise.
24428 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24430         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
24431         <sys/uio.h> (for writev).
24432         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
24433         and <sys/param.h> (for MIN).
24435 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
24437         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
24438         REQUESTED_TIME.  Properly set the remaining time and return EINTR
24439         if interrupted.
24441 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24443         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
24444         Depend on against $(link-rpcuserlibs).
24446 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24448         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
24449         (__libc_stack_end): Do not use attribute_relro.
24450         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
24451         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
24452         to libthread-provided value.
24453         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
24454         attribute_relro.
24456 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24458         [BZ #3748]
24459         * bits/libc-lock.h (__libc_once_get): New macro.
24460         * sysdeps/mach/bits/libc-lock.h: Likewise.
24461         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
24462         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
24463         instead of using implementation details.
24465         * libio/fileops.c: Unconditionally include <kernel-features.h>.
24466         * libio/freopen.c: Likewise.
24467         * libio/freopen64.c: Likewise.
24468         * misc/syslog.c: Likewise.
24469         * nscd/connections.c: Likewise.
24470         * nscd/netgroupcache.c: Likewise.
24471         * sysdeps/posix/getcwd.c: Likewise.
24473 2012-05-10  Roland McGrath  <roland@hack.frob.com>
24475         * math/w_ilogbf.c: Add #include <limits.h>.
24477 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24479         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
24480         path instead of returning without unlocking.
24482         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
24483         immediate-write ioctls.
24484         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
24486 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24488         * sysdeps/mach/hurd/i386/init-first.c (init): Use
24489         __builtin_frame_address instead of making assumptions about the
24490         location of the return address relative to DATA.  Force early load of
24491         the return address.
24492         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
24493         __builtin_frame_address.
24495         dup3 for GNU Hurd.
24496         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
24497         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
24498         implement dup3 and do some further code clean-ups.
24499         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
24500         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
24502 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24504         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
24506         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
24507         HURD_CRITICAL_END around holding _hurd_dtable_lock.
24508         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
24509         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
24510         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
24511         d->port.lock.
24513         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
24514         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
24515         when handler == SIG_ERR, not when handler != SIG_ERR.
24517 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24519         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
24520         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
24521         definitions.
24523         accept4 for GNU Hurd.
24524         * include/sys/socket.h (__libc_accept4): New prototype.
24525         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
24526         to implement __libc_accept4.
24527         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
24528         __libc_accept4.
24529         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
24531         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
24532         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
24533         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
24534         signal-defines.sym.
24536 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24538         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
24540 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24542         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
24543         assertion on O_CLOEXEC flag.
24544         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
24545         * hurd/intern-fd.c: Likewise.
24546         * hurd/port2fd.c: Likewise.
24548 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24550         [BZ #3906]
24551         * bits/in.h (IPV6_PKTINFO): Define new macro.
24552         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
24554 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24556         [BZ #13954]
24557         [BZ #13955]
24558         [BZ #13956]
24559         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
24560         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
24561         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
24562         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
24563         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24564         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
24565         * math/libm-test.inc (logb_test) : Additional logb tests.
24567 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
24568             Andreas Jaeger  <aj@suse.de>
24570         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
24571         * configure: Regenerated.
24572         * config.h.in (LINK_OBSOLETE_RPC): New macro.
24573         * config.make.in (link-obsolete-rpc): New substituted variable.
24574         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
24575         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
24576         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
24577         (shared-only-routines): Don't set it under [link-obsolete-rpc],
24578         so that libc.a contains the symbols.
24579         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
24580         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
24581         * sunrpc/auth_none.c: Likewise.
24582         * sunrpc/auth_unix.c: Likewise.
24583         * sunrpc/authdes_prot.c: Likewise.
24584         * sunrpc/authuxprot.c: Likewise.
24585         * sunrpc/clnt_gen.c: Likewise.
24586         * sunrpc/clnt_perr.c: Likewise.
24587         * sunrpc/clnt_raw.c: Likewise.
24588         * sunrpc/clnt_simp.c: Likewise.
24589         * sunrpc/clnt_tcp.c: Likewise.
24590         * sunrpc/clnt_udp.c: Likewise.
24591         * sunrpc/clnt_unix.c: Likewise.
24592         * sunrpc/des_crypt.c: Likewise.
24593         * sunrpc/des_soft.c: Likewise.
24594         * sunrpc/get_myaddr.c: Likewise.
24595         * sunrpc/key_call.c: Likewise.
24596         * sunrpc/key_prot.c: Likewise.
24597         * sunrpc/netname.c: Likewise.
24598         * sunrpc/pm_getmaps.c: Likewise.
24599         * sunrpc/pm_getport.c: Likewise.
24600         * sunrpc/pmap_clnt.c: Likewise.
24601         * sunrpc/pmap_prot.c: Likewise.
24602         * sunrpc/pmap_prot2.c: Likewise.
24603         * sunrpc/pmap_rmt.c: Likewise.
24604         * sunrpc/publickey.c: Likewise.
24605         * sunrpc/rpc_cmsg.c: Likewise.
24606         * sunrpc/rpc_common.c: Likewise.
24607         * sunrpc/rpc_dtable.c: Likewise.
24608         * sunrpc/rpc_prot.c: Likewise.
24609         * sunrpc/rpc_thread.c: Likewise.
24610         * sunrpc/rtime.c: Likewise.
24611         * sunrpc/svc.c: Likewise.
24612         * sunrpc/svc_auth.c: Likewise.
24613         * sunrpc/svc_raw.c: Likewise.
24614         * sunrpc/svc_run.c: Likewise.
24615         * sunrpc/svc_tcp.c: Likewise.
24616         * sunrpc/svc_udp.c: Likewise.
24617         * sunrpc/svc_unix.c: Likewise.
24618         * sunrpc/svcauth_des.c: Likewise.
24619         * sunrpc/xcrypt.c: Likewise.
24620         * sunrpc/xdr.c: Likewise.
24621         * sunrpc/xdr_array.c: Likewise.
24622         * sunrpc/xdr_float.c: Likewise.
24623         * sunrpc/xdr_intXX_t.c: Likewise.
24624         * sunrpc/xdr_mem.c: Likewise.
24625         * sunrpc/xdr_rec.c: Likewise.
24626         * sunrpc/xdr_ref.c: Likewise.
24627         * sunrpc/xdr_sizeof.c: Likewise.
24628         * sunrpc/xdr_stdio.c: Likewise.
24630 2012-05-10  Roland McGrath  <roland@hack.frob.com>
24632         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
24633         change.  Update copyright years.
24635 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
24637         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
24639 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
24640             Joseph Myers  <joseph@codesourcery.com>
24641             Paul Pluzhnikov  <ppluzhnikov@google.com>
24643         [BZ #14012]
24644         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
24645         requiring rpcgen.
24646         [cross-compiling] (extra-libs): Likewise.
24647         [cross-compiling] (extra-libs-others): Likewise.
24648         [cross-compiling] (librpcsvc-routines): Likewise.
24649         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
24650         [cross-compiling] (omit-deps): Likewise.
24651         (sunrpc-CPPFLAGS): New variable.
24652         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
24653         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
24654         (cross-rpcgen-objs): New variable.
24655         (extra-objs): Append $(cross-rpcgen-objs).
24656         ($(cross-rpcgen-objs)): New rule.
24657         ($(objpfx)cross-rpcgen): Likewise.
24658         (rpcgen-cmd): Define to use $(built-program-file).  Expand
24659         comment.
24660         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
24661         ($(objpfx)x%.stmp): Likewise.
24662         * sunrpc/proto.h [IS_IN_build] (_): Define.
24663         [IS_IN_build] (_libc_intl_domainname): Likewise.
24665 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
24667         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
24668         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
24669         and R_X86_64_TPOFF64.
24671 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
24673         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
24674         sysdeps/unix/sysv/syscalls.list.
24675         (stime): Likewise.
24676         (utime): Likewise.
24677         * sysdeps/unix/sysv/syscalls.list: Remove file.
24679 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
24681         [BZ #3440]
24682         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
24683         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
24684         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
24685         (__LC_IDENTIFICATION): Make these macros useful in #if
24686         expressions, as required by C99.
24688 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
24690         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
24691         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
24692         after this.
24694 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
24696         * stdlib/longlong.h: Updated from GCC.
24698 2012-05-09  Andreas Jaeger  <aj@suse.de>
24700         * nscd/nscd.c (run_modes): Make named enum, reorder so that
24701         default is first entry.
24702         (run_mode): Set type.
24703         (main): Remove informal message about syslog.
24704         (options): Fix typo.
24706         [BZ #14053]
24707         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
24708         to asm.
24709         (lrint): Likewise.
24710         (llrintf): Likewise.
24711         (llrint): Likewise.
24712         (rint): Likewise.
24713         (rintf): Likewise.
24714         (nearbyint): Likewise.
24715         (nearbyintf): Likewise.
24717 2012-05-09  Andreas Jaeger  <aj@suse.de>
24718             Pedro Alves  <palves@redhat.com>
24720         * nscd/nscd.c (run_mode): Use enum.
24721         (main): Cleanup coding style issue.
24723 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
24724             Andreas Jaeger  <aj@suse.de>
24726         * nscd/nscd.c (go_background): Replaced with...
24727         (run_mode): ... this.
24728         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
24729         (options): Add -F --foreground.
24730         (main): Implement it.
24731         (parse_opt): Parse it.
24733 2012-05-09  Andreas Jaeger  <aj@suse.de>
24735         [BZ #14083]
24736         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
24737         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
24738         -Wconversion warning.
24739         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
24740         Likewise.
24742 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
24744         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
24745         == 0.
24746         (LC_ALL): Use macro-int-constant.
24747         (LC_COLLATE): Likewise.
24748         (LC_CTYPE): Likewise.
24749         (LC_MESSAGES): Likewise.
24750         (LC_MONETARY): Likewise.
24751         (LC_NUMERIC): Likewise.
24752         (LC_TIME): Likewise.
24753         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
24754         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
24755         [ISO || ISO99 || ISO11] (*_t): Do not allow.
24756         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
24757         Specify type.
24758         [C99-based standards] (float_t): Expect type.
24759         [C99-based standards] (double_t): Expect type.
24760         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
24761         type.
24762         [C99-based standards] (HUGE_VALL): Likewise.
24763         [C99-based standards] (INFINITY): Likewise.
24764         [C99-based standards] (NAN): Likewise.
24765         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
24766         [C99-based standards] (FP_NAN): Likewise.
24767         [C99-based standards] (FP_NORMAL): Likewise.
24768         [C99-based standards] (FP_SUBNORMAL): Likewise.
24769         [C99-based standards] (FP_ZERO): Likewise.
24770         [C99-based standards] (FP_FAST_FMA): Use
24771         optional-macro-int-constant.  Specify type.  Require == 1.
24772         [C99-based standards] (FP_FAST_FMAF): Likewise.
24773         [C99-based standards] (FP_FAST_FMAL): Likewise.
24774         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
24775         [C99-based standards] (FP_ILOGBNAN): Likewise.
24776         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
24777         Specify type.
24778         [C99-based standards] (MATH_ERREXCEPT): Likewise.
24779         [C99-based standards] (math_errhandling): Specify type.
24780         [ISO99 || ISO11] (signgam): Do not allow.
24781         [non-C99-based standards] (copysignf): Do not allow.
24782         [non-C99-based standards] (exp2f): Likewise.
24783         [non-C99-based standards] (log2f): Likewise.
24784         [non-C99-based standards] (modff): Allow.
24785         [non-C99-based standards] (erff): Do not allow.
24786         [non-C99-based standards] (erfcf): Likewise.
24787         [non-C99-based standards] (gammaf): Likewise.
24788         [non-C99-based standards] (hypotf): Likewise.
24789         [non-C99-based standards] (j0f): Likewise.
24790         [non-C99-based standards] (j1f): Likewise.
24791         [non-C99-based standards] (jnf): Likewise.
24792         [non-C99-based standards] (lgammaf): Likewise.
24793         [non-C99-based standards] (tgammaf): Likewise.
24794         [non-C99-based standards] (y0f): Likewise.
24795         [non-C99-based standards] (y1f): Likewise.
24796         [non-C99-based standards] (ynf): Likewise.
24797         [non-C99-based standards] (isnanf): Likewise.
24798         [non-C99-based standards] (acoshf): Likewise.
24799         [non-C99-based standards] (asinhf): Likewise.
24800         [non-C99-based standards] (atanhf): Likewise.
24801         [non-C99-based standards] (cbrtf): Likewise.
24802         [non-C99-based standards] (expm1f): Likewise.
24803         [non-C99-based standards] (ilogbf): Likewise.
24804         [non-C99-based standards] (log1pf): Likewise.
24805         [non-C99-based standards] (logbf): Likewise.
24806         [non-C99-based standards] (nextafterf): Likewise.
24807         [non-C99-based standards] (remainderf): Likewise.
24808         [non-C99-based standards] (rintf): Likewise.
24809         [non-C99-based standards] (scalbf): Likewise.
24810         [non-C99-based standards] (copysignl): Likewise.
24811         [non-C99-based standards] (exp2l): Likewise.
24812         [non-C99-based standards] (log2l): Likewise.
24813         [non-C99-based standards] (modfl): Allow.
24814         [non-C99-based standards] (erfl): Do not allow.
24815         [non-C99-based standards] (erfcl): Likewise.
24816         [non-C99-based standards] (gammal): Likewise.
24817         [non-C99-based standards] (hypotl): Likewise.
24818         [non-C99-based standards] (j0l): Likewise.
24819         [non-C99-based standards] (j1l): Likewise.
24820         [non-C99-based standards] (jnl): Likewise.
24821         [non-C99-based standards] (lgammal): Likewise.
24822         [non-C99-based standards] (tgammal): Likewise.
24823         [non-C99-based standards] (y0l): Likewise.
24824         [non-C99-based standards] (y1l): Likewise.
24825         [non-C99-based standards] (ynl): Likewise.
24826         [non-C99-based standards] (isnanl): Likewise.
24827         [non-C99-based standards] (acoshl): Likewise.
24828         [non-C99-based standards] (asinhl): Likewise.
24829         [non-C99-based standards] (atanhl): Likewise.
24830         [non-C99-based standards] (cbrtl): Likewise.
24831         [non-C99-based standards] (expm1l): Likewise.
24832         [non-C99-based standards] (ilogbl): Likewise.
24833         [non-C99-based standards] (log1pl): Likewise.
24834         [non-C99-based standards] (logbl): Likewise.
24835         [non-C99-based standards] (nextafterl): Likewise.
24836         [non-C99-based standards] (remainderl): Likewise.
24837         [non-C99-based standards] (rintl): Likewise.
24838         [non-C99-based standards] (scalbl): Likewise.
24839         [ISO || ISO99 || ISO11] (*_t): Do not allow.
24840         [non-C99-based standards] (FP_*): Do not allow.
24841         [C99-based standards] (FP_*): Change to
24842         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
24843         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24844         allow.
24845         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
24846         (SIG_ERR): Likewise.
24847         [X/Open-based standards] (SIG_HOLD): Likewise.
24848         (SIG_IGN): Likewise.
24849         (SIGABRT): Use macro-int-constant.  Specify type.  Require
24850         positive value.
24851         (SIGFPE): Likewise.
24852         (SIGILL): Likewise.
24853         (SIGINT): Likewise.
24854         (SIGSEGV): Likewise.
24855         (SIGTER): Likewise.
24856         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
24857         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
24858         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
24859         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
24860         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
24861         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
24862         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
24863         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
24864         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
24865         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
24866         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
24867         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
24868         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
24869         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
24870         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
24871         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
24872         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
24873         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
24874         [X/Open-based standards] (SIGTRAP): Likewise.
24875         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
24876         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
24877         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
24878         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
24879         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24880         allow.
24882 2012-05-08  Ian Wienand  <ianw@vmware.com>
24884         [BZ #14080]
24885         * time/tzset.c (__tzset_parse_tz): Update default rules for
24886         daylight time changes in the Energy Policy Act of 2005.
24888 2012-05-09  Andreas Jaeger  <aj@suse.de>
24890         [BZ #13983]
24891         * elf/ldconfig.c (parse_conf): Change string to make clear that
24892         ldconfig only issued a warning if ld.so.conf does not exist.
24894 2012-05-08  David S. Miller  <davem@davemloft.net>
24896         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
24897         movxtod instead of popping the value on the stack.
24899         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24901 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
24903         * config.h.in: Add HAVE_ARM_PCS_VFP.
24905 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
24907         [BZ #13979]
24908         * include/features.h: Warn if user requests __FORTIFY_SOURCE
24909         checking but the checks are disabled for any reason.
24911 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
24913         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
24914         and ELF64_R_TYPE with ELFW(R_TYPE).
24916 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
24918         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
24919         (ulimit): Likewise.
24921         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
24922         (settimeofday): Likewise.
24924 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
24926         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
24927         a struct th_u2 inside the union, and move tu_block/tu_code into
24928         a new th_u3 union of tu_block/tu_code inside of that.  Move
24929         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
24930         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
24931         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
24932         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
24933         (th_stuff): Change to th_u1.tu_stuff.
24934         (th_data): Define.
24935         (th_msg): Change to th_u1.th_u2.tu_data.
24937 2012-05-07  David S. Miller  <davem@davemloft.net>
24939         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24941         [BZ #14074]
24942         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
24943         (SETUP_PIC_REG): Use it.
24944         (SETUP_PIC_REG_LEAF): Use it.
24946 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
24948         [BZ #13885]
24949         [BZ #13923]
24950         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24951         USE_AS_EXPM1L.
24952         (EXPL_FINITE): Likewise.
24953         (FLDLOG): Likewise.
24954         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
24955         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
24956         e_expl.S.
24957         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24958         USE_AS_EXPM1L.
24959         (EXPL_FINITE): Likewise.
24960         (FLDLOG): Likewise.
24961         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
24962         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
24963         e_expl.S.
24964         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
24965         test of -max_value argument for long double.
24966         * sysdeps/i386/fpu/libm-test-ulps: Update.
24967         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24969 2012-05-06  David S. Miller  <davem@davemloft.net>
24971         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
24972         quad soft-float symbols whose references which are compiler
24973         generated.
24974         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
24976 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
24978         [BZ #13884]
24979         [BZ #13914]
24980         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24981         USE_AS_EXP10L.
24982         (EXPL_FINITE): Likewise.
24983         (FLDLOG): Likewise.
24984         (c0): Likewise.
24985         (c1): Likewise.
24986         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
24987         Adjust comments for base varying.
24988         (__expl_finite): Change alias to EXPL_FINITE.
24989         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
24990         e_expl.S.
24991         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
24992         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
24993         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
24994         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
24995         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24996         USE_AS_EXP10L.
24997         (EXPL_FINITE): Likewise.
24998         (FLDLOG): Likewise.
24999         (c0): Likewise.
25000         (c1): Likewise.
25001         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
25002         Adjust comments for base varying.
25003         (__expl_finite): Change alias to EXPL_FINITE.
25004         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
25005         tests for bugs.
25006         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25008         [BZ #14064]
25009         * math/libm-test.inc (check_float_internal): Correct ulp
25010         calculation for subnormal expected results.
25012 2012-05-06  Andreas Jaeger  <aj@suse.de>
25014         * Makeconfig (+math-flags): New, set to -frounding-math.
25015         (+cflags): Add +math-flags so that all of glibc gets compiled with
25016         it.
25018         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
25020 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
25022         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
25023         Disable one test.
25025         [BZ #13787]
25026         [BZ #13922]
25027         [BZ #14036]
25028         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
25029         (__ieee754_expl): Allow for and saturate large arguments.
25030         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
25031         (u_threshold): Likewise.
25032         (__exp): Call __ieee754_exp before checking for overflow and
25033         underflow.
25034         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
25035         (u_threshold): Likewise.
25036         (__expf): Call __ieee754_expf before checking for overflow and
25037         underflow.
25038         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
25039         (u_threshold): Likewise.
25040         (__expl): Call __ieee754_expl before checking for overflow and
25041         underflow.
25042         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
25043         (__ieee754_expl): Allow for and saturate large arguments.
25044         * math/libm-test.inc (exp_test): Add another test.  Do not allow
25045         missing overflow exception on overflow.
25046         (expm1_test): Do not allow missing overflow exception on overflow.
25048         * sysdeps/i386/fpu/e_expl.c: Move to ...
25049         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
25050         rather than using inline asm.
25051         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
25052         * sysdeps/x86_64/fpu/e_expl.S: Copy from
25053         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
25055         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
25056         (nice): Likewise.
25057         (poll): Likewise.
25058         (signal): Likewise.
25059         (time): Likewise.
25060         (times): Likewise.
25062 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
25064         * sysdeps/unix/syscalls.list (adjtime): Add entry from
25065         sysdeps/unix/common/syscalls.list.
25066         (fchmod): Likewise.
25067         (fchown): Likewise.
25068         (ftruncate): Likewise.
25069         (getrusage): Likewise.
25070         (gettimeofday): Likewise.
25071         (setpgid): Likewise.
25072         (setregid): Likewise.
25073         (setreuid): Likewise.
25074         (sigaction): Likewise.
25075         (truncate): Likewise.
25076         (vhangup): Likewise.
25077         * sysdeps/unix/common/syscalls.list: Remove file.
25078         * sysdeps/unix/bsd/Implies: Don't include unix/common.
25079         * sysdeps/unix/sysv/linux/Implies: Likewise.
25081 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
25083         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
25084         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
25085         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
25086         Moved to ...
25087         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
25088         Here.
25089         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
25090         to ...
25091         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
25092         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
25093         to ...
25094         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
25095         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
25096         to ...
25097         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
25098         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
25099         to ...
25100         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
25101         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
25102         to ...
25103         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
25104         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
25105         to ...
25106         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
25107         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
25108         to ...
25109         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
25110         Here.
25111         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
25112         to ...
25113         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
25114         Here.
25115         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
25116         to ...
25117         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
25118         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
25119         Moved to ...
25120         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
25121         Here.
25122         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
25123         to ...
25124         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
25126 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
25128         * sysdeps/unix/common/bits/dirent.h: Remove file.
25129         * sysdeps/unix/common/bits/fcntl.h: Likewise.
25131         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
25132         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
25133         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
25134         * sysdeps/unix/bsd/isatty.c: Likewise.
25135         * sysdeps/unix/bsd/tcdrain.c: Likewise.
25136         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
25137         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
25139 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25141         [BZ #13563]
25142         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
25143         long double comparison inaccuracies.
25144         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
25145         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25147 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
25149         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
25150         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
25152 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
25154         [BZ #14049]
25155         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
25156         nonzero digits before rounding a hex value.
25157         * stdlib/tst-strtod.c (tests): Add another test.
25159 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25161         * sysdeps/s390/fpu/libm-test-ulps: Update.
25163 2012-05-03  Andreas Jaeger  <aj@suse.de>
25165         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
25166         does not get optimized out.
25167         (malloc_opt_barrier): New.
25169 2012-05-03  Andreas Jaeger  <aj@suse.de>
25170             Roland McGrath  <roland@hack.frob.com>
25172         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
25173         intermediate file deletion.
25174         (generated): Add .symlist files.
25176 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
25178         [BZ #13775]
25179         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
25180         Redirect under this condition.
25181         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25182         [__USE_GNU] (__dprintf_chk): Not under this condition.
25183         [__USE_GNU] (__vdprintf_chk): Likewise.
25184         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
25185         under this condition.
25186         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25187         [__USE_XOPEN2K8] (dprintf): Define under this condition.
25188         [__USE_XOPEN2K8] (vdprintf): Likewise.
25189         [__USE_GNU] (__dprintf_chk): Not under this condition.
25190         [__USE_GNU] (__vdprintf_chk): Likewise.
25191         [__USE_GNU] (dprintf): Likewise.
25192         [__USE_GNU] (vdprintf): Likewise.
25194 2012-05-03  Roland McGrath  <roland@hack.frob.com>
25196         * elf/Makefile (common-generated): Set this instead of generated for
25197         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
25198         $(all-built-dso)-derived lists.
25200 2012-05-03  Andreas Jaeger  <aj@suse.de>
25202         * sysdeps/i386/fpu/libm-test-ulps: Update.
25204         * FAQ: Removed.
25205         * FAQ.in: Likewise.
25206         * scripts/gen-FAQ.pl: Likewise.
25207         * manual/install.texi (Installation): Point to online location of
25208         FAQ.
25209         * Makefile (files-for-dist): Remove FAQ.
25210         (FAQ): Remove.
25212 2012-05-02  Allan McRae  <allan@archlinux.org>
25214         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
25215         (LDFLAGS-reldepmod5.so): Likewise.
25216         (LDFLAGS-reldep6mod1.so): Likewise.
25217         (LDFLAGS-reldep6mod4.so): Likewise.
25218         (LDFLAGS-reldep8mod3.so): Likewise.
25219         (LDFLAGS-unload4mod1.so): Likewise.
25220         (LDFLAGS-unload4mod2.so): Likewise.
25221         (LDFLAGS-tst-initorder): Likewise.
25222         (LDFLAGS-tst-initordera2.so): Likewise.
25223         (LDFLAGS-tst-initordera3.so): Likewise.
25224         (LDFLAGS-tst-initordera4.so): Likewise.
25225         (LDFLAGS-tst-initorderb2.so): Likewise.
25226         (LDFLAGS-noload): Likewise.
25227         (LDFLAGS-next): Likewise.
25228         (LDFLAGS-order2mod1.so): Likewise.
25229         (LDFLAGS-order2mod2.so): Likewise.
25230         (LDFLAGS-tst-initorder2): Likewise.
25231         (LDFLAGS-tst-initorder2a.so): Likewise.
25232         (LDFLAGS-tst-initorder2b.so): Likewise.
25233         (LDFLAGS-tst-initorder2c.so): Likewise.
25234         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
25236 2012-05-02  David S. Miller  <davem@davemloft.net>
25238         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25240 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
25242         [BZ #14055]
25243         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
25245 2012-05-02  Andreas Jaeger  <aj@suse.de>
25247         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
25248         since we manipulate rounding mode.
25249         (CPPFLAGS-test-idouble.c): Likewise.
25250         (CPPFLAGS-test-ifloat.c): Likewise.
25251         (CFLAGS-test-ldouble.c): Likewise.
25252         (CFLAGS-test-double.c): Likewise.
25253         (CFLAGS-test-float.c): Likewise.
25254         (CFLAGS-test-misc.c): Likewise.
25255         (CFLAGS-test-test-fenv.c): Likewise.
25257 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25259         [BZ #2550]
25260         [BZ #2570]
25261         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
25262         comparisons to determine direction to adjust input.
25264 2012-05-01  Roland McGrath  <roland@hack.frob.com>
25266         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
25267         output to the target.
25269         * scripts/localplt.awk: New file.
25270         * elf/Makefile ($(objpfx)check-localplt): Target removed.
25271         (check-localplt-CFLAGS): Variable removed.
25272         ($(all-built-dso:=.jmprel)): New static pattern rule.
25273         (generated): Add those targets.
25274         (localplt-built-dso): New variable.
25275         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
25277         * elf/check-localplt.c: File removed.
25279         * scripts/check-execstack.awk: New file.
25280         * elf/Makefile ($(objpfx)check-execstack): Target removed.
25281         (check-execstack-CFLAGS): Variable removed.
25282         ($(objpfx)check-execstack.h): Target removed.
25283         ($(objpfx)execstack-default): New target.
25284         (generated): Add that instead of check-execstack.h.
25285         ($(all-built-dso:=.phdr)): New static pattern rule.
25286         (generated): Add those targets.
25287         * elf/check-execstack.c: File removed.
25289         * scripts/check-textrel.awk: New file.
25290         * elf/Makefile ($(objpfx)check-textrel): Target removed.
25291         (check-textrel-CFLAGS): Variable removed.
25292         (all-built-dso): Use := to define.o
25293         ($(all-built-dso:=.dyn)): New static pattern rule.
25294         (generated): Add those targets.
25295         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
25296         * config.make.in (READELF): New substituted variable.
25297         * elf/check-textrel.c: File removed.
25299 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
25301         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25302         allow.
25303         * conform/data/ctype.h-data [C99-based standards] (isblank):
25304         Expect function.
25305         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
25306         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
25307         [ISO || ISO99 || ISO11] (*_t): Do not allow.
25308         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
25309         Specify type.  Require positive value.
25310         (EILSEQ): Likewise.
25311         (ERANGE): Likewise.
25312         [ISO || POSIX] (EILSEQ): Do not expect.
25313         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
25314         Specify type.  Require positive value.
25315         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
25316         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
25317         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
25318         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
25319         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
25320         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
25321         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
25322         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
25323         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
25324         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
25325         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
25326         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
25327         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
25328         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
25329         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
25330         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
25331         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
25332         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
25333         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
25334         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
25335         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
25336         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
25337         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
25338         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
25339         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
25340         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
25341         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
25342         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
25343         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
25344         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
25345         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
25346         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
25347         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
25348         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
25349         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
25350         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
25351         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
25352         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
25353         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
25354         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
25355         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
25356         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
25357         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
25358         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
25359         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
25360         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
25361         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
25362         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
25363         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
25364         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
25365         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
25366         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
25367         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
25368         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
25369         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
25370         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
25371         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
25372         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
25373         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
25374         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
25375         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
25376         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
25377         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
25378         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
25379         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
25380         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
25381         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
25382         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
25383         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
25384         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
25385         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
25386         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
25387         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
25388         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
25389         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
25390         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
25391         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
25392         Require >= 2.
25393         (FLT_ROUNDS): Expect as macro, not constant.
25394         (FLT_MANT_DIG): Use macro-int-constant.
25395         (DBL_MANT_DIG): Likewise.
25396         (LDBL_MANT_DIG): Likewise.
25397         (FLT_DIG): Likewise.
25398         (DBL_DIG): Likewise.
25399         (LDBL_DIG): Likewise.
25400         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
25401         (DBL_MIN_EXP): Likewise.
25402         (LDBL_MIN_EXP): Likewise.
25403         (FLT_MAX_EXP): Use macro-int-constant.
25404         (DBL_MAX_EXP): Likewise.
25405         (LDBL_MAX_EXP): Likewise.
25406         (FLT_MAX_10_EXP): Likewise.
25407         (DBL_MAX_10_EXP): Likewise.
25408         (LDBL_MAX_10_EXP): Likewise.
25409         (FLT_MAX): Use macro-constant.
25410         (DBL_MAX): Likewise.
25411         (LDBL_MAX): Likewise.
25412         (FLT_EPSILON): Use macro-constant.  Give upper bound.
25413         (DBL_EPSILON): Likewise.
25414         (LDBL_EPSILON): Likewise.
25415         (FLT_MIN): Likewise.
25416         (DBL_MIN): Likewise.
25417         (LDBL_MIN): Likewise.
25418         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
25419         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
25420         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
25421         [ISO11] (FLT_HAS_SUBNORM): Likewise.
25422         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
25423         [ISO11] (DBL_DECIMAL_DIG): Likewise.
25424         [ISO11] (FLT_DECIMAL_DIG): Likewise.
25425         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
25426         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
25427         [ISO11] (FLT_TRUE_MIN): Likewise.
25428         [ISO11] (LDBL_TRUE_MIN): Likewise.
25429         [ISO || ISO99 || ISO11] (*_t): Do not allow.
25430         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
25431         (SCHAR_MIN): Use macro-int-constant.  Specify type.
25432         (SCHAR_MAX): Likewise.
25433         (UCHAR_MAX): Likewise.
25434         (CHAR_MIN): Likewise.
25435         (CHAR_MAX): Likewise.
25436         (MB_LEN_MAX): Use macro-int-constant.
25437         (SHRT_MIN): Use macro-int-constant.  Specify type.
25438         (SHRT_MAX): Likewise.
25439         (USHRT_MAX): Likewise.
25440         (INT_MAX): Likewise.
25441         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
25442         bound negative.
25443         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
25444         bound with "U".
25445         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
25446         bound with "L".
25447         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
25448         bound negative.  Suffix upper bound with "L".
25449         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
25450         bound with "UL".
25451         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
25452         Specify type.
25453         [C99-based standards] (LLONG_MAX): Likewise.
25454         [C99-based standards] (ULLONG_MAX): Likewise.
25455         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
25456         == 0.
25457         [ISO11] (max_align_t): Require type.
25458         [ISO || ISO99 || ISO11] (*_t): Do not allow.
25460         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
25461         from $CFLAGS, without defining away __attribute__ calls.
25462         (checknamespace): Use $CFLAGS_namespace.
25464         * conform/conformtest.pl (@keywords): Only include C99 keywords
25465         for standards based on C99 or C11.
25467         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
25468         Disable tests.
25469         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
25470         UNIX98]: Likewise.
25472         * conform/conformtest.pl: Handle "macro-int-constant" and test for
25473         usability of symbols in #if.
25475         * conform/conformtest.pl: If macro or constant types start
25476         "promoted:", expect the symbol to be of the following type
25477         promoted by the integer promotions.
25479         * conform/conformtest.pl: Parse all "constant" and "macro" lines
25480         in one place.  Also handle "macro-constant".
25482         * conform/conformtest.pl: Only accept expected macro values with
25483         "==".  Parse all "macro" lines in one place.
25484         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
25486         * conform/conformtest.pl: Handle braced types on "constant" lines
25487         instead of handling "typed-constant".
25488         * conform/data/signal.h-data: Use "constant" instead of
25489         "typed-constant".
25491         * conform/conformtest.pl: Handle "optional-" at start of lines in
25492         one place rather than duplicating several cases.  Handle each
25493         format of "macro" line with initial "optional-".
25495         * conform/conformtest.pl: Only accept expected constant or
25496         optional-constant values with "==".  Parse all "constant" lines in
25497         one place.  Parse all "optional-constant" lines in one place.
25498         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
25499         * conform/data/fmtmsg.h-data: Likewise.
25500         * conform/data/netinet/in.h-data: Likewise.
25501         * conform/data/tar.h-data: Likewise.
25502         * conform/data/limits.h-data: Use "==" form on "constant" and
25503         "optional-constant" lines.
25505         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
25506         Use -std=c99 for XOPEN2K.
25507         (@knownproblems): Remove.
25508         (newtoken): Don't check %isknown.
25510         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
25511         Do not expect macro.
25512         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
25513         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
25514         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
25515         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
25516         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
25517         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
25518         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
25519         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
25520         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
25521         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
25522         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
25523         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
25524         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
25525         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
25526         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
25527         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
25528         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
25529         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
25530         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
25531         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
25532         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
25533         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
25534         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
25535         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
25536         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
25537         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
25538         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
25539         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
25540         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
25541         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
25542         [XPG3] (acosh): Likewise.
25543         [XPG3] (asinh): Likewise.
25544         [XPG3] (atanh): Likewise.
25545         [XPG3] (cbrt): Likewise.
25546         [XPG3] (expm1): Likewise.
25547         [XPG3] (ilogb): Likewise.
25548         [XPG3] (log1p): Likewise.
25549         [XPG3] (logb): Likewise.
25550         [XPG3] (nextafter): Likewise.
25551         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
25552         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
25553         [XPG3] (remainder): Likewise.
25554         [XPG3] (rint): Likewise.
25555         [XPG3 || XPG4 || UNIX98] (round): Likewise.
25556         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
25557         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
25558         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
25559         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
25560         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
25561         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
25562         [UNIX98 || XOPEN2K] (scalb): Expect.
25563         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
25564         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
25565         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
25566         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
25567         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
25568         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
25569         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
25570         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
25571         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
25572         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
25573         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
25574         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
25575         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
25576         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
25577         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
25578         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
25579         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
25580         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
25581         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
25582         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
25583         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
25584         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
25585         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
25586         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
25587         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
25588         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
25589         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
25590         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
25591         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
25592         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
25593         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
25594         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
25595         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
25596         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
25597         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
25598         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
25599         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
25600         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
25601         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
25602         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
25603         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
25604         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
25605         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
25606         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
25607         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
25608         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
25609         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
25610         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
25611         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
25612         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
25613         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
25614         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
25615         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
25616         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
25617         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
25618         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
25619         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
25620         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
25621         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
25622         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
25623         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
25624         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
25625         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
25626         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
25627         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
25628         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
25629         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
25630         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
25631         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
25632         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
25633         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
25634         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
25635         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
25636         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
25637         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
25638         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
25639         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
25640         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
25641         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
25642         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
25643         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
25644         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
25645         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
25646         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
25647         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
25648         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
25649         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
25650         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
25651         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
25652         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
25653         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
25654         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
25655         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
25656         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
25657         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
25658         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
25659         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
25660         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
25661         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
25662         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
25663         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
25664         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
25665         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
25666         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
25667         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
25668         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
25669         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
25670         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
25671         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
25672         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
25673         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
25674         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
25675         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
25676         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
25677         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
25678         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
25679         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
25680         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
25681         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
25682         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
25683         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
25684         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
25685         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
25686         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
25687         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
25688         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
25689         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
25690         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
25691         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
25692         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
25693         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
25694         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
25695         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
25696         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
25697         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
25698         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
25699         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
25701         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
25702         _XOPEN_SOURCE_EXTENDED for XPG4.
25704         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
25706         * Makeconfig (localtime): Remove variable.
25707         (inst_localtime-file): Likewise.
25709 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
25711         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
25712         Update.
25713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25714         Update.
25715         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
25716         Update.
25717         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
25718         Update.
25719         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
25720         Update.
25721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
25722         Update.
25723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25724         Update.
25725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
25726         Update.
25727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25728         Update.
25730 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
25732         [BZ #2550]
25733         [BZ #2570]
25734         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
25735         comparisons to determine direction to adjust input.
25736         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
25737         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
25738         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
25739         Likewise.
25740         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
25741         Likewise.
25742         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
25743         Likewise.
25744         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
25745         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
25746         Likewise.
25747         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
25748         Likewise.
25749         * math/libm-test.inc (nexttoward_test): Add more tests.
25751 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
25753         [BZ #14040]
25754         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
25755         in version GLIBC_2.1, not GLIBC_2.0.
25756         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
25757         Likewise.
25759 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
25761         [BZ #13942]
25762         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
25763         (1 - x) * (1 + x).
25764         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
25765         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
25766         * math/libm-test.inc (acos_test): Add more tests.
25767         (asin_test): Likewise.
25768         * sysdeps/i386/fpu/libm-test-ulps: Update.
25769         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25771         [BZ #14034]
25772         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
25773         of square root.
25774         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
25775         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
25776         * math/libm-test.inc (acos_test_tonearest): New function.
25777         (acos_test_towardzero): Likewise.
25778         (acos_test_downward): Likewise.
25779         (acos_test_upward): Likewise.
25780         (asin_test_tonearest): Likewise.
25781         (asin_test_towardzero): Likewise.
25782         (asin_test_downward): Likewise.
25783         (asin_test_upward): Likewise.
25784         (main): Call the new functions.
25785         * sysdeps/i386/fpu/libm-test-ulps: Update.
25786         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25788         [BZ #13884]
25789         [BZ #13924]
25790         * math/e_exp10.c: Include <float.h>.
25791         (__ieee754_exp10): Handle underflow here rather than multiplying
25792         large negative argument by M_LN10.
25793         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
25794         of __ieee754_expf.
25795         * math/e_exp10l.c: Include <float.h>.
25796         (__ieee754_exp10l): Handle underflow here rather than multiplying
25797         large negative argument by M_LN10l.
25798         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
25799         spurious overflow exception on underflow.
25801 2012-04-29  Marek Polacek  <polacek@redhat.com>
25803         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
25804         (__fortify_function): New macro.
25805         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
25806         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
25807         __extern_always_inline.
25808         * libio/bits/stdio2.h: Likewise.
25809         * libio/bits/stdio.h: Likewise.
25810         * string/string.h: Likewise.
25811         * string/bits/string3.h: Likewise.
25812         * include/stdio.h: Likewise.
25813         * stdlib/bits/stdlib.h: Likewise.
25814         * stdlib/stdlib.h: Likewise.
25815         * rt/bits/mqueue2.h: Likewise.
25816         * rt/mqueue.h: Likewise.
25817         * posix/bits/unistd.h: Likewise.
25818         * posix/unistd.h: Likewise.
25819         * io/bits/poll2.h: Likewise.
25820         * io/bits/fcntl2.h: Likewise.
25821         * io/fcntl.h: Likewise.
25822         * io/sys/poll.h: Likewise.
25823         * misc/bits/syslog.h: Likewise.
25824         * misc/bits/syslog-ldbl.h: Likewise.
25825         * misc/sys/syslog.h: Likewise.
25826         * socket/bits/socket2.h: Likewise.
25827         * socket/sys/socket.h: Likewise.
25828         * debug/tst-chk1.c: Likewise.
25829         * wcsmbs/bits/wchar2.h: Likewise.
25830         * wcsmbs/bits/wchar-ldbl.h: Likewise.
25831         * wcsmbs/wchar.h: Likewise.
25833 2012-04-29  Andreas Jaeger  <aj@suse.de>
25835         * Makerules (tests): Remove enable-check-abi protection.
25836         (check-abi-warn): Remove.
25837         (check-abi-%): Remove check-abi-warn usage.
25839         * configure.in: Remove check-abi configure option.
25840         * configure: Regenerated.
25841         * config.make.in (enable-check-abi): Remove.
25843 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
25845         [BZ #14033]
25846         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
25847         double functions to double *_finite functions.
25849         [BZ #13941]
25850         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
25851         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
25852         LDBL_MIN_EXP.
25853         * stdio-common/Makefile (tests): Add tst-sprintf3.
25854         * stdio-common/tst-sprintf3.c: New file.
25856         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
25857         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
25859 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
25861         * conform/conformtest.pl: Remove duplicate typed-constant
25862         handling.
25864 2012-04-28  David S. Miller  <davem@davemloft.net>
25866         * Makerules (%.abilist): Add vpath on sysdep_dirs.
25867         (check-abi-%): Remove AWK script prerequisite and explicit
25868         abilist directory.
25869         (check-abi): Rewrite to just diff the symlist with the abilist.
25870         (config-tls, config-abi-config): Delete, no longer used.
25871         (update-abi-%): Remove AWK script and explicit abilist directory.
25872         (update-abi): Rewrite to simply compare and conditionally copy the
25873         symlist and the sysdep abilist file.  Remove update-abi-config
25874         checks.
25875         * abilist/ld.abilist: Remove.
25876         * abilist/libBrokenLocale.abilist: Remove.
25877         * abilist/libanl.abilist: Remove.
25878         * abilist/libcrypt.abilist: Remove.
25879         * abilist/libdl.abilist: Remove.
25880         * abilist/librt.abilist: Remove.
25881         * abilist/libthread_db.abilist: Remove.
25882         * abilist/libutil.abilist: Remove.
25883         * scripts/extract-abilist.awk: Remove.
25884         * scripts/merge-abilist.awk: Remove.
25885         * sysdeps/generic/libcidn.abilist: New file.
25886         * sysdeps/generic/libnss_compat.abilist: New file.
25887         * sysdeps/generic/libnss_db.abilist: New file.
25888         * sysdeps/generic/libnss_dns.abilist: New file.
25889         * sysdeps/generic/libnss_files.abilist: New file.
25890         * sysdeps/generic/libnss_hesiod.abilist: New file.
25891         * sysdeps/generic/libnss_nis.abilist: New file.
25892         * sysdeps/generic/libnss_nisplus.abilist: New file.
25893         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
25894         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
25895         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
25896         file.
25897         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
25898         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
25899         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
25900         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
25901         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
25902         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
25903         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
25904         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
25905         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
25906         file.
25907         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
25908         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
25909         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
25910         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
25911         file.
25912         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
25913         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
25914         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
25915         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
25916         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
25917         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
25918         file.
25919         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
25920         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
25921         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
25922         file.
25923         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
25924         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
25925         New file.
25926         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
25927         New file.
25928         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
25929         New file.
25930         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
25931         New file.
25932         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
25933         New file.
25934         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
25935         New file.
25936         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
25937         New file.
25938         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
25939         New file.
25940         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
25941         New file.
25942         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
25943         New file.
25944         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
25945         New file.
25946         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
25947         New file.
25948         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
25949         New file.
25950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
25951         file.
25952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
25953         New file.
25954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
25955         New file.
25956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
25957         file.
25958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
25959         New file.
25960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
25961         New file.
25962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
25963         file.
25964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
25965         New file.
25966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25967         New file.
25968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
25969         New file.
25970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
25971         New file.
25972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
25973         New file.
25974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
25975         New file.
25976         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
25977         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
25978         file.
25979         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
25980         New file.
25981         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
25982         file.
25983         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
25984         file.
25985         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
25986         file.
25987         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
25988         file.
25989         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
25990         file.
25991         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25992         New file.
25993         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
25994         file.
25995         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
25996         file.
25997         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
25998         New file.
25999         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
26000         file.
26001         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
26002         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
26003         file.
26004         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
26005         New file.
26006         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
26007         file.
26008         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
26009         file.
26010         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
26011         file.
26012         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
26013         file.
26014         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
26015         file.
26016         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26017         New file.
26018         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
26019         file.
26020         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
26021         file.
26022         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
26023         New file.
26024         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
26025         file.
26026         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26027         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
26028         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
26029         file.
26030         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
26031         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
26032         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
26033         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
26034         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
26035         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
26036         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
26037         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
26038         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
26039         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
26040         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
26041         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
26042         file.
26043         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
26044         New file.
26045         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
26046         file.
26047         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
26048         file.
26049         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
26050         file.
26051         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
26052         file.
26053         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
26054         file.
26055         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
26056         New file.
26057         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
26058         New file.
26059         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
26060         file.
26061         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
26062         New file.
26063         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
26064         file.
26065         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
26066         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
26067         file.
26068         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
26069         New file.
26070         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
26071         file.
26072         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
26073         file.
26074         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
26075         file.
26076         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
26077         file.
26078         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
26079         file.
26080         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
26081         New file.
26082         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
26083         New file.
26084         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
26085         file.
26086         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
26087         New file.
26088         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
26089         file.
26091 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
26093         * conform/conformtest.pl: Fix typo in handling typed-constant from
26094         allow-header.
26096 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
26098         * README: Cut down references to pre-2.6 Linux kernels and
26099         Linuxthreads.  Update lists of configurations in libc and ports
26100         and sort alphabetically.  Say "or newer" with Linux kernel version
26101         requirements.
26103         * config.h.in [IS_IN_build]: Allow compiling without optimization.
26105 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
26107         [BZ #887]
26108         * math/libm-test.inc (logb_test_downward): New test to expose
26109         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
26110         rounding mode.
26112 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
26114         [BZ #14027]
26115         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
26116         to be done.
26117         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
26118         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
26120 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
26122         * sysdeps/unix/i386/brk.S: Remove file.
26123         * sysdeps/unix/i386/dl-brk.S: Likewise.
26124         * sysdeps/unix/i386/pipe.S: Likewise.
26125         * sysdeps/unix/i386/sigreturn.S: Likewise.
26126         * sysdeps/unix/i386/syscall.S: Likewise.
26127         * sysdeps/unix/i386/vfork.S: Likewise.
26128         * sysdeps/unix/i386/wait.S: Likewise.
26130         * sysdeps/unix/common/tcsendbrk.c: Move to ...
26131         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
26133         * configure.in (arm*-none*): Do not allow without
26134         --enable-hacker-mode.
26135         (netbsd*): Remove case setting base_os.
26136         (386bsd*): Likewise.
26137         (freebsd*): Likewise.
26138         (bsdi*): Likewise.
26139         (osf*): Likewise.
26140         (sunos*): Likewise.
26141         (ultrix*): Likewise.
26142         (newsos*): Likewise.
26143         (dynix*): Likewise.
26144         (*bsd*): Likewise.
26145         (sysv*): Likewise.
26146         (isc*): Likewise.
26147         (esix*): Likewise.
26148         (sco*): Likewise.
26149         (minix*): Likewise.
26150         (irix4*): Likewise.
26151         (irix6*): Likewise.
26152         (solaris[2-9]*): Likewise.
26153         (none): Likewise.
26154         * configure: Regenerated.
26156 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26158         [BZ #11521]
26159         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
26160         overflow or cancellation in calculating denominator.
26161         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
26162         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
26163         down expression to avoid unexpected rounding in newer GCCs.
26164         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
26166 2012-04-26  David S. Miller  <davem@davemloft.net>
26168         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
26169         long-double compat symbols.
26170         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
26171         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
26172         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
26173         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
26174         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
26175         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
26176         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
26177         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
26178         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
26179         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
26180         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
26181         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
26182         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
26184 2012-04-25  David S. Miller  <davem@davemloft.net>
26186         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
26187         HWCAP_* values only after the memory barriers have been defined.
26188         (atomic_full_barrier): Define.
26189         (atomic_read_barrier): Define.
26190         (atomic_write_barrier): Define.
26192 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
26194         * shlib-versions: Add libgcc_s version information.
26195         * sysdeps/generic/libgcc_s.h: Remove.
26196         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
26197         libgcc_s.h.
26198         * sysdeps/gnu/unwind-resume.c: Likewise.
26199         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
26201 2012-04-25  David S. Miller  <davem@davemloft.net>
26203         * sysdeps/unix/sparc/brk.S: Delete.
26204         * sysdeps/unix/sparc/dl-brk.S: Delete.
26205         * sysdeps/unix/sparc/pipe.S: Delete.
26206         * sysdeps/unix/sparc/sysdep.S: Delete.
26207         * sysdeps/unix/sparc/sysdep.h: Delete.
26208         * sysdeps/unix/sparc/vfork.S: Delete.
26209         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
26210         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
26211         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
26212         ret_ERRVAL, r0, r1, MOVE): Define.
26213         (JUMPTARGET): Remove.
26214         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
26215         sysdeps/unix/sparc/sysdep.h
26216         (ENTRY, END): Remove.
26217         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26219 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
26221         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
26222         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
26223         -DIS_IN_build.
26225         * timezone/README: Update upstream location and email address for
26226         tzcode and tzdata.
26227         * timezone/zdump.c: Update from tzcode 2012b.
26228         * timezone/zic.c: Likewise.
26230         * configure.in (libc_cv_as_needed): Remove test.
26231         * configure: Regenerated.
26232         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
26233         conditional definition.
26234         [$(have-as-needed) != yes] (no-as-needed): Likewise.
26235         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
26236         * config.make.in (have-as-needed): Remove variable.
26238 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
26239             Paul Pluzhnikov  <ppluzhnikov@google.com>
26241         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
26242         strings correctly.
26244 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
26246         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
26247         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
26248         * sysdeps/sh/strlen.S: Likewise.
26250 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
26252         * sysdeps/unix/fork.S: Remove file.
26253         * sysdeps/unix/i386/fork.S: Likewise.
26254         * sysdeps/unix/sparc/fork.S: Likewise.
26256         * sysdeps/unix/system.c: Remove file.
26257         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
26259         * sysdeps/unix/getegid.S: Remove file.
26260         * sysdeps/unix/geteuid.S: Likewise.
26262 2012-04-24  Roland McGrath  <roland@hack.frob.com>
26264         * scripts/check-localplt.awk: New file.
26265         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
26266         of diff.
26267         * scripts/data/localplt-generic.data: Add a comment.
26269         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
26270         NODE when __dir_mkfile failed.
26271         * sysdeps/mach/hurd/symlinkat.c: Likewise.
26272         Reported by Ludovic Courtès <ludo@gnu.org>.
26274 2012-04-24  Andreas Jaeger  <aj@suse.de>
26276         * Makerules (common-clean): Also remove gen-as-const-headers
26277         files.
26279 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
26281         * Makerules (native-compile): Do not change working directory for
26282         build.  Use $(OUTPUT_OPTION) in command.
26283         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
26285 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26287         [BZ #13886]
26288         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
26289         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
26290         * math/libm-test.inc (floor_test): Add more tests.
26291         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
26293 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
26295         * sysdeps/unix/getdents.c: Remove file.
26296         * sysdeps/unix/sysv/getdents.c: Likewise.
26297         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
26299         * sysdeps/unix/syscalls.list (madvise): Add syscall from
26300         sysdeps/unix/mman/syscalls.list.
26301         (mmap): Likewise.
26302         (mprotect): Likewise.
26303         (msync): Likewise.
26304         (munmap): Likewise.
26305         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
26306         * sysdeps/unix/mman/syscalls.list: Remove.
26307         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
26309         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
26310         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
26311         * configure: Regenerated.
26312         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
26313         $(libgcc_s_suffix).
26314         * config.make.in (libgcc_s_suffix): Remove variable.
26316 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
26318         * sysdeps/unix/sysv/gethostname.c: Move to ...
26319         * sysdeps/posix/gethostname.c: ... here.
26321         * sysdeps/unix/execve.S: Remove file.
26323         * sysdeps/unix/_exit.S: Remove file.
26325 2012-04-23  Andreas Jaeger  <aj@suse.de>
26327         [BZ #13739]
26328         * manual/Makefile: Remove make dist support, there's no
26329         need for a stand-alone documentation tar ball.
26330         (TEXI2DVI): Define always, it's not in Makeconfig.
26331         (dist): Removed.
26332         (tar-it): Removed.
26333         (edition): Removed.
26334         (glibc-doc-$(edition).tar): Removed
26335         (%.Z): Removed.
26336         (%.gz): Removed.
26337         (%.uu): Removed.
26338         (ETAGS): Remove, it's in Makeconfig.
26339         (move-if-change): Remove, it's in Makeconfig.
26341 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
26343         [BZ #13970]
26344         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
26345         (strtod, strtof, strtold, strtol, strtoul, strtoq)
26346         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
26347         (strtod_l, strtof_l, strtold_l): Remove __wur.
26348         It is not necessarily an error to ignore strtol's return value.
26349         One can reliably look at the stored endptr to decide whether
26350         the number had valid syntax.
26352 2012-04-21  Andreas Jaeger  <aj@suse.de>
26354         [BZ #13739]
26355         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
26357 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
26359         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
26360         * sysdeps/unix/sysv/Versions: Remove file.
26362 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
26364         [BZ #13927]
26365         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26367 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
26369         [BZ #7064]
26370         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
26371         version from __vm86.
26373 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
26375         * sysdeps/unix/common/lxstat.c: Remove file.
26376         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
26378         * sysdeps/unix/sysv/Makefile: Remove file.
26380         * sysdeps/unix/sysv/direct.h: Remove file.
26382         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
26383         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
26384         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
26385         * sysdeps/unix/sysv/bits/signum.h: Likewise.
26386         * sysdeps/unix/sysv/bits/stat.h: Likewise.
26387         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
26388         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
26390         * sysdeps/unix/sysv/setrlimit.c: Remove file.
26392         * sysdeps/unix/xmknod.c: Remove file.
26393         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
26395         * sysdeps/unix/sysv/settimeofday.c: Remove file.
26397         * sysdeps/unix/sysv/i386/time.S: Remove file.
26399         * sysdeps/unix/fxstat.c: Remove file.
26400         * sysdeps/unix/xstat.c: Likewise.
26401         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
26403         * sysdeps/unix/sysv/sigaction.c: Remove file.
26405         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
26406         (sysdep_headers): Remove variable.
26407         [termio.h not in sysdep_headers] (generated): Likewise.
26408         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
26409         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
26410         * sysdeps/unix/sysv/tcdrain.c: Likewise.
26411         * sysdeps/unix/sysv/tcflow.c: Likewise.
26412         * sysdeps/unix/sysv/tcflush.c: Likewise.
26413         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
26414         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
26415         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
26416         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
26417         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
26419         * sysdeps/unix/siglist.c: Remove file.
26421         * sysdeps/unix/getppid.S: Remove file.
26423         * sysdeps/unix/mkdir.c: Remove file.
26424         * sysdeps/unix/rmdir.c: Likewise.
26426 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
26428         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
26429         ERR_MAX value.
26430         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
26431         errlist-compat value.
26433 2012-04-18  David S. Miller  <davem@davemloft.net>
26435         * sysdeps/generic/memcopy.h (reg_char): Delete.
26436         * debug/strcat_chk.c: Use char, not reg_char.
26437         * debug/strcpy_chk.c: Likewise.
26438         * debug/strncat_chk.c: Likewise.
26439         * debug/strncpy_chk.c: Likewise.
26440         * string/memchr.c: Likewise.
26441         * string/memrchr.c: Likewise.
26442         * string/rawmemchr.c: Likewise.
26443         * string/strcat.c: Likewise.
26444         * string/strchr.c: Likewise.
26445         * string/strchrnul.c: Likewise.
26446         * string/strcmp.c: Likewise.
26447         * string/strcpy.c: Likewise.
26448         * string/strncat.c: Likewise.
26449         * string/strncmp.c: Likewise.
26450         * string/strncpy.c: Likewise.
26452 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
26454         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
26455         __builtin_memcopy is called when src and dest ranges are known to not
26456         overlap.
26458 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
26460         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
26461         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
26462         fwd_align_merge macro call.
26463         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
26464         bwd_align_merge macro call.
26465         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26467 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
26469         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
26470         bwd_align_merge macros.
26471         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
26472         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
26473         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26475 2012-04-18  David S. Miller  <davem@davemloft.net>
26477         * sysdeps/sparc/sparc64/memcopy.h: Delete.
26479 2012-04-18  Andreas Jaeger  <aj@suse.de>
26481         [BZ# 6794]
26482         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
26483         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
26484         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26486         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
26487         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
26488         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26490         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
26491         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
26492         Adjust for changed ldbl-128 files.
26494         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
26495         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
26496         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26498 2012-04-17  David S. Miller  <davem@davemloft.net>
26500         * sysdeps/sparc/sparc32/memcopy.h: Delete.
26502 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
26504         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
26505         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
26506         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
26507         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
26508         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
26509         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
26511 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26513         [BZ #6794]
26514         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
26515         * math/libm-test.inc: Add ilogb errno and exception tests.
26516         * math/w_ilogb.c: New file: ilogb wrapper.
26517         * math/w_ilogbf.c: New file: ilogbf wrapper.
26518         * math/w_ilogbl.c: New file: ilogbl wrapper.
26519         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
26520         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
26521         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
26522         exception being thrown with 0.0 as argument.
26523         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
26524         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
26525         exception being thrown with 0.0 as argument.
26526         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
26527         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
26528         exception being thrown with 0.0 as argument.
26529         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
26530         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
26531         exception being thrown with 0.0 as argument.
26532         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
26533         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
26534         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
26535         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
26536         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
26537         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
26538         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
26539         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
26540         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
26542 2012-04-17  Petr Baudis  <pasky@ucw.cz>
26544         * include/sys/uio.h: Change __vector to __iovec to avoid clash
26545         with altivec.
26547 2012-04-16  Marek Polacek  <polacek@redhat.com>
26549         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
26551 2012-04-16  Marek Polacek  <polacek@redhat.com>
26553         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
26554         operands of fdivp instruction.
26556 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
26558         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
26559         * elf/tst-auditmod3b.c: Likewise.
26560         * elf/tst-auditmod4b.c: Likewise.
26561         * elf/tst-auditmod5b.c: Likewise.
26562         * elf/tst-auditmod6b.c: Likewise.
26563         * elf/tst-auditmod6c.c: Likewise.
26564         * elf/tst-auditmod7b.c: Likewise.
26565         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
26566         * sysdeps/x86_64/preconfigure.in: Likewise.
26567         * sysdeps/x86_64/preconfigure: Regenerated.
26569 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
26571         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
26572         __ILP32__.
26574 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
26576         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26577         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
26579 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
26581         [BZ #13973]
26582         * locale/iso-639.def: Fix gl language name. Spotted by
26583         Yaron Shahrabani.
26585 2012-04-12  Roland McGrath  <roland@hack.frob.com>
26587         [BZ #2074]
26588         * libio/libio.h (__io_write_fn): Update comment.
26590 2012-04-12  Petr Baudis  <pasky@ucw.cz>
26592         [BZ #2074]
26593         * stdio.texi (Hook Functions): The user provided writer function
26594         is not allowed to return -1.
26596 2012-04-11  David S. Miller  <davem@davemloft.net>
26598         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26600 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
26602         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
26603         Add a leading slash to rtkaio.
26605 2012-04-11  Jim Meyering  <meyering@redhat.com>
26607         [BZ #11959]
26608         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
26609         It is not necessarily an error to ignore fwrite's return
26610         value.  One can reliably use ferror to test for errors after
26611         the fact.
26613 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
26615         * bits/types.h (__snseconds_t): New type.
26616         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
26618         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
26619         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26620         (__SNSECONDS_T_TYPE): Likewise.
26621         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26622         (__SNSECONDS_T_TYPE): Likewise.
26623         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26624         (__SNSECONDS_T_TYPE): Likewise.
26626 2012-04-10  Andreas Jaeger  <aj@suse.de>
26628         [BZ #2636]
26629         * manual/time.texi (Processor Time): Return type of times is
26630         elapsed real time since an arbitrary point in the past.
26631         (CPU Time): Move CLK_TCK from here...
26632         (Processor Time): ...to here.  Correct description.
26633         * manual/conf.texi (Constants for Sysconf): Correct description of
26634         _SC_CLK_TCK.
26636 2012-04-10  David S. Miller  <davem@davemloft.net>
26638         [BZ #13967]
26639         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
26640         where the is a gap between DT_REL(A) and DT_JMPREL.
26642 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
26644         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
26645         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
26646         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
26648 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
26650         * elf/dl-support.c (_dl_inhibit_cache): New variable.
26651         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
26652         (dl_main): Handle --inhibit-cache.
26653         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
26654         _dl_inhibit_cache.
26655         * elf/dl-load.c (_dl_map_object): Use it.
26656         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
26658 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
26660         [BZ #13872]
26661         * sysdeps/i386/fpu/e_powl.S (p78): New object.
26662         (__ieee754_powl): Saturate large exponents rather than testing for
26663         overflow of y*log2(x).
26664         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26665         * math/libm-test.inc (pow_test): Do not permit spurious overflow
26666         exceptions.
26668         [BZ #11521]
26669         * math/s_ctan.c: Include <float.h>.
26670         (__ctan): Avoid internal overflow or cancellation in calculating
26671         denominator.
26672         * math/s_ctanf.c: Likewise.
26673         * math/s_ctanl.c: Likewise.
26674         * math/s_ctanh.c: Likewise.
26675         * math/s_ctanhf.c: Likewise.
26676         * math/s_ctanhl.c: Likewise.
26677         * math/libm-test.inc (ctan_test): Add more tests.
26678         (ctanh_test): Likewise.
26679         * sysdeps/i386/fpu/libm-test-ulps: Update.
26680         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26682 2012-04-09  Andreas Jaeger  <aj@suse.de>
26684         [BZ #6894]
26685         * manual/filesys.texi (Directory Entries): Mention that d_namlen
26686         is an optional BSD extension.
26688         [BZ #10254]
26689         * manual/stdio.texi (Opening Streams): Document additional fopen
26690         parameters.
26692 2012-04-09  Roland McGrath  <roland@hack.frob.com>
26694         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
26695         %eax without telling the compiler.
26697 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
26699         [BZ # 13963]
26700         * manual/install.texi: Use sourceware.org.
26702 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
26704         [BZ #13873]
26705         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
26706         (__ieee754_pow): Generate overflow and underflow using huge*huge
26707         and tiny*tiny rather than just returning constant infinity or zero
26708         for large exponents.
26709         * math/libm-test.inc (pow_test): Require overflow exceptions for
26710         applicable cases of large exponents.
26712         [BZ #706]
26713         * sysdeps/i386/fpu/e_pow.S (p10): New object.
26714         (__ieee754_pow): Use iterative multiplication algorithm only for
26715         integer exponents with absolute value below 1024.  Check for odd
26716         integer exponents when using algorithm for real exponents.
26717         * math/libm-test.inc (pow_test): Add more tests.
26718         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26720 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
26722         [BZ #13705]
26723         * math/libm-test.inc (exp_test): Do not allow overflow exception
26724         on underflow test.
26726 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
26728         [BZ #13705]
26729         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
26730         instead of __kernel_standard_f.
26732 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
26734         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
26735         * sysdeps/x86_64/memset_chk.S: Likewise.
26737 2012-04-08  Andreas Jaeger  <aj@suse.de>
26739         [BZ #10153]
26740         * manual/startup.texi (Environment Access): Describe return value
26741         for putenv and setenv.
26743         [BZ #6895]
26744         * manual/filesys.texi (Directory Entries): Add description for
26745         DT_LNK.
26747         [BZ #6890]
26748         * manual/filesys.texi (Directory Entries): Clarify that it's file
26749         system not operating system in the description of DT_UNKNOWN.
26751         [BZ #6578]
26752         * manual/syslog.texi (closelog): Fix reference, it's openlog.
26754 2012-04-08  Stephen Compall  <s11@member.fsf.org>
26756         [BZ #6649]
26757         * manual/llio.texi (Opening and Closing Files): Add cross
26758         reference to explain mode argument.
26760 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
26762         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
26763         * sysdeps/x86_64/memset_chk.S: Likewise.
26765 2012-04-07  David S. Miller  <davem@davemloft.net>
26767         * elf/elf.h (R_SPARC_WDISP10): Define.
26768         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
26769         R_SPARC_SIZE32.
26770         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
26771         R_SPARC_SIZE64 and R_SPARC_H34.
26773 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
26775         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
26776         conditions and remove no longer applicable assertion.
26778 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
26780         * bits/byteswap.h: Include <features.h>.
26781         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
26782         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
26784 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
26786         * bits/byteswap.h (__bswap_16): Removed.
26787         Include <bits/byteswap-16.h> to get __bswap_16.
26788         * sysdeps/i386/bits/byteswap.h: Likewise.
26789         * sysdeps/s390/bits/byteswap.h: Likewise.
26790         * sysdeps/x86_64/bits/byteswap.h: Likewise.
26791         * bits/byteswap-16.h: New file.
26792         * sysdeps/i386/bits/byteswap-16.h: Likewise.
26793         * sysdeps/s390/bits/byteswap-16.h: Likewise.
26794         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
26795         * string/Makefile (headers): Add bits/byteswap-16.h.
26797 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
26799         [BZ #13895]
26800         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
26801         extra indirection.
26802         * nss/Makefile (tests-static, tests): Add tst-nss-static.
26803         * nss/tst-nss-static.c: New.
26805 2012-04-06  Robert Millan  <rmh@gnu.org>
26807         [BZ #6486]
26808         * manual/llio.texi (File Position Primitive): lseek
26809         refers to WHENCE when it really means OFFSET.
26811 2012-04-06  Andreas Jaeger  <aj@suse.de>
26813         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
26814         strncmp declarations.
26816         * abilist/libc.abilist: Add __poll and __ppoll.
26818 2012-04-05  David S. Miller  <davem@davemloft.net>
26820         * scripts/check-local-headers.sh: Accept a host triplet in the
26821         path matched by the exclude regexp.
26823         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
26824         definition.
26825         * sysdeps/powerpc/powerpc32/dl-machine.h
26826         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
26827         * sysdeps/s390/s390-32/dl-machine.h
26828         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26829         * sysdeps/sparc/sparc32/dl-machine.h
26830         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26831         * sysdeps/sparc/sparc64/dl-machine.h
26832         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26834         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
26835         lazy binding.
26836         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
26837         undefined symbol errors.
26839         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
26840         DT_NEEDED entries.
26842 2012-04-05  Michael Matz  <matz@suse.de>
26844         [BZ #13592]
26845         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
26847 2012-04-05  Andreas Jaeger  <aj@suse.de>
26849         [BZ #13908]
26850         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
26851         comment.
26853 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
26855         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
26856         which ROUND is no valid rounding mode.
26858 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
26860         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
26861         read again.
26862         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
26864 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
26866         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
26867         an exception using FPU order intentionally.
26869 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
26871         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
26872         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
26873         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
26874         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
26876 2012-04-05  Simon Josefsson  <simon@josefsson.org>
26878         [BZ #12340]
26879         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
26880         EINVAL when BUFLEN is too smal.
26882 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
26884         [BZ #13553]
26885         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
26886         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
26888 2012-04-03  Andreas Jaeger  <aj@suse.de>
26890         [BZ #13938]
26891         * manual/setjmp.texi (System V contexts): Fix sentence.
26893         [BZ #13926]
26894         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
26895         New macro for this case.
26896         [!__GNUC__] (__bswap_64): New inline function for this case.
26897         * sysdeps/x86_64/bits/byteswap.h: Likewise.
26898         * bits/byteswap.h: Likewise.
26899         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
26900         ull, guard with __GLIBC_HAVE_LONG_LONG.
26902         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
26903         __GLIBC_HAVE_LONG_LONG.
26905         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
26906         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
26908 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26910         [BZ #13691]
26911         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
26912         inptr and inend, rather than using last_ch.
26914 2012-04-02  David S. Miller  <davem@davemloft.net>
26916         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
26917         * stdio-common/printf-parse.h (read_int): Change return type to
26918         'int', return -1 on INT_MAX overflow.
26919         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
26920         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
26921         overflows INT_MAX.  Check for overflow of in-format-string precision
26922         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
26923         SIZE_MAX not INT_MAX for integer overflow test.
26924         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
26925         skip the construct in the format string but do not record anything.
26926         * stdio-common/bug22.c: Adjust to test both width/prevision
26927         INT_MAX overflow as well as total length INT_MAX overflow.  Check
26928         explicitly for proper errno values.
26930 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
26932         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
26933         CHAR_MAX.
26934         * string/test-strcmp.c [! WIDE]: Likewise.
26935         * time/tst-mktime2.c: Likewise for INT_MAX.
26936         * string/test-string.h: #include <sys/param.h> for MIN.
26938         * csu/init-first.c (__libc_init_first): Call __ctype_init.
26939         * sysdeps/i386/init-first.c (init): Likewise.
26940         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
26941         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
26942         * sysdeps/sh/init-first.c (init): Likewise.
26944 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
26946         * po/ru.po: Update from translation team.
26947         * po/vi.po: Likewise.
26949 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
26951         * resolv/nss_dns/dns-host.c: Merge copyright years.
26953 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26955         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
26956         Optimize memcpy with prefetch if
26957         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
26958         src, dst pointers have unequal 16 byte alignments.
26960 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
26962         [BZ #13928]
26963         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
26964         from a CNAME entry and return the minimum ttl for the query.
26965         (gaih_getanswer_slice): Likewise.
26967 2012-03-30  Jeff Law  <law@redhat.com>
26969         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
26970         due to long keys.
26971         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
26972         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
26974         * resolv/nss_dns/dns-host.c: Update copyright year.
26976 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
26978         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
26979         requests to save a system call.  Fix check that all bytes are sent.
26981         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
26982         comments for sendmmsg.
26984 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
26986         [BZ #13691]
26987         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
26988         with only 1 character between 0x0041 and 0x01b0.
26989         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
26990         * wcsmbs/tst-mbsnrtowcs.c: New file.
26992 2012-03-29  David S. Miller  <davem@davemloft.net>
26994         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
26995         small copies by hand.
26997 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26999         [BZ #13761]
27000         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
27001         _nss_compat_initgroups_dyn): Fall back to malloc/free
27002         for large group memberships.
27004 2012-03-28  David S. Miller  <davem@davemloft.net>
27006         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
27007         that branches into memcpy.
27008         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
27009         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
27010         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27011         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
27012         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
27013         bits.
27014         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
27015         implementation too.
27016         * sysdeps/sparc/mempcpy.S: New file.
27018         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
27019         the IFUNC routine in the libc case.
27020         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
27022         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
27023         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
27024         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
27025         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
27026         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
27027         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
27028         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
27029         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
27031         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
27032         loop to 256 bytes instead of 64 bytes and fix test signedness.
27034         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
27035         * sysdeps/sparc/sparc32/Makefile: rather than here...
27036         * sysdeps/sparc/sparc64/Makefile: and here.
27038 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
27040         * malloc/mallocbug.c: Avoid warnings about unused variables.
27042 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
27044         [BZ #13760]
27045         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
27046         in the right place. Discard and retry query if response is
27047         larger than input buffer size.
27049 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
27051         [BZ #369]
27052         [BZ #2678]
27053         [BZ #3866]
27054         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
27055         x for large integer exponent.
27056         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
27057         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
27058         sign of result as needed afterwards.
27059         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
27060         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
27061         result for underflowing pow the same as for overflow.
27062         (__kernel_standard_l): Handle powl overflow and underflow here
27063         rather than calling __kernel_standard.
27064         * math/libm-test.inc (pow_test): Add more tests.
27066         [BZ #3868]
27067         [BZ #13879]
27068         [BZ #13910]
27069         [BZ #13911]
27070         [BZ #13912]
27071         [BZ #13913]
27072         [BZ #13915]
27073         [BZ #13916]
27074         [BZ #13917]
27075         [BZ #13918]
27076         [BZ #13919]
27077         [BZ #13920]
27078         [BZ #13921]
27079         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
27080         * sysdeps/ieee754/k_standard.c: Include <float.h>.
27081         (__kernel_standard_l): New function.
27082         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
27083         __kernel_standard.
27084         * math/w_acosl.c (__acosl): Likewise.
27085         * math/w_asinl.c (__asinl): Likewise.
27086         * math/w_atan2l.c (__atan2l): Likewise.
27087         * math/w_atanhl.c (__atanhl): Likewise.
27088         * math/w_coshl.c (__coshl): Likewise.
27089         * math/w_exp10l.c (__exp10l): Likewise.
27090         * math/w_exp2l.c (__exp2l): Likewise.
27091         * math/w_fmodl.c (__fmodl): Likewise.
27092         * math/w_hypotl.c (__hypotl): Likewise.
27093         * math/w_j0l.c (__j0l, __y0l): Likewise.
27094         * math/w_j1l.c (__j1l, __y1l): Likewise.
27095         * math/w_jnl.c (__jnl, __ynl): Likewise.
27096         * math/w_lgammal.c (__lgammal): Likewise.
27097         * math/w_log10l.c (__log10l): Likewise.
27098         * math/w_log2l.c (__log2l): Likewise.
27099         * math/w_logl.c (__logl): Likewise.
27100         * math/w_powl.c (__powl): Likewise.
27101         * math/w_remainderl.c (__remainderl): Likewise.
27102         * math/w_scalbl.c (sysv_scalbl): Likewise.
27103         * math/w_sinhl.c (__sinhl): Likewise.
27104         * math/w_sqrtl.c (__sqrtl): Likewise.
27105         * math/w_tgammal.c (__tgammal): Likewise.
27106         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
27107         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
27108         * math/libm-test.inc (acos_test): Add more tests.
27109         (acosh_test): Likewise.
27110         (asin_test): Likewise.
27111         (atanh_test): Likewise.
27112         (exp_test): Likewise.
27113         (exp10_test): Likewise.
27114         (exp2_test): Likewise.
27115         (expm1_test): Likewise.
27116         (lgamma_test): Likewise.
27117         (log_test): Likewise.
27118         (log10_test): Likewise.
27119         (log1p_test): Likewise.
27120         (log2_test): Likewise.
27121         (pow_test): Do not allow some spurious overflow exceptions.
27122         (sqrt_test): Add more tests.
27123         (tgamma_test): Likewise.
27124         (y0_test): Likewise.
27125         (y1_test): Likewise.
27126         (yn_test): Likewise.
27128 2012-03-27  Anton Blanchard  <anton@samba.org>
27130         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
27131         MAP_HUGETLB.
27132         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27133         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
27134         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27136 2012-03-27  David S. Miller  <davem@davemloft.net>
27138         * conform/Makefile: Run run-conformtest.sh using $(BASH).
27140         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
27141         have-as-vis3 check.
27143 2012-03-27  Andreas Jaeger  <aj@suse.de>
27145         * sysdeps/x86_64/elf/configure.in: Moved to ...
27146         * sysdeps/x86_64/configure.in: ... here.
27147         * sysdeps/x86_64/elf/start.S: Moved to ...
27148         * sysdeps/x86_64/start.S: ... here.
27149         * sysdeps/x86_64/elf/configure: Delete.
27151         * sysdeps/x86_64/configure.in: Merge contents from
27152         sysdeps/i386/configure.in (without i686 check).
27154         * sysdeps/i386/elf/Versions: Merge into ...
27155         * sysdeps/i386/Versions: ... this.
27156         * sysdeps/i386/elf/Versions: Delete file.
27157         * sysdeps/i386/elf/start.S: Moved to ...
27158         * sysdeps/i386/start.S: ...here.
27159         * sysdeps/i386/elf/configure.in: Merge into...
27160         * sysdeps/i386/configure.in: ...here.
27161         * sysdeps/i386/elf/configure.in: Delete file.
27162         * sysdeps/i386/elf/configure: Delete file.
27164         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
27165         * debug/backtracesyms.c: ... here.
27166         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
27167         * debug/backtracesymsfd.c: ... here.
27168         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
27169         * sysdeps/generic/ifunc-sel.h: ... here.
27171         * sysdeps/unix/i386/start.c: Delete file.
27172         * sysdeps/unix/sparc/start.c: Delete file.
27173         * sysdeps/unix/start.c: Delete file.
27175         * sysdeps/sh/elf/configure.in: Moved to ...
27176         * sysdeps/sh/configure.in: ... here.
27177         * sysdeps/sh/elf/start.S: Moved to ...
27178         * sysdeps/sh/start.S: ... here.
27179         * sysdeps/sh/elf/configure: Delete file.
27181         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
27182         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
27183         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
27184         * sysdeps/powerpc/powerpc64/entry.h: ... here.
27185         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
27186         * sysdeps/powerpc/powerpc64/start.S: here.
27187         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
27188         * sysdeps/powerpc/powerpc64/Makefile: ... this.
27189         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
27190         * sysdeps/powerpc/powerpc64/configure.in: ... this.
27191         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
27193         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
27194         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
27195         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
27196         * sysdeps/powerpc/powerpc32/start.S: ... here.
27197         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
27198         * sysdeps/powerpc/powerpc32/configure.in: ... this.
27199         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
27201         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
27202         * sysdeps/powerpc/ifunc-sel.h: ... here.
27203         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
27204         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
27206         * sysdeps/sparc/elf/configure.in: Moved to ...
27207         * sysdeps/sparc/configure.in: ... here.
27208         * sysdeps/sparc/elf/configure: Delete file.
27209         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
27210         * sysdeps/sparc/sparc32/start.S: ... here.
27211         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
27212         * sysdeps/sparc/sparc64/start.S: ... here.
27213         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
27214         * sysdeps/sparc/sparc32/Makefile: ... this.
27215         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
27216         * sysdeps/sparc/sparc64/Makefile: ... this.
27218         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
27219         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
27220         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
27221         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
27222         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
27223         * sysdeps/s390/s390-32/setjmp.S: ... here.
27224         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
27225         * sysdeps/s390/s390-32/configure.in: ... here.
27226         * sysdeps/s390/s390-32/elf/configure: Delete file.
27227         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
27228         * sysdeps/s390/s390-32/start.S: ... here.
27230         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
27231         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
27232         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
27233         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
27234         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
27235         * sysdeps/s390/s390-64/setjmp.S: ... here.
27236         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
27237         * sysdeps/s390/s390-64/configure.in: ... here
27238         * sysdeps/s390/s390-64/elf/configure: Delete file.
27239         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
27240         * sysdeps/s390/s390-64/start.S: ... here.
27241         * sysdeps/s390/s390-64/elf/configure: Delete.
27243         * configure.in: Remove support for elf directories in sysdeps.
27245         * configure: Regenerated.
27246         * sysdeps/i386/configure: Regenerated.
27247         * sysdeps/powerpc/powerpc32/configure: Regenerated.
27248         * sysdeps/powerpc/powerpc64/configure: Regenerated.
27249         * sysdeps/s390/s390-32/configure: Regenerated.
27250         * sysdeps/s390/s390-64/configure: Regenerated.
27251         * sysdeps/sh/configure: Regenerated.
27252         * sysdeps/sparc/configure: Regenerated.
27253         * sysdeps/x86_64/configure: Regenerated.
27255 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
27257         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27259         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
27260         denormal result into account.
27262 2012-03-25  Roland McGrath  <roland@hack.frob.com>
27264         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
27265         Reported by Allan McRae <allan@archlinux.org>.
27267 2012-03-23  Jeff Law  <law@redhat.com>
27269         * nss/getnssent.c (__nss_getent): Fix typo.
27271 2012-03-23  David S. Miller  <davem@davemloft.net>
27273         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27275 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
27277         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
27278         to pad to uint64_t for each field.
27279         (dl_tls_index): Replace unsigned long with uint64_t.
27281 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
27282         Paul Pluzhnikov  <ppluzhnikov@google.com>
27284         [BZ #6528]
27285         * grp/Makefile (otherlibs): Don't set it.
27286         * inet/Makefile (otherlibs): Likewise.
27287         * login/Makefile (otherlibs): Likewise.
27288         * nscd/Makefile (otherlibs): Likewise.
27289         * posix/Makefile (otherlibs): Likewise.
27290         * pwd/Makefile (otherlibs): Likewise.
27291         * rt/Makefile (otherlibs): Likewise.
27292         * sunrpc/Makefile (otherlibs): Likewise.
27293         * nss/Makefile (otherlibs): Likewise.
27294         Add libnss_files to routines and static-only-routines.
27295         ($(objpfx)getent): Remove rule.
27296         * resolv/Makefile: Add libnss_dns and libresolv to routines and
27297         static-only-routines.
27299 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
27301         [BZ #13892]
27302         * math/s_cexp.c: Include <float.h>.
27303         (__cexp): Handle exp result overflowing not necessarily
27304         overflowing both real and imaginary parts of result.
27305         * math/s_cexpf.c: Likewise.
27306         * math/s_cexpl.c: Likewise.
27307         * math/libm-test.inc (cexp_test): Add more tests.
27308         * sysdeps/i386/fpu/libm-test-ulps: Update.
27309         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27311 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
27313         * include/link.h (ELFW): New macro.
27314         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
27315         Replace ELF64_R_TYPE with ELFW(R_TYPE).
27317 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
27319         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
27320         with uint64_t.
27322 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
27324         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
27325         declaration.
27326         (struct La_x32_retval): Likewise.
27328 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
27330         * sysdeps/x86_64/preconfigure.in: New file.
27331         * sysdeps/x86_64/preconfigure: New generated file.
27333 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
27335         [BZ #13824]
27336         * math/e_exp2l.c: Include <float.h>.
27337         (__ieee754_exp2l): Handle overflow and underflow cases
27338         separately.  Only pass fractional part of argument to
27339         __ieee754_expl.
27340         * math/libm-test.inc (exp2_test): Add more tests.
27342         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
27343         negating x to take absolute value.
27344         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
27345         Likewise.
27346         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
27347         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
27348         Likewise.
27349         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
27350         computing low part if x was negated.
27351         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
27353 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
27355         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
27356         la_x32_gnu_pltexit.
27357         (pltexit): Cast int_retval to ptrdiff_t.
27358         * elf/tst-auditmod3b.c: Likewise.
27359         * elf/tst-auditmod4b.c: Likewise.
27360         * elf/tst-auditmod5b.c: Likewise.
27361         * elf/tst-auditmod6b.c: Likewise.
27362         * elf/tst-auditmod6c.c: Likewise.
27363         * elf/tst-auditmod7b.c: Likewise.
27365         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
27366         and x32_gnu_pltexit.
27368         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
27369         __ELF_NATIVE_CLASS.
27370         (La_x32_regs): New macro.
27371         (La_x32_retval): Likewise.
27372         (la_x32_gnu_pltenter): New function prototype.
27373         (la_x32_gnu_pltexit): Likewise.
27375 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
27377         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
27378         exponent.
27380         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27382         * configure.in (libc_cv_cc_nofma): Check for option to disable
27383         generation of FMA instructions.
27384         * configure: Regenerate.
27385         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
27386         * sysdeps/ieee754/dbl-64/Makefile: New file.
27387         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27388         Remove brandred-fma4.
27389         (CFLAGS-brandred-fma4.c): Remove.
27390         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
27391         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
27392         define.
27393         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
27394         define.
27396 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
27398         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
27399         LLONG_MAX != LONG_MAX.
27400         (_itoa_word): Use _ITOA_WORD_TYPE on value.
27401         (_fitoa_word): Likewise.
27402         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
27403         LLONG_MAX != LONG_MAX.
27404         * stdio-common/_itowa.h: Include <_itoa.h>.
27405         (_itowa_word): Use _ITOA_WORD_TYPE on value.
27406         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
27407         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
27408         only if not defined.
27409         (_ITOA_WORD_TYPE): Likewise.
27410         (_itoa_word): Use _ITOA_WORD_TYPE on value.
27411         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
27413 2012-03-21  David S. Miller  <davem@davemloft.net>
27415         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27417 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
27419         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
27420         of x86_64 when setting libc_cv_slibdir, libdir and
27421         libc_cv_localedir.
27422         * sysdeps/unix/sysv/linux/configure: Regenerated.
27424 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
27426         * manual/lang.texi (Old Varargs): Remove section.
27427         (How Variadic): Update menu.
27428         (va_start): Do not mention varargs.h.
27430 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
27431             Joseph Myers  <joseph@codesourcery.com>
27433         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
27434         link test.
27435         * configure: Regenerated.
27437 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
27439         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
27440         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
27441         conformtest.pl
27443 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
27445         * NOTES: Remove.
27446         * Makefile (files-for-dist): Remove NOTES.
27447         (NOTES): Remove rule.
27448         * README: Don't refer to NOTES.
27449         * manual/creature.texi: Don't include macros.texi.
27450         * manual/intro.texi (creature.texi): Remove comment referring to
27451         NOTES.
27453         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
27454         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
27455         * configure: Regenerated.
27456         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
27457         LIBC_TRY_CC_OPTION.
27458         (libc_cv_as_i686): Likewise.
27459         (libc_cv_cc_avx): Likewise.
27460         (libc_cv_cc_sse2avx): Likewise.
27461         (libc_cv_cc_fma4): Likewise.
27462         (libc_cv_cc_novzeroupper): Likewise.
27463         * sysdeps/i386/configure: Regenerated.
27465         [BZ #13883]
27466         * sysdeps/i386/fpu/s_cexp.S: Remove.
27467         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
27468         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
27469         * math/libm-test.inc (cexp_test): Add more tests.
27470         * sysdeps/i386/fpu/libm-test-ulps: Update.
27471         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27473 2012-03-21  Allan McRae  <allan@archlinux.org>
27475         * timezone/Makefile: Do not install iso3166.tab and zone.tab
27477 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
27479         [BZ #13871]
27480         * math/w_exp2.c: Do not include <float.h>.
27481         (o_threshold, u_threshold): Remove.
27482         (__exp2): Calculate result before checking finiteness and calling
27483         __kernel_standard.
27484         * math/w_exp2f.c: Likewise.
27485         * math/w_exp2l.c: Likewise.
27486         * math/libm-test.inc (exp2_test): Require overflow exception for
27487         1e6 input.
27489         [BZ #3866]
27490         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
27491         range of signed 64-bit integers before using fistpll.  Remove
27492         checks for whether integers fit in mantissa bits.
27493         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
27494         the range of signed 32-bit integers before using fistpl.  Remove
27495         checks for whether integers fit in mantissa bits.
27496         * sysdeps/i386/fpu/e_powl.S (p64): New object.
27497         (__ieee754_powl): Test for y outside the range of signed 64-bit
27498         integers before using fistpll.  Reduce 64-bit values to 63-bit
27499         ones as needed.
27500         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
27501         divide-by-zero is raised for zero to large negative powers.
27502         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
27503         (__ieee754_powl): Test for y outside the range of signed 64-bit
27504         integers before using fistpll.  Reduce 64-bit values to 63-bit
27505         ones as needed.
27506         * math/libm-test.inc (pow_test): Add more tests.
27508 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
27510         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
27511         <stdio-common/_itoa.h>.
27512         * debug/segfault.c: Likewise.
27513         * elf/dl-cache.c: Likewise.
27514         * elf/dl-minimal.c: Likewise.
27515         * elf/dl-misc.c: Likewise.
27516         * elf/dl-sysdep.c: Likewise.
27517         * elf/dl-version.c: Likewise.
27518         * elf/rtld.c: Likewise.
27519         * hurd/hurdsock.c: Likewise.
27520         * hurd/lookup-retry.c: Likewise.
27521         * malloc/malloc.c: Likewise.
27522         * malloc/mtrace.c: Likewise.
27523         * nscd/nscd_getgr_r.c: Likewise.
27524         * nscd/nscd_getpw_r.c: Likewise.
27525         * nscd/nscd_getserv_r.c: Likewise.
27526         * posix/getopt_init.c: Likewise.
27527         * posix/wordexp.c: Likewise.
27528         * stdio-common/_itoa.c: Likewise.
27529         * stdio-common/printf_fphex.c: Likewise.
27530         * stdio-common/vfprintf.c: Likewise.
27531         * string/_strerror.c: Likewise.
27532         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
27533         * sysdeps/i386/i686/hp-timing.h: Likewise.
27534         * sysdeps/mach/_strerror.c: Likewise.
27535         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
27536         * sysdeps/mach/hurd/sethostid.c: Likewise.
27537         * sysdeps/mach/hurd/xmknodat.c: Likewise.
27538         * sysdeps/mach/xpg-strerror.c: Likewise.
27539         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
27540         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
27541         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
27542         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
27543         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
27544         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
27545         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
27546         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
27547         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
27548         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
27549         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
27550         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
27551         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
27552         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
27553         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
27554         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
27555         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
27556         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
27557         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
27558         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
27559         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
27561         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
27563         * stdio-common/_itoa.h: Moved to ...
27564         * sysdeps/generic/_itoa.h: Here.
27566         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
27568         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
27569         instead of "_itoa.h" and "_itowa.h".
27570         * stdio-common/vfprintf.: Likewise.
27572 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
27574         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
27575         <bits/wordsize.h>.
27576         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
27577         (__signbit): Likwise.
27578         (llrintf): Likwise.
27579         (llrint): Likwise.
27581 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
27583         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
27584         __WORDSIZE != 64.
27586 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
27588         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
27589         OVERFLOW_EXCEPTION_OK.
27590         * math/libm-test.inc ("Philosophy"): Update comment about
27591         exception testing.
27592         (OVERFLOW_EXCEPTION): Define.
27593         (OVERFLOW_EXCEPTION_OK): Likewise.
27594         (INVALID_EXCEPTION_OK): Renumber.
27595         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27596         (IGNORE_ZERO_INF_SIGN): Likewise.
27597         (test_exceptions): Handle FE_OVERFLOW.
27598         (exp10_test): Expect overflow exceptions.
27599         (exp2_test): Likewise.
27600         (expm1_test): Likewise.
27601         (nextafter_test): Likewise.
27602         (pow_test): Likewise.
27603         (scalbn_test): Likewise.
27604         (scalbln_test): Likewise.
27606 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
27608         * sysdeps/x86_64/bits/atomic.h
27609         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
27610         64bit integer.
27611         (atomic_exchange_acq): Likewise.
27612         (__arch_exchange_and_add_body): Likewise.
27613         (__arch_add_body): Likewise.
27614         (atomic_add_negative): Likewise.
27615         (atomic_add_zero): Likewise.
27617 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
27619         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
27620         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
27622 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
27624         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
27625         Check __x86_64__ instead of __WORDSIZE.
27627 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
27629         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
27631 2012-03-19  David S. Miller  <davem@davemloft.net>
27633         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27635         * sysdeps/sparc/fpu/fenv_private.h: New file.
27636         * sysdeps/sparc/fpu/math_private.h: Use it.
27637         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
27638         Remove.
27639         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
27640         (libc_feholdexcept_setroundl): Remove.
27641         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
27642         Remove.
27643         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
27644         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
27646 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
27648         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
27649         int64_t instead of long int.
27650         (INSERT_WORDS64): Likwise.
27652 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
27654         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
27655         _Unwind_GetCFA return to _Unwind_Ptr first.
27657 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
27659         [BZ #13629]
27660         * math/s_clog.c: Include <float.h>.
27661         (__clog): Scale large or subnormal inputs.
27662         * math/s_clogf.c: Likewise.
27663         * math/s_clogl.c: Likewise.
27664         * math/s_clog10.c: Include <float.h>.
27665         (M_LOG10_2): Define.
27666         (__clog10): Scale large or subnormal inputs.
27667         * math/s_clog10f.c: Likewise.
27668         * math/s_clog10l.c: Likewise.
27669         * math/libm-test.inc (clog_test): Add more tests.
27670         (clog10_test): Likewise.
27671         * sysdeps/i386/fpu/libm-test-ulps: Update.
27672         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27674         [BZ #11451]
27675         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
27676         x and y.
27677         * math/libm-test.inc (atan2_test): Add another test.
27679         * Makerules (common-objdir-compile): Remove.
27680         * sysdeps/unix/Makefile (config-generated): Do not add
27681         $(unix-generated) to variable.
27682         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
27683         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
27684         Remove rule.
27685         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
27686         Likewise.
27687         [generic bits/local_lim.h] (before-compile): Do not append to
27688         variable.
27689         [generic bits/local_lim.h] (common-generated): Likewise.
27690         [generic sys/param.h] (before-compile): Do not append to variable.
27691         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
27692         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
27693         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
27694         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
27695         include.
27696         [generic sys/param.h] (sys/param.h-includes): Remove variable.
27697         [generic sys/param.h] (sys/param.h-includes): Remove rule.
27698         [generic sys/param.h] ($(addprefix
27699         $(common-objpfx),$(sys/param.h-includes))): Likewise.
27700         [generic sys/param.h] (common-generated): Do not append to
27701         variable.
27702         [generic sys/param.h] (sysdep_headers): Likewise.
27703         [generic bits/errno.h] (before-compile): Do not append to
27704         variable.
27705         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
27706         rule.
27707         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
27708         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
27709         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
27710         [generic bits/errno.h] (common-generated): Do not append to
27711         variable.
27712         [generic bits/ioctls.h] (before-compile): Do not append to
27713         variable.
27714         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
27715         rule.
27716         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
27717         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
27718         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
27719         rule.
27720         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
27721         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
27722         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
27723         [generic bits/ioctls.h] (common-generated): Do not append to
27724         variable.
27725         [generic sys/syscall.h] (syscall.h): Remove variable.
27726         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
27727         rule.
27728         [generic sys/syscall.h] (before-compile): Do not append to
27729         variable.
27730         [generic sys/syscall.h] (common-generated): Likewise.
27731         * sysdeps/unix/errnos-tmpl.c: Remove file.
27732         * sysdeps/unix/errnos.awk: Likewise.
27733         * sysdeps/unix/ioctls-tmpl.c: Likewise.
27734         * sysdeps/unix/ioctls.awk: Likewise.
27735         * sysdeps/unix/mk-local_lim.c: Likewise.
27736         * sysdeps/unix/snarf-ioctls: Likewise.
27738 2012-03-19  Richard Henderson  <rth@twiddle.net>
27740         * sysdeps/i386/fpu/fenv_private.h: New file.
27741         * sysdeps/i386/fpu/math_private.h: Use it.
27742         (math_opt_barrier, math_force_eval): Remove.
27743         (libc_feholdexcept_setround_53bit): Remove.
27744         (libc_feupdateenv_53bit): Remove.
27745         * sysdeps/x86_64/fpu/math_private.h: Likewise.
27746         (math_opt_barrier, math_force_eval): Remove.
27747         (libc_feholdexcept): Remove.
27748         (libc_feholdexcept_setround): Remove.
27749         (libc_fetestexcept, libc_fesetenv): Remove.
27750         (libc_feupdateenv_test): Remove.
27751         (libc_feupdateenv, libc_feholdsetround): Remove.
27752         (libc_feresetround): Remove.
27754         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
27755         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
27757         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
27758         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
27759         (libc_feupdateenv_testl): New.
27760         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
27761         (libc_feupdateenv_testf): New.
27762         (libc_feupdateenv): Use libc_feupdateenv_test.
27763         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
27764         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
27766         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
27767         (libc_feholdsetroundf, libc_feholdsetroundl): New.
27768         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
27769         (libc_feresetround_noex): New.
27770         (libc_feresetround_noexf): New.
27771         (libc_feresetround_noexl): New.
27772         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
27773         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
27774         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
27775         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
27776         SET_RESTORE_ROUND.
27777         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
27778         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
27779         (__cos): Likewise.
27780         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
27781         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
27782         SET_RESTORE_ROUND_NOEX.
27783         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
27784         SET_RESTORE_ROUND_NOEXF.
27785         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
27786         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
27787         (libc_feholdsetroundf): New.
27788         (libc_feresetround, libc_feresetroundf): New.
27790         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
27791         (libc_feholdexcept_setround_53bit): Convert from macro to function.
27792         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
27794         * sysdeps/generic/math_private.h: Include <fenv.h>.
27795         (default_libc_feholdexcept): New.
27796         (default_libc_feholdexcept_setround): New.
27797         (default_libc_fesetenv, default_libc_feupdateenv): New.
27798         (libc_feholdexcept): Only define if undefined.
27799         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
27800         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
27801         (libc_feholdexcept_setroundl): Likewise.
27802         (libc_feholdexcept_setround_53bit): Likewise.
27803         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
27804         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
27805         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
27806         (libc_feupdateenv_53bit): Likewise.
27807         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
27808         (libc_feholdexcept): Convert from macro to inline function.
27809         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
27810         (libc_fesetenv, libc_feupdateenv): Likewise.
27812         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
27813         not previously defined.
27814         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
27815         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
27816         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
27817         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
27818         * sysdeps/ieee754/flt-32/math_private.h: New file.
27819         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
27820         math_private.h below SET_FLOAT_WORD.
27821         (__isnan, __isinf_ns, __finite): Remove.
27822         (__isnanf, __isinf_nsf, __finitef): Remove.
27824 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
27826         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27828 2012-03-17  David S. Miller  <davem@davemloft.net>
27830         [BZ #6471]
27831         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
27832         for 2.16.
27834 2012-03-16  David S. Miller  <davem@davemloft.net>
27836         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
27837         warnings.
27839         [BZ #6471]
27840         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
27841         properly.
27842         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
27843         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
27844         sysdep_routines when subdir is sysvipc.
27845         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
27846         __getshmlba helper.
27848         * sysdeps/sparc/fpu/libm-test/ulps: Update.
27850 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
27852         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
27853         [__LP64__].
27855 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
27857         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
27858         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
27859         (__lround): Renamed to ...
27860         (__llround): This.  Replace long int with long long int.
27861         Define lround functions as aliases of llround functions.
27862         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
27864 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
27866         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
27867         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
27868         adresses to uintptr_t.  Replace "long int" and "unsigned long
27869         int" with "greg_t" on va_arg.
27871 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
27873         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
27874         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
27876         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
27877         Move e_machine check before EI_CLASS check.  Handle x32
27878         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
27879         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
27880         SKIP_EM_IA_64 and include
27881         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
27883         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
27884         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
27885         (add_system_dir): New macro.
27887         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
27888         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
27890 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
27892         [BZ #2551]
27893         [BZ #2552]
27894         [BZ #2553]
27895         [BZ #2554]
27896         [BZ #2562]
27897         [BZ #2563]
27898         [BZ #2565]
27899         [BZ #2566]
27900         [BZ #2576]
27901         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
27902         (y0): Likewise.
27903         * math/w_j0f.c (j0f): Likewise.
27904         (y0f): Likewise.
27905         * math/w_j0l.c (__j0l): Likewise.
27906         (__y0l): Likewise.
27907         * math/w_j1.c (j1): Likewise.
27908         (y1): Likewise.
27909         * math/w_j1f.c (j1f): Likewise.
27910         (y1f): Likewise.
27911         * math/w_j1l.c (__j1l): Likewise.
27912         (__y1l): Likewise.
27913         * math/w_jn.c (jn): Likewise.
27914         (yn): Likewise.
27915         * math/w_jnf.c (jnf): Likewise.
27916         (ynf): Likewise.
27917         * math/w_jnl.c (__jnl): Likewise.
27918         (__ynl): Likewise.
27919         * math/libm-test.inc (j0_test): Add more tests.
27920         (j1_test): Likewise.
27921         (jn_test): Likewise.  Add trailing semicolon to existing test.
27922         (y0_test): Likewise.
27923         (y1_test): Likewise.
27924         * sysdeps/i386/fpu/libm-test-ulps: Update.
27925         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27927         [BZ #13851]
27928         [BZ #13854]
27929         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
27930         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
27931         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
27932         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
27933         (__tanl): Set errno for infinite argument.
27934         * sysdeps/i386/fpu/mptan.c: Remove.
27935         * sysdeps/i386/fpu/s_tan.S: Likewise.
27936         * sysdeps/i386/fpu/s_tanl.S: Likewise.
27937         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
27938         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
27939         * math/libm-test.inc (tan_test): Add more tests and enable more
27940         tests for double and long double.
27941         * sysdeps/i386/fpu/libm-test-ulps: Update.
27942         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27944 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
27946         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
27947         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
27949 2012-03-16  Roland McGrath  <roland@hack.frob.com>
27951         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
27952         * configure.in: Use it for both main tree and add-ons.
27953         * configure: Regenerated.
27955 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
27957         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
27959 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
27961         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
27962         in comment.
27964         [BZ #13851]
27965         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
27966         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
27967         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
27968         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
27969         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
27970         infinite argument.
27971         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
27972         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
27973         != 0 for prec == 2.
27974         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
27975         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
27976         * sysdeps/i386/fpu/s_cosl.S: Likewise.
27977         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
27978         * sysdeps/i386/fpu/s_sinl.S: Likewise.
27979         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
27980         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
27981         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
27982         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
27983         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
27984         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
27985         * math/libm-test.inc (cos_test): Add more tests and enable more
27986         tests for long double.
27987         (sin_test): Likewise.
27988         (sincos_test): Likewise.
27989         * sysdeps/i386/fpu/libm-test-ulps: Update.
27990         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27992 2012-03-16  David S. Miller  <davem@davemloft.net>
27994         * sysdeps/sparc/fpu/math_private.h: New file.
27996 2012-03-15  David S. Miller  <davem@davemloft.net>
27998         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
27999         file.
28000         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
28001         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
28002         file.
28003         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
28004         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
28005         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
28006         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
28007         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
28008         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
28009         sysdep routines.
28010         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28012         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
28013         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
28015         * sysdeps/sparc/sparc-ifunc.h: New file.
28016         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
28017         sparc-ifunc.h
28018         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
28019         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
28020         Likewise.
28021         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
28022         Likewise.
28023         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
28024         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
28025         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
28026         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
28027         Likewise.
28028         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
28029         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
28030         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
28031         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
28032         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
28033         Likewise.
28034         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
28035         Likewise.
28036         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
28037         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
28038         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
28039         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
28040         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
28041         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
28042         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
28043         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
28044         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
28045         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
28046         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
28047         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
28048         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
28049         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
28050         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
28051         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
28052         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
28053         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
28054         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
28055         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
28056         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
28057         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
28058         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
28059         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
28061 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
28063         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
28064         scaling.
28065         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28067 2012-03-15  Andreas Jaeger  <aj@suse.de>
28069         [BZ #13852]
28070         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
28071         ieee754/flt-32 implementation for sin, cos and sincos.
28072         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
28073         * sysdeps/i386/fpu/s_cosf.S: Likewise.
28074         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
28075         * sysdeps/i386/fpu/s_sinf.S: Likewise.
28076         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
28077         ieee754/flt-32 implementation for tan.
28079         * math/libm-test.inc (cos_test): Enable some large input tests for
28080         float as well
28081         (sin_test): Likewise.
28082         (sincos_test): Likewise.
28083         (tan_test): Add tests for large input.
28085         * sysdeps/i386/fpu/libm-test-ulps: Update.
28087 2012-03-15  Andreas Jaeger  <aj@suse.de>
28089         [BZ #13658]
28090         * math/libm-test.inc (cos_test): Add more test cases.
28091         (sin_test): Likewise.
28092         (sincos_test): Likewise.
28094 2012-03-15  Andreas Jaeger  <aj@suse.de>
28096         [BZ #13837]
28097         * math/libm-test.inc (cos_test): Add a test case for large input
28098         value.
28099         (sin_test): Likewise.
28100         (sincos_test): Likewise.
28102 2012-03-15  Andreas Jaeger  <aj@suse.de>,
28103         Joseph Myers  <joseph@codesourcery.com>
28105         [BZ #13658]
28106         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
28107         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
28108         * sysdeps/i386/fpu/branred.c: Likewise.
28109         * sysdeps/i386/fpu/dosincos.c: Likewise.
28110         * sysdeps/i386/fpu/mpa.c: Likewise.
28111         * sysdeps/i386/fpu/s_cos.S: Likewise.
28112         * sysdeps/i386/fpu/s_sin.S: Likewise.
28113         * sysdeps/i386/fpu/s_sincos.S: Likewise.
28114         * sysdeps/i386/fpu/sincos32.c: Likewise.
28116         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
28117         Define.
28118         (libc_feupdateenv_53bit): Define.
28119         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
28120         Define.
28121         (libc_feupdateenv_53bit): Define.
28123         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
28124         53 bit (without extend i386 double precision).
28126         * math/libm-test.inc (sincos_test): Add tests for large input.
28127         (sin): Likewise.
28128         (cos): Likewise.
28130         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
28132 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
28134         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28136 2012-03-15  David S. Miller  <davem@davemloft.net>
28138         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
28139         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
28140         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
28141         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
28142         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
28143         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
28144         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
28145         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
28146         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
28147         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
28148         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
28149         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
28150         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
28151         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
28152         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
28153         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
28154         file.
28155         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
28156         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
28157         file.
28158         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
28159         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
28160         file.
28161         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
28162         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
28163         file.
28164         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
28165         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
28166         fmin/fmax sysdep routines.
28167         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28169 2012-03-14  David S. Miller  <davem@davemloft.net>
28171         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
28172         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
28173         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
28174         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
28175         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
28176         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
28177         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
28178         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
28179         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
28180         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
28181         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
28182         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
28183         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
28184         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
28185         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
28186         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
28187         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
28188         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
28189         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
28190         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
28191         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
28192         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
28193         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
28194         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
28195         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
28196         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
28197         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
28198         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
28199         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
28200         routines.
28201         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
28202         file.
28203         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
28204         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
28205         file.
28206         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
28207         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
28208         file.
28209         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
28210         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
28211         file.
28212         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
28213         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
28214         file.
28215         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
28216         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
28217         file.
28218         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
28219         file.
28220         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
28221         file.
28222         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
28223         file.
28224         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
28225         New file.
28226         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
28227         file.
28228         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
28229         file.
28230         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
28231         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
28232         file.
28233         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
28234         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
28235         file.
28236         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
28237         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
28238         file.
28239         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
28240         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
28241         VIS3 routines.
28243         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
28244         New file.
28246         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28248         * sysdeps/sparc/configure.in: New file.
28249         * sysdeps/sparc/configure: Generate.
28250         * configure.in (libc_cv_sparc_as_vis3): Substitute.
28251         * configure: Regenerate.
28252         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
28253         * config.make.in (have-as-vis3): New.
28254         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
28255         available use -Av9d instead of -Av9a.
28256         * sysdeps/sparc/sparc64/Makefile: Likewise.
28257         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
28258         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
28259         New file.
28260         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
28261         file.
28262         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
28263         New file.
28264         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
28265         file.
28266         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
28267         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
28268         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
28269         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
28270         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
28272         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
28273         fzeros/fnegs to load 0x80000000 into a float register instead of
28274         using the stack.
28275         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
28277 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
28279         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28280         bits/syscall.h.
28281         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
28282         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
28283         ($(inst_includedir)/bits/syscall.h): Remove rule.
28284         ($(objpfx)bits/syscall.d): Include instead of
28285         $(objpfx)syscall-list.d.
28286         (generated): Change syscall-list.h and syscall-list.d to
28287         bits/syscall.h and bits/syscall.d.
28289 2012-03-14  Roland McGrath  <roland@hack.frob.com>
28291         [BZ #13846]
28292         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
28294 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
28296         [BZ #13841]
28297         * math/s_csqrt.c: Include <float.h>.
28298         (__csqrt): Scale large or subnormal inputs.
28299         * math/s_csqrtf.c: Likewise.
28300         * math/s_csqrtl.c: Likewise.
28301         * math/libm-test.inc (csqrt_test): Add more tests.
28302         * sysdeps/i386/fpu/libm-test-ulps: Update.
28303         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28305         [BZ #13840]
28306         * math/libm-test.inc (hypot_test): Add more tests.
28308 2012-03-13  David S. Miller  <davem@davemloft.net>
28310         [BZ #13840]
28311         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
28312         double-precision for the calculation instead of scaling.
28314 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
28316         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
28317         manipulate bits before adding and subtracting TWO52[sx].
28318         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
28319         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
28320         Likewise.
28321         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
28323 2012-03-13  David S. Miller  <davem@davemloft.net>
28325         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
28326         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
28327         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
28328         rtld-global-offsets.h
28329         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28331         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
28332         large parameters.
28334         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
28336         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
28337         'err' in the ifdef scope in which it is actually used.
28339         * nss/nss_db/db-init.c: Include string.h
28341 2012-03-12  David S. Miller  <davem@davemloft.net>
28343         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
28344         masking out of the most significant byte of random value used.
28345         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28346         Fix coding style in previous change.
28348         * sysdeps/unix/sysv/linux/kernel-features.h
28349         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
28350         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
28351         expression.
28352         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
28353         later.
28355 2012-03-11  David S. Miller  <davem@davemloft.net>
28357         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
28358         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
28359         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
28360         for 'resultvar' otherwise things get truncated on 64-bit.
28362         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28363         Fix masking out of the most significant byte of random value used.
28365         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28367 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
28369         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28371 2012-03-09  David S. Miller  <davem@davemloft.net>
28373         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
28374         variables with appropriate CPP guards.
28375         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
28376         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
28377         on resulting framesize and the management of the outregs buffer for pltexit.
28378         Preserve floating point return values across _dl_call_pltexit call.
28379         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
28380         framesize and the management of the outregs buffer for pltexit.
28381         Preserve floating point return values across _dl_call_pltexit
28382         call.
28383         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
28384         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
28385         (print_exit): Fix format string for return register value.
28387 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
28389         * sunrpc/Makefile (others): Add rpcgen.
28390         ($(objpfx)rpcgen): Remove special build rule and dependency on
28391         libc.
28392         * sunrpc/rpcgen.c: New file.
28394 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
28396         [BZ #13673]
28397         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
28398         * stdio-common/bug-vfprintf-nargs.c: Likewise.
28399         * sysdeps/i386/crti.S: Likewise.
28400         * sysdeps/i386/crtn.S: Likewise.
28401         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
28402         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
28403         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
28404         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
28405         * sysdeps/sh/crti.S: Likewise.
28406         * sysdeps/sh/crtn.S: Likewise.
28407         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
28409         [BZ #13673]
28410         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
28411         with URL.
28412         * locale/programs/locfile-kw.gperf: Likewise.
28413         * locale/programs/charmap-kw.h: Regenerated.
28414         * locale/programs/locfile-kw.h: Likewise.
28416         [BZ #13673]
28417         * intl/plural.y: Replace FSF snail mail address with URL.
28418         * intl/plural.c: Regenerated.
28420 2012-03-09  Richard Henderson  <rth@twiddle.net>
28422         * include/math_private.h: Remove file.
28423         * math/math_private.h: Move file ...
28424         * sysdeps/generic/math_private.h: ... here.
28426         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
28427         * sysdeps/powerpc/fpu/math_private.h: Likewise.
28428         * sysdeps/x86_64/fpu/math_private.h: Likewise.
28430         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
28431         and <math_private.h>.
28432         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
28433         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
28434         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
28435         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
28436         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
28437         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
28438         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28439         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28440         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28441         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28442         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28443         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28444         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28445         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28446         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28447         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28448         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28449         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28450         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28451         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
28452         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28453         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28454         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28455         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28456         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
28457         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28458         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28459         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28460         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28461         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28462         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
28463         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28464         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
28465         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
28466         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
28467         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28468         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28469         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
28470         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
28471         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28472         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
28473         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
28474         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
28475         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
28476         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
28477         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
28478         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
28479         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
28480         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28481         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
28482         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
28483         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
28484         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
28485         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
28486         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
28487         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
28488         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28489         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
28490         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
28491         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
28492         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28493         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
28494         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28495         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
28496         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
28497         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
28498         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
28499         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
28500         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
28501         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
28502         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
28503         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28504         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
28505         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28506         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
28507         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
28508         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
28509         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28510         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
28511         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
28512         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
28513         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
28514         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
28515         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
28516         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28517         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
28518         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
28519         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
28520         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
28521         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28522         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28523         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
28524         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28525         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
28526         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
28527         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
28528         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28529         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
28530         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28531         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
28532         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
28533         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
28534         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
28535         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
28536         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
28537         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
28538         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
28539         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
28540         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
28541         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
28542         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
28543         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
28544         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
28545         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
28546         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
28547         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28548         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
28549         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
28550         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
28551         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
28552         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
28553         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
28554         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28555         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
28556         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
28557         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
28558         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
28559         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
28560         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
28561         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
28562         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
28563         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
28564         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
28565         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
28566         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
28567         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
28568         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
28569         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
28570         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
28571         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
28572         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28573         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
28574         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
28575         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
28576         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
28577         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
28578         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
28579         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
28580         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
28581         * sysdeps/ieee754/k_standard.c: Likewise.
28582         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
28583         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
28584         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28585         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
28586         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
28587         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
28588         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
28589         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
28590         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
28591         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
28592         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28593         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
28594         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
28595         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
28596         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
28597         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
28598         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
28599         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
28600         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
28601         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
28602         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
28603         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
28604         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
28605         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
28606         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
28607         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
28608         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
28609         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
28610         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
28611         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
28612         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
28613         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
28614         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
28615         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
28616         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
28617         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
28618         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
28619         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
28620         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
28621         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
28622         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
28623         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
28624         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
28625         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
28626         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
28627         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
28628         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
28629         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
28630         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
28631         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
28632         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
28633         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
28634         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
28635         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
28636         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
28637         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
28638         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
28639         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
28640         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
28641         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
28642         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
28643         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
28644         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
28645         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
28646         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28647         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28648         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
28649         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
28650         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
28651         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
28652         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
28653         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28654         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
28655         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
28656         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
28657         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
28658         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
28659         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
28660         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28661         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
28662         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
28663         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
28664         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
28665         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
28666         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
28667         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
28668         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
28669         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
28670         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
28671         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
28672         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
28673         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
28674         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
28675         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
28676         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
28677         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
28678         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
28679         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
28680         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
28681         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
28682         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
28683         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
28684         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
28685         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
28686         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
28687         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
28688         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
28689         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
28690         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
28691         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
28692         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
28693         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
28694         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
28695         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28696         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
28697         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28698         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
28699         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28700         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28701         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
28702         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28703         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
28704         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28705         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
28706         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28707         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
28708         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
28709         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
28710         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
28711         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
28712         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
28713         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
28714         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
28715         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
28716         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
28717         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
28718         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
28719         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
28720         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
28721         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
28722         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
28723         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
28724         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
28725         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
28726         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
28727         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
28728         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
28729         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
28730         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
28731         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
28732         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
28733         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
28734         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
28735         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
28736         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
28737         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
28738         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
28739         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
28740         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
28741         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
28742         * sysdeps/ieee754/s_lib_version.c: Likewise.
28743         * sysdeps/ieee754/s_matherr.c: Likewise.
28744         * sysdeps/ieee754/s_signgam.c: Likewise.
28745         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28746         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28747         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
28748         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
28749         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
28750         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
28751         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
28752         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
28753         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
28754         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
28755         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
28756         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
28757         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
28758         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
28759         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
28760         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
28761         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28762         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
28763         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28764         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
28765         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
28767 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
28769         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
28770         * sunrpc/rpc_main.c: Likewise.
28771         * sunrpc/rpc_svcout.c: Likewise.
28773 2012-03-09  David S. Miller  <davem@davemloft.net>
28775         * include/math_private.h: New file.
28777 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
28779         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
28780         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
28781         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
28782         from <bits/socket_type.h>.
28783         (enum __socket_type): Don't define here.
28784         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
28785         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28786         bits/socket_type.h.
28788         [BZ #13566]
28789         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
28790         checking __USE_GNU.
28792         * Makerules ($(inst_includedir)/%.h): New rule.
28793         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
28794         (install-others): Remove variable setting.
28795         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
28797 2012-03-08  Richard Henderson  <rth@twiddle.net>
28799         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
28800         from macro to inline function; merge with the
28801         !__LIBC_INTERNAL_MATH_INLINES version.
28802         (__ieee754_sqrtf): Likewise.
28804         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
28805         to inline function.
28806         (__rintf, __floor, __floorf): Likewise.
28808         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
28809         macro to inline function.
28810         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
28812         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
28813         not <math/math_private.h>.
28815 2012-03-08  David S. Miller  <davem@davemloft.net>
28817         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
28818         copyright year.
28819         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
28821 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
28823         * resolv/gai_misc.c (handle_requests): Fix struct timespec
28824         normalization.
28825         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
28826         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
28828 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
28830         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
28831         be defined individually, they must be defined as a block.  Define
28832         S for printing a string instead of hidint the different by using a
28833         macro for adding the 'l'.
28834         * stdio-common/tst-fphex-wide.c: Adjust.
28836 2012-03-07  Marek Polacek  <polacek@redhat.com>
28838         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
28840 2012-03-08  Marek Polacek  <polacek@redhat.com>
28842         [BZ #13806]
28843         * stdio-common/Makefile (tests): Add tst-fphex-wide.
28844         * stdio-common/tst-fphex.c: Define a few macros to make the
28845         test reusable.  Use them.
28846         * stdio-common/tst-fphex-wide.c: New file.
28848 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
28850         [BZ #6911]
28851         * manual/macros.texi (gnusystems): New macro.
28852         (nongnusystems): Likewise.
28853         (gnulinuxhurdsystems): Likewise.
28854         (gnuhurdsystems): Likewise..
28855         (gnulinuxsystems): Likewise.
28856         * manual/charset.texi: Use new macros or @theglibc{} to refer to
28857         variants of the GNU system, not "GNU system".
28858         * manual/conf.texi: Likewise.
28859         * manual/errno.texi: Likewise.  Update example of errno macro
28860         expansion.
28861         * manual/filesys.texi: Likewise.
28862         (getumask): Document as specific to GNU/Hurd.
28863         * manual/install.texi: Likewise.  Reword some references to
28864         GNU/Linux.
28865         * manual/intro.texi: Likewise.
28866         * manual/io.texi: Likewise.
28867         (File Name Portability): Detail which constraints are inapplicable
28868         to all GNU systems and which are only inapplicable to GNU/Hurd.
28869         * manual/job.texi: Likewise.
28870         * manual/llio.texi: Likewise.
28871         (O_NOCTTY): Document as present on GNU/Linux.
28872         * manual/maint.texi: Likewise.
28873         * manual/memory.texi: Likewise.
28874         * manual/pattern.texi: Likewise.
28875         * manual/pipe.texi: Likewise.
28876         * manual/process.texi: Likewise.
28877         * manual/resource.texi: Likewise.
28878         (RUSAGE_CHILDREN): Remove statement about specifying a particular
28879         child on GNU/Hurd.
28880         * manual/setjmp.texi: Likewise.
28881         * manual/signal.texi: Likewise.
28882         * manual/startup.texi: Likewise.
28883         * manual/stdio.texi: Likewise.
28884         * manual/terminal.texi: Likewise.
28885         (ONLCR): Document as POSIX.
28886         (OXTABS): Document availability on GNU/Linux as XTABS.
28887         (ONOEOT): Document availability separately from other bits.
28888         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
28889         * manual/time.texi: Likewise.
28890         * manual/users.texi: Likewise.
28891         * INSTALL: Regenerated.
28892         * sysdeps/gnu/errlist.c: Regenerated.
28894         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
28895         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
28896         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
28897         puts.
28898         * configure: Regenerated.
28900 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
28902         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
28903         default includes instead of AC_HEADER_CHECK.
28904         * sysdeps/i386/configure: Regenerated.
28906         [BZ #10716]
28907         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
28908         * math/s_cacoshf.c (__cacoshf): Likewise.
28909         * math/s_cacoshl.c (__cacoshl): Likewise.
28910         * math/s_casinh.c (__casinh): Set signs of result from argument.
28911         * math/s_casinhf.c (__casinhf): Likewise.
28912         * math/s_casinhl.c (__casinhl): Likewise.
28913         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
28914         (casinh_test): Add more tests.
28915         * sysdeps/i386/fpu/libm-test-ulps: Update.
28916         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28918 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
28920         * po/zh_TW.po: Update from translation team.
28922         * login/Makefile (distribute): Remove variable.
28923         * catgets/Makefile: Likewise.
28924         * mach/Makefile: Likewise.
28925         * malloc/Makefile: Likewise.
28926         * misc/Makefile: Likewise.
28927         * iconv/Makefile: Likewise.
28928         * nscd/Makefile: Likewise.
28929         * hurd/Makefile: Likewise.
28930         * manual/Makefile: Likewise.
28931         * locale/Makefile: Likewise.
28932         * intl/Makefile: Likewise.
28933         * conform/Makefile: Likewise.
28934         * nss/Makefile: Likewise.
28935         * time/Makefile: Likewise.
28936         * soft-fp/Makefile: Likewise.
28937         * dirent/Makefile: Likewise.
28938         * gmon/Makefile: Likewise.
28939         * po/Makefile: Likewise.
28940         * rt/Makefile: Likewise.
28941         * socket/Makefile: Likewise.
28942         * math/Makefile: Likewise.
28943         * signal/Makefile: Likewise.
28944         * debug/Makefile: Likewise.
28945         * elf/Makefile: Likewise.
28946         * timezone/Makefile: Likewise.
28947         * stdlib/Makefile: Likewise.
28948         * iconvdata/Makefile: Likewise.
28949         * sunrpc/Makefile: Likewise.
28950         * io/Makefile: Likewise.
28951         * argp/Makefile: Likewise.
28952         * inet/Makefile: Likewise.
28953         * hesiod/Makefile: Likewise.
28954         * grp/Makefile: Likewise.
28955         * csu/Makefile: Likewise.
28956         * wctype/Makefile: Likewise.
28957         * crypt/Makefile: Likewise.
28958         * libio/Makefile: Likewise.
28959         * string/Makefile: Likewise.
28960         * nis/Makefile: Likewise.
28961         * resolv/Makefile: Likewise.
28962         * stdio-common/Makefile: Likewise.
28963         * wcsmbs/Makefile: Likewise.
28964         * dlfcn/Makefile: Likewise.
28965         * posix/Makefile: Likewise.
28967         [BZ #6959]
28968         * timezone/Makefile: Don't install timezone files, just the programs
28969         and scripts.
28971 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
28973         * nss/databases.def: Add missing gshadow entry.
28975         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
28977 2012-03-06  Marek Polacek  <polacek@redhat.com>
28979         [BZ #13726]
28980         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
28981         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
28982         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
28983         * stdio-common/tst-long-dbl-fphex.c: New file.
28985 2012-03-06  David S. Miller  <davem@davemloft.net>
28987         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28988         (set_obp_int): New function.
28989         (get_obp_int): New function.
28990         (__get_clockfreq_via_dev_openprom): Likewise.
28991         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
28992         Avoid unused variable warnings on 'val' and use builtin_expect.
28993         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
28994         __builtin_expect.
28995         (INLINE_CLONE_SYSCALL): Likewise.
28997 2012-03-05  David S. Miller  <davem@davemloft.net>
28999         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29001 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
29003         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29005         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
29006         only for |x| >= 40.
29007         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29009 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
29011         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
29012         Replace gettimeofday with __vdso_gettimeofday.
29014         * sysdeps/unix/sysv/linux/x86_64/init-first.c
29015         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
29016         __vdso_clock_gettime and __vdso_getcpu.
29018         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
29019         time with __vdso_time.
29021 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
29023         * manual/lang.texi (size_t): Note types to which size_t may be
29024         equivalent with the GNU C Library, but do not describe when
29025         differences between them are significant.
29027 2012-03-05  Andreas Jaeger  <aj@suse.de>
29029         * sysdeps/i386/fpu/libm-test-ulps: Update.
29031 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
29033         [BZ #3976]
29034         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
29035         (__ieee754_pow): Save and restore rounding mode and use
29036         round-to-nearest for main computations.
29037         * math/libm-test.inc (pow_test_tonearest): New function.
29038         (pow_test_towardzero): Likewise.
29039         (pow_test_downward): Likewise.
29040         (pow_test_upward): Likewise.
29041         (main): Call the new functions.
29042         * sysdeps/i386/fpu/libm-test-ulps: Update.
29043         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29045         [BZ #3976]
29046         * math/libm-test.inc (cosh_test_tonearest): New function.
29047         (cosh_test_towardzero): Likewise.
29048         (cosh_test_downward): Likewise.
29049         (cosh_test_upward): Likewise.
29050         (sinh_test_tonearest): Likewise.
29051         (sinh_test_towardzero): Likewise.
29052         (sinh_test_downward): Likewise.
29053         (sinh_test_upward): Likewise.
29054         (main): Call the new functions.
29055         * sysdeps/i386/fpu/libm-test-ulps: Update.
29056         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29058 2012-03-05  Tom de Vries  <tom@codesourcery.com>
29060         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
29061         default stack guard is set in last bytes.
29062         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
29064 2012-03-05  Kees Cook  <keescook@chromium.org>
29066         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
29068         [BZ #13656]
29069         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
29070         possibly allocate from heap instead of stack.
29071         * stdio-common/bug-vfprintf-nargs.c: New file.
29072         * stdio-common/Makefile (tests): Add nargs overflow test.
29074 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
29076         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29078 2012-03-03  Marek Polacek  <polacek@redhat.com>
29080         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
29081         * math/math_private.h: Likewise.
29082         * stdlib/tst-strtod.c: Likewise.
29083         * sysdeps/i386/i486/bits/atomic.h: Likewise.
29084         * sysdeps/x86_64/bits/atomic.h: Likewise.
29086 2012-03-02  David S. Miller  <davem@davemloft.net>
29088         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
29089         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
29090         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
29091         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
29092         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
29093         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
29094         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
29095         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
29097 2012-03-02  Roland McGrath  <roland@hack.frob.com>
29099         [BZ #13792]
29100         * manual/examples/README: New file, says the example source files
29101         can be used under GPL>=2.
29102         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
29103         line containing just "*/".
29104         * manual/examples/add.c: Add copyright header (GPL>=2).
29105         * manual/examples/argp-ex1.c: Likewise.
29106         * manual/examples/argp-ex2.c: Likewise.
29107         * manual/examples/argp-ex3.c: Likewise.
29108         * manual/examples/argp-ex4.c: Likewise.
29109         * manual/examples/atexit.c: Likewise.
29110         * manual/examples/db.c: Likewise.
29111         * manual/examples/dir.c: Likewise.
29112         * manual/examples/dir2.c: Likewise.
29113         * manual/examples/execinfo.c: Likewise.
29114         * manual/examples/filecli.c: Likewise.
29115         * manual/examples/filesrv.c: Likewise.
29116         * manual/examples/fmtmsgexpl.c: Likewise.
29117         * manual/examples/genpass.c: Likewise.
29118         * manual/examples/inetcli.c: Likewise.
29119         * manual/examples/inetsrv.c: Likewise.
29120         * manual/examples/isockad.c: Likewise.
29121         * manual/examples/longopt.c: Likewise.
29122         * manual/examples/memopen.c: Likewise.
29123         * manual/examples/memstrm.c: Likewise.
29124         * manual/examples/mkfsock.c: Likewise.
29125         * manual/examples/mkisock.c: Likewise.
29126         * manual/examples/mygetpass.c: Likewise.
29127         * manual/examples/pipe.c: Likewise.
29128         * manual/examples/popen.c: Likewise.
29129         * manual/examples/rprintf.c: Likewise.
29130         * manual/examples/search.c: Likewise.
29131         * manual/examples/select.c: Likewise.
29132         * manual/examples/setjmp.c: Likewise.
29133         * manual/examples/sigh1.c: Likewise.
29134         * manual/examples/sigusr.c: Likewise.
29135         * manual/examples/stpcpy.c: Likewise.
29136         * manual/examples/strdupa.c: Likewise.
29137         * manual/examples/strftim.c: Likewise.
29138         * manual/examples/strncat.c: Likewise.
29139         * manual/examples/subopt.c: Likewise.
29140         * manual/examples/swapcontext.c: Likewise.
29141         * manual/examples/termios.c: Likewise.
29142         * manual/examples/testopt.c: Likewise.
29143         * manual/examples/testpass.c: Likewise.
29144         * manual/examples/timeval_subtract.c: Likewise.
29146         [BZ #13792]
29147         * manual/time.texi (Elapsed Time): Move timeval_subtract example
29148         function to ...
29149         * manual/timeval_subtract.c.texi: ... here, new file.
29151 2012-03-02  David S. Miller  <davem@davemloft.net>
29153         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
29155 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
29157         [BZ #3976]
29158         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
29159         (__sin): Save and restore rounding mode and use round-to-nearest
29160         for all computations.
29161         (__cos): Save and restore rounding mode and use round-to-nearest
29162         for all computations.
29163         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
29164         <fenv.h>.
29165         (tan): Save and restore rounding mode and use round-to-nearest for
29166         all computations.
29167         * math/libm-test.inc (cos_test_tonearest): New function.
29168         (cos_test_towardzero): Likewise.
29169         (cos_test_downward): Likewise.
29170         (cos_test_upward): Likewise.
29171         (sin_test_tonearest): Likewise.
29172         (sin_test_towardzero): Likewise.
29173         (sin_test_downward): Likewise.
29174         (sin_test_upward): Likewise.
29175         (tan_test_tonearest): Likewise.
29176         (tan_test_towardzero): Likewise.
29177         (tan_test_downward): Likewise.
29178         (tan_test_upward): Likewise.
29179         (main): Call the new functions.
29180         * sysdeps/i386/fpu/libm-test-ulps: Update.
29181         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29183         [BZ #10135]
29184         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
29185         small n, then large n, before computing and testing k+n.
29186         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
29187         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
29188         Likewise.
29189         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
29190         Likewise.
29191         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
29192         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
29193         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
29194         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
29195         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
29196         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
29197         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
29198         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
29199         * math/libm-test.inc (scalbn_test): Add more tests.
29200         (scalbln_test): Likewise.
29202         * manual/filesys.texi (mode_t): Describe constraints on size and
29203         signedness, not exact equivalence to a particular type.
29204         (ino_t): Likewise.
29205         (ino64_t): Likewise.
29206         (dev_t): Likewise.
29207         (nlink_t): Likewise.
29208         (blkcnt_t): Likewise.
29209         (blkcnt64_t): Likewise.
29210         * manual/llio.texi (off_t): Likewise.
29212         [BZ #3976]
29213         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
29214         (__ieee754_exp): Save and restore rounding mode and use
29215         round-to-nearest for all computations.
29216         * math/libm-test.inc (exp_test_tonearest): New function.
29217         (exp_test_towardzero): Likewise.
29218         (exp_test_downward): Likewise.
29219         (exp_test_upward): Likewise.
29220         (main): Call the new functions.
29221         * sysdeps/i386/fpu/libm-test-ulps: Update.
29222         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29224 2012-03-01  Chris Demetriou  <cgd@google.com>
29226         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
29227         have predictable order.
29229 2012-03-01  David S. Miller  <davem@davemloft.net>
29231         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
29233         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
29234         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
29235         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
29236         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
29238         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
29239         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
29240         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
29241         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
29242         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
29243         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
29244         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
29245         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
29246         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
29248         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29250         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
29251         * sysdeps/sparc/fpu/libm-test-ulps: to here.
29252         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
29254         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
29255         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29256         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
29257         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
29258         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
29259         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
29260         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
29261         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29262         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
29263         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
29264         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
29265         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29266         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29267         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
29268         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29269         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29270         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
29271         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
29272         * sysdeps/sparc/elf/configure: Regenerated.
29274 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
29276         * configure.in (AS, LD): Require binutils 2.20 or later.
29277         * configure: Regenerated.
29278         * manual/install.texi (Tools for Compilation): Give binutils 2.20
29279         as required minimum version.
29280         * INSTALL: Regenerated.
29282         [BZ #2541]
29283         [BZ #4108]
29284         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
29285         before squaring exponent.
29286         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
29287         bottom long double and 27 bits of top long double before squaring
29288         exponent.
29289         * math/libm-test.inc (erfc_test): Add more tests.
29290         * sysdeps/i386/fpu/libm-test-ulps: Update.
29291         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29292         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29294 2012-03-01  Kai Tietz  <ktietz@redhat.com>
29296         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
29297         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
29298         containing bit-fields.
29299         * soft-fp/extended.h (_FP_UNION_E): Likewise.
29300         * soft-fp/single.h (_FP_UNION_S): Likewise.
29301         * soft-fp/double.h (_FP_UNION_D): Likewise.
29303 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
29305         [BZ #13786]
29306         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
29307         not include ../strcmp.S.
29308         [USE_AS_STRNCASECMP_L]: Likewise.
29309         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
29310         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
29311         * sysdeps/i386/i686/multiarch/strncase_l-c.c
29312         (__strncasecmp_l_ia32): Define as alias to
29313         __strncasecmp_l_nonascii.
29315         [BZ #5794]
29316         * math/libm-test.inc (expm1_test): Add test for bug 5794.
29317         * sysdeps/i386/fpu/libm-test-ulps: Update.
29318         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29320         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
29321         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29323 2012-02-29  Jeff Law  <law@redhat.com>
29325         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
29326         out of bounds read.
29328 2012-02-29  Marek Polacek  <polacek@redhat.com>
29330         [BZ #13706]
29331         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
29332         * elf/Makefile: Add rules to run tst-unused-dep.out.
29334 2012-02-28  David S. Miller  <davem@davemloft.net>
29336         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
29337         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
29338         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
29339         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
29340         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
29341         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
29343 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
29345         * math/libm-test.inc (llround_test): Move one test from
29346         lround_test.  Use TEST_f_L in moved test.
29347         (lround_test): Move misplaced test to llround_test.  Add testcase
29348         from bug 2561.
29350 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
29352         * sysdeps/x86_64/fpu/e_expf.S: New file.
29353         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
29355 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
29357         [BZ #13637]
29358         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
29359         of remain_len that may cause incomplete multi-byte character and
29360         false match.
29361         * posix/bug-regex33.c: New file.
29362         * posix/Makefile (tests): Add bug-regex33.
29364 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
29366         * manual/macros.texi: New file.
29367         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
29368         * manual/libc.texinfo: Include macros.texi.
29369         * manual/creatute.texi: Likewise.
29370         * manual/install.texi: Likewise.
29371         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
29372         @glibcadj{} in references to the GNU C Library.
29373         * manual/charset.texi: Likewise.
29374         * manual/conf.texi: Likewise.
29375         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
29376         when not using those macros.
29377         * manual/creature.texi: Likewise.
29378         * manual/crypt.texi: Likewise.
29379         * manual/errno.texi: Likewise.
29380         * manual/filesys.texi: Likewise.
29381         * manual/header.texi: Likewise.
29382         * manual/install.texi: Likewise.
29383         * manual/intro.texi: Likewise.
29384         * manual/io.texi: Likewise.
29385         * manual/job.texi: Likewise.
29386         * manual/lang.texi: Likewise.
29387         * manual/libc.texiinfo: Likewise.
29388         * manual/llio.texi: Likewise.
29389         * manual/locale.texi: Likewise.
29390         * manual/maint.texi: Likewise.
29391         * manual/math.texi: Likewise.
29392         * manual/memory.texi: Likewise.
29393         * manual/message.texi: Likewise.
29394         * manual/nss.texi: Likewise.
29395         * manual/pattern.texi: Likewise.
29396         * manual/process.texi: Likewise.
29397         * manual/resource.texi: Likewise.
29398         * manual/search.texi: Likewise.
29399         * manual/setjmp.texi: Likewise.
29400         * manual/signal.texi: Likewise.
29401         * manual/socket.texi: Likewise.
29402         * manual/startup.texi: Likewise.
29403         * manual/stdio.texi: Likewise.
29404         * manual/string.texi: Likewise.
29405         * manual/sysinfo.texi: Likewise.
29406         * manual/syslog.texi: Likewise.
29407         * manual/terminal.texi: Likewise.
29408         * manual/time.texi: Likewise.
29409         * manual/users.texi: Likewise.
29410         * INSTALL: Regenerated.
29411         * NOTES: Regenerated.
29412         * sysdeps/gnu/errlist.c: Regenerated.
29414 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
29416         * include/dirent.h: Include <dirstream.h> before
29417         <dirent/dirent.h>.
29419 2012-02-28  David S. Miller  <davem@davemloft.net>
29421         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
29422         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
29423         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
29424         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
29426 2012-02-27  David S. Miller  <davem@davemloft.net>
29428         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
29429         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
29430         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
29431         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
29433         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
29434         frame pointer instead of stack pointer relative arg slot.
29435         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
29436         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
29437         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
29439 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
29441         [BZ #3992]
29442         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
29444 2012-02-27  David S. Miller  <davem@davemloft.net>
29446         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
29447         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
29448         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
29449         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
29450         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
29451         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
29452         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
29453         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
29455 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
29457         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
29458         later.  Allow versions 5-9.
29459         * configure: Regenerated.
29460         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
29461         required minimum version and 4.6 as recommended version.  Do not
29462         mention bugs in GCC 2.7 and 2.8.
29463         * INSTALL: Regenerated.
29465 2012-02-27  David S. Miller  <davem@davemloft.net>
29467         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
29468         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
29469         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
29470         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
29471         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
29472         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
29473         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
29474         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
29476         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
29477         manipulate bits before adding and subtracting TWO112[sx].
29478         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
29480 2012-02-27  Roland McGrath  <roland@hack.frob.com>
29482         [BZ #13775]
29483         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
29484         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
29485         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
29486         being in POSIX, because they are in 1003.1-2008.
29488         * rt/tst-aio.c: Include <fcntl.h>.
29489         * rt/tst-aio7.c: Likewise.
29490         * rt/tst-aio64.c: Likewise.
29492         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
29494 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
29496         * manual/install.texi (--with-headers): Describe headers as
29497         interface headers, not private headers.
29498         (Specific advice for GNU/Linux systems): Describe use of headers
29499         from "make headers_install", not private headers from older
29500         kernels.
29501         * INSTALL: Regenerated.
29502         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
29503         Change to 2.6.19.
29504         * sysdeps/unix/sysv/linux/configure: Regenerated.
29506         * manual/llio.texi (fclean): Remove documentation.
29508         * manual/Makefile (libc-texi-generated): New variable.  Include
29509         version.texi.
29510         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
29511         $(libc-texi-generated), not duplicated list of files.
29512         (version.texi, stamp-version): New rules.
29513         (realclean): Remove $(libc-texi-generated), not individual files
29514         from that list.  Do not remove dir-add.texinfo.
29515         * manual/libc.texinfo: Comment out uses of edition numbers and
29516         references to printed manual.  Remove last-updated dates.
29517         (EDITION): Comment out.
29518         (ISBN): Likewise.
29519         (VERSION, UPDATED): Remove.
29520         (version.texi): Include.
29522 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
29524         * sysdeps/posix/spawni.c: Include <signal.h>.
29525         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
29526         * sysdeps/pthread/aio_fsync.c: Likewise.
29528 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
29530         * conform/Makefile (tests): Run only when not cross-compiling and
29531         when fast-check is not defined.
29533         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
29534         * conform/data/limits.h-data: Fixes for POSIX2008.
29535         * conform/run-conformtest.sh: Run all tests.
29536         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
29537         headers.
29538         * include/bits/dlfcn.h: Likewise.
29539         * include/langinfo.h: Likewise.
29540         * include/monetary.h: Likewise.
29541         * include/sys/poll.h: Likewise.
29543         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
29544         for __USE_GNU.
29545         * posix/spawn.h: Define __need_sigset_t.
29546         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
29547         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
29548         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
29549         to get sigevent_t only.
29550         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
29551         only for __USE_GNU.
29552         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29553         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
29554         process_vm_writev only for __USE_GNU.
29555         * termios/termios.h: Declare tcgetsid also for POSIX2008.
29557         * conform/Makefile: For now ignore errors from run-conformtest.
29558         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
29559         POSIX to avoid namespace pollution.  Don't prepend headers.
29560         * conform/data/aio.h-data: Fixes for POSIX testing.
29561         * conform/data/fcntl.h-data: Likewise.
29562         * conform/data/glob.h-data: Likewise.
29563         * conform/data/grp.h-data: Likewise.
29564         * conform/data/pthread.h-data: Likewise.
29565         * conform/data/pwd.h-data: Likewise.
29566         * conform/data/signal.h-data: Likewise.
29567         * conform/data/spawn.h-data: Likewise.
29568         * conform/data/stdio.h-data: Likewise.
29569         * conform/data/stdlib.h-data: Likewise.
29570         * conform/data/stropts.h-data: Likewise.
29571         * conform/data/sys/mman.h-data: Likewise.
29572         * conform/data/sys/stat.h-data: Likewise.
29573         * conform/data/sys/types.h-data: Likewise.
29574         * conform/data/sys/wait.h-data: Likewise.
29575         * conform/data/time.h-data: Likewise.
29576         * conform/data/unistd.h-data: Likewise.
29577         * conform/data/utime.h-data: Likewise.
29579         * io/sys/stat.h: fchmod was always in POSIX.
29580         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
29581         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
29582         * rt/aio.h: Define __need_timespec before including <time.h>.
29583         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
29584         struct.  Add forward declaration of pthread_attr_t and use it in
29585         sigevent.
29586         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
29587         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
29588         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
29589         always remove CLK_TCK definition.
29591 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
29593         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
29595 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
29597         * conform/run-conformtest.sh: New file.
29598         * conform/Makefile: Run run-conformtest for tests.
29599         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
29600         support.
29602         * conform/data/uchar.h-data: New file.
29603         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
29604         * conform/data/arpa/inet.h-data: Likewise.
29605         * conform/data/assert.h-data: Likewise.
29606         * conform/data/complex.h-data: Likewise.
29607         * conform/data/cpio.h-data: Likewise.
29608         * conform/data/ctype.h-data: Likewise.
29609         * conform/data/dirent.h-data: Likewise.
29610         * conform/data/dlfcn.h-data: Likewise.
29611         * conform/data/errno.h-data: Likewise.
29612         * conform/data/fcntl.h-data: Likewise.
29613         * conform/data/float.h-data: Likewise.
29614         * conform/data/fmtmsg.h-data: Likewise.
29615         * conform/data/fnmatch.h-data: Likewise.
29616         * conform/data/ftw.h-data: Likewise.
29617         * conform/data/glob.h-data: Likewise.
29618         * conform/data/grp.h-data: Likewise.
29619         * conform/data/iconv.h-data: Likewise.
29620         * conform/data/inttypes.h-data: Likewise.
29621         * conform/data/langinfo.h-data: Likewise.
29622         * conform/data/libgen.h-data: Likewise.
29623         * conform/data/limits.h-data: Likewise.
29624         * conform/data/locale.h-data: Likewise.
29625         * conform/data/math.h-data: Likewise.
29626         * conform/data/monetary.h-data: Likewise.
29627         * conform/data/mqueue.h-data: Likewise.
29628         * conform/data/ndbm.h-data: Likewise.
29629         * conform/data/net/if.h-data: Likewise.
29630         * conform/data/netdb.h-data: Likewise.
29631         * conform/data/netinet/in.h-data: Likewise.
29632         * conform/data/nl_types.h-data: Likewise.
29633         * conform/data/poll.h-data: Likewise.
29634         * conform/data/pthread.h-data: Likewise.
29635         * conform/data/pwd.h-data: Likewise.
29636         * conform/data/regex.h-data: Likewise.
29637         * conform/data/sched.h-data: Likewise.
29638         * conform/data/search.h-data: Likewise.
29639         * conform/data/semaphore.h-data: Likewise.
29640         * conform/data/setjmp.h-data: Likewise.
29641         * conform/data/signal.h-data: Likewise.
29642         * conform/data/spawn.h-data: Likewise.
29643         * conform/data/stdarg.h-data: Likewise.
29644         * conform/data/stdio.h-data: Likewise.
29645         * conform/data/stdlib.h-data: Likewise.
29646         * conform/data/string.h-data: Likewise.
29647         * conform/data/strings.h-data: Likewise.
29648         * conform/data/stropts.h-data: Likewise.
29649         * conform/data/sys/ipc.h-data: Likewise.
29650         * conform/data/sys/mman.h-data: Likewise.
29651         * conform/data/sys/msg.h-data: Likewise.
29652         * conform/data/sys/resource.h-data: Likewise.
29653         * conform/data/sys/select.h-data: Likewise.
29654         * conform/data/sys/sem.h-data: Likewise.
29655         * conform/data/sys/shm.h-data: Likewise.
29656         * conform/data/sys/socket.h-data: Likewise.
29657         * conform/data/sys/stat.h-data: Likewise.
29658         * conform/data/sys/statvfs.h-data: Likewise.
29659         * conform/data/sys/time.h-data: Likewise.
29660         * conform/data/sys/timeb.h-data: Likewise.
29661         * conform/data/sys/times.h-data: Likewise.
29662         * conform/data/sys/types.h-data: Likewise.
29663         * conform/data/sys/uio.h-data: Likewise.
29664         * conform/data/sys/un.h-data: Likewise.
29665         * conform/data/sys/utsname.h-data: Likewise.
29666         * conform/data/sys/wait.h-data: Likewise.
29667         * conform/data/syslog.h-data: Likewise.
29668         * conform/data/tar.h-data: Likewise.
29669         * conform/data/termios.h-data: Likewise.
29670         * conform/data/utime.h-data: Likewise.
29671         * conform/data/utmpx.h-data: Likewise.
29672         * conform/data/varargs.h-data: Likewise.
29673         * conform/data/wchar.h-data: Likewise.
29674         * conform/data/wctype.h-data: Likewise.
29675         * conform/data/wordexp.h-data: Likewise.
29677         * include/stropts.h: New file.
29678         * include/uchar.h: New file.
29679         * include/aio.h: Changes to allow conformtest.pl to use the headers.
29680         * include/assert.h: Likewise.
29681         * include/ctype.h: Likewise.
29682         * include/dirent.h: Likewise.
29683         * include/dlfcn.h: Likewise.
29684         * include/fcntl.h: Likewise.
29685         * include/fnmatch.h: Likewise.
29686         * include/glob.h: Likewise.
29687         * include/grp.h: Likewise.
29688         * include/libio.h: Likewise.
29689         * include/locale.h: Likewise.
29690         * include/math.h: Likewise.
29691         * include/net/if.h: Likewise.
29692         * include/netdb.h: Likewise.
29693         * include/netinet/in.h: Likewise.
29694         * include/pthread.h: Likewise.
29695         * include/pwd.h: Likewise.
29696         * include/regex.h: Likewise.
29697         * include/sched.h: Likewise.
29698         * include/search.h: Likewise.
29699         * include/setjmp.h: Likewise.
29700         * include/signal.h: Likewise.
29701         * include/stdio.h: Likewise.
29702         * include/stdlib.h: Likewise.
29703         * include/string.h: Likewise.
29704         * include/sys/cdefs.h: Likewise.
29705         * include/sys/mman.h: Likewise.
29706         * include/sys/msg.h: Likewise.
29707         * include/sys/resource.h: Likewise.
29708         * include/sys/select.h: Likewise.
29709         * include/sys/socket.h: Likewise.
29710         * include/sys/stat.h: Likewise.
29711         * include/sys/statvfs.h: Likewise.
29712         * include/sys/time.h: Likewise.
29713         * include/sys/times.h: Likewise.
29714         * include/sys/uio.h: Likewise.
29715         * include/sys/utsname.h: Likewise.
29716         * include/sys/wait.h: Likewise.
29717         * include/termios.h: Likewise.
29718         * include/time.h: Likewise.
29719         * include/ulimit.h: Likewise.
29720         * include/unistd.h: Likewise.
29721         * include/utime.h: Likewise.
29722         * include/wchar.h: Likewise.
29723         * include/wctype.h: Likewise.
29724         * include/wordexp.h: Likewise.
29726         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
29728         * time/time.h: TIME_UTC must be a macro.
29729         Make timespec_get available for ISO C11 only as well.
29731 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
29733         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
29734         Reported by Peng Haitao <penght@cn.fujitsu.com>.
29736 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
29738         * configure.in: Use -o not -a in test for unsupported multi-arch.
29740 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
29742         * manual/texinfo.tex: Update to version 2012-01-19.16.
29744 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
29746         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
29748 2012-02-24  Roland McGrath  <roland@hack.frob.com>
29750         [BZ #13738]
29751         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
29752         * manual/fdl-1.3.texi: New file.
29753         * manual/fdl-1.1.texi: File removed.
29755         [BZ #13738]
29756         * manual/libc.texinfo (FDL_VERSION): New @set.
29757         Use it for mention of FDL in cover text.
29758         (Documentation License): Use it in @include file name.
29760 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
29761             Roland McGrath  <roland@hack.frob.com>
29763         [BZ #5461]
29764         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
29765         not LONG_LONG_MAX and LONG_LONG_MIN.
29766         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
29767         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
29768         name.
29769         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
29771 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
29773         [BZ #2547]
29774         [BZ #11365]
29775         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
29776         manipulate bits before adding and subtracting TWO23[sx].
29777         * math/libm-test.inc (nearbyint_test): Add more tests.
29779 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
29781         [BZ #2548]
29782         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
29783         bits before adding and subtracting TWO23[sx].
29784         * math/libm-test.inc (rint_test): Add more tests.
29785         (rint_test_tonearest): Likewise.
29786         (rint_test_towardzero): Likewise.
29787         (rint_test_downward): Likewise.
29788         (rint_test_upward: Likewise.
29790 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
29792         [BZ #10110]
29793         * include/stdc-predef.h: New file.  Extracted from features.h.
29794         * include/features.h: Include stdc-predef.h.
29795         * Makefile (headers): Add stdc-predef.h.
29796         * CONFORMANCE (Compiler limitations): Update.
29798 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
29800         * manual/libc.texinfo (VERSION, UPDATED): Revert.
29802 2012-02-21  David S. Miller  <davem@davemloft.net>
29804         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
29805         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
29807 2012-02-20  David S. Miller  <davem@davemloft.net>
29809         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
29810         using a normal save/restore sequence, rather than allocating a
29811         dummy stack frame just to store a frame pointer and restore.
29812         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29814 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
29816         * manual/install.texi: Fix stray word in line-wrapped comment.
29818 2012-02-20  David S. Miller  <davem@davemloft.net>
29820         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
29821         both binutils and gcc support GOTDATA.
29823         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
29824         "rd %pc" in the PIC register setup sequences.
29826         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
29827         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
29828         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
29829         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
29830         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
29831         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
29832         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29833         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29834         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
29835         (SYSCALL_ERROR_HANDLER): Likewise.
29836         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
29837         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29838         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
29839         (SYSCALL_ERROR_HANDLER): Likewise.
29841         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
29842         (HAVE_GCC_GOTDATA): New.
29843         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
29844         relocation support in both binutils and gcc.
29845         * sysdeps/sparc/elf/configure: Regenerate.
29847         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
29848         * sysdeps/sparc/sparc32/elf/configure: Delete.
29849         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
29850         * sysdeps/sparc/sparc64/elf/configure: Delete.
29851         * sysdeps/sparc/elf/configure.in: New file.
29852         * sysdeps/sparc/elf/configure: Generate.
29854         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
29855         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
29856         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
29857         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
29858         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
29860 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
29862         * manual/install.texi: Do not mention specific glibc version
29863         numbers.
29864         * manual/libc.texinfo (VERSION, UPDATED): Update.
29865         (@copying): Use @copyright{} and range of years.
29867 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
29869         [BZ #13695]
29870         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
29871         [crti.S not in sysdirs] (generated): Do not append.
29872         [crti.S not in sysdirs] (omit-deps): Likewise.
29873         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
29874         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
29875         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
29876         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
29877         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
29878         Likewise.
29879         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
29880         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
29881         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
29882         * csu/defs.awk: Remove file.
29883         * sysdeps/generic/initfini.c: Likewise.
29884         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
29885         variable.
29886         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
29887         Likewise.
29889 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
29891         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
29892         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
29893         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
29894         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
29895         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
29896         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
29897         <bits/epoll.h>.
29898         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
29899         (__EPOLL_PACKED): Define to empty if not defined by
29900         <bits/epoll.h>.
29901         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
29902         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29903         bits/epoll.h.
29905 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
29907         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
29908         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
29909         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
29910         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
29911         <bits/timerfd.h>.
29912         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
29913         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29914         bits/timerfd.h.
29916 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
29918         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
29919         in C locale.
29920         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29921         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
29922         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
29923         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29925 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
29927         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29928         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
29930 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
29932         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
29933         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
29934         defined.
29935         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
29936         Likewise.
29937         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
29938         entry for 2.16.
29940 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
29942         * math/w_acos.c: Use non-signaling floating-point comparisons.
29943         * math/w_acosf.c: Likewise.
29944         * math/w_acosh.c: Likewise.
29945         * math/w_acoshf.c: Likewise.
29946         * math/w_acoshl.c: Likewise.
29947         * math/w_acosl.c: Likewise.
29948         * math/w_asin.c: Likewise.
29949         * math/w_asinf.c: Likewise.
29950         * math/w_asinl.c: Likewise.
29951         * math/w_atanh.c: Likewise.
29952         * math/w_atanhf.c: Likewise.
29953         * math/w_atanhl.c: Likewise.
29954         * math/w_exp2.c: Likewise.
29955         * math/w_exp2f.c: Likewise.
29956         * math/w_exp2l.c: Likewise.
29957         * math/w_j0.c: Likewise.
29958         * math/w_j0f.c: Likewise.
29959         * math/w_j0l.c: Likewise.
29960         * math/w_j1.c: Likewise.
29961         * math/w_j1f.c: Likewise.
29962         * math/w_j1l.c: Likewise.
29963         * math/w_jn.c: Likewise.
29964         * math/w_jnf.c: Likewise.
29965         * math/w_log.c: Likewise.
29966         * math/w_log10.c: Likewise.
29967         * math/w_log10f.c: Likewise.
29968         * math/w_log10l.c: Likewise.
29969         * math/w_log2.c: Likewise.
29970         * math/w_log2f.c: Likewise.
29971         * math/w_log2l.c: Likewise.
29972         * math/w_logf.c: Likewise.
29973         * math/w_logl.c: Likewise.
29974         * math/w_sqrt.c: Likewise.
29975         * math/w_sqrtf.c: Likewise.
29976         * math/w_sqrtl.c: Likewise.
29977         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
29978         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
29979         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29980         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
29981         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
29983 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
29985         [BZ #9739]
29986         * manual/string.texi (strnlen): Use correct parameter name in
29987         equivalent expression.
29989 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
29991         [BZ #11174]
29992         * manual/users.texi (seteuid): Consistently use neweuid for
29993         argument name.
29995 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
29997         [BZ #13704]
29998         * manual/nss.texi (Services in the NSS configuration): Correct
29999         list of services in example configuration file.
30001 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
30003         [BZ #11322]
30004         * manual/arith.texi: Remove statements about negative zero
30005         behaving identically to zero.
30007 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
30009         [BZ #5993]
30010         * manual/install.texi: Do not document upgrading from libc5.
30012 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
30014         [BZ #4596]
30015         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
30017 2012-02-18  David S. Miller  <davem@davemloft.net>
30019         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
30020         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
30021         %o7 across the call.
30022         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
30023         instead.
30024         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
30025         SETUP_PIC_REG_LEAF.
30026         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30027         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
30028         * sysdeps/sparc/crtn.S: Likewise.
30030 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
30032         * aout/Makefile: Remove.
30034 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
30036         [BZ #13058]
30037         * manual/examples/argp-ex1.c (main): Format definition in GNU
30038         style.
30039         * manual/examples/argp-ex2.c (main): Likewise.
30040         * manual/examples/argp-ex3.c (main): Likewise.
30041         * manual/examples/argp-ex4.c (main): Likewise.
30042         * manual/examples/longopt.c (main): Use new-style prototype
30043         definition.
30044         * manual/examples/strncat.c (main): Specify return type and use
30045         (void) for arguments.
30046         * manual/examples/subopt.c (main): Use char **argv argument.
30048 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
30050         [BZ #5077]
30051         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
30052         rounding modes.
30054 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
30056         [BZ #6907]
30057         * manual/string.texi (strchr): Change when strchrnul is
30058         recommended.
30060 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
30062         [BZ #174]
30063         * manual/locale.texi (setlocale): Document LOCPATH.
30065 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
30067         [BZ #10210]
30068         * manual/process.texi (execle): Move @dots{} before last argument.
30070 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
30072         [BZ #12047]
30073         * manual/charset.texi (Generic Charset Conversion): Fix typo
30074         (LC_TYPE -> LC_CTYPE).
30076 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
30078         [BZ #5805]
30079         * manual/arith.texi (scalbn): Use @var{} on parameter names.
30080         (scalbnf): Likewise.
30081         (scalbnl): Likewise.
30082         (scalbln): Likewise.
30083         (scalblnf): Likewise.
30084         (scalblnl): Likewise.
30085         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
30086         (vwarnx): Likewise.
30087         (verr): Likewise.
30088         (verrx): Likewise.
30089         * manual/filesys.texi (telldir): Use braces around return type.
30090         * manual/llio.texi (mmap): Add space after comma.
30091         (mmap64): Likewise.
30092         * manual/math.texi (jn): Use @var{} on parameter names.
30093         (jnf): Likewise.
30094         (jnl): Likewise.
30095         (yn): Likewise.
30096         (ynf): Likewise.
30097         (ynl): Likewise.
30098         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
30099         line.
30100         * manual/resource.texi (ulimit): Use @dots{} instead of literal
30101         "...".
30102         (sched_get_priority_min): Remove semicolon on @deftypefun line.
30103         (sched_get_priority_max): Likewise.
30104         * manual/signal.texi (sigvec): Add space after comma.
30105         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
30106         names.
30107         (if_indextoname): Likewise.
30108         (if_freenameindex): Likewise.
30109         (sendto): Use ',' instead of '.' in prototype.
30110         * manual/startup.texi (syscall): Use @dots{} instead of literal
30111         "...".
30112         * manual/stdio.texi (__fpending): Separate initial words of
30113         paragraph from @deftypefun line.
30114         * manual/syslog.texi (syslog): Use @dots{} instead of literal
30115         "...".
30116         (vsyslog): Use @var{} on parameter names.
30117         * manual/terminal.texi (stty): Use @var{} on parameter names.
30118         * manual/users.texi (getutmp): Use @var{} on parameter names.
30119         (getutmpx): Likewise.
30121 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
30123         [BZ #6884]
30124         * manual/stdio.texi (fopen): Fix typos in description of
30125         ",ccs=STRING".
30127 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
30129         [BZ #4026]
30130         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
30131         get clock_id definition.
30133 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
30135         [BZ #4822]
30136         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
30137         (madvise): Cast every argument to void on its own.
30139 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
30141         [BZ #9902]
30142         * manual/startup.texi (Exit Status): Fix typo.
30144 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
30146         [BZ #10140]
30147         * manual/examples/argp-ex1.c: Include <stdlib.h>.
30148         * manual/examples/argp-ex2.c: Likewise.
30149         * manual/examples/argp-ex3.c: Likewise.
30151 2012-02-16  Richard Henderson  <rth@redhat.com>
30153         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
30154         * sysdeps/s390/s390-32/initfini.c: Remove.
30155         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
30156         * sysdeps/s390/s390-64/initfini.c: Remove.
30158 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30160         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
30161         compiler output for sysdeps/generic/initfini.c.
30162         * sysdeps/sh/elf/initfini.c: Remove file.
30164 2012-02-16  David S. Miller  <davem@davemloft.net>
30166         [BZ #11494]
30167         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
30169         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
30170         * sysdeps/sparc/crti.S: New file.
30171         * sysdeps/sparc/crtn.S: New file.
30172         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
30173         * sysdeps/sparc/sparc64/Makefile: Likewise.
30175 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
30177         [BZ #3335]
30178         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
30180 2012-02-15  Roland McGrath  <roland@hack.frob.com>
30182         [BZ #4822]
30183         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
30185         * mach/devstream.c (cookie_io_functions_t): Macro removed.
30186         (write, read, close): Likewise.
30187         Patch by Aurelien Jarno <aurelien@aurel32.net>.
30189 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
30191         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
30192         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
30193         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
30194         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
30195         <bits/signalfd.h>.
30196         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
30197         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30198         bits/signalfd.h.
30200 2012-02-14  Marek Polacek  <polacek@redhat.com>
30202         * sysdeps/x86_64/crti.S: New file.
30203         * sysdeps/x86_64/crtn.S: New file.
30204         * sysdeps/x86_64/elf/initfini.c: Remove file.
30206 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
30208         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
30209         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
30210         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
30211         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
30212         <bits/inotify.h>.
30213         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
30214         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30215         bits/inotify.h.
30217 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
30219         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
30220         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
30221         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
30222         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
30223         <bits/eventfd.h>.
30224         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
30225         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30226         bits/eventfd.h.
30228 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
30230         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
30231         __feraiseexcept instead of feraiseexcept.
30233         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
30234         nanosleep invocations.
30235         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
30236         strings, and add error checking for a nanosleep invocations.
30238 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
30240         Replace FSF snail mail address with URLs, as per GNU coding standards.
30241         Most of the snail mail addresses were wrong anyway, and omitting
30242         them makes the source code easier to maintain.  Almost all of the
30243         changes are to license notices and to locale LC_IDENTIFICATION
30244         addresses, except for this one:
30245         * manual/libc.texinfo: In "Published by", give the FSF's URL,
30246         not its snail mail address.
30248 2012-02-09  Richard Henderson  <rth@twiddle.net>
30250         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
30251         of kernel-features.h.
30253         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
30255 2012-02-08  Marek Polacek  <polacek@redhat.com>
30257         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
30258         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
30259         * sysdeps/gnu/_G_config.h: Likewise.
30260         * sysdeps/generic/_G_config.h: Likewise.
30262 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
30264         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
30265         tests.
30266         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30268         * sysdeps/powerpc/powerpc32/crti.S: New file.
30269         * sysdeps/powerpc/powerpc32/crtn.S: New file.
30270         * sysdeps/powerpc/powerpc64/crti.S: New file.
30271         * sysdeps/powerpc/powerpc64/crtn.S: New file.
30273         * Makeconfig (have-initfini): Don't set.
30274         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
30275         * configure.in (nopic_initfini): Don't substitute.
30276         * config.h.in (HAVE_INITFINI): Don't #undef.
30277         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
30278         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
30280 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
30282         Support crti.S and crtn.S provided directly by architectures.
30283         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
30284         [crti.S in sysdirs] (omit-deps): Likewise.
30285         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
30286         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
30287         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
30288         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
30289         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
30290         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
30291         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
30292         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
30293         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
30294         compiler output for sysdeps/generic/initfini.c.
30295         * sysdeps/i386/elf/Makefile: Remove file.
30296         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
30298 2012-02-07  Marek Polacek  <polacek@redhat.com>
30300         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
30301         * sysdeps/gnu/_G_config.h: Likewise.
30302         * sysdeps/mach/hurd/_G_config.h: Likewise.
30304 2012-02-07  Marek Polacek  <polacek@redhat.com>
30306         * math/Makefile (tests): Add tst-CMPLX2.
30307         * math/tst-CMPLX2.c: New file.
30309 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
30311         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30313         * math/libm-test.inc (jn_test): Add missing L suffix.
30315 2012-02-06  Marek Polacek  <polacek@redhat.com>
30317         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
30318         * sysdeps/i386/fpu/e_powf.S: Likewise.
30319         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30320         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
30321         * sysdeps/i386/fpu/e_acosh.S: Likewise.
30322         * sysdeps/i386/fpu/e_pow.S: Likewise.
30323         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30324         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30325         * sysdeps/i386/fpu/s_expm1.S: Likewise.
30326         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
30327         * sysdeps/i386/fpu/e_log2.S: Likewise.
30328         * sysdeps/i386/fpu/e_log2l.S: Likewise.
30329         * sysdeps/i386/fpu/e_scalb.S: Likewise.
30330         * sysdeps/i386/fpu/e_powl.S: Likewise.
30331         * sysdeps/i386/fpu/s_log1p.S: Likewise.
30332         * sysdeps/i386/fpu/e_log10f.S: Likewise.
30333         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
30334         * sysdeps/i386/fpu/e_logl.S: Likewise.
30335         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
30336         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
30337         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
30338         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
30339         * sysdeps/i386/fpu/e_log2f.S: Likewise.
30340         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30341         * sysdeps/i386/fpu/e_log.S: Likewise.
30342         * sysdeps/i386/fpu/s_cexp.S: Likewise.
30343         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30344         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
30345         * sysdeps/i386/fpu/e_logf.S: Likewise.
30346         * sysdeps/i386/fpu/e_log10l.S: Likewise.
30347         * sysdeps/i386/fpu/e_atanh.S: Likewise.
30348         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
30349         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
30350         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
30351         * sysdeps/i386/fpu/e_log10.S: Likewise.
30352         * sysdeps/i386/fpu/s_frexp.S: Likewise.
30353         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30354         * sysdeps/i386/fpu/s_asinh.S: Likewise.
30355         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
30356         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30357         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
30358         * sysdeps/i386/asm-syntax.h: Likewise.
30359         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30360         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30361         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30362         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
30363         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
30364         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30365         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
30366         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
30367         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30368         * sysdeps/powerpc/sysdep.h: Likewise.
30369         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
30370         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30372 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
30374         [BZ #411]
30375         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
30377 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
30379         * sysdeps/i386/sysdep.h: Include <features.h>.
30380         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
30381         version.
30383 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
30385         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
30386         Define.
30387         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
30388         LOAD_PIC_REG_STR.
30390 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
30392         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
30393         (SETUP_PIC_REG): Use GET_PC_THUNK.
30394         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
30395         macro.
30397 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
30399         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
30400         for non-PIC compilation.
30401         (SETUP_PIC_REG): Add .p2align directive.
30402         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
30403         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
30404         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30405         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30406         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
30407         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30408         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
30409         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30410         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30411         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30412         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30413         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30414         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30415         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30416         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30417         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
30418         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
30419         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30420         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30421         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30422         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30423         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
30424         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30425         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
30426         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
30427         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
30428         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30429         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
30430         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30431         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30432         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30433         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30434         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30435         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30436         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30437         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30438         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30439         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30440         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30441         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30442         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30444 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
30446         * math/tst-CMPLX.c: Include <stdio.h>.
30448 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
30450         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
30451         float.
30452         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
30453         * sysdeps/sparc/bits/mathdef.h: Likewise.
30455 2012-01-31  Marek Polacek  <polacek@redhat.com>
30457         * libio/libio.h: Don't define _PARAMS.
30458         * locale/programs/config.h: Don't define PARAMS.
30459         * stdlib/strtol_l.c: Likewise.
30460         (__strtol_l): Remove PARAMS from the prototype.
30462 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
30464         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
30465         names.  Just use the correct names.  Remove unnecessary wrapper
30466         functions.
30467         * malloc/arena.c: Likewise.
30468         * malloc/hooks.c: Likewise.
30470         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
30471         ARENA_TEST says not to.  Simplify test for creation of a new arena.
30472         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
30474 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
30476         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
30477         into tail calls.
30478         (update_get_addr): New function.
30479         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
30480         GET_ADDR_MODULE parameter.
30482 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
30484         * crypt/cert.c: Remove __STDC__ conditionals.
30485         * crypt/crypt-entry.c: Likewise.
30486         * crypt/crypt_util.c: Likewise.
30487         * libio/filedoalloc.c: Likewise.
30488         * libio/fileops.c: Likewise.
30489         * libio/genops.c: Likewise.
30490         * libio/iofclose.c: Likewise.
30491         * libio/iofdopen.c: Likewise.
30492         * libio/iofopen.c: Likewise.
30493         * libio/iofopen64.c: Likewise.
30494         * libio/iogetdelim.c: Likewise.
30495         * libio/iopopen.c: Likewise.
30496         * libio/obprintf.c: Likewise.
30497         * libio/oldfileops.c: Likewise.
30498         * libio/oldiofclose.c: Likewise.
30499         * libio/oldiofdopen.c: Likewise.
30500         * libio/oldiofopen.c: Likewise.
30501         * libio/oldiopopen.c: Likewise.
30502         * libio/wfiledoalloc.c: Likewise.
30503         * libio/wgenops.c: Likewise.
30504         * locale/programs/xmalloc.c: Likewise.
30505         * misc/syslog.c: Likewise.
30506         * stdio-common/xbug.c: Likewise.
30507         * string/memchr.c: Likewise.
30508         * string/memcmp.c: Likewise.
30509         * string/memrchr.c: Likewise.
30510         * string/rawmemchr.c: Likewise.
30511         * sysdeps/posix/getcwd.c: Likewise.
30512         * time/strftime_l.c: Likewise.
30514 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
30516         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
30517         * config.make.in (config-cflags-sse2avx): Define.
30518         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
30519         Fix typo.
30521 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
30523         * scripts/config.guess: Update from upstream config git repository.
30524         * scripts/config.sub: Likewise.
30526 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
30528         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
30529         (EM_NUM): Update.
30530         (R_TILEPRO_*, R_TILEGX_*): New macros.
30532         * scripts/firstversions.awk: Fix bug in version range handling.
30534         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
30536         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
30538         * include/sys/epoll.h: New file.
30539         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
30540         libc_hidden_def.
30542 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
30544         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
30545         Avoid unnecessary __WORDSIZE == 64 test.
30546         (fmaxf): Use VEX format if possible.
30547         (fmax): Likewise.
30548         (fminf): Likewise.
30549         (fmin): Likewise.
30551         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
30552         * math/math_private.h: Remove libc_fegetround* and
30553         libc_fesetround*.
30554         * sysdeps/i386/configure.in: Check for -msse2avx.
30555         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
30556         also if SSE2AVX is defined.
30557         Remove libc_fegetround* and libc_fesetround*.
30558         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
30559         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
30560         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
30561         of HAS_YMM_USABLE.
30562         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30563         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30564         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30565         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30566         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30568         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
30570 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30572         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
30573         size is not set.
30574         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
30576 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
30578         [BZ #13618]
30579         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
30580         relocation.
30581         * Makeconfig (libm): Define.
30582         * elf/Makefile: Add rules to build and run tst-relsort1.
30583         * elf/tst-relsort1.c: New file.
30584         * elf/tst-relsort1mod1.c: New file.
30585         * elf/tst-relsort1mod2.c: New file.
30587 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
30589         * math/s_ldexp.c: Remove __STDC__ conditionals.
30590         * math/s_ldexpf.c: Likewise.
30591         * math/s_ldexpl.c: Likewise.
30592         * math/s_nextafter.c: Likewise.
30593         * math/s_nexttowardf.c: Likewise.
30594         * math/s_significand.c: Likewise.
30595         * math/s_significandf.c: Likewise.
30596         * math/s_significandl.c: Likewise.
30597         * math/w_jnl.c: Likewise.
30598         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
30599         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
30600         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
30601         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
30602         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
30603         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30604         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
30605         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
30606         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
30607         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
30608         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
30609         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30610         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
30611         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
30612         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
30613         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
30614         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
30615         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
30616         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
30617         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
30618         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
30619         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
30620         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
30621         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30622         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
30623         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
30624         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
30625         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
30626         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
30627         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
30628         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
30629         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
30630         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
30631         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
30632         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
30633         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
30634         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
30635         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
30636         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
30637         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
30638         * sysdeps/ieee754/k_standard.c: Likewise.
30639         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
30640         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
30641         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
30642         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
30643         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
30644         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
30645         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
30646         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
30647         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
30648         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
30649         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
30650         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
30651         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
30652         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
30653         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
30654         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
30655         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
30656         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
30657         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
30658         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
30659         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
30660         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
30661         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
30662         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
30663         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
30664         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
30665         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30666         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30667         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30668         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
30669         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
30670         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
30671         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
30672         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
30673         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
30674         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
30675         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
30676         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
30677         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
30678         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
30679         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
30680         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
30681         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
30682         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
30683         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
30684         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
30685         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
30686         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
30687         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
30688         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
30689         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
30690         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
30691         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
30692         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
30693         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
30694         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
30695         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
30696         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
30697         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
30698         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
30699         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
30700         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
30701         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
30702         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
30703         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
30704         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
30705         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
30706         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
30707         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
30708         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
30709         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
30710         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
30711         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
30712         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
30713         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
30714         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
30715         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
30716         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
30717         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
30718         * sysdeps/ieee754/s_matherr.c: Likewise.
30719         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
30720         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
30721         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
30722         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
30724 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
30726         * crypt/md5.h: Remove __STDC__ conditionals.
30727         * libio/libioP.h: Likewise.
30728         * locale/programs/config.h: Likewise.
30729         * sysdeps/generic/sysdep.h: Likewise.
30730         * sysdeps/i386/asm-syntax.h: Likewise.
30731         * sysdeps/s390/asm-syntax.h: Likewise.
30732         * sysdeps/unix/sysdep.h: Likewise.
30733         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
30734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30736 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
30738         * libio/libio.h: Remove __STDC__ conditionals.
30739         * malloc/obstack.h: Likewise.
30740         * math/complex.h: Likewise.
30741         * math/math.h: Likewise.
30742         * sysdeps/generic/_G_config.h: Likewise.
30743         * sysdeps/gnu/_G_config.h: Likewise.
30744         * sysdeps/mach/hurd/_G_config.h: Likewise.
30745         * sysdeps/powerpc/bits/mathdef.h: Likewise.
30746         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
30747         * sysdeps/sparc/bits/mathdef.h: Likewise.
30749 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
30751         [BZ #13583]
30752         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
30753         Clean up HAS_* macros.
30754         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
30755         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
30756         possible.
30757         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
30758         HAS_AVX.
30759         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30760         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30761         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30762         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30763         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30765 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
30767         * elf/tst-unique3.cc (gets): Remove declaration.
30768         * elf/tst-unique3lib.cc (gets): Likewise.
30769         * elf/tst-unique3lib2.cc (gets): Likewise.
30770         * elf/tst-unique4.cc (gets): Likewise.
30772 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
30774         * include/stdio.h: Add C++ protection.  Add gets declarations and
30775         definitions.
30776         * debug/tst-chk1.c: Don't declare gets here.
30777         * stdio-common/tst-gets.c: Likewise.
30779 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
30781         * posix/glob: Remove directory.
30783 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
30785         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
30787 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
30789         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
30790         of the non-standard EPFNOSUPPORT.
30792 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30794         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
30795         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
30796         ANYWHERE set to 1 only on KERN_NO_SPACE error.
30798 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
30800         * wcsmbs/uchar.h: Test __STDC_VERSION__.
30802 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
30804         * nscd/aicache.c (addhstaiX): Do not cache negative results of
30805         transient errors.
30806         * nscd/grpcache.c (cache_addgr): Likewise.
30807         * nscd/hstcache.c (cache_addhst): Likewise.
30808         * nscd/initgrcache.c (addinitgroupsX): Likewise.
30809         * nscd/pwdcache.c (cache_addpw): Likewise.
30810         * nscd/servicescache.c (cache_addserv): Likewise.
30812 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
30814         * malloc/malloc.c: Various cleanups.
30815         * malloc/hooks.c: Likewise.
30817         * stdlib/Makefile (tests): Add bug-fmtmsg1.
30818         * stdlib/bug-fmtmsg1.c: New file.
30820         * stdlib/fmtmsg.c (init): Add missing unlock.
30821         Patch by Peng Haitao <penght@cn.fujitsu.com>.
30823 2012-01-12  Marek Polacek  <polacek@redhat.com>
30825         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
30826         and _GNU_SOURCE.
30828 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
30830         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
30831         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
30832         macro to ensure uniqueness of label name.
30833         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
30834         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
30836 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
30838         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
30840         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
30841         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
30842         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
30843         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
30845 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
30847         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
30849         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
30850         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
30851         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
30853         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
30855         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
30856         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
30857         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
30858         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
30860         * math/bits/math-finite.h: Add ldexp support.
30862 2012-01-10  Marek Polacek  <polacek@redhat.com>
30864         * locale/programs/localedef.h (show_archive_content): Add noreturn
30865         attribute.
30867 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
30869         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
30871 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
30873         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
30875         * io/Makefile (headers): Add bits/poll2.h.
30877 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
30879         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
30880         typo #include statement.
30882 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
30884         * include/sys/cdefs.h: Define __attribute_alloc_size.
30885         * catgets/gencat.c: Add alloc_size attribute and apply consistently
30886         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
30887         * elf/pldd.c: Likewise.
30888         * iconv/iconv_charmap.c: Likewise.
30889         * iconv/iconvconfig.c: Likewise.
30890         * iconv/strtab.c: Likewise.
30891         * locale/programs/locale.c: Likewise.
30892         * locale/programs/localedef.h: Likewise.
30893         * locale/programs/simple-hash.c: Likewise.
30894         * nscd/nscd.h: Likewise.
30895         * nss/makedb.c: Likewise.
30896         * sysdeps/generic/ldconfig.h: Likewise.
30897         * locale/programs/localedef.c: Remove xmalloc prototype.
30898         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
30900 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
30902         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
30903         appropriate.
30905 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
30907         * math/Makefile (tests): Add tst-CMPLX.
30908         * math/tst-CMPLX.c: New file.
30910         * math/complex.h (CMPLXL): Fix typo.
30912         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
30913         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
30914         GLIBC_2.16.
30915         * debug/tst-chk1.c: Add poll and ppoll tests.
30916         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
30917         * include/sys/poll.h: Add hidden proto for ppoll.
30918         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
30919         * sysdeps/mach/hurd/ppoll.c: Likewise.
30920         * io/ppoll.c: Likewise.
30921         * debug/poll_chk.c: New file.
30922         * debug/ppoll_chk.c: New file.
30923         * include/bits/poll2.h: New file.
30924         * io/bits/poll2.h: New file.
30926         [BZ #1350]
30927         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
30929         * configure.in: static is always set to yes.  Remove.
30930         * config.make.in: Don't set build-static.
30931         * Makeconfig: Remove use of build-static.
30932         * dlfcn/Makefile: Likewise.
30933         * elf/Makefile: Likewise.
30934         * math/Makefile: Likewise.
30935         * misc/Makefile: Likewise.
30936         * nptl/Makefile: Likewise.
30937         * sysdeps/mach/hurd/Makefile: Likewise.
30939         * configure.in: PWD_P is not used anymore.
30940         * config.make.in: Remove PWD_P entry.
30942         * configure.in: Remove last remnants of RANLIB.
30943         No need to check for signed size_t anymore.
30944         Don't set libc_commonpagesize and libc_relro_required here for Alpha
30945         and IA-64.
30946         Remove __builtin_expect test because we require at least gcc 3.4.
30947         * aclocal.m4: Likewise.
30949         * wcsmbs/mbrtoc16.c: Implement using towc function.
30950         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
30951         * wcsmbs/wcsmbsload.c: Likewise.
30952         * iconv/gconv_simple.c: Likewise.
30953         * iconv/gconv_int.h: Likewise.
30954         * iconv/gconv_builtin.h: Likewise.
30955         * iconv/iconv_prog.c: Remove CHAR16 handling.
30957         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
30959         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
30961         * configure.in: Remove --with-elf and --enable-bounded options.
30962         Dont set base_machine for ia64.  More non-ELF conditions removed.
30963         Remove testing and setting of leading underscore information.
30964         * config.make.in (build-bounded): Set to no.
30965         * config.h.in: Remove NO_UNDERSCORES entry.
30966         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
30967         them.
30968         * csu/start.c: Remove !NO_UNDERSCORE code.
30969         * locale/localeinfo.h: Likewise.
30970         * sysdeps/generic/machine-gmon.h: Likewise.
30971         * sysdeps/generic/sysdep.h: Likewise.
30972         * sysdeps/i386/sysdep.h: Likewise.
30973         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
30974         * sysdeps/mach/sysdep.h: Likewise.
30975         * sysdeps/s390/s390-32/sysdep.h: Likewise.
30976         * sysdeps/s390/s390-64/sysdep.h: Likewise.
30977         * sysdeps/sh/sysdep.h: Likewise.
30978         * sysdeps/sparc/sparc32/alloca.S: Likewise.
30979         * sysdeps/unix/i386/sysdep.S: Likewise.
30980         * sysdeps/unix/sparc/start.c: Likewise.
30981         * sysdeps/unix/sparc/sysdep.S: Likewise.
30982         * sysdeps/unix/sparc/sysdep.h: Likewise.
30983         * sysdeps/unix/start.c: Likewise.
30984         * sysdeps/unix/x86_64/sysdep.S: Likewise.
30985         * sysdeps/x86_64/sysdep.h: Likewise.
30987 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
30989         [BZ #13553]
30990         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
30991         for non-gcc.
30992         * argp/argp-fmtstream.h: Use const instead __const.
30993         * argp/argp.h: Likewise.
30994         * assert/assert.h: Likewise.
30995         * bits/fenv.h: Likewise.
30996         * bits/sched.h: Likewise.
30997         * bits/sigset.h: Likewise.
30998         * bits/sigthread.h: Likewise.
30999         * catgets/nl_types.h: Likewise.
31000         * conform/data/pthread.h-data: Likewise.
31001         * crypt/crypt-private.h: Likewise.
31002         * crypt/crypt.h: Likewise.
31003         * crypt/crypt_util.c: Likewise.
31004         * ctype/ctype.h: Likewise.
31005         * debug/execinfo.h: Likewise.
31006         * debug/mbsnrtowcs_chk.c: Likewise.
31007         * debug/mbsrtowcs_chk.c: Likewise.
31008         * debug/wcsnrtombs_chk.c: Likewise.
31009         * debug/wcsrtombs_chk.c: Likewise.
31010         * debug/wcstombs_chk.c: Likewise.
31011         * dirent/dirent.h: Likewise.
31012         * dlfcn/dlfcn.h: Likewise.
31013         * elf/neededtest4.c: Likewise.
31014         * grp/grp.h: Likewise.
31015         * gshadow/gshadow.h: Likewise.
31016         * iconv/gconv.h: Likewise.
31017         * iconv/gconv_int.h: Likewise.
31018         * iconv/gconv_simple.c: Likewise.
31019         * iconv/iconv.h: Likewise.
31020         * iconv/loop.c: Likewise.
31021         * iconv/skeleton.c: Likewise.
31022         * include/aio.h: Likewise.
31023         * include/aliases.h: Likewise.
31024         * include/argz.h: Likewise.
31025         * include/arpa/inet.h: Likewise.
31026         * include/assert.h: Likewise.
31027         * include/dirent.h: Likewise.
31028         * include/dlfcn.h: Likewise.
31029         * include/execinfo.h: Likewise.
31030         * include/fcntl.h: Likewise.
31031         * include/fenv.h: Likewise.
31032         * include/glob.h: Likewise.
31033         * include/grp.h: Likewise.
31034         * include/libintl.h: Likewise.
31035         * include/mntent.h: Likewise.
31036         * include/netdb.h: Likewise.
31037         * include/pwd.h: Likewise.
31038         * include/rpc/netdb.h: Likewise.
31039         * include/sched.h: Likewise.
31040         * include/search.h: Likewise.
31041         * include/shadow.h: Likewise.
31042         * include/signal.h: Likewise.
31043         * include/stdio.h: Likewise.
31044         * include/stdlib.h: Likewise.
31045         * include/string.h: Likewise.
31046         * include/sys/socket.h: Likewise.
31047         * include/sys/stat.h: Likewise.
31048         * include/sys/statfs.h: Likewise.
31049         * include/sys/statvfs.h: Likewise.
31050         * include/sys/syslog.h: Likewise.
31051         * include/sys/time.h: Likewise.
31052         * include/sys/uio.h: Likewise.
31053         * include/time.h: Likewise.
31054         * include/unistd.h: Likewise.
31055         * include/utmp.h: Likewise.
31056         * include/wchar.h: Likewise.
31057         * include/wctype.h: Likewise.
31058         * inet/aliases.h: Likewise.
31059         * inet/arpa/inet.h: Likewise.
31060         * inet/netinet/ether.h: Likewise.
31061         * inet/netinet/in.h: Likewise.
31062         * intl/libintl.h: Likewise.
31063         * io/bits/fcntl2.h: Likewise.
31064         * io/fcntl.h: Likewise.
31065         * io/ftw.h: Likewise.
31066         * io/sys/poll.h: Likewise.
31067         * io/sys/stat.h: Likewise.
31068         * io/sys/statfs.h: Likewise.
31069         * io/sys/statvfs.h: Likewise.
31070         * io/utime.h: Likewise.
31071         * libio/bits/stdio.h: Likewise.
31072         * libio/bits/stdio2.h: Likewise.
31073         * libio/libio.h: Likewise.
31074         * libio/libioP.h: Likewise.
31075         * libio/stdio.h: Likewise.
31076         * locale/lc-ctype.c: Likewise.
31077         * locale/locale.h: Likewise.
31078         * login/utmp.h: Likewise.
31079         * malloc/arena.c: Likewise.
31080         * malloc/malloc.c: Likewise.
31081         * malloc/malloc.h: Likewise.
31082         * malloc/mcheck.c: Likewise.
31083         * malloc/mtrace.c: Likewise.
31084         * math/bits/mathcalls.h: Likewise.
31085         * math/fenv.h: Likewise.
31086         * math/math_private.h: Likewise.
31087         * misc/bits/error.h: Likewise.
31088         * misc/bits/syslog.h: Likewise.
31089         * misc/err.h: Likewise.
31090         * misc/error.h: Likewise.
31091         * misc/fstab.h: Likewise.
31092         * misc/mntent.h: Likewise.
31093         * misc/regexp.h: Likewise.
31094         * misc/search.h: Likewise.
31095         * misc/sgtty.h: Likewise.
31096         * misc/sys/mman.h: Likewise.
31097         * misc/sys/syslog.h: Likewise.
31098         * misc/sys/uio.h: Likewise.
31099         * misc/sys/xattr.h: Likewise.
31100         * misc/ttyent.h: Likewise.
31101         * nis/rpcsvc/ypclnt.h: Likewise.
31102         * nss/nss.h: Likewise.
31103         * posix/bits/unistd.h: Likewise.
31104         * posix/fnmatch.h: Likewise.
31105         * posix/glob.h: Likewise.
31106         * posix/sched.h: Likewise.
31107         * posix/spawn.h: Likewise.
31108         * posix/sys/wait.h: Likewise.
31109         * posix/unistd.h: Likewise.
31110         * posix/wordexp.h: Likewise.
31111         * pwd/pwd.h: Likewise.
31112         * resolv/netdb.h: Likewise.
31113         * resource/sys/resource.h: Likewise.
31114         * rt/aio.h: Likewise.
31115         * rt/bits/mqueue2.h: Likewise.
31116         * rt/mqueue.h: Likewise.
31117         * shadow/shadow.h: Likewise.
31118         * signal/signal.h: Likewise.
31119         * socket/send.c: Likewise.
31120         * socket/sendto.c: Likewise.
31121         * socket/sys/socket.h: Likewise.
31122         * stdio-common/printf.h: Likewise.
31123         * stdlib/bits/stdlib.h: Likewise.
31124         * stdlib/fmtmsg.h: Likewise.
31125         * stdlib/monetary.h: Likewise.
31126         * stdlib/stdlib.h: Likewise.
31127         * stdlib/ucontext.h: Likewise.
31128         * streams/stropts.h: Likewise.
31129         * string/argz.h: Likewise.
31130         * string/bits/string2.h: Likewise.
31131         * string/string.h: Likewise.
31132         * string/strings.h: Likewise.
31133         * sunrpc/rpc/auth.h: Likewise.
31134         * sunrpc/rpc/auth_des.h: Likewise.
31135         * sunrpc/rpc/clnt.h: Likewise.
31136         * sunrpc/rpc/netdb.h: Likewise.
31137         * sunrpc/rpc/pmap_clnt.h: Likewise.
31138         * sunrpc/rpc/xdr.h: Likewise.
31139         * sysdeps/generic/inttypes.h: Likewise.
31140         * sysdeps/generic/net/if.h: Likewise.
31141         * sysdeps/generic/sys/swap.h: Likewise.
31142         * sysdeps/gnu/net/if.h: Likewise.
31143         * sysdeps/gnu/utmpx.h: Likewise.
31144         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
31145         * sysdeps/i386/i486/bits/string.h: Likewise.
31146         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
31147         * sysdeps/s390/bits/string.h: Likewise.
31148         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
31149         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
31150         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
31151         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
31152         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
31153         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
31154         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
31155         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
31156         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
31157         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
31158         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
31159         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
31160         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
31161         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
31162         * sysdeps/unix/sysv/linux/readv.c: Likewise.
31163         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
31164         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
31165         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31166         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
31167         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
31168         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31169         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
31170         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
31171         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
31172         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
31173         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
31174         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
31175         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31176         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
31177         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
31178         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
31179         * sysvipc/sys/ipc.h: Likewise.
31180         * sysvipc/sys/msg.h: Likewise.
31181         * sysvipc/sys/sem.h: Likewise.
31182         * sysvipc/sys/shm.h: Likewise.
31183         * termios/termios.h: Likewise.
31184         * time/sys/time.h: Likewise.
31185         * time/time.h: Likewise.
31186         * wcsmbs/bits/wchar2.h: Likewise.
31187         * wcsmbs/uchar.h: Likewise.
31188         * wcsmbs/wchar.h: Likewise.
31189         * wctype/wctype.h: Likewise.
31191         [BZ #13551]
31192         * Makeconfig: Remove all but ELF support including AIX support.
31193         * Makerules: Likewise.
31194         * config.h.in: Likewise.
31195         * config.make.in: Likewise.
31196         * configure: Likewise.
31197         * configure.in: Likewise.
31198         * csu/Makefile: Likewise.
31199         * csu/version.c: Likewise.
31200         * debug/Makefile: Likewise.
31201         * dlfcn/Makefile: Likewise.
31202         * elf/Makefile: Likewise.
31203         * extra-lib.mk: Likewise.
31204         * iconv/Makefile: Likewise.
31205         * include/libc-symbols.h: Likewise.
31206         * include/shlib-compat.h: Likewise.
31207         * resolv/Makefile: Likewise.
31208         * resolv/res_libc.c: Likewise.
31209         * rt/Makefile: Likewise.
31210         * sysdeps/i386/asm-syntax.h: Likewise.
31211         * sysdeps/i386/sysdep.h: Likewise.
31212         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31213         * sysdeps/mach/sysdep.h: Likewise.
31214         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
31215         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
31216         * sysdeps/s390/asm-syntax.h: Likewise.
31217         * sysdeps/s390/s390-32/sysdep.h: Likewise.
31218         * sysdeps/s390/s390-64/sysdep.h: Likewise.
31219         * sysdeps/sh/sysdep.h: Likewise.
31220         * sysdeps/unix/sparc/sysdep.h: Likewise.
31221         * sysdeps/wordsize-32/divdi3.c: Likewise.
31222         * sysdeps/x86_64/sysdep.h: Likewise.
31224         * argp/Versions: Remove _argp_unlock_xxx.
31226         [BZ #13559]
31227         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
31228         * abilist/libBrokenLocale.abilist: Likewise.
31229         * abilist/libanl.abilist: Likewise.
31230         * abilist/libc.abilist: Likewise.
31231         * abilist/libcrypt.abilist: Likewise.
31232         * abilist/libdl.abilist: Likewise.
31233         * abilist/libm.abilist: Likewise.
31234         * abilist/libnsl.abilist: Likewise.
31235         * abilist/libpthread.abilist: Likewise.
31236         * abilist/libresolv.abilist: Likewise.
31237         * abilist/librt.abilist: Likewise.
31238         * abilist/libthread_db.abilist: Likewise.
31239         * abilist/libutil.abilist: Likewise.
31240         * abilist/libnss_db.abilist: New file.
31242         * scripts/abilist.awk: Add support for indirect functions.
31244         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
31246         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
31248         * shlib-versions: Remove entries for ports architectures.
31250         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
31251         files in ports.
31252         * elf/stackguard-macros.h: Remove support for IA-64.
31253         * elf/tst-auditmod1.c: Likewise.
31254         * sysdeps/generic/ldsodefs.h: Likewise.
31256         * sysdeps/unix/sysv/linux/configure.in: Ports should define
31257         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
31258         configure files.
31260         [BZ #13552]
31261         * configure.in: Remove --enable-omitfp support.
31262         * FAQ.in: Adjust.
31263         * config.make.in: Likewise.
31264         * Makeconfig: Likewise.
31265         * manual/install.texi: Likewise.
31267         In case anyone cares, the IA-64 architecture could move to ports.
31268         * sysdeps/ia64/*: Removed.
31269         * sysdeps/unix/sysv/linux/ia64/*: Removed.
31270         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
31272         [BZ #13555]
31273         * configure.in: Remove entries for unsupported architectures.
31275         [BZ #13533]
31276         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
31277         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
31278         routines.
31279         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
31280         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
31281         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
31282         fall back to using wcrtomb.
31283         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
31284         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
31285         renaming.
31286         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
31287         * wcsmbs/tst-c16c32-1.c: New file.
31289         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
31290         local variable.
31292         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
31294         * elf/tst-unique3.cc: Add explicit declaration of gets.
31295         * elf/tst-unique3lib.cc: Likewise.
31296         * elf/tst-unique3lib2.cc: Likewise.
31297         * elf/tst-unique4.cc: Likewise.
31299         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
31301 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
31303         [BZ #13566]
31304         * assert/assert.h (static_assert): Don't define for C++.
31305         * libio/stdio.h (gets): Do declare for C++ <= C++11.
31306         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
31308 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
31310         * iconv/loop.c (single loop): Fix assertion in storing of
31311         remaining bytes.
31313         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
31315 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
31317         * posix/getconf.c: Update copyright year.
31318         * nss/getent.c: Likewise.
31319         * nss/makedb.c: Likewise.
31320         * iconv/iconvconfig.c: Likewise.
31321         * iconv/iconv_prog.c: Likewise.
31322         * elf/ldconfig.c: Likewise.
31323         * elf/pldd.c: Likewise.
31324         * elf/sotruss.ksh: Likewise.
31325         * catgets/gencat.c: Likewise.
31326         * csu/version.c: Likewise.
31327         * elf/ldd.bash.in: Likewise.
31328         * elf/sprof.c (print_version): Likewise.
31329         * locale/programs/locale.c: Likewise.
31330         * locale/programs/localedef.c: Likewise.
31331         * login/programs/pt_chown.c: Likewise.
31332         * nscd/nscd.c (print_version): Likewise.
31333         * debug/xtrace.sh: Likewise.
31334         * malloc/memusage.sh: Likewise.
31335         * malloc/mtrace.pl: Likewise.
31336         * debug/catchsegv.sh: Likewise.
31338 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
31340         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
31341         pure attribute.
31343 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
31345         [BZ #13533]
31346         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
31347         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
31348         transformations.
31349         * iconv/gconv_int.h: Likewise.
31350         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
31351         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
31352         from libc for GLIBC_2.16.
31353         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
31354         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
31355         * wcsmbs/uchar.h: Really define mbstate_t.
31356         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
31357         * wcsmbs/c16rtomb.c: New file.
31358         * wcsmbs/mbrtoc16.c: New file.
31359         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
31360         for C/POSIX locale.
31361         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
31362         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
31364         * wcsmbs/wchar.h: Add missing __restrict.
31366 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
31368         [BZ #13532]
31369         * time/Makefile (routines): Add timespec_get.
31370         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
31371         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
31372         timespec for ISO C11.
31373         * time/timespec_get.c: New file.
31374         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
31375         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
31377         [BZ #13531]
31378         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
31379         * stdlib/stdlib.h: Declare aligned_alloc.
31380         * Versions.def: Add GLIBC_2.16 for libc.
31381         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
31383         [BZ 13527]
31384         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
31385         ISO C11.
31387         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
31388         code.
31390         [BZ #13528]
31391         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
31393         [BZ #13529]
31394         * assert/assert.h (static_assert): Define.
31396         * version.h: Update for 2.16 development version.
31398         [BZ #13526]
31399         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
31400         _ISOC11_SOURCE.
31402         * version.h (RELEASE): Bump for 2.15 release.
31403         * include/features.h (__GLIBC_MINOR__): Bump to 15.
31405         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
31406         Patch by Marek Polacek <mpolacek@redhat.com>.
31408         * bits/byteswap.h: Protect long long constants with __extension__.
31409         * sysdeps/i386/bits/byteswap.h: Likewise.
31410         * sysdeps/ia64/bits/byteswap.h: Likewise.
31411         * sysdeps/s390/bits/byteswap.h: Likewise.
31412         * sysdeps/x86_64/bits/byteswap.h: Likewise.
31414 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31416         [BZ #13540]
31417         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
31418         destination buffer.
31419         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
31421 2011-12-23  Marek Polacek  <polacek@redhat.com>
31423         * elf/dl-addr.c (determine_info): Add inline keyword.
31424         * elf/tst-auditmod4b.c (check_avx): Likewise.
31425         * elf/tst-auditmod6b.c (check_avx): Likewise.
31426         * elf/tst-auditmod6c.c (check_avx): Likewise.
31427         * elf/tst-auditmod7b.c (check_avx): Likewise.
31429 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
31431         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
31432         !__SSE_MATH__.
31434 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31436         [BZ #13540]
31437         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
31438         processing for last bytes.
31440 2011-08-06  Bruno Haible  <bruno@clisp.org>
31442         [BZ #13061]
31443         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
31444         U+0385, not to U+1FEE.
31446         [BZ #13062]
31447         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
31448         entry for U+00A5 U+0301.
31450 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
31452         [BZ #13166]
31453         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
31454         buffer for the output is too small.
31456         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
31457         optimization.
31459         [BZ #13185]
31460         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
31461         SSE flags if possible.
31463 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31465         [BZ #13540]
31466         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
31467         processing for last bytes.
31469 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
31471         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
31472         (syscall-list-default-options, syscall-list-default-condition)
31473         (syscall-list-includes): Define.
31474         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
31475         list of ABIs and options and #if conditions for each ABI.  Do not
31476         handle common syscalls between ABIs specially.
31477         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
31478         Remove.
31479         (syscall-list-variants, syscall-list-32bit-options)
31480         (syscall-list-32bit-condition, syscall-list-64bit-options)
31481         (syscall-list-64bit-condition): Define.
31482         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
31483         (syscall-list-variants, syscall-list-32bit-options)
31484         (syscall-list-32bit-condition, syscall-list-64bit-options)
31485         (syscall-list-64bit-condition): Define.
31486         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
31487         Remove.
31488         (syscall-list-variants, syscall-list-32bit-options)
31489         (syscall-list-32bit-condition, syscall-list-64bit-options)
31490         (syscall-list-64bit-condition): Define.
31491         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
31492         Remove.
31493         (syscall-list-variants, syscall-list-32bit-options)
31494         (syscall-list-32bit-condition, syscall-list-64bit-options)
31495         (syscall-list-64bit-condition): Define.
31497 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
31499         * locale/iso-639.def: Add brx entry.
31501         [BZ #13328]
31502         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
31503         Proposed by Mariusz_Cukr <marcukr@op.pl>.
31505         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
31506         __feraiseexcept_renamed.
31508 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
31510         [BZ #13538]
31511         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
31512         EPOLLET with unsigned values.
31513         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31514         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31516         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
31517         to large cancellation.
31518         * math/s_cacoshf.c: Likewise.
31519         * math/s_cacoshl.c: Likewise.
31521 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
31523         [BZ #13305]
31524         [BZ #12786]
31525         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
31526         * math/s_cacoshf.c: Likewise.
31527         * math/s_cacoshl.c: Likewise.
31529 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
31531         [BZ #13439]
31532         * iconv/gconv.h: Define __GCONV_SWAP.
31533         * iconvdata/unicode.c: The swap bit must be stored in __flags.
31534         * iconvdata/utf-16.c: Likewise.
31535         * iconvdata/utf-32.c: Likewise.
31537 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
31539         [BZ #13524]
31540         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
31541         numerator after shifting it by one limb.
31543 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
31545         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
31546         under [__USE_EXTERN_INLINES].
31548 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
31550         [BZ #13446]
31551         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
31553 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31555         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
31556         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
31557         optimized code.
31558         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
31559         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
31560         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
31561         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
31562         for strncasecmp/strncasecmp_l compilation.
31563         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
31564         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
31566 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
31568         [BZ #13484]
31569         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
31570         of __asm__.
31572 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
31574         [BZ #13506]
31575         * time/tzfile.c (__tzfile_read): Check values from file header.
31577 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
31579         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
31580         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
31581         * powerpc/powerpc32/dl-start.S: Likewise.
31582         * powerpc/powerpc32/elf/start.S: Likewise.
31583         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
31584         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
31585         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
31586         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
31587         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
31588         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
31589         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
31590         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
31591         * powerpc/powerpc32/fpu/s_round.S: Likewise.
31592         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
31593         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
31594         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
31595         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
31596         * powerpc/powerpc32/memset.S: Likewise.
31597         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
31598         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
31599         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
31600         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
31601         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
31602         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
31603         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
31604         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
31605         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
31606         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
31607         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
31608         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
31609         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
31611 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31613         * math/libm-test.inc: Added more nearbyint tests.
31614         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
31615         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
31616         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
31617         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
31619 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
31621         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
31622         FD_CLOEXEC.
31624 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31626         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
31627         Add wcscpy-ssse3 wcscpy-c.
31628         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
31629         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
31630         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
31631         * sysdeps/x86_64/wcschr.S: New file.
31632         * sysdeps/x86_64/wcsrchr.S: New file.
31633         * string/test-strcmp.c: Remove checking of wcscmp function for
31634         wrong alignments.
31635         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
31636         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
31637         wcsrchr-sse2 wcsrchr-c.
31638         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
31639         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
31640         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
31641         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
31642         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
31643         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
31644         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
31645         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
31646         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
31647         * wcsmbc/wcschr.c (WCSCHR): New macro.
31649 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31651         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
31652         * wcsmbs/test-wcsrchr.c: New file.
31653         * string/test-strrchr.c: Add wcsrchr support.
31654         (WIDE): New macro.
31655         * wcsmbs/test-wcscpy.c: New file.
31656         * string/test-strcpy.c: Add wcscpy support.
31657         (WIDE): New macro.
31659 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
31661         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
31662         the inner loop.
31664 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
31666         [BZ #13472]
31667         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
31669 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
31671         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
31672         Minor optimizations.
31674         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
31675         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
31676         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
31678 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
31680         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
31681         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
31682         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
31683         for gcc to avoid warnings.
31684         * inet/Makefile (tests): Add tst-checks.
31685         * inet/tst-checks.c: New file.
31687         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
31688         warning.
31690         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
31691         __wmemcmp_sse2.
31693         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
31694         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
31696         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
31698 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
31700         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
31701         problem.
31703         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
31705 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
31707         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
31708         conditional on GCC version.
31709         (__arch_compare_and_exchange_val_8_acq)
31710         (__arch_compare_and_exchange_val_16_acq)
31711         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
31712         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
31713         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
31715 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
31717         * sysdeps/sh/backtrace.c: New file.
31719 2011-12-02  Andreas Schwab  <schwab@redhat.com>
31721         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
31722         parenthesis.
31724 2011-12-01  Andreas Schwab  <schwab@redhat.com>
31726         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
31727         falling back to utime.
31729 2011-11-30  Andreas Schwab  <schwab@redhat.com>
31731         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
31732         expectations for float.
31734 2011-11-29  Andreas Schwab  <schwab@redhat.com>
31736         * locale/weight.h (findidx): Add parameter len.
31737         * locale/weightwc.h (findidx): Likewise.
31738         * posix/fnmatch_loop.c (FCT): Adjust caller.
31739         * posix/regcomp.c (build_equiv_class): Likewise.
31740         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
31741         * posix/regexec.c (check_node_accept_bytes): Likewise.
31742         * string/strcoll_l.c (STRCOLL): Likewise.
31743         * string/strxfrm_l.c (STRXFRM): Likewise.
31745 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
31747         * Makefile.in: Remove CVSOPT handling.
31748         * configure.in: Remove use of AC_REVISION.
31749         * iconvdata/Makefile (distribute): No need to filter out CVS.
31750         * scripts/list-sources.sh: Remove CVS, subversion and monotone
31751         handling.
31753 2011-11-16  Andreas Schwab  <schwab@redhat.com>
31755         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
31756         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
31757         [USE_AS_STRNCASECMP_L]: Likewise.
31758         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
31759         NO_TLS_DIRECT_SEG_REFS.
31760         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
31761         Fix argument offsets for non-PIC.
31762         [USE_AS_STRNCASECMP_L]: Likewise.
31763         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
31764         NO_TLS_DIRECT_SEG_REFS.
31766 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
31768         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
31769         O_CLOEXEC.
31770         * locale/loadlocale.c (_nl_load_locale): Likewise.
31772 2011-11-15  Andreas Schwab  <schwab@redhat.com>
31774         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
31775         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
31776         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
31777         (SYSCALL_GETTIME): Set errno on error.
31779         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
31780         count references to noai6ai_cached.
31782 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
31784         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
31786         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
31787         FD_CLOEXEC for /proc/self/maps.
31789         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
31790         FD_CLOEXEC for /proc/meminfo.
31792         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
31793         gai.conf.
31795         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
31796         FD_CLOEXEC for given file.
31798         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
31800         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
31801         FD_CLOEXEC for /etc/hosts.
31802         (_gethtent): Likewise.
31804         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
31806         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
31807         cancellation and set FD_CLOEXEC for /etc/netgroup.
31809         * nss/nss_files/files-key.c (search): Don't allow cancellation when
31810         reading /etc/publickey.
31812         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
31813         allow cancellation when reading /etc/group.
31815         * nss/nss_files/files-alias.c (internal_setent): Don't allow
31816         cancellation.
31817         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
31819         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
31820         when using data file.
31822         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
31824         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
31825         (write_nis_obj): Use "c" and "e" in fopen.
31827         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
31829         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
31831         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
31833         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
31835         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
31836         locale.alias.
31838         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
31840         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
31842         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
31844         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
31845         file parsing and set FD_CLOEXEC.
31847 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
31849         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
31851 2011-11-14  Andreas Schwab  <schwab@redhat.com>
31853         * malloc/arena.c (arena_get2): Don't call reused_arena when
31854         _int_new_arena failed.
31856 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
31858         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
31859         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
31860         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
31861         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31862         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31863         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
31864         to compile strcasecmp and strncasecmp.
31865         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
31866         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
31868         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
31870 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
31872         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
31873         locale-defines.sym to gen-as-const-headers.
31874         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
31875         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
31876         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
31877         to compile strcasecmp and strncasecmp.
31878         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
31879         strcasecmp_l and strncasecmp_l.
31880         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
31881         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
31882         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
31883         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
31884         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
31885         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
31886         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
31887         * sysdeps/i386/i686/multiarch/strncase.S: New file.
31888         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
31889         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
31890         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
31892 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
31894         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
31895         result of SYSDEP_GETTIME_CPU to retval.
31896         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
31897         parameter list to macro.  Remove trailing semicolon.  Adjust users.
31899         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
31900         variable.
31902         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
31903         mantissa words.
31904         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
31906         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
31907         from unused variable.
31909         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
31910         DWARF definitions.
31911         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
31912         for assembling.
31914         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
31915         over namespaces.
31917         * sunrpc/rpc_prot.c (rejected): Fix case value.
31919         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
31920         unsigned long long int to avoid warnings in shift.
31922         * posix/regex_internal.c (re_string_reconstruct): Actually use result
31923         of use of trans.
31924         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
31925         variable tmp.
31927         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
31928         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
31929         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
31931         * nis/nis_table.c (nis_list): Use variable of correct type for
31932         result of __follow_path call.
31934 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31936         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
31937         of math functions ceil, trunc, floor, round, and sqrt, when
31938         avaliable on the platform.
31939         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
31940         name clash.
31941         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
31942         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
31943         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
31945 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
31947         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
31948         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
31950 2011-11-11  Roland McGrath  <roland@hack.frob.com>
31952         * include/unistd.h: Fix __readlink return type.
31953         Reported by Chris Metcalf <cmetcalf@tilera.com>.
31955 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
31957         * stdlib/ucontext.h: Undo last change for makecontext.
31959 2011-11-11  Andreas Schwab  <schwab@redhat.com>
31961         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
31963         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
31964         * setjmp/setjmp.h: Mark functions as non-leaf.
31965         * setjmp/bits/setjmp2.h: Likewise.
31966         * stdlib/ucontext.h: Likewise.
31968 2011-11-10  Andreas Schwab  <schwab@redhat.com>
31970         * malloc/arena.c (_int_new_arena): Don't increment narenas.
31971         (reused_arena): Don't check arena limit.
31972         (arena_get2): Atomically check arena limit.
31974 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
31976         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
31977         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
31979         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
31980         instructions.
31982 2011-11-07  Andreas Schwab  <schwab@redhat.com>
31984         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
31985         handler when locking.
31987         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
31988         Fix size of allocated buffer.
31990 2011-11-04  Andreas Schwab  <schwab@redhat.com>
31992         [BZ #10103]
31993         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
31994         declarations for long double functions.
31995         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
31997         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
31999 2011-11-03  Andreas Schwab  <schwab@redhat.com>
32001         * nscd/nscd.c (main): Don't start AVC thread until credentials are
32002         installed.
32004         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
32005         is disabled.
32007 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32009         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
32011 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
32013         * include/alloca.h (stackinfo_alloca_round): Define.
32014         (extend_alloca): Use it.
32015         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
32016         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
32017         here.
32019         * scripts/check-local-headers.sh: Ignore libaudit.h.
32021         * nscd/Makefile (extra-objs): Make recursively expanded.
32023 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
32025         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
32026         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
32028         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
32029         * posix/tst-rfc3484-2.c: Likewise.
32030         * posix/tst-rfc3484-3.c: Likewise.
32032         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
32033         process_vm_writev.
32034         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
32035         process_vm_writev.
32036         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
32037         process_vm_writev from libc using GLIBC_2.15 version.
32039         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
32041 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
32043         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
32044         stack usage.
32046 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
32048         [BZ #13367]
32049         * nss/getent.c (initgroups_keys): Show error message in case no group
32050         names are given.
32052         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
32053         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
32054         __bump_nl_timestamp.
32055         * nscd/connections (nscd_init): When host database is served open
32056         netlink socket and request notification about configuration changes.
32057         (main_loop_poll): Track netlink file descriptor and bump timestamp
32058         in case data becomes available.
32059         (main_loop_epoll): Likewise.
32060         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
32061         (database_pers_head): Add extra_data fileds.
32062         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
32063         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
32064         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
32065         Adjust caller.
32066         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
32067         in6ai data, call __free_in6ai.
32068         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
32069         Add -DHAVE_NETLINK.
32070         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
32071         interface information.  Reuse previous data if netlink timestamp
32072         is not changed.
32073         (__bump_nl_timestamp): New function.
32074         (__free_in6ai): New function.
32076 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
32078         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
32079         close_not_cancel_no_status here.
32080         (__check_pf): Reorganize code a bit to not call close twice if OOM.
32082 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
32084         [BZ #13276]
32085         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
32086         return value.
32088         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
32089         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
32090         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
32092 2011-07-03  Andreas Jaeger  <aj@suse.de>
32094         [BZ #10709]
32095         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
32096         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
32097         * math/libm-test.inc (sin_test): Add test case.
32099 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
32101         [BZ #13337]
32102         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
32103         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32105         * elf/chroot_canon.c (chroot_canon): Cleanups.
32107         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
32109         [BZ #13335]
32110         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
32111         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32113         * string/test-strchr.c: Make usable for strchrnul testing.
32114         * string/test-strchrnul.c: New file.
32115         * string/Makefile (strop-tests): Add strchrnul.
32117         * po/it.po: Update from translation team.
32118         * po/es.po: Likewise.
32120 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
32122         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
32123         the three constants needed as parameters.  Drop the others.
32124         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
32125         __m128i_strloadu_tolower.
32126         Create and initialize variable zero and use it in all the places
32127         where _mm_setzero_si128 was used.
32129         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
32130         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
32131         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
32132         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
32133         anymore.
32134         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
32135         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
32136         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
32137         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
32138         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
32139         __mpranred, __mptan.
32140         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
32141         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
32142         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
32143         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
32144         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
32145         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
32146         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
32147         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
32148         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
32150 2011-10-28  Andreas Schwab  <schwab@redhat.com>
32152         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
32153         redefine if SHARED.
32154         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
32156         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
32157         wide char related routines to wcsmbs subdir.
32159 2011-10-27  Andreas Schwab  <schwab@redhat.com>
32161         [BZ #13344]
32162         * misc/sys/cdefs.h (__THROWNL): Define.
32163         * posix/unistd.h: Use __THREADNL instead of __THREAD
32164         for memory synchronization functions.
32166 2011-10-26  Roland McGrath  <roland@hack.frob.com>
32168         [BZ #13349]
32169         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
32170         doesn't exist.
32171         * manual/stdio.texi (Obstack Streams): Node removed.
32173 2011-10-26  Andreas Schwab  <schwab@redhat.com>
32175         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
32176         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32177         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32179         * math/math_private.h (math_force_eval): Allow non-addressable
32180         arguments.
32181         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
32183 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
32185         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
32186         file is not needed.
32188         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
32189         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
32190         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32191         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32192         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32193         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32194         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32195         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
32196         Add AVX variants.
32197         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
32198         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
32199         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
32200         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
32201         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
32202         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
32203         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
32204         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
32205         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
32206         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
32207         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
32208         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
32209         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
32210         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
32211         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
32212         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
32213         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
32214         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
32215         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
32217         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
32218         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
32220         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
32221         place.  Use VEX encoding when compiling for AVX.
32223 2011-10-25  Andreas Schwab  <schwab@redhat.com>
32225         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
32226         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
32228         * string/test-strchr.c (do_test): Don't generate NUL bytes.
32230 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
32232         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
32233         useless if() expression.
32234         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32235         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
32236         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32237         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32238         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32239         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32240         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32241         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32242         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
32243         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32244         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32245         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32246         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
32247         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32248         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
32249         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32250         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
32251         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
32252         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
32254         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
32256 2011-10-25  Andreas Schwab  <schwab@redhat.com>
32258         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
32259         condition.
32260         * elf/dl-fini.c (_dl_sort_fini): Likewise.
32262 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
32264         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
32265         .text section.  Avoid duplicate constants.
32266         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32267         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32268         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32269         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32270         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32271         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32272         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32273         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32274         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
32275         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
32276         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
32277         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32278         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
32279         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
32280         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
32281         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
32282         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
32283         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
32284         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32285         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32286         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32287         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32288         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32289         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
32290         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
32291         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
32292         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
32293         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
32294         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
32295         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
32296         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
32297         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
32298         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32299         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
32300         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
32301         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
32302         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
32303         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
32304         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
32305         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
32306         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
32307         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
32308         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
32309         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
32310         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
32312 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
32314         * sysdeps/x86_64/dla.h: Move to ...
32315         * sysdeps/x86_64/fpu/dla.h: ...here.
32316         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
32317         situations.  Use __builtin_fma only for gcc 4.6 and up.
32319         * config.make.in: Add have-mfma4 entry.
32320         * configure.in: Substitute libc_cv_cc_fma4.
32321         * math/Makefile (dbl-only-routines): Add sincostab.
32322         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
32323         Use __sincostab not sincos.
32324         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
32325         name is a macro.
32326         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32327         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32328         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32329         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
32330         using __copysign.
32331         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
32332         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
32333         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
32334         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
32335         and __inv.
32336         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
32337         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
32338         __copysign.
32339         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
32340         define aliases when function name is a macro.
32341         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
32342         sysdeps/ieee754/dbl-64/sincos.tbl.
32343         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
32344         fma4-enabled routines.
32345         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
32346         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
32347         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
32348         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
32349         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
32350         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
32351         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
32352         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
32353         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
32354         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
32355         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
32356         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
32357         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
32358         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
32359         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
32360         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
32361         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
32362         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
32363         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
32364         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
32365         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
32366         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
32367         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
32368         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
32369         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
32370         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
32371         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
32372         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
32373         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
32374         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
32376         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
32377         rename.
32378         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32379         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32380         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32381         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32382         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32383         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32384         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32385         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32387 2011-10-24  Andreas Schwab  <schwab@redhat.com>
32389         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
32391 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
32393         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
32395         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
32396         prediction.
32397         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
32399         * string/strnlen.c: Don't define STRNLEN, reverse logic.
32400         Remove unused variable magic_bits.
32401         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
32403         * string/strnlen.c: Define and use STRNLEN macro.
32404         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
32405         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
32406         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
32407         * wcsmbs/wcslen.c: Define and use WCSLEN.
32408         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
32409         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
32410         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
32411         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
32412         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
32413         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
32414         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
32416 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32418         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32419         strnlen-sse2-no-bsf.
32420         Rename strlen-no-bsf to strlen-sse2-no-bsf.
32421         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
32422         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
32423         Add strnlen support.
32424         (USE_AS_STRNLEN): New macro.
32425         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
32426         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
32427         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
32428         * sysdeps/x86_64/wcslen.S: New file.
32430 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
32432         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
32433         XMM-moves are used for copying on small sizes.
32435 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32437         * wcsmbs/Makefile (strop-tests): Add wcschr.
32438         * wcsmbs/test-wcschr.c: New file.
32439         * string/test-strchr.c: Update.
32440         Add wcschr support.
32441         (WIDE): New macro.
32443 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32445         * wcsmbs/Makefile (strop-tests): Add wcslen.
32446         * wcsmbs/test-wcslen.c: New file.
32447         * string/test-strlen.c: Update.
32448         Add wcslen support.
32449         (WIDE): New macro.
32451 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
32453         * po/it.po: Update from translation team.
32455 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32457         * sysdeps/x86_64/wcscmp.S: Update.
32458         Fix wrong comparison semantics.
32459         wcscmp shall use signed comparison not unsigned.
32460         Don't use substraction to avoid overflow bug.
32461         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
32462         * wcsmbc/wcscmp.c: Likewise.
32463         * string/test-strcmp.c: Likewise.
32464         Add new tests to check cases with negative values.
32466 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
32468         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
32469         * sysdeps/x86_64/dla.h: ...here.  New file.
32470         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
32471         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32472         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32473         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32474         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32475         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32476         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32477         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32478         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32480 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
32482         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
32483         __ynl_finite aliases.
32485 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
32487         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32489         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
32490         define DLA_FMA.
32491         [DLA_FMA] (EMULV): Use DLA_FMA.
32492         [DLA_FMA] (MUL12): Use EMULV.
32493         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
32494         that are not needed.
32495         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32496         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32497         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32498         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32499         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32500         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32501         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32503 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
32505         * math/s_nan.c: Undef __nan.
32506         * math/s_nanf.c: Undef __nanf.
32507         * math/s_nanl.c: Undef __nanl.
32508         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
32509         "math_private.h".
32511 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
32513         * math/s_catan.c: Add branch predictions.
32514         * math/s_catanf.c: Likewise.
32515         * math/s_catanh.c: Likewise.
32516         * math/s_catanhf.c: Likewise.
32517         * math/s_catanhl.c: Likewise.
32518         * math/s_catanl.c: Likewise.
32519         * math/s_cexp.c: Likewise.
32520         * math/s_cexpf.c: Likewise.
32521         * math/s_cexpl.c: Likewise.
32522         * math/s_clog.c: Likewise.
32523         * math/s_clog10.c: Likewise.
32524         * math/s_clog10f.c: Likewise.
32525         * math/s_clog10l.c: Likewise.
32526         * math/s_clogf.c: Likewise.
32527         * math/s_clogl.c: Likewise.
32528         * math/s_csqrt.c: Likewise.
32529         * math/s_csqrtf.c: Likewise.
32530         * math/s_csqrtl.c: Likewise.
32531         * math/s_ctanf.c: Likewise.
32532         * math/s_ctanh.c: Likewise.
32533         * math/s_ctanhf.c: Likewise.
32534         * math/s_ctanhl.c: Likewise.
32535         * math/s_ctanl.c: Likewise.
32537         * math/math_private.h: Define __nan, __nanf, __nanl.
32538         * math/s_cacosh.c: Include <math_private.h>.
32539         * math/s_cacoshl.c: Likewise.
32540         * math/s_casinh.c: Likewise.
32541         * math/s_casinhf.c: Likewise.
32542         * math/s_casinhl.c: Likewise.
32543         * math/s_ccos.c: Rely entire on ccosh.
32544         * math/s_ccosf.c: Rely entire on ccoshf.
32545         * math/s_ccosl.c: Rely entirely on ccoshl.
32546         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
32547         Remove tests for FE_INVALID.
32548         * math/s_ccoshf.c: Likewise.
32549         * math/s_ccoshl.c: Likewise.
32550         * math/s_csin.c: Likewise.
32551         * math/s_csinf.c: Likewise.
32552         * math/s_csinh.c Likewise.
32553         * math/s_csinhf.c: Likewise.
32554         * math/s_csinhl.c: Likewise.
32555         * math/s_csinl.c: Likewise.
32556         * math/s_ctan.c: Likewise.
32557         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
32558         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
32559         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
32561 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
32563         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
32564         compilation problems.
32566         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
32567         __builtin_expect.
32569 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
32571         * sysdeps/i386/configure.in: Test for -mfma4 option.
32572         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
32573         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
32574         COMMON_CPUID_INDEX_80000001.
32575         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
32576         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
32577         use it if FMA3 is not supported.
32578         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
32580         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
32581         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
32583 2011-10-20  Andreas Schwab  <schwab@redhat.com>
32585         [BZ #12892]
32586         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
32587         it would create a cycle with a link time dependency.
32589 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
32591         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
32592         instruction.
32593         * string/Makefile (strop-tests): Add rawmemchr.
32594         * string/test-rawmemchr.c: New file.
32596         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
32597         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
32598         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
32599         when compiling str{,n}casecmp and when AVX is available.  Hook up
32600         new optimized code in initializers.
32602 2011-10-19  Andreas Schwab  <schwab@redhat.com>
32604         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
32605         __feraiseexcept instead of feraiseexcept.
32607 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
32609         * math/math_private.h: Define defaults for libc_fetestexcept and
32610         libc_feupdateenv.
32611         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
32612         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
32613         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
32614         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
32615         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
32616         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
32617         libc_fetestexcept and libc_feupdateenv.
32619         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
32620         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
32621         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
32622         * sysdeps/x86_64/fpu/math_private.h: Define special version of
32623         libc_feholdexcept_setround.
32625         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
32626         Add s_nearbyint-c and s_nearbyintf-c.
32627         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
32628         nearbyintf inlines.
32629         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
32630         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
32631         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
32632         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
32634         * math/math_private.h: Define defaults for libc_fegetround,
32635         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
32636         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
32637         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
32638         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
32639         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
32640         standard functions.
32641         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
32642         Remove comments and hacks for old compiler versions.
32643         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
32644         libc_fegetround, libc_fesetround, libc_feholdexcept, and
32645         libc_feholdexceptl.
32647 2011-10-18  Andreas Schwab  <schwab@redhat.com>
32649         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
32650         (__feraiseexcept_renamed): Add __NTH.
32651         (feraiseexcept): Add __NTH.  Rename local variables to fix
32652         namespace violations.
32654 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
32656         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
32658         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
32660         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
32661         recently added interfaces.
32662         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
32664         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
32665         about macro parameter expansion.
32667         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
32668         __NO_MATH_INLINES is defined.  Cleanups.
32670         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
32671         and __floorf is target has SSE4.1.
32672         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
32673         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
32674         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
32675         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
32677         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
32678         name.
32679         (floorf): Likewise.
32681         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
32683 2011-10-17  Andreas Schwab  <schwab@redhat.com>
32685         * misc/sys/cdefs.h: Fix last change.
32687         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
32688         database lookup.
32690 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
32692         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
32694         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
32695         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32696         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
32697         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32698         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32699         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
32700         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32701         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32702         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
32703         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
32704         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
32705         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
32706         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
32707         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
32708         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
32709         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
32710         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
32711         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
32712         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
32713         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
32714         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
32715         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
32717         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
32718         ceil, ceilf, floor, floorf.
32720         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
32721         Perform IRELATIVE relocations last.
32723         * elf/do-rel.h: Add another parameter nrelative, replacing the
32724         local variable with the same name.  Change name of the function
32725         to end in Rel or Rela (uppercase).
32726         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
32727         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
32728         elf_dynamic_do_##reloc function.
32730 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
32732         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
32733         is sufficient, at least on modern CPUs.
32735         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
32737         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
32738         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
32740         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
32741         __expl_finite.
32742         * math/bits/math-finite.h: Add entries for exp.
32743         * math/e_expl.c: Add __*_finite alias.
32744         * sysdeps/i386/fpu/e_exp.S: Likewise.
32745         * sysdeps/i386/fpu/e_expf.S: Likewise.
32746         * sysdeps/i386/fpu/e_expl.c: Likewise.
32747         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32748         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
32749         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
32750         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
32751         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
32752         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
32753         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
32755         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
32756         is sufficient, at least on modern CPUs.
32758         * ctype/ctype-info.c (__ctype_init): Define.
32759         * include/ctype.h (__ctype_init): Declare.
32760         (__ctype_b_loc): The variable is always initialized.
32761         (__ctype_toupper_loc): Likewise.
32762         (__ctype_tolower_loc): Likewise.
32763         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
32764         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
32766 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
32768         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
32770         * configure.in: Also look in $cxxmachine/include for C++ system
32771         headers.
32773 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32775         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
32776         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
32777         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
32778         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
32779         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
32780         (USE_AS_WMEMCMP): New macro.
32781         Fixing indents.
32782         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
32783         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
32784         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
32785         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
32786         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32787         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
32788         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
32789         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
32790         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
32791         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
32792         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
32793         (USE_AS_WMEMCMP): New macro.
32794         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
32795         * sysdeps/string/test-memcmp.c: Update.
32796         Fix simple_wmemcmp.
32797         Add new tests.
32798         * wcsmbs/wmemcmp.c: Update.
32799         (WMEMCMP): New macro.
32800         Fix overflow bug.
32802 2011-10-12  Andreas Jaeger  <aj@suse.de>
32804         [BZ #13268]
32805         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
32807 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
32809         * libio/iofwide.c (do_length): Avoid warning.
32811         * ctype/ctype.h (__isctype_f): Add missing __THROW.
32813 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
32815         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
32817         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
32818         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
32819         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
32820         * sysdeps/i386/i686/fpu/e_log.S: New file.
32821         * sysdeps/i386/i686/fpu/e_logf.S: New file.
32822         * sysdeps/i386/i686/fpu/e_logl.S: New file.
32824         * ctype/ctype.h: Add support for inlined isXXX functions when
32825         compiling C++ code.
32827 2011-10-14  Andreas Schwab  <schwab@redhat.com>
32829         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32831         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
32833 2011-10-13  Roland McGrath  <roland@hack.frob.com>
32835         [BZ #13291]
32836         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
32838 2011-10-13  Andreas Schwab  <schwab@redhat.com>
32840         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
32841         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
32842         feraiseexcept.
32844         * sysdeps/x86_64/memrchr.S: Check for zero size.
32846         * string/stratcliff.c: Add memrchr tests.
32848 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32850         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32851         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
32852         rawmemchr-sse2 rawmemchr-sse2-bsf.
32853         * sysdeps/i386/i686/multiarch/memchr.S: New file.
32854         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
32855         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
32856         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
32857         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
32858         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
32859         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
32860         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
32861         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
32862         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
32863         * string/memrchr.c (MEMRCHR): New macro.
32865 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
32867         Add integration with gcc's -ffinite-math-only and optimize wrapper
32868         functions in libm.
32869         * Versions.def: Define GLIBC_2.15 version for libm.
32870         * math/Makefile (headers): Add bits/math-finite.h.
32871         * math/bits/math-finite.h: New file.
32872         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
32873         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
32874         * math/e_acoshl.c: Add __*_finite alias.
32875         * math/e_acosl.c: Likewise.
32876         * math/e_asinl.c: Likewise.
32877         * math/e_atan2l.c: Likewise.
32878         * math/e_atanhl.c: Likewise.
32879         * math/e_coshl.c: Likewise.
32880         * math/e_exp10.c: Likewise.
32881         * math/e_exp10f.c: Likewise.
32882         * math/e_exp10l.c: Likewise.
32883         * math/e_exp2l.c: Likewise.
32884         * math/e_fmodl.c: Likewise.
32885         * math/e_gammal_r.c: Likewise.
32886         * math/e_hypotl.c: Likewise.
32887         * math/e_j0l.c: Likewise.
32888         * math/e_j1l.c: Likewise.
32889         * math/e_jnl.c: Likewise.
32890         * math/e_lgammal_r.c: Likewise.
32891         * math/e_log10l.c: Likewise.
32892         * math/e_log2l.c: Likewise.
32893         * math/e_logl.c: Likewise.
32894         * math/e_powl.c: Likewise.
32895         * math/e_sinhl.c: Likewise.
32896         * math/e_sqrtl.c: Likewise.
32897         * math/e_scalb.c: Completely rewritten and optimized.
32898         * math/e_scalbf.c: Likewise.
32899         * math/e_scalbl.c: Likewise.
32900         * math/w_acos.c: Likewise.
32901         * math/w_acosf.c: Likewise.
32902         * math/w_acosl.c: Likewise.
32903         * math/w_acosh.c: Likewise.
32904         * math/w_acoshf.c: Likewise.
32905         * math/w_acoshl.c: Likewise.
32906         * math/w_asin.c: Likewise.
32907         * math/w_asinf.c: Likewise.
32908         * math/w_asinl.c: Likewise.
32909         * math/w_atan2.c: Likewise.
32910         * math/w_atan2f.c: Likewise.
32911         * math/w_atan2l.c: Likewise.
32912         * math/w_atanh.c: Likewise.
32913         * math/w_atanhf.c: Likewise.
32914         * math/w_atanhl.c: Likewise.
32915         * math/w_exp10.c: Likewise.
32916         * math/w_exp10f.c: Likewise.
32917         * math/w_exp10l.c: Likewise.
32918         * math/w_fmod.c: Likewise.
32919         * math/w_fmodf.c: Likewise.
32920         * math/w_fmodl.c: Likewise.
32921         * math/w_j0.c: Likewise.
32922         * math/w_j0f.c: Likewise.
32923         * math/w_j0l.c: Likewise.
32924         * math/w_j1.c: Likewise.
32925         * math/w_j1f.c: Likewise.
32926         * math/w_j1l.c: Likewise.
32927         * math/w_jn.c: Likewise.
32928         * math/w_jnf.c: Likewise.
32929         * math/w_log.c: Likewise.
32930         * math/w_logf.c: Likewise.
32931         * math/w_logl.c: Likewise.
32932         * math/w_log10.c: Likewise.
32933         * math/w_log10f.c: Likewise.
32934         * math/w_log10l.c: Likewise.
32935         * math/w_log2.c: Likewise.
32936         * math/w_log2f.c: Likewise.
32937         * math/w_log2l.c: Likewise.
32938         * math/w_pow.c: Likewise.
32939         * math/w_powf.c: Likewise.
32940         * math/w_powl.c: Likewise.
32941         * math/w_remainder.c: Likewise.
32942         * math/w_remainderf.c: Likewise.
32943         * math/w_remainderl.c: Likewise.
32944         * math/w_scalb.c: Likewise.
32945         * math/w_scalbf.c: Likewise.
32946         * math/w_scalbl.c: Likewise.
32947         * math/w_sqrt.c: Likewise.
32948         * math/w_sqrtf.c: Likewise.
32949         * math/w_sqrtl.c: Likewise.
32950         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
32951         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
32952         used.
32953         * math/math_private.h: Declare __kernel_standard_f.
32954         * math/w_cosh.c: Remove cruft and optimize a bit.
32955         * math/w_coshf.c: Likewise.
32956         * math/w_coshl.c: Likewise.
32957         * math/w_exp2.c: Likewise.
32958         * math/w_exp2f.c: Likewise.
32959         * math/w_exp2l.c: Likewise.
32960         * math/w_hypot.c: Likewise.
32961         * math/w_hypotf.c: Likewise.
32962         * math/w_hypotl.c: Likewise.
32963         * math/w_lgamma.c: Likewise.
32964         * math/w_lgamma_r.c: Likewise.
32965         * math/w_lgammaf.c: Likewise.
32966         * math/w_lgammaf_r.c: Likewise.
32967         * math/w_lgammal.c: Likewise.
32968         * math/w_lgammal_r.c: Likewise.
32969         * math/w_sinh.c: Likewise.
32970         * math/w_sinhf.c: Likewise.
32971         * math/w_sinhl.c: Likewise.
32972         * math/w_tgamma.c: Likewise.
32973         * math/w_tgammaf.c: Likewise.
32974         * math/w_tgammal.c: Likewise.
32975         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
32976         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32977         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
32978         Minor optimizations.  Pretty printing.  Remove cruft.
32979         * sysdeps/i386/fpu/e_acosf.S: Likewise.
32980         * sysdeps/i386/fpu/e_acosh.S: Likewise.
32981         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32982         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
32983         * sysdeps/i386/fpu/e_acosl.c: Likewise.
32984         * sysdeps/i386/fpu/e_asin.S: Likewise.
32985         * sysdeps/i386/fpu/e_asinf.S: Likewise.
32986         * sysdeps/i386/fpu/e_atan2.S: Likewise.
32987         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
32988         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
32989         * sysdeps/i386/fpu/e_atanh.S: Likewise.
32990         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32991         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32992         * sysdeps/i386/fpu/e_exp10.S: Likewise.
32993         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
32994         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
32995         * sysdeps/i386/fpu/e_exp2.S: Likewise.
32996         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
32997         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
32998         * sysdeps/i386/fpu/e_fmod.S: Likewise.
32999         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
33000         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
33001         * sysdeps/i386/fpu/e_hypot.S: Likewise.
33002         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
33003         * sysdeps/i386/fpu/e_log.S: Likewise.
33004         * sysdeps/i386/fpu/e_log10.S: Likewise.
33005         * sysdeps/i386/fpu/e_log10f.S: Likewise.
33006         * sysdeps/i386/fpu/e_log10l.S: Likewise.
33007         * sysdeps/i386/fpu/e_log2.S: Likewise.
33008         * sysdeps/i386/fpu/e_log2f.S: Likewise.
33009         * sysdeps/i386/fpu/e_log2l.S: Likewise.
33010         * sysdeps/i386/fpu/e_logf.S: Likewise.
33011         * sysdeps/i386/fpu/e_logl.S: Likewise.
33012         * sysdeps/i386/fpu/e_pow.S: Likewise.
33013         * sysdeps/i386/fpu/e_powf.S: Likewise.
33014         * sysdeps/i386/fpu/e_powl.S: Likewise.
33015         * sysdeps/i386/fpu/e_remainder.S: Likewise.
33016         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
33017         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
33018         * sysdeps/i386/fpu/e_scalb.S: Likewise.
33019         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
33020         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
33021         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
33022         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
33023         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
33024         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33025         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33026         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33027         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33028         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33029         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33030         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
33031         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33032         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33033         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33034         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33035         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33036         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33037         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33038         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33039         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33040         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33041         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33042         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33043         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33044         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33045         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33046         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33047         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33048         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33049         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33050         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
33051         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33052         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
33053         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33054         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33055         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33056         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33057         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33058         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33059         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33060         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33061         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33062         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33063         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33064         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33065         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33066         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33067         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33068         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33069         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33070         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33071         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33072         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33073         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
33074         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33075         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33076         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33077         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33078         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33079         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33080         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33081         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33082         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33083         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33084         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33085         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33086         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33087         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33088         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33089         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33090         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33091         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33092         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
33093         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33094         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33095         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33096         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33097         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33098         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33099         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33100         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
33101         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33102         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33103         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33104         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33105         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33106         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
33107         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33108         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33109         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33110         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33111         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33112         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33113         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33114         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33115         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33116         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33117         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
33118         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33119         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
33120         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
33121         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
33122         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
33123         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
33124         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
33125         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
33126         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
33127         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
33128         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
33129         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
33130         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
33131         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33132         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
33133         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
33134         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
33135         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
33136         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
33137         (__isnanf): Likewise.
33138         (__isinf_ns): Likewise.
33139         (__isinf_nsf): Likewise.
33140         (__finite): Likewise.
33141         (__finitef): Likewise.
33142         (__ieee754_sqrt): Define as macro.
33143         (__ieee754_sqrtf): Define as macro.
33144         (__ieee754_sqrtl): Define as macro.
33145         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
33146         inlined copy.
33147         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
33148         __FINITE_MATH_ONLY__ consistent.
33149         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
33151 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
33153         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
33154         of rawmemchr.
33156         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
33158 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
33160         * po/ja.po: Update from translation team.
33162 2011-10-08  Roland McGrath  <roland@hack.frob.com>
33164         * locale/programs/locarchive.c (prepare_address_space): New function.
33165         (create_archive, enlarge_archive, open_archive): Use it.
33167         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
33168         inside [SHARED], where it is used.
33170         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
33172         * nss/getent.c (netgroup_keys): Remove unused variable.
33173         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33175 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
33177         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
33178         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
33179         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
33180         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
33181         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
33182         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
33183         * math/Makefile (libm-calls): Add s_isinf_ns.
33184         * math/divtc3.c: Use __isinf_nsl instead of isinf.
33185         * math/multc3.c: Likewise.
33186         * math/s_casin.c: Likewise.
33187         * math/s_casinf.c: Likewise.
33188         * math/s_casinl.c: Likewise.
33189         * math/s_ccos.c: Likewise.
33190         * math/s_ccosf.c: Likewise.
33191         * math/s_ccosl.c: Likewise.
33192         * math/s_ctan.c: Likewise.
33193         * math/s_ctanf.c: Likewise.
33194         * math/s_ctanh.c: Likewise.
33195         * math/s_ctanhf.c: Likewise.
33196         * math/s_ctanhl.c: Likewise.
33197         * math/s_ctanl.c: Likewise.
33198         * math/w_fmod.c: Likewise.
33199         * math/w_fmodf.c: Likewise.
33200         * math/w_fmodl.c: Likewise.
33201         * math/w_remainder.c: Likewise.
33202         * math/w_remainderf.c: Likewise.
33203         * math/w_remainderl.c: Likewise.
33204         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
33205         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
33206         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
33207         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
33208         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
33209         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
33210         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
33211         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
33213         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
33214         of the number.
33215         * stdio-common/printf_fphex.c: Likewise.
33216         * stdio-common/printf_size.c: Likewise.
33218         * math/e_exp10.c: Include math_private.h using <...> not "...".
33219         * math/e_exp10f.c: Likewise.
33220         * math/e_exp10l.c: Likewise.
33221         * math/e_exp2l.c: Likewise.
33222         * math/e_j0l.c: Likewise.
33223         * math/e_j1l.c: Likewise.
33224         * math/e_jnl.c: Likewise.
33225         * math/e_lgammal_r.c: Likewise.
33226         * math/e_rem_pio2l.c: Likewise.
33227         * math/e_scalb.c: Likewise.
33228         * math/e_scalbf.c: Likewise.
33229         * math/e_scalbl.c: Likewise.
33230         * math/k_cosl.c: Likewise.
33231         * math/k_sinl.c: Likewise.
33232         * math/k_tanl.c: Likewise.
33233         * math/s_cacoshf.c: Likewise.
33234         * math/s_catan.c: Likewise.
33235         * math/s_catanf.c: Likewise.
33236         * math/s_catanh.c: Likewise.
33237         * math/s_catanhf.c: Likewise.
33238         * math/s_catanhl.c: Likewise.
33239         * math/s_catanl.c: Likewise.
33240         * math/s_ccosh.c: Likewise.
33241         * math/s_ccoshf.c: Likewise.
33242         * math/s_ccoshl.c: Likewise.
33243         * math/s_cexp.c: Likewise.
33244         * math/s_cexpf.c: Likewise.
33245         * math/s_cexpl.c: Likewise.
33246         * math/s_clog.c: Likewise.
33247         * math/s_clog10.c: Likewise.
33248         * math/s_clog10f.c: Likewise.
33249         * math/s_clog10l.c: Likewise.
33250         * math/s_clogf.c: Likewise.
33251         * math/s_clogl.c: Likewise.
33252         * math/s_csin.c: Likewise.
33253         * math/s_csinf.c: Likewise.
33254         * math/s_csinh.c: Likewise.
33255         * math/s_csinhf.c: Likewise.
33256         * math/s_csinhl.c: Likewise.
33257         * math/s_csinl.c: Likewise.
33258         * math/s_csqrt.c: Likewise.
33259         * math/s_csqrtf.c: Likewise.
33260         * math/s_csqrtl.c: Likewise.
33261         * math/s_ctan.c: Likewise.
33262         * math/s_ctanf.c: Likewise.
33263         * math/s_ctanh.c: Likewise.
33264         * math/s_ctanhf.c: Likewise.
33265         * math/s_ctanhl.c: Likewise.
33266         * math/s_ctanl.c: Likewise.
33267         * math/s_ldexp.c: Likewise.
33268         * math/s_ldexpf.c: Likewise.
33269         * math/s_ldexpl.c: Likewise.
33270         * math/s_significand.c: Likewise.
33271         * math/s_significandf.c: Likewise.
33272         * math/s_significandl.c: Likewise.
33273         * math/w_acos.c: Likewise.
33274         * math/w_acosf.c: Likewise.
33275         * math/w_acosh.c: Likewise.
33276         * math/w_acoshf.c: Likewise.
33277         * math/w_acoshl.c: Likewise.
33278         * math/w_acosl.c: Likewise.
33279         * math/w_asin.c: Likewise.
33280         * math/w_asinf.c: Likewise.
33281         * math/w_asinl.c: Likewise.
33282         * math/w_atan2.c: Likewise.
33283         * math/w_atan2f.c: Likewise.
33284         * math/w_atan2l.c: Likewise.
33285         * math/w_atanh.c: Likewise.
33286         * math/w_atanhf.c: Likewise.
33287         * math/w_atanhl.c: Likewise.
33288         * math/w_cosh.c: Likewise.
33289         * math/w_coshf.c: Likewise.
33290         * math/w_coshl.c: Likewise.
33291         * math/w_dremf.c: Likewise.
33292         * math/w_exp10.c: Likewise.
33293         * math/w_exp10f.c: Likewise.
33294         * math/w_exp10l.c: Likewise.
33295         * math/w_exp2.c: Likewise.
33296         * math/w_exp2f.c: Likewise.
33297         * math/w_fmod.c: Likewise.
33298         * math/w_fmodf.c: Likewise.
33299         * math/w_fmodl.c: Likewise.
33300         * math/w_hypot.c: Likewise.
33301         * math/w_hypotf.c: Likewise.
33302         * math/w_hypotl.c: Likewise.
33303         * math/w_j0.c: Likewise.
33304         * math/w_j0f.c: Likewise.
33305         * math/w_j0l.c: Likewise.
33306         * math/w_j1.c: Likewise.
33307         * math/w_j1f.c: Likewise.
33308         * math/w_j1l.c: Likewise.
33309         * math/w_jn.c: Likewise.
33310         * math/w_jnf.c: Likewise.
33311         * math/w_jnl.c: Likewise.
33312         * math/w_lgamma.c: Likewise.
33313         * math/w_lgamma_r.c: Likewise.
33314         * math/w_lgammaf.c: Likewise.
33315         * math/w_lgammaf_r.c: Likewise.
33316         * math/w_lgammal.c: Likewise.
33317         * math/w_lgammal_r.c: Likewise.
33318         * math/w_log.c: Likewise.
33319         * math/w_log10.c: Likewise.
33320         * math/w_log10f.c: Likewise.
33321         * math/w_log10l.c: Likewise.
33322         * math/w_log2.c: Likewise.
33323         * math/w_log2f.c: Likewise.
33324         * math/w_log2l.c: Likewise.
33325         * math/w_logf.c: Likewise.
33326         * math/w_logl.c: Likewise.
33327         * math/w_pow.c: Likewise.
33328         * math/w_powf.c: Likewise.
33329         * math/w_powl.c: Likewise.
33330         * math/w_remainder.c: Likewise.
33331         * math/w_remainderf.c: Likewise.
33332         * math/w_remainderl.c: Likewise.
33333         * math/w_scalb.c: Likewise.
33334         * math/w_scalbf.c: Likewise.
33335         * math/w_scalbl.c: Likewise.
33336         * math/w_sinh.c: Likewise.
33337         * math/w_sinhf.c: Likewise.
33338         * math/w_sinhl.c: Likewise.
33339         * math/w_sqrt.c: Likewise.
33340         * math/w_sqrtf.c: Likewise.
33341         * math/w_sqrtl.c: Likewise.
33342         * math/w_tgamma.c: Likewise.
33343         * math/w_tgammaf.c: Likewise.
33344         * math/w_tgammal.c: Likewise.
33346         * po/ja.po: Update from translation team.
33348 2011-09-29  Andreas Jaeger  <aj@suse.de>
33350         [BZ #13179]
33351         * sunrpc/netname.c (netname2host): Fix logic.
33353         [BZ #6779]
33354         [BZ #6783]
33355         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
33356         correctly.
33357         * math/w_remainder.c (__remainder): Likewise.
33358         * math/w_remainderf.c (__remainderf): Likewise.
33359         * math/libm-test.inc (remainder_test): Add test cases.
33361 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33363         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
33364         sdiv_qrnnd.
33366 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
33368         * string/test-memcmp.c: Avoid unncessary #defines.
33369         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
33371 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33373         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
33374         Use new sse2 version for core i3 - i7 as it's faster
33375         than sse42 version.
33376         (bit_Prefer_PMINUB_for_stringop): New.
33377         * sysdeps/x86_64/rawmemchr.S: Update.
33378         Replace with faster SSE2 version.
33379         * sysdeps/x86_64/memrchr.S: New file.
33380         * sysdeps/x86_64/memchr.S: Update.
33381         Replace with faster SSE2 version.
33383 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
33385         * elf/dl-load.c (lose): Add cast to avoid warning.
33387 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
33389         * po/ca.po: Update from translation team.
33391         * inet/getnetgrent_r.c: Hook up nscd.
33392         * nscd/Makefile (routines): Add nscd_netgroup.
33393         (nscd-modules): Add netgroupcache.
33394         (CFLAGS-netgroupcache.c): Define.
33395         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
33396         (cache_search): Add const to second parameter.
33397         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
33398         INNETGR.
33399         (dbs): Add netgrdb entry.
33400         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
33401         (verify_persistent_db): Handle netgrdb.
33402         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
33403         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
33404         GETFDNETGR.
33405         (netgroup_response_header): Define.
33406         (innetgroup_response_header): Define.
33407         (datahead): Add netgroup_response_header and innetgroup_response_header
33408         elements.
33409         * nscd/nscd.conf: Add entries for netgroup cache.
33410         * nscd/nscd.h (dbtype): Add netgrdb.
33411         (_PATH_NSCD_NETGROUP_DB): Define.
33412         (netgroup_iov_disabled): Declare.
33413         (xmalloc, xcalloc, xrealloc): Move declarations here.
33414         (cache_search): Adjust prototype.
33415         Add netgroup-related prototypes.
33416         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
33417         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
33418         (__nscd_innetgr): Declare.
33419         * nscd/selinux.c (perms): Use access_vector_t as element type and
33420         add netgroup-related initializers.
33421         * nscd/netgroupcache.c: New file.
33422         * nscd/nscd_netgroup.c: New file.
33423         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
33424         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
33425         For four parameters use innetgr.
33426         * nss/nss_files/files-init.c: Add definition and callback for netgr.
33427         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
33428         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
33429         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
33431         * nscd/connections.c (register_traced_file): Don't register file
33432         for disabled databases.
33434 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
33436         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
33438         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
33439         from tree and freeing node.
33441 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
33443         * nss/nsswitch.c (__nss_database_lookup): Handle
33444         nss_parse_service_list out of memory case.
33446 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
33448         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
33449         out of memory case.
33451 2011-10-04  Andreas Schwab  <schwab@redhat.com>
33453         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
33454         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
33455         pass it down.
33456         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
33457         elf_machine_rela, elf_machine_lazy_rel.
33458         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
33459         (ELF_DYNAMIC_DO_REL): Likewise.
33460         (ELF_DYNAMIC_DO_RELA): Likewise.
33461         (ELF_DYNAMIC_RELOCATE): Likewise.
33462         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
33463         to ELF_DYNAMIC_DO_REL.
33464         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
33465         (dl_main): In trace mode always set __RTLD_NOIFUNC.
33466         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
33467         elf_machine_rela.
33468         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
33469         skip_ifunc, don't call ifunc function if non-zero.
33470         (elf_machine_rela): Likewise.
33471         (elf_machine_lazy_rel): Likewise.
33472         (elf_machine_lazy_rela): Likewise.
33473         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
33474         (elf_machine_lazy_rel): Likewise.
33475         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
33476         Likewise.
33477         (elf_machine_lazy_rel): Likewise.
33478         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33479         Likewise.
33480         (elf_machine_lazy_rel): Likewise.
33481         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
33482         (elf_machine_lazy_rel): Likewise.
33483         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
33484         (elf_machine_lazy_rel): Likewise.
33485         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
33486         (elf_machine_lazy_rel): Likewise.
33487         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
33488         (elf_machine_lazy_rel): Likewise.
33489         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
33490         (elf_machine_lazy_rel): Likewise.
33491         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
33492         (elf_machine_lazy_rel): Likewise.
33494 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
33496         * nss/nss_files/files-init.c (_nss_files_init): Use static
33497         initialization for all the *_traced_file variables.
33499 2011-09-28  Andreas Schwab  <schwab@redhat.com>
33501         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33503 2011-09-27  Roland McGrath  <roland@hack.frob.com>
33505         [BZ #13226]
33506         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
33508 2011-09-27  Andreas Schwab  <schwab@redhat.com>
33510         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
33511         Reread the line before reparsing it.
33513 2011-09-26  Andreas Schwab  <schwab@redhat.com>
33515         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
33517 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
33518             Maxim Kuvyrkov  <maxim@codesourcery.com>
33519             Joseph Myers  <joseph@codesourcery.com>
33521         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
33522         if needed for __stack_chk_guard.
33524 2011-09-19  Roland McGrath  <roland@hack.frob.com>
33526         * sysdeps/posix/spawni.c (script_execute): Always define it.
33527         It will be optimized away if unused.
33528         (maybe_script_execute): New function.
33529         (__spawni): Call it.
33531         * Makerules: Don't include tls.make.
33532         (config-tls): Always set to thread.
33533         * tls.make.c: File removed.
33535 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
33537         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
33538         * config.make.in (CPPFLAGS-config): New substituted variable.
33540 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
33542         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
33544         [BZ #13192]
33545         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
33546         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
33548 2011-09-15  Roland McGrath  <roland@hack.frob.com>
33550         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
33551         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
33552         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
33553         (CALL_FAIL): Likewise.
33554         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
33555         (CALL_FAIL): Macro removed.
33556         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
33558 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
33560         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
33561         for __FINITE_MATH_ONLY__ == 1.
33563 2011-09-15  Andreas Schwab  <schwab@redhat.com>
33565         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
33566         __ieee754_sqrt instead of sqrt.
33567         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
33568         __ieee754_sqrtf instead of sqrtf.
33569         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
33570         __floorf instead of floorf.
33571         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
33572         __floorf, __truncf instead of floorf, truncf.
33574 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
33576         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
33578         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
33579         __extern_always_inline.
33580         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
33581         32-bit.
33583 2011-09-14  Andreas Schwab  <schwab@redhat.com>
33585         * elf/rtld.c (dl_main): Also relocate in dependency order when
33586         doing symbol dependency testing.
33588 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
33590         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33591         Always define `refsym'.
33593 2011-09-13  Andreas Schwab  <schwab@redhat.com>
33595         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
33596         (__FD_ELT): Renamed from __FDELT.
33597         * misc/bits/select2.h (__FD_ELT): Likewise.
33598         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
33599         __FD_MASK instead of __FDELT, __FDMASK.
33600         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
33601         Likewise.
33602         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
33603         Likewise.
33605         * elf/Makefile (gen-ldd): Fix pattern.
33607         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
33608         (init_tls): Likewise.
33610 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
33612         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
33614 2011-09-12  Andreas Schwab  <schwab@redhat.com>
33616         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
33617         `struct cmsghdr *' instead of `void *'.
33618         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
33619         Likewise.
33621 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
33623         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
33624         if non-absolute.
33625         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
33626         ldd_rewrite_script.
33628 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
33630         * configure.in: Remove --with-tls option.
33631         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
33632         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
33633         out in case it is missing.
33634         * sysdeps/ia64/elf/configure.in: Likewise.
33635         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
33636         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
33637         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
33638         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
33639         * sysdeps/sh/elf/configure.in: Likewise.
33640         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
33641         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
33642         * sysdeps/x86_64/elf/configure.in: Likewise.
33643         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
33644         * sysdeps/mach/hurd/tls.h: Likewise.
33646         [BZ #13067]
33647         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
33649         [BZ #13090]
33650         * configure.in: Fix use of AC_INIT.
33652         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
33654 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
33656         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
33657         __set_errno.
33658         * malloc/hooks.c: Likewise.
33660         [BZ #11929]
33661         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
33662         variables statically.
33663         (narenas): Initialize.
33664         (list_lock): Initialize.
33665         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
33666         initializtion of main_arena and list_lock.  Small cleanups.
33667         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
33668         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
33669         Add initializers to main_arena and mp_.
33670         (malloc_state): Remove pagesize member.  Change all users to use
33671         GLRO(dl_pagesize).
33673         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
33674         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
33675         is always initialized.
33677         * malloc/malloc.c: Removed unused configurations and dead code.
33678         * malloc/arena.c: Likewise.
33679         * malloc/hooks.c: Likewise.
33680         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
33682         * include/tls.h: Removed.  USE___THREAD must always be defined.
33683         * bits/libc-tsd.h: Don't handle !USE___THREAD.
33684         * elf/dl-libc.c: Likewise.
33685         * elf/dl-tsd.c: Likewise.
33686         * include/errno.h: Likewise.
33687         * include/netdb.h: Likewise.
33688         * include/resolv.h: Likewise.
33689         * inet/herrno-loc.c: Likewise.
33690         * inet/herrno.c: Likewise.
33691         * malloc/arena.c: Likewise.
33692         * malloc/hooks.c: Likewise.
33693         * malloc/malloc.c: Likewise.
33694         * resolv/res-state.c: Likewise.
33695         * resolv/res_libc.c: Likewise.
33696         * sysdeps/i386/dl-machine.h: Likewise.
33697         * sysdeps/ia64/dl-machine.h: Likewise.
33698         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
33699         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
33700         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
33701         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
33702         * sysdeps/sh/dl-machine.h: Likewise.
33703         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
33704         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
33705         * sysdeps/unix/i386/sysdep.S: Likewise.
33706         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
33707         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
33708         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
33709         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
33710         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
33711         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
33712         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
33713         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33714         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33715         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
33716         * sysdeps/unix/x86_64/sysdep.S: Likewise.
33717         * sysdeps/x86_64/dl-machine.h: Likewise.
33718         * tls.make.c: Likewise.
33720         * configure.in: Remove --with-__thread option.  Make tests for
33721         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
33722         tls_model attribute fail if no support is available.  Remove
33723         USE_IN_LIBIO.
33724         * Makeconfig: Adjust for dropped configure option.  All features are
33725         now mandatory.
33726         * Makerules: Likewise.
33727         * Versions.def: Likewise.
33728         * argp/argp-fmtstream.c: Likewise.
33729         * argp/argp-fmtstream.h: Likewise.
33730         * argp/argp-help.c: Likewise.
33731         * assert/assert.c: Likewise.
33732         * config.h.in: Likewise.
33733         * config.make.in: Likewise.
33734         * configure: Likewise.
33735         * configure.in: Likewise.
33736         * csu/Versions: Likewise.
33737         * csu/init.c: Likewise.
33738         * elf/tst-audit2.c: Likewise.
33739         * elf/tst-tls10.c: Likewise.
33740         * elf/tst-tls10.h: Likewise.
33741         * elf/tst-tls11.c: Likewise.
33742         * elf/tst-tls12.c: Likewise.
33743         * elf/tst-tls14.c: Likewise.
33744         * elf/tst-tlsmod11.c: Likewise.
33745         * elf/tst-tlsmod12.c: Likewise.
33746         * elf/tst-tlsmod13.c: Likewise.
33747         * elf/tst-tlsmod13a.c: Likewise.
33748         * elf/tst-tlsmod14a.c: Likewise.
33749         * elf/tst-tlsmod15b.c: Likewise.
33750         * elf/tst-tlsmod16a.c: Likewise.
33751         * elf/tst-tlsmod16b.c: Likewise.
33752         * elf/tst-tlsmod7.c: Likewise.
33753         * elf/tst-tlsmod8.c: Likewise.
33754         * elf/tst-tlsmod9.c: Likewise.
33755         * gmon/gmon.c: Likewise.
33756         * grp/fgetgrent_r.c: Likewise.
33757         * grp/putgrent.c: Likewise.
33758         * hurd/fopenport.c: Likewise.
33759         * include/libc-symbols.h: Likewise.
33760         * include/tls.h: Likewise.
33761         * intl/gettextP.h: Likewise.
33762         * intl/loadinfo.h: Likewise.
33763         * locale/global-locale.c: Likewise.
33764         * locale/localeinfo.h: Likewise.
33765         * mach/devstream.c: Likewise.
33766         * malloc/arena.c: Likewise.
33767         * malloc/set-freeres.c: Likewise.
33768         * misc/err.c: Likewise.
33769         * misc/getttyent.c: Likewise.
33770         * misc/mntent_r.c: Likewise.
33771         * posix/getopt.c: Likewise.
33772         * posix/wordexp.c: Likewise.
33773         * pwd/fgetpwent_r.c: Likewise.
33774         * resolv/Versions: Likewise.
33775         * resolv/res_hconf.c: Likewise.
33776         * shadow/fgetspent_r.c: Likewise.
33777         * shadow/putspent.c: Likewise.
33778         * stdio-common/printf_fphex.c: Likewise.
33779         * stdio-common/tmpfile.c: Likewise.
33780         * stdlib/abort.c: Likewise.
33781         * stdlib/fmtmsg.c: Likewise.
33782         * sunrpc/auth_unix.c: Likewise.
33783         * sunrpc/clnt_perr.c: Likewise.
33784         * sunrpc/clnt_tcp.c: Likewise.
33785         * sunrpc/clnt_udp.c: Likewise.
33786         * sunrpc/clnt_unix.c: Likewise.
33787         * sunrpc/openchild.c: Likewise.
33788         * sunrpc/svc_simple.c: Likewise.
33789         * sunrpc/svc_tcp.c: Likewise.
33790         * sunrpc/svc_udp.c: Likewise.
33791         * sunrpc/svc_unix.c: Likewise.
33792         * sunrpc/xdr.c: Likewise.
33793         * sunrpc/xdr_array.c: Likewise.
33794         * sunrpc/xdr_rec.c: Likewise.
33795         * sunrpc/xdr_ref.c: Likewise.
33796         * sunrpc/xdr_stdio.c: Likewise.
33798 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
33800         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33802 2011-07-03  Andreas Jaeger  <aj@suse.de>
33804         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
33805         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
33806         regenerate with gen-libm-tests.pl.
33808 2010-05-12  Petr Baudis  <pasky@suse.cz>
33810         [BZ #11589]
33811         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
33812         around j0() zero points by switching to j1().
33813         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33814         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33815         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33816         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33818 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
33820         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
33821         instead of 0.
33822         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
33823         instead of 0.
33824         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33825         Patch in part by Pavel Roskin <proski@gnu.org>.
33827         [BZ #13138]
33828         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
33829         realloc.
33830         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
33831         Free memory block if necessary.
33833         [BZ #12847]
33834         * libio/genops.c (INTDEF): For string streams the _lock pointer can
33835         be NULL.  Don't lock in this case.
33837 2011-09-09  Roland McGrath  <roland@hack.frob.com>
33839         * elf/elf.h (ELFOSABI_GNU): New macro.
33840         (ELFOSABI_LINUX): Define to that.
33842 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
33844         * string/strncat.c (strncat): Undef the symbol in case it has been
33845         defined in bits/string.h.
33847 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
33849         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
33851         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
33852         link map.
33854 2011-08-17  Andreas Jaeger  <aj@suse.de>
33856         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
33858 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
33859             Ian Lance Taylor  <iant@google.com>
33861         * math/libm-test.inc (lround_test): New testcase.
33862         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
33864 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
33866         * Makefile: Remove support for automatic cvs check-ins.
33867         * Makerules: Likewise.
33868         * config.make.in: Likewise.
33869         * configure.in: Likewise.
33870         * intl/Makefile: Likewise.
33871         * locale/Makefile: Likewise.
33872         * po/Makefile: Likewise.
33873         * posix/Makefile: Likewise.
33874         * sysdeps/gnu/Makefile: Likewise.
33875         * sysdeps/mach/hurd/Makefile: Likewise.
33876         * sysdeps/sparc/sparc32/Makefile: Likewise.
33878         [BZ #13118]
33879         * posix/Makefile (bug-regex32-ENV): Define.
33880         Patch by John Stanley <jpsinthemix@verizon.net>.
33882         * misc/Makefile (headers): Add bits/select2.h.
33883         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
33884         * misc/bits/select2.h: New file.
33885         * include/bits/select2.h: New file.
33886         * debug/Makefile (routines): Add fdelt_chk.
33887         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
33888         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
33889         FD_ISSET.
33890         * debug/fdelt_chk.c: New file.
33892         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
33893         * wcsmbs/test-wmemcmp.c: Likewise.
33894         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
33895         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
33897 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33899         * string/Makefile (strop-tests): Add memcmp.
33900         * string/test-wmemcmp.c: New file.
33901         * string/test-memcmp.c: Add wmemcmp support.
33903 2011-09-08  Roland McGrath  <roland@hack.frob.com>
33905         [BZ #13153]
33906         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
33907         2011-07-19 change.
33909         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
33910         garbage value in a __mach_port_mod_refs call in the cases of the
33911         task-self and thread-self ports.
33913 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33915         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
33917 2011-09-08  Andreas Schwab  <schwab@redhat.com>
33919         * elf/dl-load.c (lose): Check for non-null L.
33921 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
33923         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
33925         * elf/dl-libc.c (dlerror_run): Pass back error code from
33926         dl_catch_error.
33928         [BZ #13123]
33929         * elf/dl-load.c (lose): Free l_origin if it is valid.
33931         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
33932         names.
33933         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
33934         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
33935         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
33936         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
33937         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
33938         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
33940 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33942         * sysdeps/powerpc/fpu/e_hypot.c: New file.
33943         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
33944         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
33945         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
33946         * sysdeps/powerpc/fpu/k_cosf.c: New file.
33947         * sysdeps/powerpc/fpu/k_sinf.c: New file.
33948         * sysdeps/powerpc/fpu/s_cosf.c: New file.
33949         * sysdeps/powerpc/fpu/s_sinf.c: New file.
33950         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
33951         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
33953 2011-08-15  Alan Modra  <amodra@gmail.com>
33955         [BZ #13092]
33956         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
33957         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
33958         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
33959         ppc_mcount to static-only-routines.
33960         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
33961         __mcount_internal.
33962         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
33963         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
33965 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
33967         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
33968         for finite and infinity parameters.
33970 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
33972         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
33973         and add nop instructions for throughput optimization.
33974         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
33976 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
33978         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
33979         aligned copy for power7 with vector-scalar instructions.
33980         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
33982 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
33984         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
33985         AVX check.
33987 2011-09-07  Andreas Schwab  <schwab@redhat.com>
33989         [BZ #13144]
33990         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
33991         last change.
33993 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
33995         * sysdeps/unix/sysv/linux/x86_64/init-first.c
33996         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
33997         syscall wrapper around clock_gettime in __vdso_clock_gettime.
33998         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
33999         clock_gettime.
34001 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
34003         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
34004         Forgot to demangle the pointer.
34006         * sysdeps/i386/sysdep.h: Define atom_text_section.
34007         * sysdeps/x86_64/sysdep.h: Likewise.
34008         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
34009         section with atom_text_section.
34010         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34011         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34012         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
34013         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
34014         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
34016         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
34017         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
34018         already be defined.  Change to take two parameters and don't assign
34019         result to variable.  Adjust all users.
34020         Define INTERNAL_GETTIME if not already defined.
34021         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
34022         call.
34023         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
34024         HAVE_CLOCK_GETTIME_VSYSCALL.
34025         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
34027         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
34028         gettimeofday vsyscall, just use time.
34030 2011-09-06  Andreas Schwab  <schwab@redhat.com>
34032         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
34033         <errno.h>.
34035 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
34037         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
34038         syscall on x86-64.
34039         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
34040         syscall.
34041         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
34042         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
34043         syscall if possible.
34045 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
34047         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
34048         e_ident.  Don't pass to find_mapsXX.
34049         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
34051 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
34053         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34054         strchr-sse2-no-bsf strrchr-sse2-no-bsf
34055         * sysdeps/x86_64/multiarch/strchr.S: Update.
34056         Check bit_slow_BSF bit.
34057         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
34058         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
34059         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
34061 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
34063         [BZ #13134]
34064         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
34065         before glibc 2.15.
34066         (tryshell): Define.
34067         (__spawni): Change last parameter to be flag.  Test
34068         SPAWN_XFLAGS_USE_PATH flag to use path or not.
34069         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
34070         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
34071         * posix/spawni.c: Likewise.
34072         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
34073         * posix/spawnp.c: Likewise.  Change normal version to use
34074         SPAWN_XFLAGS_USE_PATH.
34075         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
34076         SPAWN_XFLAGS_TRY_SHELL.
34078         [BZ #13150]
34079         * posix/glob.h: Remove gcc 1.x support.
34081         [BZ #13068]
34082         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
34084 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
34086         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34087         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
34088         strrchr-sse2-bsf
34089         * sysdeps/i386/i686/multiarch/strchr.S: New file.
34090         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
34091         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
34092         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
34093         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
34094         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
34096 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34098         * sysdeps/x86_64/wcscmp.S: New file.
34100         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
34101         wcscmp-c wcscmp-sse2
34102         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
34103         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
34104         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
34105         * wcsmbs/wcscmp.c: Allow renaming.
34107 2011-09-05  David S. Miller  <davem@davemloft.net>
34109         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
34110         stack slot, rather than the struct return pointer slot.
34111         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
34112         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
34113         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
34114         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
34116 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
34118         * po/ja.po: Update from translation team.
34120         [BZ #13144]
34121         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
34122         kernel in 64-bit binaries.
34124 2011-09-01  David S. Miller  <davem@davemloft.net>
34126         * elf/elf.h (HWCAP_SPARC_*): Move to..
34127         * sysdeps/sparc/sysdep.h: this new file and add new values.
34128         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
34129         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
34130         _DL_HWCAP_COUNT to 24.
34131         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
34132         entries.
34133         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
34134         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
34135         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
34136         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
34137         instead of magic constants.
34138         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34140 2011-08-31  David S. Miller  <davem@davemloft.net>
34142         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
34143         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
34144         Reimplement to do errno handling inline.
34145         (SYSCALL_ERROR_HANDLER): New macro.
34146         (__SYSCALL_STRING): Do not do errno handling in asm.
34147         (__CLONE_SYSCALL_STRING): Delete.
34148         (__INTERNAL_SYSCALL_STRING): Delete.
34149         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
34150         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
34151         (PSEUDO): Reimplement to do errno handling inline.
34152         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
34153         (SYSCALL_ERROR_HANDLER): New macro.
34154         (__SYSCALL_STRING): Do not do errno handling in asm.
34155         (__CLONE_SYSCALL_STRING): Delete.
34156         (__INTERNAL_SYSCALL_STRING): Delete.
34157         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
34158         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
34159         i386.
34160         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
34161         (inline_syscall*): Add 'err' argument.
34162         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
34163         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
34164         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
34165         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
34167         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
34168         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
34170 2011-08-30  Andreas Schwab  <schwab@redhat.com>
34172         * elf/rtld.c (dl_main): Relocate objects in dependency order.
34174 2011-08-29  Jiri Olsa <jolsa@redhat.com>
34176         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
34177         directive.
34179 2011-08-24  David S. Miller  <davem@davemloft.net>
34181         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
34183 2011-08-24  Andreas Schwab  <schwab@redhat.com>
34185         * elf/Makefile: Add rules to build and run unload8 test.
34186         * elf/unload8.c: New file.
34187         * elf/unload8mod1.c: New file.
34188         * elf/unload8mod1x.c: New file.
34189         * elf/unload8mod2.c: New file.
34190         * elf/unload8mod3.c: New file.
34192         * elf/dl-close.c (_dl_close_worker): Reset private search list if
34193         it wasn't used.
34195 2011-08-23  David S. Miller  <davem@davemloft.net>
34197         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
34198         subtract stack bias.
34199         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
34200         %sp not %fp in calculations.
34201         (_JMPBUF_UNWINDS_ADJ): Likewise.
34203         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
34204         (aio_suspend): Call it to force an exception region around the
34205         AIO_MISC_WAIT() invocation.
34207 2011-08-23  Andreas Schwab  <schwab@redhat.com>
34209         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
34210         backslash.
34212 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
34214         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
34215         protection macro.
34216         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
34217         and <dl-machine.h>.
34218         (Elf64_FuncDesc): Remove.
34220 2011-08-22  David S. Miller  <davem@davemloft.net>
34222         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
34223         sigaltstack check, add missing cfi directives.
34224         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
34225         missing cfi directives, and sigaltstack handling.
34227 2011-08-16  Andreas Schwab  <schwab@redhat.com>
34229         [BZ #11724]
34230         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
34231         object is seen twice.
34232         * elf/dl-fini.c (_dl_sort_fini): Likewise.
34234         * elf/Makefile (distribute): Add tst-initorder2.c.
34235         (tests): Add tst-initorder2.
34236         (modules-names): Add tst-initorder2a tst-initorder2b
34237         tst-initorder2c tst-initorder2d.  Add rules to build them.
34238         ($(objpfx)tst-initorder2.out): New rule.
34239         * elf/tst-initorder2.c: New file.
34240         * elf/tst-initorder2.exp: New file.
34242 2011-08-22  Andreas Schwab  <schwab@redhat.com>
34244         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
34246         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
34247         dependencies back to end of function.
34249         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
34250         $(elfobjdir)/ld.so.
34252 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
34254         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
34255         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
34256         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
34257         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
34258         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
34259         of __vdso_gettimeofday.
34260         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
34261         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
34262         attribute_hidden.
34263         (_libc_vdso_platform_setup): Remove initialization of
34264         __vdso_gettimeofday and __vdso_time.
34266 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
34268         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
34269         and fgetc_unlocked.
34270         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
34271         getc_unlocked.
34273         * elf/dl-open.c (add_to_global): Report additions to the global scope
34274         for LD_DEBUG=scopes.
34275         (dl_open_worker): Also print scope of newly loaded dependencies.
34276         (_dl_show_scope): Indicate if there is no scope.
34278         [BZ #13114]
34279         * stdio-common/Makefile (tests): Add bug24.
34280         * stdio-common/bug24.c: New file.
34282 2011-08-19  Andreas Jaeger  <aj@suse.de>
34284         [BZ #13114]
34285         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
34286         non-existant file when using close-on-exec mode.
34288 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
34290         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
34291         the very first instruction.
34293         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
34294         the CFI state in the end.
34295         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
34296         inclusion of dl-trampoline.h.
34297         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
34299 2011-08-19  Andreas Schwab  <schwab@redhat.com>
34301         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
34302         expectations for long double.
34304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
34305         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
34307 2011-08-14  David S. Miller  <davem@davemloft.net>
34309         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
34310         artificual limit depends upon the system page size.
34312 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
34314         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
34315         * resolv/Makefile: Define CFLAGS-libresolv.
34317 2011-08-17  Andreas Schwab  <schwab@redhat.com>
34319         * nss/makedb.c (compute_tables): Make variables used in nested
34320         function static.
34322 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
34324         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
34325         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
34326         if buffer was too small.
34328         * elf/pldd.c (main): Attach to all threads in the process.
34329         Rewrite /proc handling to use *at functions.
34331 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
34333         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
34334         specifies first scope to show.
34335         (dl_open_worker): Update callers.  Move printing scope of new
34336         object to before the relocation.
34337         * elf/rtld.c (dl_main): Update _dl_show_scope call.
34338         * sysdeps/generic/ldsodefs.h: Update declaration.
34340         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
34341         string for the scope number.
34343 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
34345         * nscd/servicescache.c (cache_addserv): Make sure written is always
34346         initialized.
34348 2011-08-14  Roland McGrath  <roland@hack.frob.com>
34350         * sysdeps/i386/i486/bits/atomic.h
34351         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
34352         statement expression, so as to suppress "set but not used" warning.
34353         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
34355         * string/strncat.c (STRNCAT): Use prototype definition.
34357         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
34358         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
34359         -Iprograms here.
34360         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
34361         (localedef-modules): Add localedef.
34362         (locale-modules): Add locale.
34364         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
34365         * elf/rtld.c (dl_main): Invert order of assignment in last change,
34366         to avoid a warning.
34368 2011-08-14  David S. Miller  <davem@davemloft.net>
34370         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
34371         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
34373 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
34375         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
34376         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
34377         * elf/rtld.c (dl_main): Set l_name of vDSO.
34378         Call _dl_show_scope when DL_DEBUG_SCOPES.
34379         (process_dl_debug): Recognize scopes flag and also set it for all.
34380         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
34381         Declare _dl_show_scope.
34383         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
34384         (do_dlopen): Pass caller_dlopen to dl_open.
34385         (__libc_dlopen_mode): Initialize caller_dlopen.
34387         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
34388         of libc.  Make tolower call locale-independent.  Optimize a bit by
34389         using isdigit instead of isalnum.
34390         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
34392 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
34394         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
34395         was a dependency or dynamically loaded.
34397 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
34399         * intl/l10nflist.c: Allow architecture-specific pop function.
34400         * sysdeps/x86_64/l10nflist.c: New file.
34402         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
34403         classification.
34405 2011-08-10  Andreas Schwab  <schwab@redhat.com>
34407         * include/dirent.h: Add libc_hidden_proto for scandirat and
34408         scandirat64.  Don't declare __scandirat64.
34409         * dirent/scandirat.c: Add libc_hidden_def.
34410         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
34411         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
34413 2011-08-10  David S. Miller  <davem@davemloft.net>
34415         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
34416         enum.
34417         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34418         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34419         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34421 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
34423         * Versions.def [libc]: Add GLIBC_2.15.
34424         * dirent/Makefile (routines): Add scandirat and scandirat64.
34425         * dirent/Versions [libc]: Export scandirat and scandirat64 for
34426         GLIBC_2.15.
34427         * dirent/dirent.h: Declare scandirat and scandirat64.
34428         * dirent/scandirat.c: New file.
34429         * dirent/scandirat64.c: New file.
34430         * sysdeps/wordsize-64/scandirat.c: New file.
34431         * sysdeps/wordsize-64/scandirat64.c: New file.
34432         * dirent/opendir.c: Define opendirat.
34433         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
34434         using scandirat.
34435         * dirent/scandir64.c: Adjust for scandir.c change.
34436         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
34437         __scandirat64, and __scandir_cancel_handler.
34438         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
34439         additional parameter and use openat instead of open (outside of ld.so).
34440         Add new __opendir as wrapper around __opendirat.
34441         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
34442         here without requiring old scandirat implementation.
34444 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
34446         * dirent/scandir.c (cancel_handler): Renamed to
34447         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
34448         defined.  Adjust users.
34449         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
34450         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
34452 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
34454         * string/test-string.h (IMPL): Use __STRING to expand name and then
34455         stringify it.
34457         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
34458         of cleanups.
34460 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34462         * string/Makefile: Update.
34463         (strop-tests): Append strncat.
34464         * string/test-wcscmp.c: New file.
34465         New comprehensive test for wcscmp.
34466         * string/test-strcmp.c: Update.
34467         (WIDE): New define.
34469 2011-07-22  Andreas Schwab  <schwab@redhat.com>
34471         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
34472         line.
34474 2011-07-26  Andreas Schwab  <schwab@redhat.com>
34476         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
34477         encoding to ACE if AI_IDN.
34479 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
34481         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
34482         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
34484 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
34486         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
34487         Fix overflow bug in strncat.
34488         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
34490         * string/test-strncat.c: Update.
34491         Add new tests for checking overflow bugs.
34493 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
34495         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34496         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
34497         * sysdeps/i386/i686/multiarch/strcat.S: New file.
34498         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
34499         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
34500         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
34501         * sysdeps/i386/i686/multiarch/strncat.S: New file.
34502         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
34503         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
34505         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
34506         (USE_AS_STRCAT): Define.
34507         Add strcat and strncat support.
34508         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34510 2011-07-25  Andreas Schwab  <schwab@redhat.com>
34512         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
34513         __n bigger than INT_MAX+1.
34514         (__strncmp_g): Likewise.
34516 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
34518         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
34519         * libio/stido.h: Likewise.
34521         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
34522         (AF_NFC): Define.
34523         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
34524         (AF_NFC): Define.
34526         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
34527         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34528         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34529         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
34530         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34532         [BZ #13021]
34533         * scripts/test-installation.pl: Don't expect libnss_test1 to be
34534         installed.
34536         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
34537         typo.
34538         (_dl_x86_64_save_sse): Likewise.
34540 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
34542         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
34543         OSXSAVE.
34544         (_dl_x86_64_save_sse): Likewise.
34546         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
34548         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
34550 2011-07-21  Andreas Schwab  <schwab@redhat.com>
34552         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
34553         change.
34554         (_dl_x86_64_save_sse): Use correct AVX check.
34556 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34558         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
34559         bug in strncpy/strncat.
34560         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
34562 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
34564         * string/tester.c (test_strcat): Add tests for different alignments
34565         of source and destination.
34566         (test_strncat): Likewise.
34568 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
34570         [BZ #12852]
34571         * posix/glob.c (glob): Check passed in values before using them in
34572         expressions to avoid some overflows.
34573         (glob_in_dir): Likewise.
34575         [BZ #13007]
34576         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
34577         check for AVX enablement so that we don't crash with old kernels and
34578         new hardware.
34579         * elf/tst-audit4.c: Add same checks here.
34580         * elf/tst-audit6.c: Likewise.
34582         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
34584 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
34586         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
34588 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
34590         * po/cs.po: Update from translation team.
34591         * po/bg.po: Likewise.
34593 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
34595         * misc/sys/cdefs.h: Add support for const attribute.
34596         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
34597         to gnu_dev_{major,minor,makedev} functions.
34599 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
34601         * intl/dcigettext.c (get_output_charset): Add missing bracket.
34603 2011-07-20  Andreas Schwab  <schwab@redhat.com>
34605         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
34606         strlen results.
34608 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34610         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
34611         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
34612         register in order to avoid conflicts with the soft frame pointer
34613         being held in r11 when necessary.
34614         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
34615         (INTERNAL_VSYSCALL_NCS): Likewise.
34617 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
34619         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
34620         * elf/dl-fini.c (_dl_fini): Adjust caller.
34621         * elf/dl-close.c (_dl_close_worker): Likewise.
34622         * sysdeps/generic/ldsodefs.h: Adjust declaration.
34624 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
34626         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
34627         "aux_cache->nlibs < 0".
34629         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
34630         in the reload-count case.
34632 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
34634         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34635         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
34636         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
34637         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
34638         * sysdeps/x86_64/multiarch/strcat.S: New file.
34639         * sysdeps/x86_64/multiarch/strncat.S: New file.
34640         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
34641         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
34642         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
34643         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
34644         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
34645         (USE_AS_STRCAT): Define.
34646         Add strcat and strncat support.
34647         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
34648         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
34649         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
34650         * string/strncat.c: Update.
34651         (USE_AS_STRNCAT): Define.
34652         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34653         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
34654         and i7.
34655         * sysdeps/x86_64/multiarch/init-arch.h
34656         (bit_Prefer_PMINUB_for_stringop): New.
34657         (index_Prefer_PMINUB_for_stringop): Likewise.
34658         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
34659         bit_Prefer_PMINUB_for_stringop.
34661 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
34663         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
34664         buffer64.
34665         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
34666         of casting of buffer.
34667         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
34668         buffer32 and buffer64.
34669         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
34670         writes instead of casting of buffer.
34671         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
34672         buffer32.
34673         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
34674         casting of buffer.
34676 2011-07-19  Andreas Schwab  <schwab@redhat.com>
34678         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
34680 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
34682         * nscd/nscd.c (termination_handler): Don't do anything for a database
34683         if it has not yet been initialized.
34685 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
34687         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
34689 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
34691         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
34693 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
34695         * po/nl.po: Update from translation team.
34696         * po/sv.po: Likewise.
34698 2011-07-16  Roland McGrath  <roland@hack.frob.com>
34700         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
34701         now disallowed by GCC.
34703         * configure.in (use-default-link): Default to yes if a test -shared
34704         link meets our qualifications.
34705         * configure: Regenerated.
34707         * config.make.in (output-format): New variable.
34708         * configure.in: Check for ld --print-output-format support.
34709         * configure: Regenerated.
34710         * Makerules ($(common-objpfx)format.lds)
34711         [$(output-format) != unknown]: Just use $(output-format),
34712         instead of the linker-script munging.
34714 2011-07-14  Roland McGrath  <roland@hack.frob.com>
34716         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
34717         of $(common-objpfx)shlib.lds.
34718         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
34720         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
34721         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
34723         * configure.in (-z relro check): Adjust test code to add a large
34724         writable data section after it.
34725         * configure: Regenerated.
34727 2011-07-11  Roland McGrath  <roland@hack.frob.com>
34729         * configure.in (-z relro check): Fix test code to make the variable
34730         truly const.
34731         * configure: Regenerated.
34733 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
34735         * nscd/nscd.h (struct traced_file): Define.
34736         (struct database_dyn): Remove inotify_descr, reset_res, and filename
34737         elements.  Add traced_files.
34738         (inotify_fd): Declare.
34739         (register_traced_file): Declare.
34740         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
34741         (inotify_fd): Export.
34742         (resolv_conf_descr): Remove.
34743         (nscd_init): Move inotify descriptor creation to main.
34744         Don't register files for notification here.
34745         (register_traced_file): New function.
34746         (invalidate_cache): Don't use reset_res to determine whether to call
34747         res_init, go through the list of registered files.
34748         (main_loop_poll): The inotify descriptors are now stored in the
34749         structures for the traced files.
34750         (main_loop_epoll): Likewise
34751         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
34752         to __nss_disable_nscd.
34753         * nscd/cache.c (prune_cache): There is no single inotify descriptor
34754         for a database anymore.  Check the records for all the registered
34755         files instead.
34756         * nss/Makefile (libnss_files-routines): Add files-init.
34757         (libnss_db-routines): Add db-init.
34758         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
34759         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
34760         * nss/nss_db/db-init.c: New file.
34761         * nss/nss_files/files-init.c: New file.
34762         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
34763         __nss_lookup_function.
34764         (__nss_lookup_function): Call nss_load_library.
34765         (nss_load_all_libraries): New function.
34766         (__nss_disable_nscd): Take parameter with callback function for files
34767         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
34768         used for the cached services.
34769         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
34770         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
34771         options for features to all the files in nscd.
34773         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
34775 2011-07-10  Roland McGrath  <roland@hack.frob.com>
34777         * csu/elf-init.c (__libc_csu_init): Comment typo.
34779 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
34781         * po/pl.po: Update from translation team.
34782         * po/ja.po: Likewise.
34783         * po/ru.po: Likewise.
34784         * po/ko.po: Likewise.
34785         * po/fr.po: Likewise.
34787 2011-07-09  Roland McGrath  <roland@hack.frob.com>
34789         * configure.in (.ctors/.dtors header and trailer check):
34790         Use an empirical test on a built program.
34791         * configure: Regenerated.
34793         * configure.in (-z relro check): Use an empirical test on a built DSO.
34794         Detect, but do not require, on ia64.
34795         * configure: Regenerated.
34797         * configure.in (READELF): Find it with AC_CHECK_TOOL.
34798         Update tests that use readelf to use $READELF instead.
34799         * configure: Regenerated.
34801 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
34803         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
34804         if the result is not used.
34806 2011-07-05  Andreas Jaeger  <aj@suse.de>
34808         [BZ#9696]
34809         * stdlib/tst-strtod.c: Add testcase.
34811 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
34813         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
34814         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
34815         The latter has a higher limit.  Take additional parameter to pass to
34816         the new function.
34817         (__pathconf): Pass file to __statfs_link_max.
34818         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
34819         __statfs_link_max.
34820         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
34821         __statfs_link_max.
34823         [BZ #12868]
34824         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
34825         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34826         Handle Lustre.
34827         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
34828         (__statfs_filesize_max): Likewise.
34829         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
34831 2011-07-05  Andreas Jaeger  <aj@suse.de>
34833         * resolv/res_comp.c (dn_skipname): Remove unused variable.
34835 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
34837         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
34838         `status' variable.
34839         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
34840         Likewise.
34842 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
34844         * Makefile (strop-tests): Add strncat.
34845         * string/test-strncat.c: New file.
34847 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
34849         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
34851 2011-06-21  Andreas Jaeger  <aj@suse.de>
34853         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
34854         Copy rule from iconvdata/Makefile.
34856 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
34858         [BZ #12922]
34859         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
34860         but no long options are defined, just return 'W'.
34862 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
34864         [BZ #9696]
34865         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
34867 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
34869         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
34870         netgroups to read.
34871         (innetgr): Likewise.
34873 2011-07-05  Roland McGrath  <roland@hack.frob.com>
34875         * config.make.in (install_root): Default to $(DESTDIR).
34877 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
34879         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
34881 2011-07-02  Roland McGrath  <roland@hack.frob.com>
34883         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
34885         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
34886         containing directory rather than embedding absolute directory names.
34888         * scripts/check-local-headers.sh: Rewritten using awk.
34889         Match by word, not by line.  Print error messages for matches.
34890         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
34892         * Makerules [shlib-lds-flags empty]:
34893         ($(common-objpfx)libc_pic.opts): New target.
34894         ($(common-objpfx)libc_pic.os.clean): New target.
34895         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
34897         * config.make.in (OBJCOPY): New variable.
34898         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
34899         * configure: Regenerated.
34901         * config.make.in (use-default-link): New variable.
34902         * configure.in (use_default_link): Grok --with-default-link to set it.
34903         * configure: Regenerated.
34904         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
34905         (shlib-lds, shlib-lds-flags): Define to empty.
34907         * Makerules (shlib-lds): New variable.
34908         (shlib-lds-flags): New variable.
34909         (build-shlib, build-moduile, build-module-asneeded): Use it.
34910         ($(common-objpfx)libc.so): Use $(shlib-lds).
34911         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
34912         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
34914         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
34915         DT_FLAGS/DT_FLAGS_1 with zero flags.
34917         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
34918         linker script munging.
34920 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
34922         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
34923         as 128-bit value.
34924         * crypt/sha512.c (sha512_process_block): Perform total addition using
34925         128-bit if possible.
34926         (__sha512_finish_ctx): Likewise.
34927         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
34928         as 64-bit value.
34929         * crypt/sha256.c (SWAP64): Define.
34930         (sha256_process_block): Perform total addition using 64-bit if
34931         possible.
34932         (__sha256_finish_ctx): Likewise.
34934 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
34936         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
34937         * nscd/initgrcache.c (addinitgroupsX): Likewise.
34938         * nscd/hstcache.c (cache_addhst): Likewise.
34939         * nscd/grpcache.c (cache_addgr): Likewise.
34940         * nscd/aicache.c (addhstaiX): Likewise
34941         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
34943 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
34945         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
34946         * nscd/initgrcache.c (addinitgroupsX): Likewise.
34947         * nscd/hstcache.c (cache_addhst): Likewise.
34948         * nscd/grpcache.c (cache_addgr): Likewise.
34949         * nscd/aicache.c (addhstaiX): Likewise
34951 2011-07-01  Andreas Schwab  <schwab@redhat.com>
34953         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
34954         domain only when needed.
34956 2011-06-30  Andreas Schwab  <schwab@redhat.com>
34958         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
34959         is always restored.
34961 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
34963         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
34964         are re-adding the entry.
34965         * nscd/servicescache.c (cache_addserv): Likewise.
34967 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
34969         * sysdeps/generic/dl-irel.h: fix protection against multiple
34970         inclusions.
34971         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
34973 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
34975         [BZ #12935]
34976         * malloc/memusage.sh: Fix quoting in message.
34977         * debug/xtrace.sh: Likewise.
34979         * configure.in: Remove support for --experimental-malloc option, make
34980         it the default.
34981         * config.make.in: Likewise.
34982         * malloc/Makefile: Likewise.
34984 2011-06-27  Andreas Schwab  <schwab@redhat.com>
34986         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
34987         two-byte characters.
34989 2011-06-27  Roland McGrath  <roland@hack.frob.com>
34991         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
34992         AC_CACHE_CHECK invocation.
34993         * configure: Regenerated.
34995         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
34997 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
34999         [BZ #12350]
35000         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
35001         bit from old_res_options.
35003         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
35005         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
35006         value type for setfct.
35008 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
35010         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35011         __gettimeofday instead of gettimeofday.
35013 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
35015         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
35017 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
35019         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
35021         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
35022         info.
35024 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
35026         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35027         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35028         strcpy-sse2-unaligned strncpy-sse2-unaligned
35029         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
35030         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
35031         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
35032         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
35033         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
35034         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
35035         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
35036         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
35037         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
35038         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
35039         (STRCPY): Support SSE2 and SSSE3 versions.
35041 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
35043         [BZ #12874]
35044         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
35045         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
35046         kernels which artificially limit size of requests.
35048 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
35050         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35051         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35052         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
35053         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
35054         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
35055         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
35056         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
35057         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
35058         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
35059         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
35060         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
35061         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
35062         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
35063         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
35064         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
35065         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35066         Enable unaligned load optimization for Intel Core i3, i5 and i7
35067         processors.
35068         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
35069         Define.
35070         (index_Fast_Unaligned_Load): Define.
35071         (HAS_FAST_UNALIGNED_LOAD): Define.
35073 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
35075         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
35077 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
35079         [BZ #12907]
35080         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
35081         until it is clear that the information is realy needed.
35082         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
35084 2011-06-22  Andreas Schwab  <schwab@redhat.com>
35086         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
35088 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
35090         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35091         /sys/devices/system/cpu/online if it is usable.
35093         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
35094         reading the information from the /proc filesystem to once a second.
35096 2011-06-21  Andreas Jaeger  <aj@suse.de>
35098         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
35099         NULL after inclusion of kernel headers.
35101 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
35103         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
35104         calls to internal_setent.
35106         [BZ #12885]
35107         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
35108         addresses using gethostbyname4_r ignore IPv4 addresses.
35110         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
35111         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
35113         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
35115 2011-06-20  David S. Miller  <davem@davemloft.net>
35117         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
35118         inclusions.
35119         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
35121         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
35122         (elf_irel): Use it.
35123         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
35124         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
35125         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
35126         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
35127         * sysdeps/x86_64/dl-irel.h: Likewise.
35129         * elf/dl-runtime.c: Use elf_ifunc_invoke.
35130         * elf/dl-sym.c: Likewise.
35132 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
35134         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
35135         need to dereference resplen2.
35137 2011-06-14  Andreas Schwab  <schwab@redhat.com>
35139         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
35141 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
35143         * Makeconfig: Define vardbdir and inst_vardbdir.
35144         * nss/Makefile: Add rules to install db-Makefile.
35146         * nss/nss_db/db-XXX.c: Cleanup.
35148         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
35149         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
35150         GLIBC_PRIVATE.
35151         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
35152         * nss/makedb.c: Implement -g option to specify that value strings
35153         are generated and should not be added to table iterated over for
35154         get*ent calls.
35155         * nss/nss_db/db-initgroups.c: New file.
35157         * nss/getent.c: Add support for initgroups lookups through getgrouplist
35158         interface.
35160         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
35161         (internal_getgrouplist): Adjust to name change.
35162         Update use_initgroups_entry if this is not the first call.
35163         * nss/databases.def: Add initgroups entry.
35165         * nss/makedb.c (compute_tables): Check result of multiple hash table
35166         sizes to minimize maximum chain length.
35168 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
35170         * Versions.def: Add entry for libnss_db.
35171         * shlib-versions: Likewise.
35172         * nss/Makefile: Add rules to build libnss_db.
35173         * nss/Versions: Add libnss_db information.  Organize libnss_files
35174         entries better.
35175         * nss/db-Makefile: Add gshadow support.  Change rules for the new
35176         makedb progra.  Some minor improvements to generate smaller files.
35177         * nss/nss_db/nss_db.h: Move NSS database header data structures to
35178         here from...
35179         * nss/makedb.c: ...here.
35180         Improve database format to be smaller and require less memory at
35181         runtime.
35182         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
35183         db anymore.
35184         * nss/nss_db/db-netgrp.c: Likewise.
35185         * nss/nss_db/db-open.c: Likewise.
35186         * nss/nss_files/flies-XXX.x: Adjust comments.
35187         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
35188         * nss/nss_files/files-grp.c: Likewise.
35189         * nss/nss_files/files-hosts.c: Likewise.
35190         * nss/nss_files/files-network.c: Likewise.
35191         * nss/nss_files/files-proto.c: Likewise.
35192         * nss/nss_files/files-pwd.c: Likewise.
35193         * nss/nss_files/files-rpc.c: Likewise.
35194         * nss/nss_files/files-service.c: Likewise.
35195         * nss/nss_files/files-sgrp.c: Likewise.
35196         * nss/nss_files/files-spwd.c: Likewise.
35197         * nss/nss_db/db-alias.c: Removed.
35198         * nss/nss_db/dummy-db.h: Removed.
35200 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
35202         * nss/makedb.c: Rewritten to not use database library.
35203         * nss/Makefile: Update to build new makedb program.
35205 2011-06-14  Andreas Jaeger  <aj@suse.de>
35207         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
35208         memset declaration.
35210 2011-06-10  Andreas Schwab  <schwab@redhat.com>
35212         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
35213         tmpbuf.
35215 2011-06-10  Roland McGrath  <roland@hack.frob.com>
35217         * Makerules (shlib.lds): Fail if the linker script comes out empty.
35218         * elf/Makefile ($(objpfx)ld.so): Likewise.
35220         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
35221         Don't list ld.so twice in dependencies.
35223         * posix/bug-regex31.c: Include <stdlib.h>.
35225         * nscd/hstcache.c (cache_addhst): Remove unused variable.
35227         * nis/nss_compat/compat-spwd.c
35228         (getspent_next_nss_netgr): Remove unused variable.
35229         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
35231         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
35232         nonmembers" output to use the right array.
35234         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
35236         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
35238         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
35239         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
35240         * catgets/gencat.c (read_input_file): Likewise.
35241         * locale/programs/locarchive.c (enlarge_archive): Likewise.
35243         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
35244         variable definition inside #if's controlling its use.
35246         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
35248         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
35250         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
35252         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
35253         unreachable code.
35255         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
35257         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
35258         * configure: Regenerated.
35260         * Makerules: Revert last change.
35261         * elf/Makefile: Likewise.
35263 2011-06-09  Roland McGrath  <roland@hack.frob.com>
35265         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
35266         * elf/Makefile ($(objpfx)librtld.os): Likewise.
35267         (reloc-link): Likewise.
35269 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
35271         * elf/Makefile: Add rules to build pldd.
35272         * elf/pldd.c: New file.
35273         * elf/pldd-xx.c: New file.
35275 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
35277         * version.h: Update for 2.15 development version.
35279 2011-06-07  David S. Miller  <davem@davemloft.net>
35281         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
35282         ifuncs.
35283         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
35284         elf_machine_lazy_rel): Likewise.
35285         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
35286         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
35287         elf_machine_lazy_rel): Likewise.
35288         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
35289         dl_hwcap via passed in argument.
35290         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
35291         Likewise.
35293 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35295         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
35297 2011-06-06  Roland McGrath  <roland@hack.frob.com>
35299         [BZ #12849]
35300         * manual/fdl-1.1.texi: New file, verbatim from:
35301         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
35302         * manual/lgpl-2.1.texi: New file, verbatim from:
35303         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
35304         * manual/Makefile (licenses): New variable, list those new file names.
35305         (texis): Use it.
35306         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
35308         * manual/fdl.texi: File removed.
35309         * manual/lesser.texi: File removed.
35310         * manual/libc.texinfo (Copying, Documentation License):
35311         Use new @include file names, put @appendix directive before @include.
35313 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
35315         [BZ #12841]
35316         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
35317         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
35318         (mq_open): Add __NTH.
35320 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
35322         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35323         Assume Intel Core i3/i5/i7 processor if AVX is available.
35325 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
35327         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
35328         typo.
35330 2011-05-31  Andreas Schwab  <schwab@redhat.com>
35332         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
35333         memory.  Use alloca_account.  Fix memory leak when retrying.
35335 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
35337         * version.h (RELEASE): Bump for 2.14 release.
35338         * include/features.h (__GLIBC_MINOR__): Bump to 14.
35340         * config.make.in (RANLIB): Remove entry.
35342 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
35344         * po/Makefile (po-sed-cmd): Add ksh to extensions.
35345         (libc.pot): Work around missing support for .ksh extension in xgettext.
35347         [BZ #12684]
35348         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
35349         if both request failed.
35350         (send_dg): In case of server errors clear resplen or *resplen2.
35352         [BZ #12454]
35353         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
35354         when there are multiple maps.
35355         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
35356         (_dl_fini): Remove test here.
35358         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
35360 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
35362         [BZ #12350]
35363         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
35364         bit from old_res_options.
35365         (gaih_inet): Likewise.
35367         [BZ #11099]
35368         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
35369         as signed.
35371         * resolv/res_init.c (res_setoptions): Make the code more compact.
35373         [BZ #11558]
35374         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
35375         set RES_USEVC.
35377         [BZ #11634]
35378         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
35380         * malloc/malloc.h: Mark malloc hook variables as deprecated.
35382         [BZ #11781]
35383         * malloc/malloc.h: Declare malloc hook variables as volatile.
35385         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
35386         in last patch.
35388         [BZ #11799]
35389         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
35390         raise in the comment.
35391         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
35392         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
35393         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
35395 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
35397         [BZ #12811]
35398         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
35399         grow the buffers more if it already has to be sufficient.
35400         (build_wcs_upper_buffer): Likewise.
35401         * posix/regexec.c (check_matching): Likewise.
35402         (clean_state_log_if_needed): Likewise.
35403         (extend_buffers): Don't enlarge buffers beyond size of the input
35404         buffer.
35405         Patches mostly by Emil Wojak <emil@wojak.eu>.
35406         * posix/bug-regex32.c: New file.
35407         * posix/Makefile (tests): Add bug-regex32.
35409         * locale/findlocale.c (_nl_find_locale): Return right away if
35410         _nl_explode_name failed.
35411         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
35413         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
35415         * debug/xtrace.sh: Unify messages.
35416         * malloc/memusage.sh: Likewise.
35418         [BZ #12813]
35419         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
35420         time symbol from vDSO.  Substitute with vsyscall if not available.
35421         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
35422         __vdso_time.
35424         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
35425         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
35426         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
35427         Add sendmmsg and internal_sendmmsg.
35428         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
35429         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
35430         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
35432         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
35433         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
35434         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
35436 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
35438         [BZ #12813]
35439         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
35440         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
35441         available.
35442         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
35443         __vdso_getcpu.
35445         [BZ #12814]
35446         * iconvdata/Makefile (tests): Add bug-iconv9.
35447         * iconvdata/bug-iconv9.c: New file.
35449 2011-05-27  Andreas Schwab  <schwab@redhat.com>
35451         [BZ #12814]
35452         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
35454 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
35456         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
35457         (struct user_regs_struct): Change intcs field back to cs.
35459 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
35461         * po/ja.po: Update from translation team.
35463 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
35465         [BZ #12795]
35466         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
35467         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
35469 2011-05-20  Andreas Schwab  <schwab@redhat.com>
35471         * stdlib/longlong.h: Update from GCC.
35473 2011-05-23  Andreas Schwab  <schwab@redhat.com>
35475         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
35476         parameter name.
35477         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
35478         Add parameter name.
35479         (__sysconf): Pass it down.
35481 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
35483         [BZ #12671]
35484         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
35485         some situations.
35486         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
35487         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
35488         add in in __libc_use_alloca calls.  Adjust callers.
35489         (glob): Use malloc in some situations.
35491         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
35492         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
35493         pltexit.
35495 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
35497         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
35498         and CLOCK_BOOTTIME_ALARM.
35500         [BZ #12782]
35501         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
35502         is returned.
35504         * string/_strerror.c (__strerror_r): Print negative errors as signed
35505         numbers.
35507         [BZ #12777]
35508         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
35509         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
35510         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
35512         * configure.in: Fix typo in redirection and correct removal of test
35513         files in two cases.
35515         [BZ #12788]
35516         * locale/setlocale.c (new_composite_name): Fix test to check for
35517         identical name of all categories.
35519         [BZ #12792]
35520         * libio/filedoalloc.c (local_isatty): New function.
35521         (_IO_file_doallocate): Use local_isatty.
35522         * stdio-common/perror.c (perror): In case a new stream is used
35523         forward the stream error.
35524         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
35525         error flag.
35527 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
35529         [BZ #11869]
35530         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
35531         alloca.
35532         * include/alloca.h (extend_alloca_account): Define.
35534         [BZ #11857]
35535         * posix/regex.h: Fix comments with documentation of user-accessible
35536         fields after compilation and describe correct free'ing of pattern
35537         after re_compile_pattern.
35538         Patch by Reuben Thomas <rrt@sc3d.org>.
35540 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
35542         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
35543         and -mno-altivec to prevent the compiler from using Altivec and/or
35544         VSX instructions when the corresponding registers are not available.
35546 2011-05-19  Andreas Schwab  <schwab@redhat.com>
35548         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
35550 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
35552         * libio/freopen.c (freopen): Use __dup2, not dup2.
35553         * libio/freopen64.c (freopen64): Likewise.
35555 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
35557         [BZ #12775]
35558         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
35559         * math/Makefile (tests): Add test-powl.
35560         (CFLAGS-test-powl.c): Define.
35561         * math/test-powl.c: New file.
35563 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35565         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
35567 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
35569         [BZ #11837]
35570         * iconvdata/gb18030.c: Update to GB18020-2005.
35572 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
35574         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
35575         RE_SYNTAX_POSIX_AWK): Update to match recent development.
35576         Patch by Aharon Robbins <arnold@skeeve.com>.
35578         [BZ #11892]
35579         * stdlib/putenv.c (putenv): Don't always create copy of the variable
35580         on the stack.
35582         [BZ #11895]
35583         * misc/pselect.c (__pselect): Handle timeout value errors hidden
35584         through underflows.
35586         [BZ #12766]
35587         * misc/error.c (error_at_line): Ensure file_name and old_file_name
35588         point to strings before performing equality test for error_one_per_line
35589         mode.
35591         [BZ #11697]
35592         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
35594         [BZ #11820]
35595         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
35596         (struct user_fpregs_struct): Avoid __uint*_t types.
35598         [BZ #6420]
35599         * malloc/mtrace.c (tr_where): Add additional parameter to point to
35600         symbol info.  Use it instead of calling _dl_addr locally.
35601         (lock_and_info): New function.
35602         (tr_freehook): Call lock_and_info and pass symbol info as additional
35603         parameter to tr_where.
35604         (tr_mallochook): Likewise.
35605         (tr_reallochook): Likewise.
35606         (tr_memalignhook): Likewise.
35608         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
35609         used and couldn't be at all thread-safe.
35611 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
35613         * libio/freopen.c (freopen): Don't close old file descriptor
35614         before the new one is opened.  Instead dup the new file descriptor
35615         to the old one after the new stream is created.
35616         * libio/freopen64.c (freopen64): Likewise.
35617         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
35618         * libio/fileops.c (_IO_new_file_close_it): Handle new
35619         _IO_FLAGS2_NOCLOSE flag.
35620         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
35621         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
35622         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
35623         _IO_FLAGS2_NOCLOSE flag.
35624         * include/unistd.h: Add hidden_proto for dup3.
35625         Define __have_dup3.
35626         * io/dup3.c: Define hidden symbol.
35627         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
35629         [BZ #7101]
35630         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
35631         when an incomplete long option is used.
35632         * posix/tst-getopt_long1.c: New file.
35633         * posix/Makefile (tests): Add tst-getopt_long1.
35635         [BZ #10138]
35636         * scripts/config.guess: Update from autoconf-2.68.
35637         * scripts/config.sub: Likewise.
35639         [BZ #10157]
35640         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
35641         tests into ...
35642         (has_cpuclock): ...this.  New function.
35643         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
35644         macro here based on has_cpuclock code.
35646         [BZ #10149]
35647         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35648         First byte (not low byte) is now always NUL.
35649         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
35651         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35652         Use non-cancelable interfaces.
35654         [BZ #9809]
35655         * locale/iso-639.def: Add entry for Sorani.
35657         [BZ #11901]
35658         * include/stdlib.h: Move include protection to the right place.
35659         Define abort_msg_s.  Declare __abort_msg with it.
35660         * stdlib/abort.c (__abort_msg): Adjust type.
35661         * assert/assert.c (__assert_fail_base): New function.  Majority
35662         of code from __assert_fail.  Allocate memory for __abort_msg with
35663         mmap.
35664         (__assert_fail): Now call __assert_fail_base.
35665         * assert/assert-perr.c: Remove bulk of implementation.  Use
35666         __assert_fail_base.
35667         * include/assert.hL Declare __assert_fail_base.
35668         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
35669         mmap.
35670         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
35672 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
35674         [BZ #11952]
35675         [BZ #12453]
35676         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
35677         until all modules are registered in the DTV.
35678         * elf/Makefile: Add rules to build and run tst-tls19.
35679         * elf/tst-tls19.c: New file.
35680         * elf/tst-tls19mod1.c: New file.
35681         * elf/tst-tls19mod2.c: New file.
35682         * elf/tst-tls19mod3.c: New file.
35683         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
35685         [BZ #12083]
35686         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
35687         correctly.
35689         [BZ #12601]
35690         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
35691         two-byte sequence errors.
35692         * iconvdata/Makefile (tests): Add bug-iconv8.
35693         * iconvdata/bug-iconv8.c: New file.
35695         [BZ #12626]
35696         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
35697         buf2 definition.
35699         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
35701         [BZ #12432]
35702         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
35703         (dummy_getcfa): New function.
35704         (init): Get _Unwind_GetCFA address, use dummy if not found.
35705         (backtrace_helper): In recursion check, also check whether CFA changes.
35706         (__backtrace): Completely initialize arg.
35708         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
35709         storing incomplete byte sequence in state object.  Avoid testing for
35710         guaranteed too small input if we know there is enough data available.
35712 2011-05-11  Andreas Schwab  <schwab@redhat.com>
35714         * Makeconfig (+link-pie): Indent.
35715         * Rules (binaries-pie): Define if $(have-fpie) and
35716         $(build-shared).
35717         (binaries-shared): Also filter out $(binaries-pie).
35718         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
35719         * nscd/Makefile (others-pie): Add nscd.
35720         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
35721         ($(objpfx)nscd): Remove command override.
35722         * login/Makefile (others-pie): Add pt_chown.
35723         ($(objpfx)pt_chown): Remove command override.
35724         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
35725         remove command overrides.
35727 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
35729         * libio/tst_putwc.c: Fix error messages.
35731         [BZ #12724]
35732         * libio/fileops.c (_IO_new_file_close_it): Always flush when
35733         currently writing and seek to current position when not.
35734         * libio/Makefile (tests): Add bug-fclose1.
35735         * libio/bug-fclose1.c: New file.
35737 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
35739         [BZ #12511]
35740         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
35741         don't set DF_1_NODELETE here.
35742         (do_lookup_x): When entering new entry test for copy relocation
35743         and if necessary set DF_1_NODELETE flag.
35744         * elf/tst-unique4.cc: New file.
35745         * elf/tst-unique4.h: New file.
35746         * elf/tst-unique4lib.cc: New file.
35747         * elf/Makefile: Add rules to build and run tst-unique4.
35748         Patch by Piotr Bury <pbury@goahead.com>.
35750 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
35752         [BZ #12052]
35753         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
35755         [BZ #12625]
35756         * misc/mntent_r.c (addmntent): Flush the stream after the output
35758         [BZ #12393]
35759         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
35760         (is_trusted_path_normalize): Skip initial colon.  Append slash
35761         to empty buffer.  Duplicate is_trusted_path code but allow
35762         constructed patch to be prefix.
35763         (is_dst): Allow $ORIGIN followed by /.
35764         (_dl_dst_substitute): Correct clearing of check_for_trusted.
35765         Correct testing of result of is_trusted_path_normalize
35766         (decompose_rpath): Fix warning.
35768 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
35770         [BZ #11257]
35771         * grp/initgroups.c (internal_getgrouplist): When we found the service
35772         list through the initgroups entry in nsswitch.conf do not always
35773         continue on a successful lookup.  Don't always use the
35774         __nss_group_database value if it is set.
35775         * nss/nsswitch.conf (initgroups): Change action for successful db
35776         lookup to continue for compatibility.
35778 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
35780         [BZ #11532]
35781         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
35782         and CP774 modules.
35783         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
35784         and CP774 modules.
35785         * iconvdata/tst-tables.sh: Likewise.
35786         * iconvdata/cp770.c: New file.
35787         * iconvdata/cp771.c: New file.
35788         * iconvdata/cp772.c: New file.
35789         * iconvdata/cp773.c: New file.
35790         * iconvdata/cp774.c: New file.
35791         * iconvdata/testdata/CP770: New file.
35792         * iconvdata/testdata/CP770..UTF8: New file.
35793         * iconvdata/testdata/CP771: New file.
35794         * iconvdata/testdata/CP771..UTF8: New file.
35795         * iconvdata/testdata/CP772: New file.
35796         * iconvdata/testdata/CP772..UTF8: New file.
35797         * iconvdata/testdata/CP773: New file.
35798         * iconvdata/testdata/CP773..UTF8: New file.
35799         * iconvdata/testdata/CP774: New file.
35800         * iconvdata/testdata/CP774..UTF8: New file.
35802         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
35803         END CHARMAP line.
35804         * iconvdata/gen-8bit-gap.sh: Likewise.
35805         * iconvdata/gen-8bit.sh: Likewise.
35807         * locale/iso-639.def: Add ary entry.
35809         [BZ #11258]
35810         * locale/C-translit.h.in: Add U20A1 transliteration.
35812         [BZ #12178]
35813         * locale/iso-639.def: Add wae entry.
35814         Patch by Kevin Bortis <bortis@translate-wae.ch>.
35816         [BZ #12545]
35817         * locale/programs/localedef.c (construct_output_path): Use ssize_t
35818         for n.
35820         [BZ #12711]
35821         * locale/C-translit.h.in: Add entry for U20B9.
35822         Patch by pravin.d.s@gmail.com.
35824 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
35826         [BZ #12713]
35827         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
35828         ENAMETOOLONG use generic getcwd.
35829         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
35830         in rtld.  Use *stat64.
35831         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
35832         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
35833         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
35834         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
35835         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
35836         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
35837         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
35838         __fstatat64 macros.
35839         * include/dirent.h: Add libc_hidden_proto for rewinddir.
35840         * dirent/rewinddir.c: Add libc_hidden_def.
35841         * sysdeps/mach/hurd/rewinddir.c: Likewise.
35842         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
35844         * include/dirent.h (__alloc_dir): Add flags parameter.
35845         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
35846         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
35847         __alloc_dir.
35848         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
35849         from fdopendir if O_CLOEXEC is already set.
35851 2011-03-15  Alan Modra  <amodra@gmail.com>
35853         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
35854         l_tls_firstbyte_offset non-zero.  Save padding offset in
35855         l_tls_firstbyte_offset for later use.
35856         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
35857         freeing static tls block.
35859 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
35861         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
35862         where #ifdef was intended.  The intent is to prevent ARG_MAX from
35863         being defined by the kernel headers.
35865 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
35867         [BZ #12734]
35868         * resolv/resolv.h: Define RES_NOTLDQUERY.
35869         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
35870         no-tld-query and set RES_NOTLDQUERY.
35871         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
35872         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
35873         modern BIND to search name as TLD unless forbidden.
35875 2011-05-07  Petr Baudis  <pasky@suse.cz>
35876             Ulrich Drepper  <drepper@gmail.com>
35878         [BZ #12393]
35879         * elf/dl-load.c (fillin_rpath): Move trusted path check...
35880         (is_trusted_path): ...to here.
35881         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
35882         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
35883         using is_trusted_path_normalize() in setuid scripts.
35885 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
35887         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
35888         __BEGIN/__END_DECLS.
35890 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
35892         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
35893         NSS_STATUS_NOTFOUND if no record was found.
35895 2011-05-05  Andreas Schwab  <schwab@redhat.com>
35897         * sunrpc/Makefile (headers): Add rpc/netdb.h.
35898         (headers-not-in-tirpc): Remove rpc/netdb.h
35899         * resolv/netdb.h: Revert last change.
35901 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
35903         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
35904         circular dependency between libgcc.a and libc.a.
35906 2011-05-05  Andreas Schwab  <schwab@redhat.com>
35908         * resolv/netdb.h: Don't include <rpc/netdb.h>.
35909         * nis/Makefile: Don't install rpcsvc/*.
35910         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
35911         instead of <rpc/types.h>.
35912         (MAXHOSTNAMELEN): Define.
35914 2011-05-03  Andreas Schwab  <schwab@redhat.com>
35916         * elf/ldconfig.c (add_dir): Don't crash on empty path.
35918 2011-04-28  Maciej Babinski  <mbabinski@google.com>
35920         [BZ #12714]
35921         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
35922         gethostbyname4_r when IPv6 results are possible.
35924 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
35926         [BZ #12723]
35927         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
35928         _PC_PIPE_BUF handling.
35930 2011-04-30  Bruno Haible  <bruno@clisp.org>
35932         [BZ #12717]
35933         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
35934         * resolv/netdb.h (getnameinfo): Change type of flags parameter
35935         to 'int'.
35936         * inet/getnameinfo.c (getnameinfo): Likewise.
35938 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
35940         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
35941         to groups setting in database lookup.
35942         * nss/nsswitch.conf: Add initgroups entry.
35944 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
35946         [BZ #12685]
35947         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
35948         mode string.
35949         Patch by Eric Blake <eblake@redhat.com>.
35951 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
35953         * sunrpc/Makefile (need-export-routines): Add svc_run.
35954         (routines): Remove svc_run.
35955         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
35956         * sunrpc/clnt_perr.c (clnt_perrno): Export.
35957         * sunrpc/svc_run.c (svc_run): Likewise.
35958         * sunrpc/svc_udp.c (svcudp_create): Likewise.
35960 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
35962         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
35963         problem in reallocation in last patch.
35965 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
35967         * sunrpc/Makefile: Move inclusion of Rules.
35969 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
35971         * nss/nss_files/files-initgroups.c: New file.
35972         * nss/Makefile (libnss_files-routines): Add files-initgroups.
35973         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
35974         _nss_files_initgroups_dyn.
35976 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
35978         * elf/elf.h (R_ARM_IRELATIVE): Define.
35980 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
35982         * po/ru.po: Update from translation team.
35984 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
35986         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
35987         dependencies.
35989 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
35991         [BZ #12653]
35992         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
35993         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
35994         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35995         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
35996         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
35998 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
36000         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
36001         differing bytes.
36002         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
36003         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
36004         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
36006 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
36008         [BZ #12420]
36009         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
36010         storing it.
36011         * stdlib/bug-getcontext.c: New file.
36012         * stdlib/Makefile: Add rules to build and run bug-getcontext.
36014 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36016         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
36017         instructions into .machine "z9-109".
36018         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
36019         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
36021 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36023         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
36024         between environment variables and auxiliary vector.
36026 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
36028         * Makefile: Add rules to build linkobj/libc.so.
36029         * include/libc-symbols.h: Define libc_hidden_nolink.
36030         * include/rpc/auth.h: Mark functions which are to be hidden.
36031         * include/rpc/auth_des.h: Likewise.
36032         * include/rpc/auth_unix.h: Likewise.
36033         * include/rpc/clnt.h: Likewise.
36034         * include/rpc/des_crypt.h: Likewise.
36035         * include/rpc/key_prot.h: Likewise.
36036         * include/rpc/pmap_clnt.h: Likewise.
36037         * include/rpc/pmap_prot.h: Likewise.
36038         * include/rpc/pmap_rmt.h: Likewise.
36039         * include/rpc/rpc_msg.h: Likewise.
36040         * include/rpc/svc.h: Likewise.
36041         * include/rpc/svc_auth.h: Likewise.
36042         * include/rpc/xdr.h: Likewise.
36043         * nis/Makefile: Link all DSOs against linkobj/libc.so.
36044         * nss/Makefile: Likewise.
36045         * sunrpc/Makefile: Don't install headers.  Build library with normal
36046         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
36047         * sunrpc/auth_des.c: Hide exported symbols by default, export some
36048         for the compat linking library.  Remove use of INTDEF/INTUSE.
36049         * sunrpc/auth_none.c: Likewise.
36050         * sunrpc/auth_unix.c: Likewise.
36051         * sunrpc/authdes_prot.c: Likewise.
36052         * sunrpc/authuxprot.c: Likewise.
36053         * sunrpc/clnt_gen.c: Likewise.
36054         * sunrpc/clnt_perr.c: Likewise.
36055         * sunrpc/clnt_raw.c: Likewise.
36056         * sunrpc/clnt_simp.c: Likewise.
36057         * sunrpc/clnt_tcp.c: Likewise.
36058         * sunrpc/clnt_udp.c: Likewise.
36059         * sunrpc/clnt_unix.c: Likewise.
36060         * sunrpc/des_crypt.c: Likewise.
36061         * sunrpc/des_soft.c: Likewise.
36062         * sunrpc/get_myaddr.c: Likewise.
36063         * sunrpc/key_call.c: Likewise.
36064         * sunrpc/key_prot.c: Likewise.
36065         * sunrpc/netname.c: Likewise.
36066         * sunrpc/pm_getmaps.c: Likewise.
36067         * sunrpc/pm_getport.c: Likewise.
36068         * sunrpc/pmap_clnt.c: Likewise.
36069         * sunrpc/pmap_prot.c: Likewise.
36070         * sunrpc/pmap_prot2.c: Likewise.
36071         * sunrpc/pmap_rmt.c: Likewise.
36072         * sunrpc/publickey.c: Likewise.
36073         * sunrpc/rpc_cmsg.c: Likewise.
36074         * sunrpc/rpc_common.c: Likewise.
36075         * sunrpc/rpc_dtable.c: Likewise.
36076         * sunrpc/rpc_prot.c: Likewise.
36077         * sunrpc/rpc_thread.c: Likewise.
36078         * sunrpc/rtime.c: Likewise.
36079         * sunrpc/svc.c: Likewise.
36080         * sunrpc/svc_auth.c: Likewise.
36081         * sunrpc/svc_authux.c: Likewise.
36082         * sunrpc/svc_raw.c: Likewise.
36083         * sunrpc/svc_run.c: Likewise.
36084         * sunrpc/svc_simple.c: Likewise.
36085         * sunrpc/svc_tcp.c: Likewise.
36086         * sunrpc/svc_udp.c: Likewise.
36087         * sunrpc/svc_unix.c: Likewise.
36088         * sunrpc/svcauth_des.c: Likewise.
36089         * sunrpc/xcrypt.c: Likewise.
36090         * sunrpc/xdr.c: Likewise.
36091         * sunrpc/xdr_array.c: Likewise.
36092         * sunrpc/xdr_float.c: Likewise.
36093         * sunrpc/xdr_intXX_t.c: Likewise.
36094         * sunrpc/xdr_mem.c: Likewise.
36095         * sunrpc/xdr_rec.c: Likewise.
36096         * sunrpc/xdr_ref.c: Likewise.
36097         * sunrpc/xdr_sizeof.c: Likewise.
36098         * sunrpc/xdr_stdio.c: Likewise.
36100 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
36102         [BZ #12650]
36103         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
36104         * sysdeps/ia64/dl-tls.h: Likewise.
36105         * sysdeps/powerpc/dl-tls.h: Likewise.
36106         * sysdeps/s390/dl-tls.h: Likewise.
36107         * sysdeps/sh/dl-tls.h: Likewise.
36108         * sysdeps/sparc/dl-tls.h: Likewise.
36109         * sysdeps/x86_64/dl-tls.h: Likewise.
36110         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
36112 2011-03-14  Andreas Schwab  <schwab@redhat.com>
36114         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
36115         rpath element also skip the following colon.
36116         (expand_dynamic_string_token): Add is_path parameter and pass
36117         down to DL_DST_REQUIRED and _dl_dst_substitute.
36118         (decompose_rpath): Call expand_dynamic_string_token with
36119         non-zero is_path.  Ignore empty rpaths.
36120         (_dl_map_object_from_fd): Call expand_dynamic_string_token
36121         with zero is_path.
36123 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
36125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
36126         Make cancelable.
36128 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
36130         [BZ #12655]
36131         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
36132         Patch by Filipe David Manana <fdmanana@apache.org>.
36134 2011-04-07  Andreas Schwab  <schwab@redhat.com>
36136         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
36137         Maintain aligned stack.
36138         (CHECK_RSP): Remove unused macro.
36140 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
36142         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
36143         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
36145 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
36147         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
36149         * include/features.h: Mention __USE_XOPEN2K8 in comment.
36151 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
36153         [BZ #12518]
36154         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
36155         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
36156         * sysdeps/x86_64/memmove.c: New file.
36157         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
36158         (memcpy): Renamed to ...
36159         (__new_memcpy): This.
36160         (memcpy): Provide GLIBC_2_14 memcpy.
36161         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
36162         (memcpy): Provide GLIBC_2_2_5 memcpy.
36164 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
36166         [BZ #12631]
36167         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
36169 2011-03-30  Andreas Schwab  <schwab@redhat.com>
36171         * misc/syncfs.c: New file.
36172         * misc/Makefile (routines): Add syncfs.
36173         * posix/unistd.h: Declare syncfs.
36174         * sysdeps/unix/syscalls.list: Add syncfs.
36176 2011-04-01  Andreas Schwab  <schwab@redhat.com>
36178         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
36179         open_by_handle_at.
36180         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
36181         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36182         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36183         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36184         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36185         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
36186         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36188 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
36190         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
36191         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36192         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
36193         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36194         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36195         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36196         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36198         * io/Makefile: Compile fallocate.c, fallocate64.c, and
36199         sync_file_range.c with -fexceptions.
36200         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
36201         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
36202         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
36203         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
36204         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
36205         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
36206         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
36207         sync_file_range as cancellation point
36208         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
36209         now a wrapper around __call_sync_file_range with cancellation handling.
36210         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
36211         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
36212         function name to __call_sync_file_range.
36213         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
36214         Add call_sync_file_range.
36216 2011-04-01  Andreas Schwab  <schwab@redhat.com>
36218         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36219         bits/timex.h.
36221 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
36223         * iconv/iconv.h: Fix typo in comment.
36224         * io/fcntl.h: Likewise.
36225         * libio/stdio.h: Likewise.
36226         * posix/spawn.h: Likewise.
36227         * posix/unistd.h: Likewise.
36228         * stdlib/stdlib.h: Likewise.
36229         * time/time.h: Likewise.
36230         * wcsmbs/wchar.h: Likewise.
36232         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
36233         open_by_handle): Add.
36234         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
36235         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
36236         Augment a few comments.
36237         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36238         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36239         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36240         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36241         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36242         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
36243         open_by_handle.
36245         * io/fcntl.h (AT_EMPTY_PATH): Define.
36247 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
36249         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
36250         * sysdeps/unix/sysv/linux/bits/time.h: New file.
36251         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
36252         to...
36253         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
36254         * Versions.def: Add GLIBC_2.14.
36255         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
36256         Export.
36258 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
36260         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
36261         round counter.
36262         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36264 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
36266         [BZ #12597]
36267         * string/test-strncmp.c (do_page_test): New function.
36268         (check2): Likewise.
36269         (test_main): Call check2.
36270         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
36272 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
36274         [BZ #12587]
36275         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
36276         Handle cache information in CPU leaf 4.
36277         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36279 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
36281         [BZ #12583]
36282         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
36283         character representation.
36284         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
36286 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
36288         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
36289         END(__isnan) to END(__isnanf) to match function entry point/label
36290         EALIGN(__isnanf,...).
36292 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
36294         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
36296 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
36298         [BZ #12510]
36299         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
36300         copy from the symbol referenced in the relocation to initialize the
36301         used variable.
36302         Patch by Piotr Bury <pbury@goahead.com>.
36303         * elf/Makefile: Add rules to build and tst-unique3.
36304         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
36305         * elf/tst-unique3.cc: New file.
36306         * elf/tst-unique3.h: New file.
36307         * elf/tst-unique3lib.cc: New file.
36308         * elf/tst-unique3lib2.cc: New file.
36310         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
36312 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
36314         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
36315         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
36316         to _start.
36318 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
36320         * elf/dl-load.c (_dl_map_object): If we are looking for the first
36321         to-be-loaded object along a path to loader is ld.so.
36323 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
36324             Ulrich Drepper  <drepper@gmail.com>
36326         * sysdeps/x86_64/memset.S: After aligning destination, code
36327         branches to different locations depending on the value of
36328         misalignment, when multiarch is enabled. Fix this.
36330 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
36332         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
36333         Set _x86_64_preferred_memory_instruction for AMD processsors.
36334         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36335         Set bit_Prefer_SSE_for_memop for AMD processors.
36337 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
36339         * libio/fmemopen.c (fmemopen): Optimize a bit.
36341 2011-03-03  Andreas Schwab  <schwab@redhat.com>
36343         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
36345 2011-03-03  Roland McGrath  <roland@redhat.com>
36347         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
36349 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
36351         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
36352         __bzero_ultra1 instead of __memset_ultra1.
36354 2011-02-23  Andreas Schwab  <schwab@redhat.com>
36355             Ulrich Drepper  <drepper@gmail.com>
36357         [BZ #12509]
36358         * include/link.h (struct link_map): Add l_orig_initfini.
36359         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
36360         returning unsuccessfully.
36361         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
36362         close of a file loaded at startup, restore the original l_initfini
36363         list.
36364         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
36365         list, store the pointer.
36366         * elf/Makefile ($(objpfx)noload-mem): New rule.
36367         (noload-ENV): Define.
36368         (tests): Add $(objpfx)noload-mem.
36369         * elf/noload.c: Include <memcheck.h>.
36370         (main): Call mtrace.  Close all opened handles.
36372 2011-02-17  Andreas Schwab  <schwab@redhat.com>
36374         [BZ #12454]
36375         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
36376         dependencies are missing.
36378 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36380         Fix __if_freereq crash: Unlike the generic version which uses free,
36381         Hurd needs munmap.
36382         * sysdeps/mach/hurd/ifreq.h: New file.
36384 2011-01-27  Petr Baudis  <pasky@suse.cz>
36385             Ulrich Drepper  <drepper@gmail.com>
36387         [BZ 12445]#
36388         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
36389         to extend_alloca().
36390         * stdio-common/bug23.c: New file.
36391         * stdio-common/Makefile (tests): Add bug23.
36393 2010-09-28  Andreas Schwab  <schwab@redhat.com>
36394             Ulrich Drepper  <drepper@gmail.com>
36396         [BZ #12489]
36397         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
36398         before performing relro protection.  At old place add assertion
36399         to make sure nothing changed.
36401 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
36402             Glauber de Oliveira Costa  <glommer@gmail.com>
36404         * elf/elf.h: Add new ARM TLS relocs.
36406 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
36408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
36409         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
36410         cast from r3.
36411         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
36412         'tests' variable.
36413         * sysdeps/wordsize-64/tst-writev.c: New file.
36415 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
36417         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
36418         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
36419         insns in _dl_start to prevent a TOC reference before relocs are
36420         resolved.
36422 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
36424         [BZ #12469]
36425         * Makeconfig: Remove RANLIB definition.
36426         * Makerules: Don't use RANLIB.
36427         * aclocal.m4: Remove ranlib test.
36428         * configure.in: No need to check for ranlib.
36429         * elf/rtld-Rules: Don't use RANLIB.
36431 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36433         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
36434         protection macro.
36435         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
36436         inclusion protection macro.
36438         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
36439         SIGRTMIN and SIGRTMAX and print information in that case only when
36440         SIGRTMIN is defined.
36442 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
36444         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
36445         arginfo fn returning -1.
36447         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
36448         and thousands string is zero terminated.
36450 2011-02-03  Andreas Schwab  <schwab@redhat.com>
36452         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
36453         sysdeps/unix/sysv/linux/bits/socket.h.
36455 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36457         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
36458         (__CPU_COUNT): Remove old macros.
36459         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
36460         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
36461         (__CPU_ALLOC, __CPU_FREE): Add macros.
36462         (__sched_cpualloc, __sched_cpufree): Add declarations.
36464 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
36466         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
36467         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
36468         * nscd/aicache.c (addhstaiX): Return timeout of added value.
36469         (readdhstai): Return value of addhstaiX call.
36470         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
36471         (addgrbyX): Return value returned by cache_addgr.
36472         (readdgrbyname): Return value returned by addgrbyX.
36473         (readdgrbygid): Likewise.
36474         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
36475         (addpwbyX): Return value returned by cache_addpw.
36476         (readdpwbyname): Return value returned by addhstbyX.
36477         (readdpwbyuid): Likewise.
36478         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
36479         (addservbyX): Return value returned by cache_addserv.
36480         (readdservbyname): Return value returned by addservbyX:
36481         (readdservbyport): Likewise.
36482         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
36483         (addhstbyX): Return value returned by cache_addhst.
36484         (readdhstbyname): Return value returned by addhstbyX.
36485         (readdhstbyaddr): Likewise.
36486         (readdhstbynamev6): Likewise.
36487         (readdhstbyaddrv6): Likewise.
36488         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
36489         (readdinitgroups): Return value returned by addinitgroupsX.
36490         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
36491         (prune_cache): Keep track of timeout value of re-added entries.
36492         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
36493         * nscd/nscd.h: Adjust prototypes of readd* functions.
36495 2011-02-04  Roland McGrath  <roland@redhat.com>
36497         * nis/nis_server.c (nis_servstate): Use the right name for 0.
36498         (nis_stats): Likewise.
36499         * nis/nis_modify.c (nis_modify): Likewise.
36500         * nis/nis_remove.c (nis_remove): Likewise.
36501         * nis/nis_add.c (nis_add): Likewise.
36503         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
36505         * posix/fnmatch_loop.c: Add some consts.
36507         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
36509 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
36511         [BZ #12460]
36512         * config.make.in (config-cflags-novzeroupper): Define.
36513         * configure.in: Substitute libc_cv_cc_novzeroupper.
36514         * elf/Makefile (AVX-CFLAGS): Define.
36515         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
36516         (CFLAGS-tst-auditmod4a.c): Likewise.
36517         (CFLAGS-tst-auditmod4b.c): Likewise.
36518         (CFLAGS-tst-auditmod6b.c): Likewise.
36519         (CFLAGS-tst-auditmod6c.c): Likewise.
36520         (CFLAGS-tst-auditmod7b.c): Likewise.
36521         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
36523 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
36525         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
36526         function to the callback.
36527         Patch partly by Jiri Olsa <jolsa@redhat.com>.
36529 2011-02-02  Andreas Schwab  <schwab@redhat.com>
36531         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
36532         of errno.
36534 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
36536         [BZ #11724]
36537         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
36538         of constructors.
36539         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
36540         of destructors.
36541         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
36543         [BZ #11724]
36544         * elf/Makefile: Add rules to build and run new test.
36545         * elf/tst-initorder.c: New file.
36546         * elf/tst-initorder.exp: New file.
36547         * elf/tst-initordera1.c: New file.
36548         * elf/tst-initordera2.c: New file.
36549         * elf/tst-initordera3.c: New file.
36550         * elf/tst-initordera4.c: New file.
36551         * elf/tst-initorderb1.c: New file.
36552         * elf/tst-initorderb2.c: New file.
36553         * elf/tst-order-a1.c: New file.
36554         * elf/tst-order-a2.c: New file.
36555         * elf/tst-order-a3.c: New file.
36556         * elf/tst-order-a4.c: New file.
36557         * elf/tst-order-b1.c: New file.
36558         * elf/tst-order-b2.c: New file.
36559         * elf/tst-order-main.c: New file.
36560         New test case by George Gensure <werkt0@gmail.com>.
36562 2010-10-01  Andreas Schwab  <schwab@redhat.com>
36564         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
36565         decoding ACE if AI_CANONIDN.
36567 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
36569         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
36571 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
36573         * version.h (RELEASE): Bump for 2.13 release.
36574         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
36576         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
36578         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
36579         MADV_NOHUGEPAGE.
36580         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
36581         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
36582         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
36583         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
36584         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
36585         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
36587         * posix/getconf.c: Update copyright year.
36588         * catgets/gencat.c: Likewise.
36589         * csu/version.c: Likewise.
36590         * debug/catchsegv.sh: Likewise.
36591         * debug/xtrace.sh: Likewise.
36592         * elf/ldconfig.c: Likewise.
36593         * elf/ldd.bash.in: Likewise.
36594         * elf/sprof.c (print_version): Likewise.
36595         * iconv/iconv_prog.c: Likewise.
36596         * iconv/iconvconfig.c: Likewise.
36597         * locale/programs/locale.c: Likewise.
36598         * locale/programs/localedef.c: Likewise.
36599         * malloc/memusage.sh: Likewise.
36600         * malloc/mtrace.pl: Likewise.
36601         * nscd/nscd.c (print_version): Likewise.
36602         * nss/getent.c: Likewise.
36604         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
36605         PF_CAIF, and PF_ALG.
36606         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36608 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
36610         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
36611         (modules-names): Use them.
36612         (ifunc-test-modules, ifunc-pie-tests): Define.
36613         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
36614         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
36615         (test-extras): Likewise.
36616         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
36617         $(compile-command.c).
36618         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
36619         (all-built-dso): Define.
36620         (check-textrel.out, check-execstack.out): Depend on it.
36622         * configure.in: Don't override --enable-multi-arch.
36624 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
36626         [BZ #6812]
36627         * nscd/hstcache.c (tryagain): Define.
36628         (cache_addhst): Return tryagain not notfound for temporary errors.
36629         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
36630         failed.
36632 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
36634         [BZ #10563]
36635         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
36636         to make the syscall.
36637         * sysdeps/unix/sysv/linux/setgroups.c: New file.
36639         [BZ #12378]
36640         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
36641         and fall back to matching as normal character if the string ends before
36642         the matching ']' is found.  This is what POSIX requires.
36643         * posix/testfnm.c: Adjust test result.
36644         * posix/globtest.sh: Adjust test result.  Add new test.
36645         * posix/tst-fnmatch.input: Likewise.
36646         * posix/tst-fnmatch2.c: Add new test.
36648 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
36650         * elf/Makefile (check-execstack): Revert last change.  Depend on
36651         check-execstack.h.
36652         (check-execstack.h): New target.
36653         (generated): Add check-execstack.h.
36654         * elf/check-execstack.c: Include "check-execstack.h".
36655         (main): Revert last change.
36656         (handle_file): Return zero if GNU_STACK is absent and
36657         DEFAULT_STACK_PERMS doesn't include PF_X.
36659 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
36661         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
36662         in child fails because the descriptor is already closed.
36663         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
36664         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
36665         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
36667         [BZ #12397]
36668         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
36669         syscall.
36671         [BZ #10484]
36672         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
36673         temporary buffer used to handle multi lookups locally.
36674         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
36676 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
36678         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
36679         loader is ld.so.
36681 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
36683         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
36684         alignment for SSE2.
36686 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
36688         [BZ #12394]
36689         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
36690         characters.  When rounding increased number of integer digits recompute
36691         number of groups.
36692         * stdio-common/tst-grouping.c: New file.
36693         * stdio-common/Makefile: Add rules to build and run tst-grouping.
36695 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
36697         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
36698         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
36700         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
36701         void.
36702         * bits/select.h: Likewise.
36704 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
36706         * po/ja.po: Update from translation team.
36708 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
36710         [BZ #11155]
36711         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
36712         implementation just like for lxstat, fxstatat, et al.
36714 2010-12-27  Jim Meyering  <meyering@redhat.com>
36716         [BZ #12348]
36717         * posix/regexec.c (build_trtable): Return failure indication upon
36718         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
36720 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
36722         [BZ #12201]
36723         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
36724         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
36725         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
36726         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
36728         [BZ #12207]
36729         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
36731         [BZ #12204]
36732         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
36733         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
36735 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
36737         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
36738         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
36739         script has SORT_BY_INIT_PRIORITY.
36740         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
36741         NO_CTORS_DTORS_SECTIONS is defined.
36742         * elf/soinit.c: Likewise.
36743         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
36744         NO_CTORS_DTORS_SECTIONS is defined.
36745         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
36746         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
36747         * sysdeps/sh/init-first.c: Likewise.
36748         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
36750 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
36752         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
36753         always use the slow path.
36755 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
36757         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
36758         similar rule which adds the sysdep directories to the header search in
36759         order to pick up the correct platform stackinfo.h.
36760         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
36761         perform test if it is, otherwise return successfully without testing.
36762         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
36763         DEFAULT_STACK_PERMS define in stackinfo.h.
36764         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
36765         defined in stackinfo.h.
36766         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
36767         DEFAULT_STACK_PERMS defined in stackinfo.h.
36768         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
36769         * sysdeps/ia64/stackinfo.h: Likewise.
36770         * sysdeps/s390/stackinfo.h: Likewise.
36771         * sysdeps/sh/stackinfo.h: Likewise.
36772         * sysdeps/sparc/stackinfo.h: Likewise.
36773         * sysdeps/x86_64/stackinfo.h: Likewise.
36774         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
36775         PF_X for powerpc64.  Retain PF_X for powerpc32.
36777 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
36779         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
36780         accurately.
36781         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
36782         GETDENTS_64BIT_ALIGNED.
36784 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
36786         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
36788 2010-12-10  Andreas Schwab  <schwab@redhat.com>
36790         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
36791         _GNU_SOURCE.
36793         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
36794         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
36795         Remove __restrict.
36796         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
36797         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
36799 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
36801         [BZ #11655]
36802         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
36803         are initialized.
36805 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
36807         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
36809 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
36811         * po/it.po: Update from translation team.
36813 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
36815         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
36816         unused codes.
36818 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
36820         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
36822 2010-11-24  Andreas Schwab  <schwab@redhat.com>
36824         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
36825         specially.
36826         (gaih_getanswer_slice): Likewise.
36828 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
36830         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
36832 2010-05-31  Petr Baudis  <pasky@suse.cz>
36834         [BZ #11149]
36835         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
36836         silently even in the chroot mode.
36838 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
36840         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
36841         last patch a bit.  Pretty printing
36843 2010-05-31  Petr Baudis <pasky@suse.cz>
36845         [BZ #10085]
36846         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
36847         initialization of skip_initgroups_dyn.
36849 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
36851         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
36852         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
36854 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
36856         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
36858 2010-11-11  Andreas Schwab  <schwab@redhat.com>
36860         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
36861         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
36862         (tst-fnmatch-ENV): Set MALLOC_TRACE.
36863         ($(objpfx)tst-fnmatch-mem): New rule.
36864         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
36865         * posix/tst-fnmatch.c (main): Call mtrace.
36867 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
36869         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36870         Support Intel processor model 6 and model 0x2c.
36872 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
36874         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
36875           signed comparison.
36877 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
36879         [BZ #12205]
36880         * string/test-strncasecmp.c (check_result): New function.
36881         (do_one_test): Use it.
36882         (check1): New function.
36883         (test_main): Use it.
36884         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
36885         Support strcasecmp and strncasecmp.
36887 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
36889         [BZ #12194]
36890         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
36891         * sysdeps/x86_64/bits/byteswap.h: Likewise.
36893 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
36895         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
36896         IFUNC support.
36897         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36898         memset-x86-64.
36899         * sysdeps/x86_64/multiarch/bzero.S: New file.
36900         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
36901         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
36902         * sysdeps/x86_64/multiarch/memset.S: New file.
36903         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
36904         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36905         Set bit_Prefer_SSE_for_memop for Intel processors.
36906         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
36907         Define.
36908         (index_Prefer_SSE_for_memop): Define.
36909         (HAS_PREFER_SSE_FOR_MEMOP): Define.
36911 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
36913         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
36914         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
36916 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
36918         [BZ #12191]
36919         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
36920         (__x86_64_raw_data_cache_size_half): Likewise.
36921         (__x86_64_raw_shared_cache_size): Likewise.
36922         (__x86_64_raw_shared_cache_size_half): Likewise.
36924         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
36925         (__x86_64_raw_data_cache_size_half): Likewise.
36926         (__x86_64_raw_shared_cache_size): Likewise.
36927         (__x86_64_raw_shared_cache_size_half): Likewise.
36928         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
36929         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
36930         and __x86_64_raw_shared_cache_size_half.  Round
36931         __x86_64_data_cache_size_half, __x86_64_data_cache_size
36932         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
36933         to multiple of 256 bytes.
36935 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
36937         [BZ #12167]
36938         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
36939         of inacessible symlinks.  Verify result of symlink before returning it.
36940         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
36941         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
36943 2010-10-28  Erich Ritz  <erichritz@gmail.com>
36945         * math/math.h (isinf): Fix typo in comment.
36947 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
36949         * po/da.po: Update from translation team.
36951 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
36953         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
36954         is added to the list.
36956 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36957             Ulrich Drepper  <drepper@gmail.com>
36959         * elf/dl-object.c (_dl_new_object): Don't append the new object to
36960         the global list here.  Move code to...
36961         (_dl_add_to_namespace_list): ...here.  New function.
36962         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
36963         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
36964         * elf/dl-load.c (lose): Don't remove the element from the list.
36965         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
36966         (_dl_map_object): Likewise.
36968 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
36970         [BZ #12159]
36971         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
36972         into all bytes of SSE register.
36973         Patch by Richard Li <richardpku@gmail.com>.
36975 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
36977         [BZ #12140]
36978         * malloc/malloc.c (_int_free): Fill correct number of bytes when
36979         perturbing.
36981 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
36983         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
36984         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
36985         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
36986         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
36987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
36988         submachine.
36989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
36991 2010-10-22  Andreas Schwab  <schwab@redhat.com>
36993         * include/dlfcn.h (__RTLD_SECURE): Define.
36994         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
36995         mode & __RTLD_SECURE instead.
36996         (open_path): Rename preloaded parameter to secure.
36997         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
36998         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
36999         * elf/dl-deps.c (openaux): Likewise.
37000         * elf/rtld.c (struct map_args): Remove is_preloaded.
37001         (map_doit): Don't use it.
37002         (dl_main): Likewise.
37003         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
37004         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
37006 2010-09-09  Andreas Schwab  <schwab@redhat.com>
37008         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
37009         (sysd-rules-targets): Remove duplicates.
37010         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
37011         rtld-%.$o dependency.
37013 2010-10-18  Andreas Schwab  <schwab@redhat.com>
37015         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
37016         _dl_map_object do it.
37018 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
37020         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
37021         fast fma builtins, define the macros in the C99 standard.
37022         (FP_FAST_FMAF): Likewise.
37023         (FP_FAST_FMAL): Likewise.
37024         * sysdeps/x86_64/bits/mathdef.h: Likewise.
37026         * bits/mathdef.h: Update copyright year.
37027         * sysdeps/powerpc/bits/mathdef.h: Likewise.
37029 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
37031         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
37032         builtins, define the macros in the C99 standard.
37033         (FP_FAST_FMAF): Likewise.
37034         (FP_FAST_FMAL): Likewise.
37035         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
37036         multiply/add.
37037         (FP_FAST_FMAF): Likewise.
37039 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
37041         [BZ #3268]
37042         * math/libm-test.inc (fma_test): Some new testcases.
37043         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
37044         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
37045         y and infinite z.  Do multiplication by C already in long double.
37046         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
37047         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
37048         y and infinite z.  Do bitwise or of inexact bit into u.d.
37049         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
37050         * sysdeps/i386/fpu/s_fmaf.S: Removed.
37051         * sysdeps/i386/fpu/s_fma.S: Removed.
37052         * sysdeps/i386/fpu/s_fmal.S: Removed.
37054 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
37056         [BZ #3268]
37057         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
37058         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
37059         computation is not scheduled after fetestexcept.  Fix value
37060         of minimum denormal long double.
37062 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
37064         [BZ #3268]
37065         * math/libm-test.inc (fma_test): Add some more tests.
37066         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
37067         correctly.
37069 2010-10-15  Andreas Schwab  <schwab@redhat.com>
37071         * scripts/data/localplt-s390-linux-gnu.data: New file.
37072         * scripts/data/localplt-s390x-linux-gnu.data: New file.
37074 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
37076         [BZ #3268]
37077         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
37078         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
37079         instead of dbl-64.
37080         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
37081         inlines.
37082         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
37083         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
37084         if one of x and y is very large and the other is subnormal.
37085         * sysdeps/s390/fpu/s_fmaf.c: New file.
37086         * sysdeps/s390/fpu/s_fma.c: New file.
37087         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
37088         * sysdeps/powerpc/fpu/s_fma.S: New file.
37089         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
37090         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
37091         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
37093 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
37095         [BZ #3268]
37096         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
37097         fma tests.
37098         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
37099         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
37100         * sysdeps/i386/i686/multiarch/s_fma.c: Include
37101         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
37102         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
37103         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
37104         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
37106 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
37108         [BZ #12078]
37109         * posix/regcomp.c (parse_branch): One more memory leak plugged.
37110         * posix/bug-regex31.input: Add test case.
37112 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
37114         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
37115         * posix/bug-regex31.input: New file.
37117         [BZ #12078]
37118         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
37119         (parse_sub_exp): Fix last change, use postorder.
37121         * posix/bug-regex31.c: New file.
37122         * posix/Makefile: Add rules to build and run bug-regex31.
37124         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
37126         [BZ #12078]
37127         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
37129         [BZ #12108]
37130         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
37131         to have entries in sys_siglist.
37133         [BZ #12093]
37134         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
37135         be NULL.
37137 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
37139         [BZ #3268]
37140         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
37141         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
37142         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
37143         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
37144         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37145         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
37146         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
37147         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
37148         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
37149         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
37150         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
37151         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
37152         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
37153         * math/ftestexcept.c (fetestexcept): Likewise.
37154         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
37155         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
37156         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
37157         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
37158         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
37159         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
37160         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
37162 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
37164         [BZ #12107]
37165         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
37166         newline.
37168 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
37170         * string/bug-strstr1.c: New file.
37171         * string/Makefile: Add rules to build and run bug-strstr1.
37173 2010-10-05  Eric Blake  <eblake@redhat.com>
37175         [BZ #12092]
37176         * string/str-two-way.h (two_way_long_needle): Always clear memory
37177         when skipping input due to the shift table.
37179 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
37181         [BZ #12005]
37182         * malloc/mcheck.c: Handle large requests.
37184         [BZ #12077]
37185         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
37186         for strncmp and strncasecmp.
37187         * string/stratcliff.c: Add tests for strcmp and strncmp.
37188         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
37190 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
37192         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
37193         __set_fpscr.
37195 2010-09-30  Andreas Jaeger  <aj@suse.de>
37197         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
37198         (CGROUP_SUPER_MAGIC): Define.
37199         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37200         Handle btrfs and cgroup file systems.
37201         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
37202         Likewise.
37204 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
37206         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
37207         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
37209 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37211         [BZ #12067]
37212         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
37213         trying to locate the ELF header.
37215 2010-09-27  Andreas Schwab  <schwab@redhat.com>
37217         [BZ #11611]
37218         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
37219         Mask out sign-bit copies when constructing f_fsid.
37221 2010-09-24  Petr Baudis <pasky@suse.cz>
37223         * debug/stack_chk_fail_local.c: Add missing licence exception.
37224         * debug/warning-nop.c: Likewise.
37226 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
37228         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
37229         implementing getdents64 using getdents syscall, set d_type if
37230         __ASSUME_GETDENTS32_D_TYPE.
37232 2010-09-16  Andreas Schwab  <schwab@redhat.com>
37234         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
37235         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
37237 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
37239         [BZ #12037]
37240         * posix/unistd.h: Undo change of feature selection for ftruncate from
37241         2010-01-11.
37243 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
37245         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
37246         detection.
37248 2010-09-20  Andreas Schwab  <schwab@redhat.com>
37250         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
37251         fanotify_mark.
37252         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37254 2010-09-14  Andreas Schwab  <schwab@redhat.com>
37256         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
37257         variables after CHECK_SP call.
37258         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
37260 2010-09-13  Andreas Schwab  <schwab@redhat.com>
37261             Ulrich Drepper  <drepper@redhat.com>
37263         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
37264         re-relocationg ld.so.
37265         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
37266         _dl_init_paths call.
37267         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
37268         here anymore.
37270 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
37272         * resolv/res_init.c (__res_vinit): Count the default server we added.
37274 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
37275             Ulrich Drepper  <drepper@redhat.com>
37277         [BZ #11968]
37278         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
37279         (____longjmp_chk): Use %ebx for saving value across system call.
37280         Add unwind info.
37282 2010-09-06  Andreas Schwab  <schwab@redhat.com>
37284         * manual/Makefile: Don't mix pattern rules with normal rules.
37286 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
37288         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
37289         operation.
37290         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
37291         * libio/iofopncook.c (_IO_cookie_init): Likewise.
37292         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
37293         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
37294         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
37295         Likewise.
37297 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
37299         [BZ #11979]
37300         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
37301         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
37303 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
37305         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
37306         * sysdeps/x86_64/addmul_1.S: Likewise.
37307         * sysdeps/x86_64/lshift.S: Likewise.
37308         * sysdeps/x86_64/mul_1.S: Likewise.
37309         * sysdeps/x86_64/rshift.S: Likewise.
37310         * sysdeps/x86_64/sub_n.S: Likewise.
37311         * sysdeps/x86_64/submul_1.S: Likewise.
37313 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37315         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
37316         Define __sched_param instead of SCHED_* and sched_param when
37317         <bits/sched.h> is included with __need_schedparam defined.
37318         * bits/sched.h [__need_schedparam]
37319         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
37320         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
37321         (__defined_schedparam): Define to 1.
37322         (__sched_param): New structure, identical to sched_param.
37323         (__need_schedparam): Undefine.
37325 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
37327         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
37328         (epoll_create1): Declare.
37330         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
37332 2010-08-31  Andreas Schwab  <schwab@redhat.com>
37334         [BZ #7066]
37335         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
37336         shifting retval into place.
37338 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
37340         * nis/rpcsvc/nis.h: Update copyright notice.
37341         * nis/rpcsvc/nis.x: Likewise.
37342         * nis/rpcsvc/nis_callback.h: Likewise.
37343         * nis/rpcsvc/nis_callback.x: Likewise.
37344         * nis/rpcsvc/nis_object.x: Likewise.
37345         * nis/rpcsvc/nis_tags.h: Likewise.
37346         * nis/rpcsvc/yp.h: Likewise.
37347         * nis/rpcsvc/yp.x: Likewise.
37348         * nis/rpcsvc/ypupd.h: Likewise.
37349         * nis/yp_xdr.c: Likewise.
37350         * nis/ypupdate_xdr.c: Likewise.
37352         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
37353         mainly the body of pmap_getport.  Add parameters to specify timeouts.
37354         (pmap_getport): Use __libc_rpc_getport.
37355         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
37356         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
37357         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
37359 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
37361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
37362         fanotify_mark.
37364 2010-08-27  Roland McGrath  <roland@redhat.com>
37366         * sysdeps/i386/i686/multiarch/Makefile
37367         (CFLAGS-varshift.c): New variable.
37369 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
37371         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
37372         * sysdeps/i386/i686/multiarch/varshift.c: New file.
37374         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
37376         * sysdeps/x86_64/strlen.S: Minimal code improvement.
37378 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
37380         * sysdeps/x86_64/strlen.S: Unroll the loop.
37381         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37382         strlen-sse2 strlen-sse2-bsf.
37383         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
37384         __strlen_no_bsf if bit_Slow_BSF is set.
37385         (__strlen_sse42): Removed.
37386         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
37387         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
37389 2010-08-25  Roland McGrath  <roland@redhat.com>
37391         * sysdeps/x86_64/multiarch/varshift.S: File removed.
37392         * sysdeps/x86_64/multiarch/varshift.c: New file.
37393         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
37394         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
37395         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
37396         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
37398 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
37400         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37401         strlen-sse2 strlen-sse2-bsf.
37402         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
37403         __strlen_sse2_bsf if bit_Slow_BSF is unset.
37404         (__strlen_sse2): Removed.
37405         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
37406         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
37407         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
37408         bit_Slow_BSF for Atom.
37409         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
37410         (index_Slow_BSF): Define.
37411         (HAS_SLOW_BSF): Define.
37413 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
37415         [BZ #10851]
37416         * resolv/res_init.c (__res_vinit): When no server address at all
37417         is given default to loopback.
37419 2010-08-24  Roland McGrath  <roland@redhat.com>
37421         * configure.in: Remove config-name.h generation.
37422         * configure: Regenerated.
37423         * config-name.in: File removed.
37424         * scripts/config-uname.sh: New file.
37425         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
37426         ($(objdir)config-name.h): New target.
37428         * sunrpc/rpc_parse.h: Avoid nested comment.
37430 2010-08-24  Richard Henderson  <rth@redhat.com>
37431             Ulrich Drepper  <drepper@redhat.com>
37432             H.J. Lu  <hongjiu.lu@intel.com>
37434         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
37435         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
37436         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
37437         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
37438         _mm_alignr_epi8 with _mm_loadu_si128.
37439         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
37440         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
37441         (__m128i_shift_right): Removed.
37442         * sysdeps/i386/i686/multiarch/varshift.h: New file.
37443         * sysdeps/i386/i686/multiarch/varshift.S: New file.
37444         * sysdeps/x86_64/multiarch/varshift.h: New file.
37445         * sysdeps/x86_64/multiarch/varshift.S: New file.
37447 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
37449         * configure.in: Move assembler checks to before sysdep dir checking.
37451 2010-08-20  Petr Baudis  <pasky@suse.cz>
37453         * LICENSES: Sync the sunrpc license.
37455 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
37457         * sunrpc/auth_des.c: Update copyright notice once again.
37458         * sunrpc/auth_none.c: Likewise.
37459         * sunrpc/auth_unix.c: Likewise.
37460         * sunrpc/authdes_prot.c: Likewise.
37461         * sunrpc/authuxprot.c: Likewise.
37462         * sunrpc/bindrsvprt.c: Likewise.
37463         * sunrpc/clnt_gen.c: Likewise.
37464         * sunrpc/clnt_perr.c: Likewise.
37465         * sunrpc/clnt_raw.c: Likewise.
37466         * sunrpc/clnt_simp.c: Likewise.
37467         * sunrpc/clnt_tcp.c: Likewise.
37468         * sunrpc/clnt_udp.c: Likewise.
37469         * sunrpc/clnt_unix.c: Likewise.
37470         * sunrpc/des_crypt.c: Likewise.
37471         * sunrpc/des_soft.c: Likewise.
37472         * sunrpc/get_myaddr.c: Likewise.
37473         * sunrpc/getrpcport.c: Likewise.
37474         * sunrpc/key_call.c: Likewise.
37475         * sunrpc/key_prot.c: Likewise.
37476         * sunrpc/openchild.c: Likewise.
37477         * sunrpc/pm_getmaps.c: Likewise.
37478         * sunrpc/pm_getport.c: Likewise.
37479         * sunrpc/pmap_clnt.c: Likewise.
37480         * sunrpc/pmap_prot.c: Likewise.
37481         * sunrpc/pmap_prot2.c: Likewise.
37482         * sunrpc/pmap_rmt.c: Likewise.
37483         * sunrpc/rpc/auth.h: Likewise.
37484         * sunrpc/rpc/auth_unix.h: Likewise.
37485         * sunrpc/rpc/clnt.h: Likewise.
37486         * sunrpc/rpc/des_crypt.h: Likewise.
37487         * sunrpc/rpc/key_prot.h: Likewise.
37488         * sunrpc/rpc/netdb.h: Likewise.
37489         * sunrpc/rpc/pmap_clnt.h: Likewise.
37490         * sunrpc/rpc/pmap_prot.h: Likewise.
37491         * sunrpc/rpc/pmap_rmt.h: Likewise.
37492         * sunrpc/rpc/rpc.h: Likewise.
37493         * sunrpc/rpc/rpc_des.h: Likewise.
37494         * sunrpc/rpc/rpc_msg.h: Likewise.
37495         * sunrpc/rpc/svc.h: Likewise.
37496         * sunrpc/rpc/svc_auth.h: Likewise.
37497         * sunrpc/rpc/types.h: Likewise.
37498         * sunrpc/rpc/xdr.h: Likewise.
37499         * sunrpc/rpc_clntout.c: Likewise.
37500         * sunrpc/rpc_cmsg.c: Likewise.
37501         * sunrpc/rpc_common.c: Likewise.
37502         * sunrpc/rpc_cout.c: Likewise.
37503         * sunrpc/rpc_dtable.c: Likewise.
37504         * sunrpc/rpc_hout.c: Likewise.
37505         * sunrpc/rpc_main.c: Likewise.
37506         * sunrpc/rpc_parse.c: Likewise.
37507         * sunrpc/rpc_parse.h: Likewise.
37508         * sunrpc/rpc_prot.c: Likewise.
37509         * sunrpc/rpc_sample.c: Likewise.
37510         * sunrpc/rpc_scan.c: Likewise.
37511         * sunrpc/rpc_scan.h: Likewise.
37512         * sunrpc/rpc_svcout.c: Likewise.
37513         * sunrpc/rpc_tblout.c: Likewise.
37514         * sunrpc/rpc_util.c: Likewise.
37515         * sunrpc/rpc_util.h: Likewise.
37516         * sunrpc/rpcinfo.c: Likewise.
37517         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
37518         * sunrpc/rpcsvc/key_prot.x: Likewise.
37519         * sunrpc/rpcsvc/klm_prot.x: Likewise.
37520         * sunrpc/rpcsvc/mount.x: Likewise.
37521         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
37522         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
37523         * sunrpc/rpcsvc/rex.x: Likewise.
37524         * sunrpc/rpcsvc/rstat.x: Likewise.
37525         * sunrpc/rpcsvc/rusers.x: Likewise.
37526         * sunrpc/rpcsvc/sm_inter.x: Likewise.
37527         * sunrpc/rpcsvc/spray.x: Likewise.
37528         * sunrpc/rpcsvc/yppasswd.x: Likewise.
37529         * sunrpc/rtime.c: Likewise.
37530         * sunrpc/svc.c: Likewise.
37531         * sunrpc/svc_auth.c: Likewise.
37532         * sunrpc/svc_authux.c: Likewise.
37533         * sunrpc/svc_raw.c: Likewise.
37534         * sunrpc/svc_run.c: Likewise.
37535         * sunrpc/svc_simple.c: Likewise.
37536         * sunrpc/svc_tcp.c: Likewise.
37537         * sunrpc/svc_udp.c: Likewise.
37538         * sunrpc/svc_unix.c: Likewise.
37539         * sunrpc/svcauth_des.c: Likewise.
37540         * sunrpc/xcrypt.c: Likewise.
37541         * sunrpc/xdr.c: Likewise.
37542         * sunrpc/xdr_array.c: Likewise.
37543         * sunrpc/xdr_float.c: Likewise.
37544         * sunrpc/xdr_mem.c: Likewise.
37545         * sunrpc/xdr_rec.c: Likewise.
37546         * sunrpc/xdr_ref.c: Likewise.
37547         * sunrpc/xdr_sizeof.c: Likewise.
37548         * sunrpc/xdr_stdio.c: Likewise.
37550         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
37551         handling.
37553 2010-08-19  Andreas Schwab  <schwab@redhat.com>
37555         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
37557 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
37559         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
37560         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
37561         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
37562         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
37563         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
37564         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
37565         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
37566         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
37567         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
37568         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
37569         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
37570         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
37571         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
37572         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
37574 2010-07-26  Anton Blanchard  <anton@samba.org>
37576         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
37577         * malloc/arena.c (heap_trim): Likewise.
37579 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
37581         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
37582         here.  Not...
37583         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
37584         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
37586 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
37588         * sysdeps/i386/elf/Makefile: New file.
37590 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
37592         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
37593         from fanotify_init.
37594         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
37595         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
37597 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
37599         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
37600         of strncasecmp_l.
37601         * sysdeps/multiarch/strcmp.S: Likewise.
37603 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
37605         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
37606         strncase_l-nonascii.
37607         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
37608         Add strncase_l-ssse3.
37609         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
37610         * sysdeps/x86_64/strcmp.S: Likewise.
37611         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
37612         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
37613         * sysdeps/x86_64/strncase.S: New file.
37614         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
37615         * sysdeps/x86_64/strncase_l.S: New file.
37616         * string/Makefile (strop-tests): Add strncasecmp.
37617         * string/test-strncasecmp.c: New file.
37619         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
37620         warning.
37622         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
37623         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
37625 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
37627         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
37629 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
37631         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
37632         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
37633         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
37635 2010-05-01  Alan Modra  <amodra@gmail.com>
37637         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
37638         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
37639         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
37640         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
37641         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
37642         tidying.  Don't tail-call __sigjmp_save for static lib.
37643         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
37644         save location.
37645         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
37646         (CALL_MCOUNT): Add eh info, and nop after bl.
37647         (TAIL_CALL_SYSCALL_ERROR): New macro.
37648         (PSEUDO_RET): Use it.
37649         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
37650         Correct save location of integer regs and cr.
37651         (_dl_profile_resolve): Correct cr save location.  Delete nops
37652         after bl when SHARED.  Reduce cfi size a little by better
37653         placement of cfi directives.
37654         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
37655         make a stack frame.  Instead use parm save area as a temp.
37656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
37657         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
37658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
37659         Don't make a stack frame for parent, use parm save area.
37660         Increase child stack frame to 112 bytes.  Don't save unused reg,
37661         and adjust reg usage.  Set up cfi on error recovery and
37662         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
37663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
37664         (__makecontext): Add dummy nop after jump to exit.
37665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
37666         Use correct parm save area and cr save, reduce stack frame.
37667         Correct cfi for possible PSEUDO_RET frame setup.
37668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
37669         Branch to local label emitted by PSEUDO_RET rather than
37670         __syscall_error.
37672 2010-08-12  Andreas Schwab  <schwab@redhat.com>
37674         [BZ #11904]
37675         * locale/programs/locale.c (print_assignment): New function.
37676         (show_locale_vars): Use it.
37678 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
37680         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
37681         field.
37682         (struct statfs64): Likewise.
37683         (_STATFS_F_FLAGS): Define.
37684         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
37685         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37686         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
37687         (ST_VALID): Define locally.
37688         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
37689         __statvfs_getflags, use the provided value.
37690         * sysdeps/unix/sysv/linux/kernel-features.h: Define
37691         __ASSUME_STATFS_F_FLAGS.
37693         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
37695         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
37696         Add sys/fanotify.h.
37697         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
37698         fanotify_mask for GLIBC_2.13.
37699         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
37700         fanotify_init and fanotify_mark.
37701         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
37702         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
37704         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
37705         Add prlimit.
37706         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
37707         prlimit64 for GLIBC_2.13.
37708         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
37709         prlimit64.
37710         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
37711         syscall.
37712         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
37713         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37714         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
37715         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
37716         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
37717         add prlimit alias.
37718         * sysdeps/unix/sysv/linux/prlimit.c: New file.
37720         [BZ #11903]
37721         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
37722         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
37724         * nss/Makefile: Add rules to build and run tst-nss-test1.
37725         * shlib-versions: Add entry for libnss_test1.
37726         * nss/nss_test1.c: New file.
37727         * nss/tst-nss-test1.c: New file.
37729         * nss/nsswitch.c (__nss_database_custom): Define new variable.
37730         (__nss_configure_lookup): Set appropriate entry in
37731         __nss_configure_lookup to true.
37732         * nss/nsswitch.h: Define enum with indeces of databases in
37733         databases and __nss_database_custom arrays.  Declare
37734         __nss_database_custom.
37735         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
37736         to avoid using nscd when custom rules are installed.
37737         * nss/getXXbyYY_r.c: Likewise.
37738         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
37740         * nss/nss_files/files-parse.c: Whitespace fixes.
37742 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
37744         [BZ #11883]
37745         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
37746         * posix/fnmatch_loop.c: Likewise.
37748 2010-07-17  Andi Kleen  <ak@linux.intel.com>
37750         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
37751         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
37752         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
37753         * Versions.def [GLIBC_2.13]: Add.
37755 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
37757         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
37758         Also fail if tpwd after pwuid call is NULL.
37760 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37762         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
37763         when converting to ms.
37765 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37767         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
37768         EOPNOTSUPP errors with ENOTTY.
37769         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
37770         EOPNOTSUPP errors with ENOTTY.
37772 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
37774         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
37775         Add strcasecmp_l-ssse3.
37776         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
37777         strcasecmp.
37778         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
37779         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
37780         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
37782 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
37784         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
37786         * string/Makefile (strop-tests): Add strcasecmp.
37787         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
37788         strcasecmp_l-nonascii.
37789         (gen-as-const-headers): Add locale-defines.sym.
37790         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
37791         * sysdeps/x86_64/strcasecmp.S: New file.
37792         * sysdeps/x86_64/strcasecmp_l.S: New file.
37793         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
37794         * sysdeps/x86_64/locale-defines.sym: New file.
37795         * string/test-strcasecmp.c: New file.
37797         * string/test-strcasestr.c: Test both ends of the range of characters.
37798         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
37800 2010-07-29  Roland McGrath  <roland@redhat.com>
37802         [BZ #11856]
37803         * manual/locale.texi (Yes-or-No Questions): Fix example code.
37805 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
37807         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
37808         for ld.so.
37810 2010-07-27  Andreas Schwab  <schwab@redhat.com>
37812         * manual/memory.texi (Malloc Tunable Parameters): Document
37813         M_PERTURB.
37815 2010-07-26  Roland McGrath  <roland@redhat.com>
37817         [BZ #11840]
37818         * configure.in (-fgnu89-inline check): Set and substitute
37819         gnu89_inline, not libc_cv_gnu89_inline.
37820         * configure: Regenerated.
37821         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
37823 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
37825         * string/test-strnlen.c: New file.
37826         * string/Makefile (strop-tests): Add strnlen.
37827         * string/tester.c (test_strnlen): Add a few more test cases.
37828         * string/tst-strlen.c: Better error reporting.
37830         * sysdeps/x86_64/strnlen.S: New file.
37832 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
37834         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
37835         lower-latency instructions.
37837 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
37839         * string/test-strcasestr.c: New file.
37840         * string/test-strstr.c: New file.
37841         * string/Makefile (strop-tests): Add strstr and strcasestr.
37842         * string/str-two-way.h: Don't undefine MAX.
37843         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
37845 2010-07-21  Andreas Schwab  <schwab@redhat.com>
37847         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37848         strcasestr-nonascii.
37849         (CFLAGS-strcasestr-nonascii.c): Define.
37850         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
37851         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
37852         Remove unused attribute.
37854 2010-07-20  Roland McGrath  <roland@redhat.com>
37856         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
37857         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
37858         ld.so.cache was broken.  With it, there is no way to disable dsocaps
37859         like LD_HWCAP_MASK can disable hwcaps.
37861 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
37863         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
37865 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
37867         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
37868         call in strcasestr.
37869         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
37870         __strcasestr_sse42_nonascii.
37871         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
37872         strcasestr-nonascii.c.
37873         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
37875 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
37877         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
37878         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
37879         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
37880         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
37882 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
37884         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
37885         fcntl.
37887 2010-07-06  Andreas Schwab  <schwab@redhat.com>
37889         [BZ #11577]
37890         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
37891         dl_signal_cerror.
37893 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
37895         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
37896         _PC_PIPE_BUF using F_GETPIPE_SZ.
37898 2010-07-05  Roland McGrath  <roland@redhat.com>
37900         * manual/arith.texi (Rounding Functions): Fix rint description
37901         implicit in round description.
37903 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
37905         * elf/Makefile: Fix linking for a few tests to make recent linker
37906         happy.
37908 2010-06-30  Andreas Schwab  <schwab@redhat.com>
37910         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
37911         $(common-objpfx)libc_nonshared.a.
37913 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
37915         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
37916         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
37917         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
37918         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
37919         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
37920         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
37921         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
37922         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
37923         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
37924         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
37925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
37926         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
37927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
37928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
37929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
37930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
37931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
37932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
37933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
37934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
37935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
37936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
37937         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
37938         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
37939         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
37940         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
37941         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
37942         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
37943         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
37944         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
37945         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
37946         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
37947         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
37948         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
37949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
37950         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
37951         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
37952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
37953         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
37954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
37955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
37956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
37957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
37958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
37959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
37960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
37961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
37962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
37964 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
37966         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
37967         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
37968         * string/memmove.c (memmove): Renamed to ...
37969         (MEMMOVE): ...this.  Default to memmove.
37970         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
37971         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
37972         (END_CHK): Define.
37973         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37974         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
37975         mempcpy-ssse3-back memmove-ssse3-back.
37976         * sysdeps/x86_64/multiarch/bcopy.S: New file .
37977         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
37978         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
37979         * sysdeps/x86_64/multiarch/memcpy.S: New file.
37980         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
37981         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
37982         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
37983         * sysdeps/x86_64/multiarch/memmove.c: New file.
37984         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
37985         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
37986         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
37987         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
37988         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
37989         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
37990         Define.
37991         (index_Fast_Copy_Backward): Define.
37992         (HAS_ARCH_FEATURE): Define.
37993         (HAS_FAST_REP_STRING): Define.
37994         (HAS_FAST_COPY_BACKWARD): Define.
37996 2010-06-21  Andreas Schwab  <schwab@redhat.com>
37998         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
37999         Restore proper fallback handling.
38001 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
38003         [BZ #11701]
38004         * posix/group_member.c (__group_member): Correct checking loop.
38006         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
38007         OOM in getpwuid_r correctly.  Return error number when the caller
38008         should return, otherwise -1.
38009         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
38010         call returning > 0 value.
38011         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
38013 2010-06-07  Andreas Schwab  <schwab@redhat.com>
38015         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
38016         libc_nonshared.a from targets in modules-names.
38018 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
38020         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
38021         requires it.
38023 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
38025         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
38026         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
38027         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
38028         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
38030 2010-06-02  Andreas Schwab  <schwab@redhat.com>
38032         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
38034 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
38036         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
38037         and F_GETPIPE_SZ.
38038         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
38039         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38040         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38041         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38042         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38043         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
38045 2010-06-14  Roland McGrath  <roland@redhat.com>
38047         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
38049 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
38051         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
38052         __REDIRECT followed by __THROW.
38053         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
38054         * posix/getopt.h (getopt): Likewise.
38056 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
38058         * hurd/lookup-at.c (__file_name_lookup_at): Accept
38059         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
38060         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
38061         in AT_FLAGS.
38062         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
38063         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
38065 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
38067         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
38069 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
38071         [BZ #11640]
38072         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38073         Properly check family and model.
38075 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
38077         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
38079 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
38081         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
38083 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
38085         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
38086         symbol reference.
38088 2010-05-19  Andreas Schwab  <schwab@redhat.com>
38090         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
38091         symbol reference.
38093 2010-05-21  Andreas Schwab  <schwab@redhat.com>
38095         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
38096         and internal_recvmmsg.
38097         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
38098         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
38099         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
38100         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
38102         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
38103         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
38104         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
38106 2010-05-20  Andreas Schwab  <schwab@redhat.com>
38108         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
38110 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
38112         POWER7 optimizations.
38113         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
38114         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
38116 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
38118         * version.h: Update for 2.13 development version.
38120 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
38122         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
38123         exceptions.  Return 0.
38125 2010-05-07  Roland McGrath  <roland@redhat.com>
38127         * elf/ldconfig.c (main): Add a const.
38129 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
38131         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
38132         (args_options): Add no-idn option.
38133         (ahosts_keys_int): Add idn_flags to ai_flags.
38134         (parse_option): Handle 'i' option to clear idn_flags.
38136         * malloc/malloc.c (_int_free): Possible race in the most recently
38137         added check.  Only act on the data if no current modification
38138         happened.
38140 See ChangeLog.17 for earlier changes.