Fix spelling in manual, as in bug 16376
[glibc.git] / ChangeLog
blobb3f7cf39a33ccd073175998e312907b750c8dbe4
1 2013-12-30  Ondřej Bílka  <neleai@seznam.cz>
3         * manual/arith.texi: Fix spelling.
4         * manual/charset.texi: Likewise.
5         * manual/errno.texi: Likewise.
6         * manual/filesys.texi: Likewise.
7         * manual/lang.texi: Likewise.
8         * manual/llio.texi: Likewise.
9         * manual/locale.texi: Likewise.
10         * manual/message.texi: Likewise.
11         * manual/resource.texi: Likewise.
12         * manual/search.texi: Likewise.
13         * manual/setjmp.texi: Likewise.
14         * manual/stdio.texi: Likewise.
15         * manual/string.texi: Likewise.
16         * manual/sysinfo.texi: Likewise.
17         * manual/time.texi: Likewise.
19 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
21         * po/sl.po: New file.
23 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
25         * .gitignore: Add core/.gdbinit/.gdb_history.
27 2013-12-27  Allan McRae  <allan@archlinux.org>
29         [BZ #16369]
30         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
31         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
33 2013-12-24  Brooks Moses  <bmoses@google.com>
35         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
36         all compilers that claim C++98 compliance, not just GCC.
37         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
38         Likewise.
40 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
42         * NEWS: Restore accidentally deleted bug-fix entries.
44 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
45             Ondřej Bílka  <neleai@seznam.cz>
47         [BZ #15073]
48         * malloc/malloc.c (_int_free): Perform sanity check only if we
49         have_lock.
51 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
53         [BZ #12986]
54         * manual/stdio.texi (String Input Conversions): Clarify that character
55         classes are not supported.
57 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
63         [BZ #16337]
64         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
65         Calculate results for small negative arguments directly rather
66         than using reflection formula with special underflow handling.
68         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
69         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
70         sysdeps/unix/bsd/bsd4.4/syscalls.list.
71         (fchflags): Likewise.
72         (revoke): Likewise.
73         (setlogin): Likewise.
74         (sigaltstack): Likewise.
75         (wait4): Likewise.
76         (sigblock): Remove.
77         (sigsetmask): Likewise.
78         (wait3): Likewise.
79         (waitpid): Likewise.
80         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
81         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
82         file.
83         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
84         * sysdeps/unix/bsd/Makefile: ... here.
85         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
86         * sysdeps/unix/bsd/Versions: ... here.
87         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
88         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
89         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
90         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
91         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
92         * sysdeps/unix/bsd/sigblock.c: ... here.
93         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
94         * sysdeps/unix/bsd/sigsetmask.c: ... here.
95         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
96         * sysdeps/unix/bsd/sigvec.c: ... here.
97         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
98         * sysdeps/unix/bsd/tcdrain.c: ... here.
99         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
100         * sysdeps/unix/bsd/tcgetattr.c: ... here.
101         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
102         * sysdeps/unix/bsd/tcsetattr.c: ... here.
103         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
104         * sysdeps/unix/bsd/wait.c: ... here.
105         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
106         * sysdeps/unix/bsd/wait3.c: ... here.
107         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
108         * sysdeps/unix/bsd/waitpid.c: ... here.
110 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
112         [BZ #16356]
113         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
114         round-to-nearest for [!USE_AS_EXPM1L].
115         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
116         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
117         more tests of exp and exp10.  Expect some exp10 tests to miss
118         exceptions or fail in directed rounding modes.
119         * math/auto-libm-test-out: Regenerated.
120         * math/libm-test.inc (exp10_tonearest_test_data): New array.
121         (exp10_test_tonearest): New function.
122         (exp10_towardzero_test_data): New array.
123         (exp10_test_towardzero): New function.
124         (exp10_downward_test_data): New array.
125         (exp10_test_downward): New function.
126         (exp10_upward_test_data): New array.
127         (exp10_test_upward): New function.
128         (main): Call the new functions.
129         * sysdeps/i386/fpu/libm-test-ulps: Update.
130         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
132 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
134         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
135         asinh, atan, atan2, atanh, cbrt, cos and cosh.
136         * math/auto-libm-test-out: Regenerated.
137         * math/libm-test.inc (acosh_test_data): Add more tests.
138         (atanh_test_data): Likewise.
139         (ceil_test_data): Likewise.
140         (copysign_test_data): Likewise.
141         * sysdeps/i386/fpu/libm-test-ulps: Update.
142         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
144         * timezone/checktab.awk: Update from tzcode 2013i.
145         * timezone/private.h: Likewise.
146         * timezone/scheck.c: Likewise.
147         * timezone/tzfile.h: Likewise.
148         * timezone/tzselect.ksh: Likewise.
149         * timezone/zdump.c: Likewise.
150         * timezone/zic.c: Likewise.
152         * math/auto-libm-test-in: Add tests of cpow.
153         * math/auto-libm-test-out: Regenerated.
154         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
155         * * math/gen-auto-libm-tests.c (func_calc_method): Add value
156         mpc_cc_c.
157         (func_calc_desc): Add mpc_cc_c union field.
158         (test_functions): Add cpow.
159         (special_fill_2pi): New function.
160         (special_real_inputs): Add 2pi.
161         (calc_generic_results): Handle mpc_cc_c.
162         * sysdeps/i386/fpu/libm-test-ulps: Update.
163         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
165         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
166         csqrt, ctan and ctanh.
167         * math/auto-libm-test-out: Regenerated.
168         * math/libm-test.inc (TEST_COND_x86_64): New macro.
169         (TEST_COND_x86): Likewise.
170         (ccos_test_data): Use AUTO_TESTS_c_c.
171         (ccosh_test_data): Likewise.
172         (cexp_test_data): Likewise.
173         (clog_test_data): Likewise.
174         (csqrt_test_data): Likewise.
175         (ctan_test_data): Likewise.
176         (ctan_tonearest_test_data): Likewise.
177         (ctan_towardzero_test_data): Likewise.
178         (ctan_downward_test_data): Likewise.
179         (ctan_upward_test_data): Likewise.
180         (ctanh_test_data): Likewise.
181         (ctanh_tonearest_test_data): Likewise.
182         (ctanh_towardzero_test_data): Likewise.
183         (ctanh_downward_test_data): Likewise.
184         (ctanh_upward_test_data): Likewise.
185         * math/gen-auto-libm-tests.c (func_calc_method): Add value
186         mpc_c_c.
187         (func_calc_desc): Add mpc_c_c union field.
188         (FUNC_mpc_c_c): New macro.
189         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
190         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
191         ctanh.
192         (special_fill_min_subnorm_p120): New function.
193         (special_real_inputs): Add min_subnorm_p120.
194         (calc_generic_results): Handle mpc_c_c.
195         * sysdeps/i386/fpu/libm-test-ulps: Update.
196         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
198 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
200         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
201         do_sin_slow): New functions.
202         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
203         cslow2, csloww1, csloww2): Use the new functions.
205         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
206         Use M to change sign of result instead of X.  Assume X is
207         positive.
208         (csloww1): Likewise.
209         (__sin): Adjust.
210         (__cos): Adjust.
212         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
213         arguments A and DA.
214         (__sin): Adjust.
215         (__cos): Likewise.
217         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
218         (__cos): Likewise.
219         (sloww1): Don't adjust sign of DX.
220         (csloww1): Likewise.
221         (sloww2): Use X directly and don't adjust sign of DX.
222         (csloww2): Likewise.
224 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
226         * math/auto-libm-test-in: Add tests of cabs and carg.
227         * math/auto-libm-test-out: Regenerated.
228         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
229         (carg_test_data): Likewise.
230         * math/gen-auto-libm-tests.c (func_calc_method): Add value
231         mpc_c_f.
232         (func_calc_desc): Add mpc_c_f union field.
233         (test_functions): Add cabs and carg.
234         (calc_generic_results): Handle mpc_c_f.
236         * sysdeps/powerpc/powerpc32/libgcc-compat.S
237         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
238         as a macro and a compat symbol.
239         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
240         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
241         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
242         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
243         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
244         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
245         not use .hidden.
246         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
247         Likewise.
248         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
249         Likewise.
250         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
251         Likewise.
252         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
253         Likewise.
254         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
255         Likewise.
256         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
257         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
258         from GLIBC_2.3.2.
260 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
262         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
264 2013-12-19  Paul Pluzhnikov  <ppluzhnikov@google.com>
266         * elf/dl-misc.c (ptr_to_signal_safe_allocator_header): New function.
267         (__signal_safe_memalign, __signal_safe_free): Use it.
268         (__signal_safe_realloc): Likewise.
270 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
272         * manual/texinfo.tex: Update to version 2013-11-26.10 with
273         trailing whitespace removed.
274         * scripts/config.guess: Update to version 2013-11-29.
275         * scripts/config.sub: Update to version 2013-10-01.
277         * math/auto-libm-test-in: Add tests of sincos.
278         * math/auto-libm-test-out: Regenerated.
279         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
280         * math/gen-auto-libm-tests.c (func_calc_method): Add value
281         mpfr_f_11.
282         (func_calc_desc): Add mpfr_f_11 union field.
283         (test_functions): Add sincos.
284         (calc_generic_results): Handle mpfr_f_11.
285         * sysdeps/i386/fpu/libm-test-ulps: Update.
286         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
288 2013-12-19  Andreas Schwab  <schwab@suse.de>
290         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
291         CALL_MCOUNT.
292         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
293         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
294         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
296 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
298         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
299         * sysdeps/i386/fpu/libm-test-ulps: Update.
300         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
302         [BZ #16293]
303         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
304         round-to-nearest mode when using frndint.
305         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
306         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
307         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
308         Likewise.
309         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
310         sinh test to fail.
311         * math/auto-libm-test-out: Regenerated.
312         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
313         (TEST_COND_x86): Likewise.
314         (expm1_tonearest_test_data): New array.
315         (expm1_test_tonearest): New function.
316         (expm1_towardzero_test_data): New array.
317         (expm1_test_towardzero): New function.
318         (expm1_downward_test_data): New array.
319         (expm1_test_downward): New function.
320         (expm1_upward_test_data): New array.
321         (expm1_test_upward): New function.
322         (main): Run the new test functions.
323         * sysdeps/i386/fpu/libm-test-ulps: Update.
324         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
326         * include/features.h: Update comment documenting feature test
327         macros.  Mention _DEFAULT_SOURCE in comment.
328         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
329         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
330         _BSD_SOURCE and _SVID_SOURCE.
331         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
332         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
333         !_SVID_SOURCE]: Likewise.
334         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
335         (__USE_POSIX_IMPLICITLY): Define.
336         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
337         (_POSIX_SOURCE): Undefine and redefine.
338         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
339         (_POSIX_C_SOURCE): Likewise.
340         * manual/creature.texi (_DEFAULT_SOURCE): Document.
341         (Feature Test Macros): Update documentation of default features.
343 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
345         * benchtests/Makefile: Add bench-strtok.
346         * benchtests/bench-strtok.c: New file: strtok benchtest.
348 2013-12-19  Allan McRae  <allan@archlinux.org>
350         * manual/install.texi: Suppress menu for plain text output.
351         * INSTALL: Regenerated.
353 2013-12-18  Andrew Hunter  <ahh@google.com>
355         * sysdeps/generic/ldsodefs.h (__signal_safe_memalign): New prototype.
356         (__signal_safe_malloc, __signal_safe_free): Likewise.
357         (__signal_safe_realloc, __signal_safe_calloc): Likewise.
358         * elf/dl-misc.c (__signal_safe_allocator_header): New struct.
359         (__signal_safe_memalign, __signal_safe_malloc): New function.
360         (__signal_safe_free, __signal_safe_realloc): Likewise.
361         (__signal_safe_calloc): Likewise.
362         * elf/dl-tls.c (allocate_dtv, _dl_clear_dtv): Call signal-safe
363         functions.
364         (_dl_deallocate_tls, _dl_update_slotinfo): Likewise.
366 2013-12-18  Andrew Hunter  <ahh@google.com>
368         * elf/Versions (ld): Add _dl_clear_dtv.
369         * sysdeps/generic/ldsodefs.h (_dl_clear_dtv): New prototype.
370         * elf/dl-tls.c (_dl_clear_dtv): New function.
371         * nptl/allocatestack.c (get_cached_stack): Call _dl_clear_dtv.
373 2013-12-18  Andrew Hunter  <ahh@google.com>
375         * sysdeps/generic/ldsodefs.h (_dl_mask_all_signals): New prototype.
376         (_dl_unmask_signals): Likewise.
377         * sysdeps/mach/hurd/dl-sysdep.h (_dl_mask_all_signals): New stub.
378         (_dl_unmask_all_signals): Likewise.
379         * sysdeps/unix/sysv/linux/dl-sysdep.h (_dl_mask_all_signals): New prototype.
380         (_dl_unmask_all_signals): Likewise.
381         * sysdeps/unix/sysv/linux/dl-sysdep.c (_dl_mask_all_signals): New function.
382         (_dl_unmask_signals): Likewise.
384 2013-12-18  Brooks Moses  <bmoses@google.com>
386         [BZ #15846]
387         * misc/getauxval.c: Include errno.h.
388         (__getauxval): Set errno to ENOENT if the requested type is not
389         found.
390         * misc/sys/auxv.h (getauxval): Document that it may set errno;
391         don't declare with __attribute_const__.
392         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
393         * manual/startup.texi: Document that getauxval sets errno.
395 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
397         * math/auto-libm-test-in: Add tests of jn and yn.
398         * math/auto-libm-test-out: Regenerated.
399         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
400         (yn_test_data): Likewise.
401         * math/gen-auto-libm-tests.c (func_calc_method): Add value
402         mpfr_if_f.
403         (func_calc_desc): Add mpfr_if_f union field.
404         (FUNC_mpfr_if_f): New macro.
405         (test_functions): Add jn and yn.
406         (calc_generic_results): Assert type of second input for
407         mpfr_ff_f.  Handle mpfr_if_f.
408         (output_for_one_input_case): Disable all checking for arguments
409         fitting floating-point types in case of an integer argument.
410         * sysdeps/i386/fpu/libm-test-ulps: Update.
411         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
414         Don't expect fegetround reference in libm.so.
416 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
418         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
419         $(config-cflags-nofma).
421 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
423         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
424         * math/auto-libm-test-out: Regenerated.
426         [BZ #16338]
427         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
428         to determine exponent and adjust argument to have exponent of -1.
429         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
430         log2.
431         * math/auto-libm-test-out: Regenerated.
432         * sysdeps/i386/fpu/libm-test-ulps: Update.
433         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
435 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
437         * manual/probes.texi: Remove cases when per-thread arenas are
438         disabled.
440 2013-12-18  Andreas Schwab  <schwab@suse.de>
442         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
443         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
444         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
445         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
446         * sysdeps/i386/i686/multiarch/Makefile: Update.
447         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
449 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
451         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
452         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
454 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
456         Support TZ transition times < 00:00:00.
457         This is needed for version-3 tz-format files; it supports time
458         stamps past 2037 for America/Godthab (the only entry in the tz
459         database for which this change is relevant).
460         * manual/time.texi (TZ Variable): Document transition times
461         from -167:59:59 through -00:00:01.
462         * time/tzset.c (tz_rule): Time of day is now signed.
463         (__tzset_parse_tz): Parse negative time of day.
465         Document TZ transition times >= 25:00:00.
466         * manual/time.texi (TZ Variable): Document transition times from
467         25:00:00 through 167:59:59.  These are already supported, and this
468         support will help with version-3 tz-format files.
470         * manual/time.texi (TZ Variable): Modernize North America example
471         to reflect current (i.e., 2007-and-later) daylight saving rules.
473         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
475 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
477         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
478         * sysdeps/unix/bsd/bits/stat.h: Likewise.
479         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
480         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
481         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
482         * sysdeps/unix/bsd/bsdstat.h: Likewise.
483         * sysdeps/unix/bsd/clock.c: Likewise.
484         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
485         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
486         * sysdeps/unix/bsd/init-posix.c: Likewise.
487         * sysdeps/unix/bsd/poll.c: Likewise.
488         * sysdeps/unix/bsd/ptsname.c: Likewise.
489         * sysdeps/unix/bsd/seekdir.c: Likewise.
490         * sysdeps/unix/bsd/setegid.c: Likewise.
491         * sysdeps/unix/bsd/seteuid.c: Likewise.
492         * sysdeps/unix/bsd/setgid.c: Likewise.
493         * sysdeps/unix/bsd/setrgid.c: Likewise.
494         * sysdeps/unix/bsd/setruid.c: Likewise.
495         * sysdeps/unix/bsd/setsid.c: Likewise.
496         * sysdeps/unix/bsd/setuid.c: Likewise.
497         * sysdeps/unix/bsd/sigaction.c: Likewise.
498         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
499         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
500         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
501         * sysdeps/unix/bsd/telldir.c: Likewise.
502         * sysdeps/unix/bsd/times.c: Likewise.
503         * sysdeps/unix/bsd/usleep.c: Likewise.
505         * misc/Makefile (install-lib): Remove libbsd-compat.a.
506         ($(objpfx)libbsd-compat.a): Remove rule.
508         * include/features.h (__FAVOR_BSD): Do not define.
509         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
510         features conflicting with POSIX.
511         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
512         (_BSD_SOURCE): Remove description of not being a subset of other
513         feature test macros.
514         * manual/job.texi (getpgrp): Do not document BSD version.
515         (getpgid): Do not document by reference to BSD getpgrp.
516         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
517         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
518         * signal/signal.h [__FAVOR_BSD]: Likewise.
519         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
520         instead of making contents conditional on [__FAVOR_BSD].
521         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
523 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
525         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
527 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
529         [BZ #16314]
530         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
531         values below 2**-450, not 2**-500.
532         * math/auto-libm-test-in: Don't allow spurious underflow from
533         hypot.
534         * math/auto-libm-test-out: Regenerated.
536         [BZ #16316]
537         [BZ #16330]
538         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
539         values of ha and hb and sort them after adjusting subnormal
540         arguments.
541         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
542         Likewise.
543         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
544         values of ea and eb and sort them after adjusting subnormal
545         arguments.
546         * math/auto-libm-test-in: Do not expect some hypot tests of
547         subnormals to fail.  Add more hypot tests.
548         * math/auto-libm-test-out: Regenerated.
550 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
552         [BZ #13304]
553         * sysdeps/sh/s_fma.c: New file.
554         * sysdeps/sh/s_fmaf.c: New file.
555         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
556         version.
557         * sysdeps/sh/Implies: Add sh/soft-fp.
559 2013-12-16  Roland McGrath  <roland@hack.frob.com>
561         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
562         level of indirection to members `objname', `errstring', `malloced'.
563         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
564         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
565         it as the __longjmp argument (just pass 1 instead).
566         (_dl_catch_error): Initialize C with argument pointers and address of
567         volatile local ERRCODE rather than copying values out of C at return.
569 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
571         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
572         * math/auto-libm-test-out: Regenerated.
573         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
574         (hypot_test_data): Likewise.
575         (pow_test_data): Likewise.
576         (pow_tonearest_test_data): Likewise.
577         * math/gen-auto-libm-tests.c (func_calc_method): Add value
578         mpfr_ff_f.
579         (func_calc_desc): Add mpfr_ff_f union field.
580         (FUNC_mpfr_ff_f): New macro.
581         (test_functions): Add atan2, hypot and pow.
582         (special_fill_min): New function.
583         (special_fill_minus_min): Likewise.
584         (special_fill_min_subnorm): Likewise.
585         (special_fill_minus_min_subnorm): Likewise.
586         (special_real_inputs): Add min, -min, min_subnorm and
587         -min_subnorm.
588         (calc_generic_results): Handle mpfr_ff_f.
589         * sysdeps/i386/fpu/libm-test-ulps: Update.
590         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
592 2013-12-16  Will Newton  <will.newton@linaro.org>
594         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
595         (Aligned Memory Blocks): Add documentation for aligned_alloc
596         and suggest it as an alternative to posix_memalign.
597         (Hooks for Malloc): Document __memalign_hook is also called
598         for aligned_alloc.  (Summary of Malloc): Add summary for
599         aligned alloc.  Document __memalign_hook is also called
600         for aligned_alloc.
602 2013-12-16  Will Newton  <will.newton@linaro.org>
604         * manual/memory.texi (Malloc Examples): Clarify default
605         alignment documentation.  Suggest posix_memalign rather
606         than memalign or valloc.
607         (Aligned Memory Blocks): Remove suggestion to use memalign
608         or valloc.  Remove obsolete comment about BSD.
609         Document memalign errno values and mark the function obsolete.
610         Document posix_memalign returned error codes.  Mark valloc
611         as obsolete.  (Hooks for Malloc): __memalign_hook is also
612         called for posix_memalign and valloc.
613         (Summary of Malloc): Add posix_memalign to function summary.
614         __memalign_hook is also called for posix_memalign and valloc.
616 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
618         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
619         TAYLOR_SIN.
620         (__sin): Adjust.
621         (__cos): Likewise.
622         (sloww): Use mynumber union.  Expand ternary operator into
623         if-else statements.
624         (cslow): use mynumber union.
626 2013-12-16  Allan McRae  <allan@archlinux.org>
628         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
629         * configure: Regenerated.
631         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
633         [BZ #14120]
634         * configure.ac: Added --enable-maintainer-mode. Check for
635         autoconf when enabled.
636         * configure: Regenerated.
638         * nscd/nscd.service: New file.
639         * nscd/nscd.tmpfiles: New file.
641 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
643         [BZ #12100]
644         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
645         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
646         * sysdeps/x86_64/multiarch/strstr.c: ... here.
647         (strstr): Add __strstr_sse2_unaligned ifunc.
648         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
649         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
650         (strcasestr): Remove __strcasestr_sse42 ifunc.
651         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
652         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
653         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
655 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
657         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
658         * sysdeps/sh/bits/fenv.h: ... here.
659         * sysdeps/sh/sh4/fpu/bits: Remove directory.
661 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
663         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
665 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
667         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
668         hypotf multiarch implementations.
669         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
670         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
671         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
672         multiarch hypot for PPC64.
673         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
674         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
675         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
676         multiarch hypotf for PPC64.
678 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
680         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
681         modff multiarch implementations.
682         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
683         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
684         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
685         multiarch modf for PPC64.
686         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
687         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
688         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
689         multiarch modff for PPC64.
691 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
693         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
694         and logl multiarch implementations.
695         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
696         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
697         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
698         multiarch logb for PPC64.
699         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
700         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
701         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
702         multiarch logb for PPC64.
703         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
704         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
705         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
706         multiarch logb for PPC64.
708 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
710         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
711         isinff multiarch implementation.
712         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
713         file.
714         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
715         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
716         multiarch isinf for PPC64.
717         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
718         file.
719         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
720         multiarch isinff for PPC64.
722 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
724         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
725         finitef multiarch implementation.
726         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
727         file.
728         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
729         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
730         multiarch finite for PPC64.
731         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
732         file.
733         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
734         multiarch finitef for PPC64.
736 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
738         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
739         lrint multiarch implementation.
740         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
741         file.
742         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
743         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
744         multiarch llrint for PPC64.
745         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
746         multiarch lrint for PPC64.
748 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
750         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
751         copysignf multiarch implementation.
752         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
753         file.
754         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
755         file.
756         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
757         multiarch copysign for PPC64.
758         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
759         multiarch copysignf for PPC64.
761 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
763         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
764         multiarch implementation.
765         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
766         file.
767         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
768         file.
769         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
770         file.
771         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
772         file.
773         multiarch llround for PPC64.
774         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
775         multiarch trunc for PPC64.
776         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
777         multiarch truncf for PPC64.
779 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
781         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
782         multiarch implementation.
783         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
784         file.
785         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
786         file.
787         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
788         file.
789         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
790         file.
791         multiarch llround for PPC64.
792         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
793         multiarch round for PPC64.
794         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
795         multiarch roundf for PPC64.
797 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
799         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
800         multiarch implementation.
801         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
802         file.
803         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
804         file.
805         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
806         file.
807         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
808         file.
809         multiarch llround for PPC64.
810         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
811         multiarch floor for PPC64.
812         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
813         multiarch floorf for PPC64.
815 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
817         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
818         multiarch implementation.
819         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
820         file.
821         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
822         file.
823         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
824         file.
825         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
826         file.
827         multiarch llround for PPC64.
828         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
829         multiarch ceil for PPC64.
830         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
831         multiarch ceilf for PPC64.
833 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
835         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
836         multiarch implementation.
837         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
838         file.
839         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
840         file.
841         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
842         file.
843         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
844         multiarch llround for PPC64.
845         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
846         multiarch lround for PPC64.
848 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
850         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
851         multiarch implementation.
852         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
853         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
854         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
855         file.
856         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
857         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
858         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
859         multiarch isnan for PPC64.
860         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
861         multiarch isnanf for PPC64.
863 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
865         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
866         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
867         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
868         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
869         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
872 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
874         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
875         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
876         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
877         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
879 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
881         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
882         multiarch implementations.
883         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
884         (__libc_ifunc_impl_list): Likewise.
885         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
886         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
887         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
888         multiarch stpcpy for PPC64.
890 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
892         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
893         multiarch implementations.
894         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
895         (__libc_ifunc_impl_list): Likewise.
896         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
897         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
898         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
899         multiarch strcpy for PPC64.
901 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
903         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
904         redefine function name.
905         (_wordcopy_fwd_dest_aligned): Likewise.
906         (_wordcopy_bwd_aligned): Likewise.
907         (_wordcopy_bwd_dest_aligned): Likewise.
908         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
909         multiarch implementations.
910         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
911         (__libc_ifunc_impl_list): Likewise.
912         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
913         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
914         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
915         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
916         multiarch wcscpy for PPC64.
918 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
920         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
921         multiarch implementations.
922         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
923         (__libc_ifunc_impl_list): Likewise.
924         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
925         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
926         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
927         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
928         multiarch wcscpy for PPC64.
930 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
932         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
933         multiarch implementations.
934         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
935         (__libc_ifunc_impl_list): Likewise.
936         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
937         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
938         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
939         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
940         multiarch wcsrchr for PPC64.
942 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
944         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
945         multiarch implementations.
946         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
947         (__libc_ifunc_impl_list): Likewise.
948         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
949         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
950         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
951         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
952         multiarch wcschr for PPC64.
954 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
956         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
957         multiarch implementations.
958         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
959         (__libc_ifunc_impl_list): Likewise.
960         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
961         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
962         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
963         multiarch strchrnul for PPC64.
965 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
967         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
968         implementations.
969         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
970         (__libc_ifunc_impl_list): Likewise.
971         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
972         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
973         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
974         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
975         strchr for PPC64.
977 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
979         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
980         implementations.
981         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
982         (__libc_ifunc_impl_list): Likewise.
983         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
984         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
985         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
986         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
987         strncmp for PPC64.
989 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
991         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
992         multiarch implementations.
993         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
994         (__libc_ifunc_impl_list): Likewise.
995         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
996         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
997         strncasecmp for PPC64.
998         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
999         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
1000         multiarch strncasecmp_l for PPC64.
1002 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1004         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
1005         multiarch implementations.
1006         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1007         (__libc_ifunc_impl_list): Likewise.
1008         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
1009         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
1010         multiarch strcasecmp for PPC64.
1011         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
1012         file.
1013         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
1014         multiarch strcasecmp_l for PPC64.
1016 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1018         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
1019         implementations.
1020         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1021         (__libc_ifunc_impl_list): Likewise.
1022         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
1023         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
1024         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
1025         strnlen for PPC64.
1027 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1029         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
1030         implementations.
1031         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1032         (__libc_ifunc_impl_list): Likewise.
1033         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
1034         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
1035         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
1036         strlen for PPC64.
1038 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1040         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
1041         implementations.
1042         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1043         (__libc_ifunc_impl_list): Likewise.
1044         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
1045         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
1046         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
1047         rawmemrchr for PPC64.
1049 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1051         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
1052         implementation.
1053         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1054         (__libc_ifunc_impl_list): Likewise.
1055         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
1056         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
1057         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
1058         memrchr for PPC64.
1060 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1062         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
1063         implementation.
1064         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1065         (__libc_ifunc_impl_list): Likewise.
1066         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
1067         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
1068         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
1069         memchr for PPC64.
1071 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1073         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
1074         implementation.
1075         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1076         (__libc_ifunc_impl_list): Likewise.
1077         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
1078         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
1079         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
1080         mempcpy for PPC64.
1082 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1084         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
1085         avoid cretion of __bzero symbol.
1086         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
1087         Likewise.
1088         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
1089         Likewise.
1090         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
1091         Likewise.
1092         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
1093         multiarch implementations.
1094         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1095         (__libc_ifunc_impl_list): Likewise.
1096         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
1097         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
1098         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
1099         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
1100         bzero for PPC32.
1101         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
1102         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
1103         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
1104         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
1105         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
1106         memset for PPC64.
1107         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
1109 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1111         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
1112         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
1113         implementations.
1114         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1115         (__libc_ifunc_impl_list): Likewise.
1116         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
1117         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
1118         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
1119         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
1120         memcmp for PPC64.
1122 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1124         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
1125         multiarch for POWER/PPC64.
1126         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1127         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
1128         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
1129         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
1130         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
1131         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
1132         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
1133         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
1134         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
1135         memcpy for PPC64.
1137 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1139         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
1140         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
1141         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
1142         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
1143         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
1144         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
1145         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
1146         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
1147         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
1148         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
1149         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
1150         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
1151         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
1152         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
1153         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
1154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
1155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
1156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
1157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
1158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
1159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
1160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
1162 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1164         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
1166 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
1168         * benchtests/Makefile (bench): Add exp2 and log2.
1169         (LDLIBS-bench-exp2): Add -lm.
1170         (LDLIBS-bench-log2): Likewise.
1171         * benchtests/exp2-inputs: New inputs file.
1172         * benchtests/log2-inputs: New inputs file.
1173         * benchtests/log-inputs: Add new inputs.
1174         * benchtests/tan-inputs: Likewise.
1176 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
1178         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
1179         definition...
1180         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
1181         csloww1, csloww2): ... from here.
1183         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
1184         instead of structures.
1185         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
1186         (POLYNOMIAL): Likewise.
1187         (TAYLOR_SLOW): Likewise.
1188         (__sin): Likewise.
1189         (__cos): Likewise.
1190         (slow1): Likewise.
1191         (slow2): Likewise.
1192         (sloww): Likewise.
1193         (sloww1); Likewise.
1194         (sloww2): Likewise.
1195         (bsloww1): Likewise.
1196         (bsloww2): Likewise.
1197         (cslow2): Likewise.
1198         (csloww): Likewise.
1199         (csloww1): Likewise.
1200         (csloww2): Likewise.
1202 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
1204         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
1205         (__malloc_assert, __libc_realloc, __libc_calloc,
1206         _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
1207         memcpy and memset.
1208         * malloc/hooks.c (realloc_check): Likewise.
1210 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
1212         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
1213         * malloc/arena.c: Remove PER_THREAD conditional.
1214         [!PER_THREAD]: Remove code.
1215         (ptmalloc_unlock_all2): Likewise.
1216         (ptmalloc_init): Likewise.
1217         (_int_new_arena): Likewise.
1218         (arena_get2): Likewise.
1219         * malloc/hooks.c (__malloc_get_state): Likewise.
1220         (__malloc_set_state): Likewise.
1221         * malloc/malloc.c: Likewise.
1222         (struct malloc_state): Likewise.
1223         (struct malloc_par): Likewise.
1224         (__libc_realloc): Likewise.
1225         (__libc_mallopt): Likewise.
1227 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1229         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
1231 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
1233         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
1234         macro to a function.  Check for zero perturb_byte.
1235         (_int_malloc, _int_free): Remove zero perturb_byte checks.
1237 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
1239         * malloc/malloc.c: (force_reg): Remove.
1240         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
1241         _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
1242         force_reg by atomic_forced_read.
1243         * malloc/arena.c (ptmalloc_init): Likewise.
1244         * malloc/hooks.c (top_check): Likewise.
1246 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1248         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1250 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
1252         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1254 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
1256         * math/auto-libm-test-in: Add tests of lgamma.
1257         * math/auto-libm-test-out: Regenerated.
1258         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
1259         (M_LOG_2_SQRT_PIl): Likewise.
1260         (lgamma_test_data): Use AUTO_TESTS_f_f1.
1261         * math/gen-auto-libm-tests.c (func_calc_method): Add value
1262         mpfr_f_f1.
1263         (func_calc_desc): Add mpfr_f_f1 union field.
1264         (ARGS1): New macro.
1265         (ARGS2): Likewise.
1266         (ARGS3): Likewise.
1267         (ARGS4): Likewise.
1268         (RET1): Likewise.
1269         (RET2): Likewise.
1270         (CALC): Likewise.
1271         (FUNC): Likewise.
1272         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
1273         (test_functions): Add lgamma.
1274         (calc_generic_results): Handle mpfr_f_f1.
1275         * sysdeps/i386/fpu/libm-test-ulps: Update.
1276         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1278 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1280         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
1281         __mpn_add_n for PowerPC64/POWER7.
1282         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
1283         __mpn_sub_n for PowerPC64/POWER7.
1285 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1287         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
1288         __mpn_addmul_1 for PowerPC64.
1289         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
1290         __mpn_submul_1 for PowerPC64.
1291         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
1292         for PowerPC64.
1293         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
1294         for PowerPC64.
1296 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
1298         [BZ #15089]
1299         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
1301 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1303         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
1305 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1307         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
1308         add multiarch folders.
1309         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
1310         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
1311         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
1312         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
1313         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
1314         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
1315         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
1316         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
1317         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
1318         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
1319         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
1320         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
1321         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
1322         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
1323         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
1324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
1325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
1327 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1329         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
1330         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
1331         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
1332         New file.
1333         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
1334         New file.
1335         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
1336         multiarch __ieee754_hypot for PowerPC32.
1337         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
1338         New file.
1339         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
1340         New file.
1341         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
1342         multiarch __ieee754_hypotf for PowerPC32.
1344 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1346         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
1347         long_double_symbol only if __logbl is defined.
1348         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
1349         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
1350         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
1351         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
1352         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
1353         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
1354         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
1355         path for implementation.
1356         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
1357         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
1358         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
1359         logb, and logbl multiarch implementations for PowerPC32.
1360         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
1361         file.
1362         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
1363         file.
1364         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
1365         multiarch logb for PowerPC32.
1366         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
1367         file.
1368         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
1369         file.
1370         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
1371         multiarch logbf for PowerPC32.
1372         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
1373         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
1374         file.
1375         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
1376         multiarch logbl implementation for PowerPC32.
1378 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1380         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
1381         and modff multiarch implementations.
1382         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
1383         New file.
1384         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
1385         New file.
1386         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
1387         multiarch modf for PowerPC32.
1388         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
1389         New file.
1390         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
1391         New file.
1392         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
1393         multiarch modff for PowerPC32.
1395 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1397         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
1398         and lrintf multiarch implementations.
1399         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
1400         New file.
1401         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
1402         New file.
1403         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
1404         multiarch lrint for PowerPC32.
1405         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
1406         file: multiarch lrintf for PowerPC32.
1408 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1410         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
1411         and lroundf multiarch implementations.
1412         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
1413         New file.
1414         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
1415         New file.
1416         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
1417         New file.
1418         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
1419         multiarch lround for PowerPC32.
1420         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
1421         file: multiarch lroundf for PowerPC32.
1423 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1425         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
1426         copysign and copysignf multiarch implementations.
1427         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
1428         New file.
1429         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
1430         New file.
1431         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
1432         file: multiarch copysign for PowerPC32.
1433         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
1434         file: multiarch copysignf for PowerPC32.
1436 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1438         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
1439         and truncf multiarch implementations.
1440         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
1441         New file.
1442         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
1443         file.
1444         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
1445         multiarch trunc for PowerPC32.
1446         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
1447         New file.
1448         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
1449         New file.
1450         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
1451         multiarch truncf for PowerPC32.
1453 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1455         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
1456         and roundf multiarch implementations.
1457         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
1458         New file.
1459         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
1460         file.
1461         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
1462         multiarch round for PowerPC32.
1463         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
1464         New file.
1465         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
1466         New file.
1467         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
1468         multiarch roundf for PowerPC32.
1470 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1472         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
1473         and floorf multiarch implementations.
1474         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
1475         New file.
1476         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
1477         file.
1478         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
1479         multiarch floor for PowerPC32.
1480         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
1481         New file.
1482         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
1483         New file.
1484         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
1485         multiarch floorf for PowerPC32.
1487 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1489         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
1490         and ceilf multiarch implementations.
1491         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
1492         New file.
1493         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
1494         file.
1495         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
1496         multiarch ceil for PowerPC32.
1497         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
1498         New file.
1499         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
1500         file.
1501         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
1502         multiarch ceilf for PowerPC32.
1504 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1506         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
1507         is defined.
1508         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
1509         FINITEF is defined.
1510         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
1511         and finitef multiarch implementations.
1512         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
1513         New file.
1514         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
1515         file.
1516         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
1517         multiarch finite for PowerPC32.
1518         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
1519         New file.
1520         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
1521         file: multiarch finitef for PowerPC32.
1523 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1525         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
1526         and isinff multiarch implementations.
1527         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
1528         file.
1529         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
1530         file.
1531         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
1532         multiarch isinf for PowerPC32.
1533         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
1534         New file.
1535         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
1536         multiarch isinff for PowerPC32.
1538 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1540         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
1541         alias when __isnan is defined.
1542         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
1543         and isnanf multiarch implementations.
1544         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
1545         file.
1546         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
1547         file.
1548         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
1549         file.
1550         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
1551         file.
1552         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
1553         multiarch isnan for PowerPC32.
1554         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
1555         New file.
1556         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
1557         New file.
1558         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
1559         multiarch isnanf for PowerPC32.
1561 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1563         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
1564         and sqrtf multiarch implementations.
1565         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
1566         file.
1567         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
1568         file.
1569         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
1570         multiarch sqrt for PowerPC32.
1571         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
1572         file.
1573         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
1574         file.
1575         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
1576         multiarch sqrtf for PowerPC32.
1578 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1580         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
1581         and llroundf multiarch implementations.
1582         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
1583         New file.
1584         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
1585         New file.
1586         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
1587         New file.
1588         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
1589         file: multiarch llround for PowerPC32.
1590         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
1591         file: multiarch llroundf for PowerPC32.
1593 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1595         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
1596         multiarch PowerPC32 fpu implementations.
1597         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
1598         New file.
1599         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
1600         New file.
1601         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
1602         multiarch llrint for PowerPC32.
1603         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
1604         New file.
1605         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
1606         New file.
1607         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
1608         file.
1610 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
1614 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1616         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
1617         file.
1618         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
1619         file.
1620         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
1621         file.
1622         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
1623         multiarch wordcopy for PPC32.
1624         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
1625         wordcopy objects.
1626         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1627         (__libc_ifunc_impl_list): Likewise.
1628         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
1629         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
1630         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
1631         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
1632         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
1633         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
1635 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1637         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
1638         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
1639         file.
1640         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
1641         file.
1642         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
1643         file.
1644         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
1645         multiarch wcscpy for PPC32.
1646         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
1647         multiarch objects.
1648         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1649         (__libc_ifunc_impl_list): Likewise.
1650         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
1651         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
1652         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
1653         sysdeps/powerpc/power6/wcscpy.c.
1655 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1657         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
1658         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
1659         file.
1660         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
1661         file.
1662         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
1663         file.
1664         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
1665         multiarch wcsrchr for PPC32.
1666         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
1667         multiarch objects.
1668         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1669         (__libc_ifunc_impl_list): Likewise.
1670         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
1671         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
1672         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
1673         sysdeps/powerpc/power6/wcsrchr.c.
1675 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1677         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
1678         file.
1679         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
1680         file.
1681         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
1682         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
1683         multiarch wcschr for PPc32.
1684         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
1685         multiarch objects.
1686         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1687         (__libc_ifunc_impl_list): Likewise.
1688         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
1689         * sysdeps/powerpc/power6/wcschr.c: ... to here.
1690         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
1691         sysdeps/powerpc/power6/wcschr.c.
1693 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1695         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
1696         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
1697         file.
1698         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
1699         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
1700         file: multiarch strchr for PPC32.
1701         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
1702         multiarch objects.
1703         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1704         (__libc_ifunc_impl_list): Likewise.
1706 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1708         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
1709         name.
1710         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
1711         file.
1712         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
1713         file.
1714         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
1715         multiarch strchrnul for PPC32.
1716         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
1717         multiarch objects.
1718         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1719         (__libc_ifunc_impl_list): Likewise.
1721 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1723         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
1724         file.
1725         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
1726         multiarch strncasecmp for PPC32.
1727         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
1728         file.
1729         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
1730         multiarch strncasecmp_l for PPC32.
1731         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
1732         strncasecmp multiarch objects.
1733         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1734         (__libc_ifunc_impl_list): Likewise.
1736 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1738         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
1739         file.
1740         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
1741         multiarch strncasecmp for PPC32.
1742         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
1743         New file.
1744         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
1745         multiarch strcasecmp_l for PPC32.
1746         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
1747         multiarch objects.
1748         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1749         (__libc_ifunc_impl_list): Likewise.
1751 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1753         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
1754         file.
1755         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
1756         file.
1757         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
1758         multiarch strncmp for PPC32.
1759         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
1760         multiarch objects.
1761         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1762         (__libc_ifunc_impl_list): Likewise.
1764 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1766         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
1767         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
1768         file.
1769         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
1770         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
1771         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
1772         multiarch objects.
1773         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1774         (__libc_ifunc_impl_list): Likewise.
1776 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1778         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
1779         file.
1780         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
1781         file.
1782         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
1783         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
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/rawmemchr-power7.S: New
1791         file.
1792         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
1793         file.
1794         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
1795         multiarch rawmemchr for PPC32.
1796         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
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/memrchr-power7.S: New
1804         file.
1805         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
1806         file.
1807         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
1808         file: memrchr multiarch for PPC32.
1809         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
1810         multiarch objects.
1811         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1812         (__libc_ifunc_impl_list): Likewise.
1814 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1816         * string/memchr.c (__memchr): Using macro to redefine symbol name.
1817         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
1818         file.
1819         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
1820         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
1821         multiarch memchr for PPC32.
1822         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
1823         multiarch objects.
1824         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1825         (__libc_ifunc_impl_list): Likewise.
1827 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1829         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
1830         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
1831         file.
1832         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
1833         file.
1834         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
1835         file: multiarch mempcpy for PPC32.
1836         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
1837         multiarch objects.
1838         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1839         (__libc_ifunc_impl_list): Likewise.
1841 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1843         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
1844         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
1845         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
1846         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
1847         multiarch bzero for PPC32.
1848         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
1849         file.
1850         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
1851         file.
1852         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
1853         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
1854         file: multiarch memset for PPC32.
1855         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
1856         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
1857         memset multiarch objects.
1858         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1859         (__libc_ifunc_impl_list): Likewise.
1861 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1863         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
1864         file.
1865         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
1866         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
1867         memcmp for PPC32.
1868         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
1869         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
1870         multiarch objects.
1871         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1872         (__libc_ifunc_impl_list): Likewise.
1874 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1876         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
1877         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
1878         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
1879         file.
1880         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
1881         file.
1882         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
1883         file.
1884         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
1885         multiarch memcpy for PPC32.
1886         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
1887         multiarch objects.
1888         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1889         (__libc_ifunc_impl_list): Likewise.
1891 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1893         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
1894         support multiarch for POWER/PPC32.
1895         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
1896         Likewise.
1897         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
1898         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
1899         Implies file to make multiarch folder appers before the fpu and
1900         default folder for power4 configuration.
1902 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
1904         * scripts/bench.pl: Append volatile keyword to type.
1906 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1908         * sysdeps/sh/sotruss-lib.c: New file.
1909         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
1911 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1913         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1915 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
1917         [BZ #6810]
1918         * math/w_tgamma.c: Include <errno.h>.
1919         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
1920         * math/w_tgammaf.c: Include <errno.h>.
1921         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
1922         * math/w_tgammal.c: Include <errno.h>.
1923         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
1924         * math/auto-libm-test-in: Do not allow missing errno on tgamma
1925         underflow.  Add more tgamma tests.
1926         * math/auto-libm-test-out: Regenerated.
1927         * sysdeps/i386/fpu/libm-test-ulps: Update.
1928         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1930         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
1931         sin, sinh, tan, tanh, tgamma, y0 and y1.
1932         * math/auto-libm-test-out: Regenerated.
1933         * math/libm-test.inc (TEST_COND_x86_64): New macro.
1934         (TEST_COND_x86): Likewise.
1935         (M_E2l): Remove macro.
1936         (M_E3l): Likewise.
1937         (M_2_SQRT_PIl): Likewise.
1938         (M_SQRT_PIl): Likewise.
1939         (M_1_DIV_El): Likewise.
1940         (log_test_data): Use AUTO_TESTS_f_f.
1941         (log10_test_data): Likewise.
1942         (log1p_test_data): Likewise.
1943         (log2_test_data): Likewise.
1944         (sin_test_data): Likewise.
1945         (sin_tonearest_test_data): Likewise.
1946         (sin_towardzero_test_data): Likewise.
1947         (sin_downward_test_data): Likewise.
1948         (sin_upward_test_data): Likewise.
1949         (sinh_test_data): Likewise.
1950         (sinh_tonearest_test_data): Likewise.
1951         (sinh_towardzero_test_data): Likewise.
1952         (sinh_downward_test_data): Likewise.
1953         (sinh_upward_test_data): Likewise.
1954         (tan_test_data): Likewise.
1955         (tan_tonearest_test_data): Likewise.
1956         (tan_towardzero_test_data): Likewise.
1957         (tan_downward_test_data): Likewise.
1958         (tan_upward_test_data): Likewise.
1959         (tanh_test_data): Likewise.
1960         (tgamma_test_data): Likewise.
1961         (y0_test_data): Likewise.
1962         (y1_test_data): Likewise.
1963         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
1964         (special_real_inputs): Add pi/4.
1965         * sysdeps/i386/fpu/libm-test-ulps: Update.
1966         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1968 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1970         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
1971         "longjmp_target" static probes.
1972         (__longjmp): Rename to __longjmp_symbol.
1973         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
1974         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
1975         on which longjmp to generate.
1976         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
1977         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
1978         probe.
1979         (__sigsetjmp): Rename to __sigsetjmp_symbol.
1980         (__sigjmp_save): Rename to __sigjmp_save_symbol.
1981         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
1982         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
1983         and __sigjmp_save_symbol based on which sigsetjmp to generated.
1984         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
1985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
1986         __longjmp_symbol based on which __longjmp to generate.
1987         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
1988         probe.
1989         (setjmp): Rename to setjmp_symbol.
1990         (__sigsetjmp): Rename to __sigsetjmp_symbol.
1991         (_setjmp): Rename to _setjmp_symbol.
1992         (__sigsetjmp): Rename to __sigsetjmp_symbol.
1993         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
1994         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
1995         which setjmp to generate.
1996         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
1997         "longjmp_target" static probes.
1999 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
2001         * benchtests/README: Add note about output arguments.
2002         * benchtests/bench-sincos.c: Remove file.
2003         * benchtests/sincos-inputs: New file.
2004         * scripts/bench.pl: Identify output arguments and define
2005         static variables for them.
2007         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
2009         [BZ #15941]
2010         * Makefile (INSTALL): Add install-plain.texi as the primary
2011         dependency.
2012         * manual/install-plain.texi: New file.
2013         * manual/install.texi: Include node directive only for
2014         non-plaintext output.
2016 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
2018         * stdlib/longlong.h: Update from GCC.
2020         [BZ #6807]
2021         [BZ #15901]
2022         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
2023         * math/w_j0f.c (y0f): Likewise.
2024         * math/w_j0l.c (__y0l): Likewise.
2025         * math/w_j1.c (y1): Likewise.
2026         * math/w_j1f.c (y1f): Likewise.
2027         * math/w_j1l.c (__y1l): Likewise
2028         * math/w_jn.c (yn): Likewise.
2029         * math/w_jnf.c (ynf): Likewise.
2030         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
2031         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
2032         value for Bessel function domain errors outside _SVID_ mode.
2033         Adjust sign of return value for yn (negative integer, 0).
2034         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
2035         by zero in return for negative x and set sign appropriately for
2036         negative n.
2037         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
2038         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
2039         * math/libm-test.inc (y0_test_data): Add more tests and adjust
2040         expectations in error cases.
2041         (y1_test_data): Likewise.
2042         (yn_test_data): Likewise.
2043         * sysdeps/i386/fpu/libm-test-ulps: Update.
2044         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2046 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2048         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
2049         "64" to "64-v1".  Add "64-v2".
2050         (abi-64-options): Rename to ...
2051         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
2052         (abi-64-condition): Rename to ...
2053         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
2054         (abi-64-ld-soname): Rename to ...
2055         (abi-64-v1-ld-soname): ... this.
2056         (abi-64-v2-options): Define.
2057         (abi-64-v2-condition): Likewise.
2058         (abi-64-v2-ld-soname): Likewise.
2059         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
2060         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
2061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
2062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
2063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
2065 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2066             Alan Modra  <amodra@gmail.com>
2068         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
2069         New versions for use with the ELFv2 ABI.
2070         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
2071         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
2072         declaration.
2073         (struct La_ppc64v2_retval): Likewise.
2074         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
2075         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
2076         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
2077         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
2078         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
2079         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
2080         Do not save or restore CR.
2081         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
2082         (_dl_profile_resolve): Do no save or restore CR.  Support extended
2083         return values for ELFv2 ABI.  Fix location of FPR return registers.
2084         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
2085         updated values for _CALL_ELF == 2.
2086         (La_regs, La_retval, int_retval): Likewise.
2088 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2090         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
2091         (FRAME_MIN_SIZE_PARM): Likewise.
2092         (FRAME_BACKCHAIN): Likewise.
2093         (FRAME_CR_SAVE): Likewise.
2094         (FRAME_LR_SAVE): Likewise.
2095         (FRAME_TOC_SAVE): Likewise.
2096         (FRAME_PARM_SAVE): Likewise.
2097         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2098         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2099         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2100         (call_mcount_parm_offset): New macro.
2101         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
2102         (PROF): Use symbolic stack frame offsets.
2103         (TAIL_CALL_SYSCALL_ERROR): Likewise.
2104         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
2105         Redefine in terms of FRAME_MIN_SIZE.
2106         (_dl_runtime_resolve): Use symbolic stack frame offsets.
2107         (_dl_profile_resolve): Likewise.  Update comment.
2108         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
2109         symbols stack frame offsets.
2110         (__sigsetjmp): Likewise.
2111         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
2112         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
2113         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
2114         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
2116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
2117         (FRAME_BACKCHAIN): Remove.
2118         (FRAME_CR_SAVE): Likewise.
2119         (FRAME_LR_SAVE): Likewise.
2120         (FRAME_COMPILER_DW): Likewise.
2121         (FRAME_LINKER_DW): Likewise.
2122         (FRAME_TOC_SAVE): Likewise.
2123         (FRAME_PARM_SAVE): Likewise.
2124         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2125         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2126         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
2128         (CHECK_SP): Use symbolic stack frame offsets.
2129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
2130         zone" instead of caller's parameter save area for temp storage.
2131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
2132         Likewise.  Also, use symbolic stack frame offsets.
2133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
2134         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
2135         our own stack frame instead of the caller's.
2136         (__socket): Use symbolic stack frame offsets.
2138 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2139             Alan Modra  <amodra@gmail.com>
2141         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
2142         Define.
2143         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
2144         PPC64_LOCAL_ENTRY_OFFSET): Define.
2145         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
2146         New function.
2147         (elf_machine_fixup_plt): Call it.
2148         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
2149         reloc arguments.
2150         (elf_machine_rela): Update call to elf_machine_plt_conflict.
2151         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2152         _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
2153         r2 before calling target.
2155 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2156             Alan Modra  <amodra@gmail.com>
2158         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
2159         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
2160         versions of macros to support ELFv2 ABI.
2161         (LOCALENTRY): New macro.
2162         (ENTRY, EALIGN): Use it.
2163         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
2164         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
2165         fall through into ENTRY entry point.
2166         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
2167         Only define if _CALL_ELF != 2.
2169         (elf_machine_matches_host): Verify ABI version matches.
2170         (RTLD_START): Use LOCALENTRY.
2171         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
2172         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
2173         (PLT_ENTRY_WORDS): New macro.
2174         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
2175         (elf_machine_runtime_setup): Support ELFv2 ABI.
2176         (elf_machine_fixup_plt): Likewise.
2177         (elf_machine_plt_conflict): Likewise.
2178         (resolve_ifunc): Likewise.
2179         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
2180         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
2181         Likewise.
2182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
2183         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
2184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2185         (makecontext): Support ELFv2 ABI.
2186         * elf/elf.h (EF_PPC64_ABI): Define.
2188 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2190         * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
2191         New assembler macro.
2192         [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
2193         [ASSEMBLER] (ENTRY): ... but instead here ...
2194         [ASSEMBLER] (EALIGN): ... and here.
2195         [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
2196         [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
2197         [!ASSEMBLER] (ENTRY_2): Use it.
2198         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
2199         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
2200         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2201         _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
2202         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
2203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
2204         Use PPC64_LOAD_FUNCPTR.
2206 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2208         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
2210 2013-12-04  Alan Modra  <amodra@gmail.com>
2212         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
2213         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
2214         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
2215         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
2217         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
2218         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
2219         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
2220         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
2221         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
2222         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
2224 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2227         (__makecontext): Fix incorrect CFI when backtracing out of
2228         context created via makecontext.
2229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
2230         (__setcontext): Fix incorrect CFI during switch to new context.
2231         (__novec_setcontext): Likewise.
2233 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
2235         [BZ #4772]
2236         * time/strptime_l.c (__strptime_internal): Allow modifiers
2237         in strptime.
2238         * time/tst-strptime.c (day_tests): Add testcase.
2241 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
2243         * scripts/bench.pl: Skip over blank lines.
2245 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
2247         [BZ #926]
2248         * manual/time.texi (Calendar Time): Clarify what timezone functions
2249         use.
2251 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2253         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2255 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
2257         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
2258         implementation.
2259         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
2260         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
2261         * debug/memset_chk.c (__memset_chk): Likewise.
2262         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
2263         * debug/strncpy_chk.c: Likewise.
2265 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
2267         [BZ #15268]
2268         [BZ #15425]
2269         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
2270         (__ieee754_exp): For possibly underflowing results, check size of
2271         result and force underflow exception if required.
2272         * math/auto-libm-test-in: Add more tests of exp.
2273         * math/auto-libm-test-out: Regenerated.
2274         * sysdeps/i386/fpu/libm-test-ulps: Update.
2275         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2277         [BZ #16283]
2278         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
2279         * math/w_exp2f.c (__exp2f): Likewise.
2280         * math/w_exp2l.c (__exp2l): Likewise.
2281         * math/auto-libm-test-in: Do not allow missing errno on exp2
2282         underflow.
2283         * math/auto-libm-test-out: Regenerated.
2285 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
2287         [BZ #16274]
2288         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
2289         handle filename validation.
2290         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
2291         (do_open): Delete.
2293 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
2295         [BZ #6786]
2296         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
2297         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
2298         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
2299         <float.h>.
2300         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
2301         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
2302         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2303         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
2304         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2305         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
2306         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2307         * math/auto-libm-test-in: Don't allow missing errno from erfc.
2308         Add more erfc tests.
2309         * math/auto-libm-test-out: Regenerated.
2310         * sysdeps/i386/fpu/libm-test-ulps: Update.
2311         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2313         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
2314         exp2, expm1, j0 and j1.
2315         * math/auto-libm-test-out: Regenerated.
2316         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
2317         (erfc_test_data): Likewise.
2318         (exp_test_data): Likewise.
2319         (exp_tonearest_test_data): Likewise.
2320         (exp_towardzero_test_data): Likewise.
2321         (exp_downward_test_data): Likewise.
2322         (exp_upward_test_data): Likewise.
2323         (exp10_test_data): Likewise.
2324         (exp2_test_data): Likewise.
2325         (expm1_test_data): Likewise.
2326         (j0_test_data): Likewise.
2327         (j1_test_data): Likewise.
2328         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
2329         (input_flag_type): Add flag_xfail_rounding.
2330         (input_flags): Add xfail-rounding.
2331         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
2332         (output_for_one_input_case): Handle flag_xfail_rounding.
2333         * sysdeps/i386/fpu/libm-test-ulps: Update.
2334         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2336 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
2338         [BZ #16289]
2339         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
2340         division by 0.
2342 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
2344         [BZ #16195]
2345         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
2346         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
2347         (STAP_PROBE0): New macro.
2348         (STAP_PROBE1): Likewise.
2349         (STAP_PROBE2): Likewise.
2350         (STAP_PROBE3): Likewise.
2351         (STAP_PROBE4): Likewise.
2353 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
2355         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
2357 2013-12-02  Steve Ellcey  <sellcey@mips.com>
2359         * benchtests/Makefile (bench): Add sqrt.
2360         (LDLIBS-bench-sqrt): New.
2361         * benchtests/sqrt-input: New.
2363 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
2365         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
2366         (GAIH_EAI): Likewise.
2367         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
2368         (gaih_inet): Likewise.
2369         (getaddrinfo): Don't use GAIH_EAI.
2371         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
2372         (struct gaih): Remove definition.
2374 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
2376         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
2377         Use HERRNOP directly.
2379 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2381         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2383 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
2385         * math/gen-auto-libm-tests.c (test_functions): Add more
2386         single-argument functions.
2387         (special_fill_pi_2): New function.
2388         (special_fill_minus_pi_2): Likewise.
2389         (special_fill_pi_6): Likewise.
2390         (special_fill_minus_pi_6): Likewise.
2391         (special_fill_pi_3): Likewise.
2392         (special_fill_2pi_3): Likewise.
2393         (special_fill_e): Likewise.
2394         (special_fill_1_e): Likewise.
2395         (special_fill_e_minus_1): Likewise.
2396         (special_real_inputs): Add more special inputs.
2397         (output_for_one_input_case): Do not require ERANGE on underflow to
2398         zero if round-to-nearest result does not underflow to zero, unless
2399         exact results required.
2400         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
2401         atan, atanh, cbrt, cos and cosh.
2402         * math/auto-libm-test-out: Regenerated.
2403         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
2404         (acos_tonearest_test_data): Likewise.
2405         (acos_towardzero_test_data): Likewise.
2406         (acos_downward_test_data): Likewise.
2407         (acos_upward_test_data): Likewise.
2408         (acosh_test_data): Likewise.
2409         (asin_test_data): Likewise.
2410         (asin_tonearest_test_data): Likewise.
2411         (asin_towardzero_test_data): Likewise.
2412         (asin_upward_test_data): Likewise.
2413         (asinh_test_data): Likewise.
2414         (atan_test_data): Likewise.
2415         (atanh_test_data): Likewise.
2416         (cbrt_test_data): Likewise.
2417         (cos_test_data): Likewise.
2418         (cos_tonearest_test_data): Likewise.
2419         (cos_towardzero_test_data): Likewise.
2420         (cos_downward_test_data): Likewise.
2421         (cos_upward_test_data): Likewise.
2422         (cosh_test_data): Likewise.
2423         (cosh_tonearest_test_data): Likewise.
2424         (cosh_towardzero_test_data): Likewise.
2425         (cosh_downward_test_data): Likewise.
2426         (cosh_upward_test_data): Likewise.
2427         * sysdeps/i386/fpu/libm-test-ulps: Update.
2428         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2430 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
2432         [BZ #6787]
2433         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
2434         * math/w_exp10f.c (__exp10f): Likewise.
2435         * math/w_exp10l.c (__exp10l): Likewise.
2436         * math/libm-test.inc (exp10_test_data): Add more tests and expect
2437         errno settings in existing tests.
2439         [BZ #14032]
2440         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
2441         precision control set to double precision.
2442         * sysdeps/i386/fpu/w_sqrt.c: New file.
2443         * math/auto-libm-test-in: Add more tests.
2444         * math/auto-libm-test-out: Update.
2446         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
2447         (sqrt_test_tonearest): New function.
2448         (sqrt_towardzero_test_data): New variable.
2449         (sqrt_test_towardzero): New function.
2450         (sqrt_downward_test_data): New variable.
2451         (sqrt_test_downward): New function.
2452         (sqrt_upward_test_data): New variable.
2453         (sqrt_test_upward): New function.
2454         (main): Call the new functions.
2456         * math/gen-auto-libm-tests.c: New file.
2457         * math/auto-libm-test-in: Likewise.
2458         * math/auto-libm-test-out: New generated file.
2459         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
2460         variables.
2461         (%beautify): Add generated representations of zero.
2462         (top level): Set $auto_input and call parse_auto_input.
2463         (beautify): Remove trailing "f" from hex float constants.
2464         (parse_args): Handle XFAIL_TEST.
2465         (convert_condition): New function.
2466         (or_value): Likewise.
2467         (or_cond_value): Likewise.
2468         (generate_testfile): Handle AUTO_TESTS_* lines.
2469         (parse_auto_input): New function.
2470         * math/libm-test.inc (XFAIL_TEST): New macro.
2471         (ERRNO_UNCHANGED): Update value.
2472         (ERRNO_EDOM): Likewise.
2473         (ERRNO_ERANGE): Likewise.
2474         (IGNORE_RESULT): Likewise.
2475         (TEST_COND_flt_32): New macro.
2476         (TEST_COND_dbl_64): Likewise.
2477         (TEST_COND_ldbl_96_intel): Likewise.
2478         (TEST_COND_ldbl_96_m68k): Likewise.
2479         (TEST_COND_ldbl_128): Likewise.
2480         (TEST_COND_ldbl_128ibm): Likewise.
2481         (TEST_COND_long32): Likewise.
2482         (TEST_COND_long64): Likewise.
2483         (TEST_COND_before_rounding): Likewise.
2484         (TEST_COND_after_rounding): Likewise.
2485         (enable_test): Handle XFAIL_TEST flag.
2486         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
2487         with finite results.
2488         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
2489         auto-libm-test-out.
2491 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
2492             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2494         [BZ #16214]
2495         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
2496         __tls_get_addr_internal instead of __tls_get_offset in order to
2497         avoid GOT pointer dependency.  Make rtld export
2498         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
2499         __tls_get_addr since we are a __tls_get_offset platform.
2500         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
2501         GOT pointer being set up before.
2502         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
2504 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
2506         * manual/math.texi (Errors in Math Functions): Document accuracy
2507         goals.
2509         [BZ #15004]
2510         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
2511         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
2512         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
2513         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
2514         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
2515         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
2516         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
2517         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
2518         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
2519         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
2520         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
2521         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
2522         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
2523         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
2524         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
2525         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
2527         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
2528         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
2529         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
2530         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
2531         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
2532         Likewise.
2533         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
2534         Likewise.
2535         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
2536         Likewise.
2537         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
2538         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
2539         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
2540         atomic-feupdateenv and flt-rounds.
2541         * sysdeps/powerpc/nofpu/Versions (libc): Add
2542         __atomic_feholdexcept, __atomic_feclearexcept,
2543         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
2544         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
2545         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
2546         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
2547         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
2548         here.
2549         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
2550         Update.
2552         * manual/arith.texi (FP Exceptions): Document that exceptions may
2553         not be raised when matherr is used.
2554         (Math Error Reporting): Document overflow in directed rounding
2555         modes.  Document that errno may not be set when finite values are
2556         returned on overflow.  Document intent to set errno on underflow
2557         only for underflow to zero.
2559         [BZ #16271]
2560         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
2561         round-to-nearest then adjust result for other rounding modes.
2562         * include/fenv.h (fegetround): Use libm_hidden_proto.
2563         * math/fegetround.c (fegetround): Use libm_hidden_def.
2564         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
2565         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
2566         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
2567         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
2568         Likewise.
2569         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
2570         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2571         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
2572         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
2574 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
2576         [BZ #16077]
2577         * nss/Versions (libnss_files): Add
2578         _nss_files_gethostbyname3_r.
2579         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
2580         New function.
2581         (HOST_DB_LOOKUP): Remove macro.
2582         (_nss_files_gethostbyname_r): Implement function without the
2583         HOST_DB_LOOKUP macro.
2584         (_nss_files_gethostbyname2_r): Likewise.
2586 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
2588         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
2590 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
2592         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
2593         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
2594         warning.
2596 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2598         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
2599         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
2600         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
2601         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2602         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
2603         __fe_nomask_env_priv and attribute_hidden.
2604         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
2605         (libc_feupdateenv_test_ppc): Likewise.
2606         (libc_feresetround_ppc): Likewise.
2607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2608         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
2609         compat_symbol macro.
2610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2611         (__fe_nomask_env): Likewise.
2612         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
2614 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
2616         * string/Makefile: Remove ifunc tests.
2617         * string/test-string.h: Define TEST_IFUNC.
2618         * string/test-bcopy-ifunc.c: Remove.
2619         * string/test-bzero-ifunc.c: Likewise.
2620         * string/test-memccpy-ifunc.c: Likewise.
2621         * string/test-memchr-ifunc.c: Likewise.
2622         * string/test-memcmp-ifunc.c: Likewise.
2623         * string/test-memcpy-ifunc.c: Likewise.
2624         * string/test-memmem-ifunc.c: Likewise.
2625         * string/test-memmove-ifunc.c: Likewise.
2626         * string/test-mempcpy-ifunc.c: Likewise.
2627         * string/test-memrchr-ifunc.c: Likewise.
2628         * string/test-memset-ifunc.c: Likewise.
2629         * string/test-rawmemchr-ifunc.c: Likewise.
2630         * string/test-stpcpy-ifunc.c: Likewise.
2631         * string/test-stpncpy-ifunc.c: Likewise.
2632         * string/test-strcasecmp-ifunc.c: Likewise.
2633         * string/test-strcasestr-ifunc.c: Likewise.
2634         * string/test-strcat-ifunc.c: Likewise.
2635         * string/test-strchr-ifunc.c: Likewise.
2636         * string/test-strchrnul-ifunc.c: Likewise.
2637         * string/test-strcmp-ifunc.c: Likewise.
2638         * string/test-strcpy-ifunc.c: Likewise.
2639         * string/test-strcspn-ifunc.c: Likewise.
2640         * string/test-strlen-ifunc.c: Likewise.
2641         * string/test-strncasecmp-ifunc.c: Likewise.
2642         * string/test-strncat-ifunc.c: Likewise.
2643         * string/test-strncmp-ifunc.c: Likewise.
2644         * string/test-strncpy-ifunc.c: Likewise.
2645         * string/test-strnlen-ifunc.c: Likewise.
2646         * string/test-strpbrk-ifunc.c: Likewise.
2647         * string/test-strrchr-ifunc.c: Likewise.
2648         * string/test-strspn-ifunc.c: Likewise.
2649         * string/test-strstr-ifunc.c: Likewise.
2651 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
2653         * benchtests/Makefile: Remove ifunc tests.
2654         * benchtests/bench-string.h: Define TEST_IFUNC.
2655         * benchtests/bench-bcopy-ifunc.c: Remove.
2656         * benchtests/bench-bzero-ifunc.c: Likewise.
2657         * benchtests/bench-memccpy-ifunc.c: Likewise.
2658         * benchtests/bench-memchr-ifunc.c: Likewise.
2659         * benchtests/bench-memcmp-ifunc.c: Likewise.
2660         * benchtests/bench-memcpy-ifunc.c: Likewise.
2661         * benchtests/bench-memmem-ifunc.c: Likewise.
2662         * benchtests/bench-memmove-ifunc.c: Likewise.
2663         * benchtests/bench-mempcpy-ifunc.c: Likewise.
2664         * benchtests/bench-memrchr-ifunc.c: Likewise.
2665         * benchtests/bench-memset-ifunc.c: Likewise.
2666         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
2667         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
2668         * benchtests/bench-stpcpy-ifunc.c: Likewise.
2669         * benchtests/bench-stpncpy-ifunc.c: Likewise.
2670         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
2671         * benchtests/bench-strcasestr-ifunc.c: Likewise.
2672         * benchtests/bench-strcat-ifunc.c: Likewise.
2673         * benchtests/bench-strchr-ifunc.c: Likewise.
2674         * benchtests/bench-strchrnul-ifunc.c: Likewise.
2675         * benchtests/bench-strcmp-ifunc.c: Likewise.
2676         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
2677         * benchtests/bench-strcpy-ifunc.c: Likewise.
2678         * benchtests/bench-strcspn-ifunc.c: Likewise.
2679         * benchtests/bench-strlen-ifunc.c: Likewise.
2680         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
2681         * benchtests/bench-strncat-ifunc.c: Likewise.
2682         * benchtests/bench-strncmp-ifunc.c: Likewise.
2683         * benchtests/bench-strncpy-ifunc.c: Likewise.
2684         * benchtests/bench-strnlen-ifunc.c: Likewise.
2685         * benchtests/bench-strpbrk-ifunc.c: Likewise.
2686         * benchtests/bench-strrchr-ifunc.c: Likewise.
2687         * benchtests/bench-strsep-ifunc.c: Likewise.
2688         * benchtests/bench-strspn-ifunc.c: Likewise.
2689         * benchtests/bench-strstr-ifunc.c: Likewise.
2691 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
2693         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
2695 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
2697         * resolv/netdb.h: Use __glibc_reserved instead __unused.
2698         * rt/aio.h: Likewise.
2699         * sysdeps/gnu/bits/utmp.h: Likewise.
2700         * sysdeps/gnu/bits/utmpx.h: Likewise.
2701         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
2702         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
2703         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
2704         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
2705         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
2706         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
2707         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
2708         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
2709         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
2710         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
2711         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
2712         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
2713         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
2714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
2715         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
2716         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
2717         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
2718         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
2719         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
2720         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
2721         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
2722         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
2723         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
2724         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
2725         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
2726         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2727         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
2728         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
2729         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
2730         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
2731         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
2732         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
2733         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
2734         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
2735         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
2736         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
2737         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
2738         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
2739         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
2740         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
2741         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
2742         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
2744 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
2746         [BZ #16245]
2747         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
2748         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
2750 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
2752         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
2753         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
2754         Likewise.
2756 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2758         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
2759         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
2760         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
2761         (__fesetround): Remove define.
2762         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
2763         rounding and exceptions handling.
2764         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
2765         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
2766         (__fe_nomask_env): Likewise.
2767         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
2768         __fegetround instead of fegetround.
2769         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
2770         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
2772 2013-11-21  Roland McGrath  <roland@hack.frob.com>
2774         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
2775         it's there.
2777         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
2779 2013-11-21  Meador Inge  <meadori@codesourcery.com>
2781         [BZ #11157]
2782         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
2783         (encrypt_r): Likewise.
2784         * malloc/obstack.h (obstack_free): Likewise.
2785         * posix/unistd.h (encrypt): Likewise.
2787 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
2789         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
2790         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
2791         DL_CALL_DT_FINI() that call the functions directly.
2792         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
2793         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
2794         * elf/dl-fini.c: Likewise.
2796 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
2798         * malloc/hooks.c (memalign_check): Add alignment rounding.
2799         * malloc/malloc.c (_mid_memalign): New function.
2800         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
2801         Implement by calling _mid_memalign.
2802         * manual/probes.texi (Memory Allocation Probes): Remove
2803         memory_valloc_retry and memory_pvalloc_retry.
2805 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
2807         * locale/programs/locarchive.c (open_archive): Add const
2808         qualifier to ARCHIVEFNAME and copy default fname to
2809         DEFAULT_FNAME.
2811         [BZ #15601]
2812         * libio/tst-widetext.input: Rename Oriya to Odia.
2813         * locale/iso-639.def: Likewise.
2815         * manual/probes.texi (Mathematical Function Probes): Add
2816         documentation for sin, cos, asin and acos probes.
2817         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
2818         (__sin32): Add slowasin probe.
2819         (__cos32): Add slowacos probe.
2820         (__mpsin): Add slowsin probe.
2821         (__mpcos): Add slowcos probe.
2823 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
2825         [BZ #15483]
2826         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
2827         thread-local __sim_exceptions_thread and global
2828         __sim_exceptions_global.
2829         (__sim_disabled_exceptions): Change to thread-local
2830         __sim_disabled_exceptions_thread and global
2831         __sim_disabled_exceptions_global.
2832         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
2833         and global __sim_round_mode_global.
2834         (__simulate_exceptions): Use thread-local floating-point state and
2835         set global state from it as needed.
2836         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
2837         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
2838         __sim_round_mode_thread.
2839         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
2840         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
2841         and global __sim_exceptions_global.
2842         (__sim_disabled_exceptions): Change to thread-local
2843         __sim_disabled_exceptions_thread and global
2844         __sim_disabled_exceptions_global.
2845         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
2846         and global __sim_round_mode_global.
2847         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
2848         (SIM_SET_GLOBAL): Likewise.
2849         * sysdeps/powerpc/soft-fp/sfp-machine.h
2850         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
2851         __sim_round_mode_thread.
2852         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
2853         __sim_disabled_exceptions_thread.
2854         (__sim_exceptions): Change to __sim_exceptions_thread.
2855         (__sim_disabled_exceptions): Change to
2856         __sim_disabled_exceptions_thread.
2857         (__sim_round_mode): Change to __sim_round_mode_thread.
2858         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
2859         thread-local floating-point state and set global state from it as
2860         needed.
2861         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
2862         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
2863         (__sim_disabled_exceptions): Remove extern declaration.
2864         (feenableexcept): Use thread-local floating-point state and set
2865         global state from it as needed.
2866         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
2867         extern declaration.
2868         (__sim_disabled_exceptions): Likewise.
2869         (__sim_round_mode): Likewise.
2870         (__fegetenv): Use thread-local floating-point state.
2871         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
2872         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
2873         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
2874         floating-point state and set global state from it as needed.
2875         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
2876         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2877         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
2878         Likewise.
2879         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
2880         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
2881         Likewise.
2882         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
2883         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
2884         Use __sim_round_mode_thread.
2885         * math/test-fenv-tls.c: New file.
2886         * math/Makefile (tests): Add test-fenv-tls.
2887         ($(objpfx)test-fenv-tls): Depend on
2888         $(common-objpfx)nptl/libpthread.so.
2890 2013-11-19  Andreas Schwab  <schwab@suse.de>
2892         * locale/programs/locale.c (show_info): Decode wordarray elements.
2893         * locale/categories.def (LC_MONETARY): Add element for
2894         _NL_MONETARY_CRNCYSTR.
2895         * locale/C-monetary.c (conversion_rate): New variable.
2896         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
2897         element.
2899 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
2901         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
2902         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
2904 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
2906         * elf/Makefile (tst-auxv): New test.
2907         * elf/tst-auxv.c: New
2908         * elf/rtld.c (dl_main): Adjust AT_EXECFN
2910 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
2912         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
2913         (hidden_proto): Caller changed.
2914         (hidden_tls_proto): New macro.
2915         (libc_hidden_tls_proto): Likewise.
2916         (rtld_hidden_tls_proto): Likewise.
2917         (libm_hidden_tls_proto): Likewise.
2918         (libresolv_hidden_tls_proto): Likewise.
2919         (librt_hidden_tls_proto): Likewise.
2920         (libdl_hidden_tls_proto): Likewise.
2921         (libnss_files_hidden_tls_proto): Likewise.
2922         (libnsl_hidden_tls_proto): Likewise.
2923         (libnss_nisplus_hidden_tls_proto): Likewise.
2924         (libutil_hidden_tls_proto): Likewise.
2926 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
2928         [BZ #10253]
2929         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
2930         (decompose_rpath): Defer expansion to fillin_rpath.
2931         (_dl_init_paths): Pass linkmap to fillin_rpath.
2933 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2935         * benchtests/Makefile: Add strsep.
2936         * benchtests/bench-strsep.c: New file: strsep benchtest.
2937         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
2939 2013-11-18  Andreas Schwab  <schwab@suse.de>
2941         * locale/programs/locale.c (show_info) [case byte]: Check for
2942         '\377' instead of '\177'.
2943         * locale/C-monetary.c (not_available): Always use "\377".
2944         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
2945         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
2946         detect unavailable sign_posn locale elements.
2947         * locale/localeconv.c (__localeconv): For grouping and
2948         mon_grouping handle "\177" and "\377" like no grouping.
2949         (INT_ELEM): New macro.  Use it to set all numeric members.
2950         * locale/programs/ld-monetary.c (monetary_read)
2951         <tok_mon_grouping>: Normalize single -1 to the empty string.
2952         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
2953         Likewise.
2955 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
2957         [BZ #16055]
2958         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
2959         when we match (nil).
2960         * stdio-common/tst-sscanf.c (struct test): Add testcase.
2962 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
2964         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
2965         (NO_TEST_INLINE): Update value.
2966         (ERRNO_UNCHANGED): Likewise.
2967         (ERRNO_EDOM): Likewise.
2968         (ERRNO_ERANGE): Likewise.
2969         (IGNORE_RESULT): Likewise.
2970         (check_float_internal): Check signs of NaN results if
2971         TEST_NAN_SIGN used.
2972         (check_complex): Pass TEST_NAN_SIGN flag through to second
2973         check_float_internal call.
2974         (copysign_test_data): Add tests with quiet NaNs as second
2975         argument.  Use TEST_NAN_SIGN.
2976         (fabs_test_data): Add test of negative quiet NaN argument.  Use
2977         TEST_NAN_SIGN.
2978         (signbit_test_data): Add tests of quiet NaN argument.
2979         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
2981         * math/gen-libm-test.pl (show_exceptions): Take extra argument
2982         $ignore_result.
2983         (parse_args): Handle function results specified as IGNORE.
2984         * math/libm-test.inc (IGNORE_RESULT): New macro.
2985         (check_float_internal): Do not check numerical result if flag
2986         IGNORE_RESULT set.
2987         (check_complex): Pass through IGNORE_RESULT to second
2988         check_float_internal call.
2989         (check_int): Do not check numerical result if flag IGNORE_RESULT
2990         set.
2991         (check_long): Likewise.
2992         (check_bool): Likewise.
2993         (check_longlong): Likewise.
2994         (lrint_test_data): Add tests of infinite and NaN arguments.
2995         (lrint_tonearest_test_data): Likewise.
2996         (lrint_towardzero_test_data): Likewise.
2997         (lrint_downward_test_data): Likewise.
2998         (lrint_upward_test_data): Likewise.
2999         (llrint_test_data): Likewise.
3000         (llrint_tonearest_test_data): Likewise.
3001         (llrint_towardzero_test_data): Likewise.
3002         (llrint_downward_test_data): Likewise.
3003         (llrint_upward_test_data): Likewise.
3004         (lround_test_data): Likewise.
3005         (llround_test_data): Likewise.
3007         * math/libm-test.inc (NO_TEST_INLINE): New macro.
3008         (ERRNO_UNCHANGED): Update value.
3009         (ERRNO_EDOM): Likewise.
3010         (ERRNO_ERANGE): Likewise.
3011         (NO_TEST_INLINE_FLOAT): New macro.
3012         (NO_TEST_INLINE_DOUBLE): Likewise.
3013         (enable_test): New function.
3014         (RUN_TEST_f_f): Check enable_test before running test.
3015         (RUN_TEST_2_f): Likewise.
3016         (RUN_TEST_fff_f): Likewise.
3017         (RUN_TEST_c_f): Likewise.
3018         (RUN_TEST_f_f1): Likewise.
3019         (RUN_TEST_fF_f1): Likewise.
3020         (RUN_TEST_fI_f1): Likewise.
3021         (RUN_TEST_ffI_f1): Likewise.
3022         (RUN_TEST_c_c): Likewise.
3023         (RUN_TEST_cc_c): Likewise.
3024         (RUN_TEST_f_i): Likewise.
3025         (RUN_TEST_f_i_tg): Likewise.
3026         (RUN_TEST_ff_i_tg): Likewise.
3027         (RUN_TEST_f_b): Likewise.
3028         (RUN_TEST_f_b_tg): Likewise.
3029         (RUN_TEST_f_l): Likewise.
3030         (RUN_TEST_f_L): Likewise.
3031         (RUN_TEST_fFF_11): Likewise.
3032         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
3033         conditionals.
3034         (cosh_test_data): Likewise.
3035         (exp_test_data): Likewise.
3036         (expm1_test_data): Likewise.
3037         (hypot_test_data): Likewise.
3038         (pow_test_data): Likewise.
3039         (sinh_test_data): Likewise.
3040         (tanh_test_data): Likewise.
3041         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
3042         flags argument.
3044         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
3045         tests with quiet NaN input and output.
3046         (acosh_test_data): Likewise.
3047         (asin_test_data): Likewise.
3048         (asinh_test_data): Likewise.
3049         (atan_test_data): Likewise.
3050         (atanh_test_data): Likewise.
3051         (atan2_test_data): Likewise.
3052         (cbrt_test_data): Likewise.
3053         (cos_test_data): Likewise.
3054         (cosh_test_data): Likewise.
3055         (erf_test_data): Likewise.
3056         (erfc_test_data): Likewise.
3057         (exp_test_data): Likewise.
3058         (exp10_test_data): Likewise.
3059         (exp2_test_data): Likewise.
3060         (expm1_test_data): Likewise.
3061         (hypot_test_data): Likewise.
3062         (j0_test_data): Likewise.
3063         (j1_test_data): Likewise.
3064         (jn_test_data): Likewise.
3065         (lgamma_test_data): Likewise.
3066         (log_test_data): Likewise.
3067         (log10_test_data): Likewise.
3068         (log1p_test_data): Likewise.
3069         (log2_test_data): Likewise.
3070         (pow_test_data): Likewise.
3071         (scalb_test_data): Likewise.
3072         (sin_test_data): Likewise.
3073         (sincos_test_data): Likewise.
3074         (sinh_test_data): Likewise.
3075         (tan_test_data): Likewise.
3076         (tanh_test_data): Likewise.
3077         (tgamma_test_data): Likewise.
3078         (y0_test_data): Likewise.
3079         (y1_test_data): Likewise.
3080         (yn_test_data): Likewise.
3082         [BZ #16167]
3083         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
3084         argument being NaN and avoid computations with second argument in
3085         that case.
3086         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3087         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
3088         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3090 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
3092         * locale/iso-639.def: Add Chitwani Tharu (the).
3094 2013-11-14  Andreas Schwab  <schwab@suse.de>
3096         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
3097         word instead of empty string.
3099 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3102         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
3103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3104         (__fe_nomask_env): Likewise.
3106 2013-11-13  Steve Ellcey  <sellcey@mips.com>
3108         * benchtests/bench-timing.h: Include time.h.
3110 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
3112         [BZ #15997]
3113         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
3114         to 3.4.0 for x32.
3115         * sysdeps/unix/sysv/linux/configure: Regenerated.
3117 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
3119         [BZ #16151]
3120         * stdlib/strtod_l.c (round_and_return): Do not consider
3121         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
3122         exponent one less than half the least subnormal exponent.
3123         * stdlib/test-strtod-round-data: Add more tests.
3124         * stdlib/tst-strtod-round.c (tests): Regenerated.
3126 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3128         [BZ #14143]
3129         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
3130         (__fe_mask_env): Likewise.
3131         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
3132         libm_hidden_proto and add function prototype.
3133         (__fe_mask_env): Add function prototype.
3134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3135         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
3136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
3137         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
3138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3139         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
3141 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
3143         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
3144         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
3146 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
3148         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
3149         of htab_find_slot().
3151 2013-11-11  David S. Miller  <davem@davemloft.net>
3153         [BZ #16150]
3154         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
3155         symbol in the non-vis3 case in static builds.
3156         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
3157         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
3158         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
3159         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
3161 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
3163         [BZ #387]
3164         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
3165         it is empty.
3167 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3169         * benchtests/Makefile: Add bench-strtod.
3170         * benchtests/bench-strtod.c: New file: strtod benchtest
3172 2013-11-11  Andreas Schwab  <schwab@suse.de>
3174         [BZ #16153]
3175         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
3176         terminating NUL in key length.
3178 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3180         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
3181         Add artificial ODP entry for vDSO symbol for PPC64.
3182         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
3183         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
3185 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
3187         [BZ #15374]
3188         * nss/getent.c (services_keys): Recognize services starting with digit.
3190 2013-11-06  David S. Miller  <davem@davemloft.net>
3192         [BZ #15985]
3193         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
3194         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
3196 2013-11-06  Will Newton  <will.newton@linaro.org>
3198         * manual/memory.texi (Malloc Examples): Remove register
3199         keyword from examples.
3201 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
3203         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
3205 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
3207         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
3208         depending on [__GCC_IEC_559 > 0].
3209         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
3210         depending on [__GCC_IEC_559_COMPLEX > 0].
3212 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
3214         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
3215         to iso-639.def.
3217 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
3219         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
3221 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
3223         [BZ #16112]
3224         * malloc/malloc (malloc_info): Do not handle first bin as
3225         special case.
3227 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
3229         * locale/iso-639.def: Add Central Nahuatl (nhn).
3231 2013-11-01  Bruno Haible  <bruno@clisp.org>
3233         [BZ #7003]
3234         * manual/math.texi (BSD Random): Specify range upper bound as
3235         in POSIX.
3237 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
3239         * locale/iso-639.def: Add Meadow Mari (mhr).
3241 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
3243         [BZ #14752], [BZ #15763]
3244         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
3245         Validate name.
3246         * rt/tst_shm.c: Add test for escaping directory.
3248 2013-10-31  Andreas Schwab  <schwab@suse.de>
3250         [BZ #15917]
3251         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
3252         followed by 'x' as part of digit sequence.
3253         * stdio-common/tst-sscanf.c (double_tests2): New tests.
3255 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
3257         [BZ #16037]
3258         * configure.ac: allow GNU Make 4.0 and greater.
3259         * configure: Regenerated.
3261 2013-10-30  Will Newton  <will.newton@linaro.org>
3263         [BZ #16038]
3264         * malloc/hooks.c (memalign_check): Limit alignment to the
3265         maximum representable power of two.
3266         * malloc/malloc.c (__libc_memalign): Likewise.
3267         * malloc/tst-memalign.c (do_test): Add test for very
3268         large alignment values.
3269         * malloc/tst-posix_memalign.c (do_test): Likewise.
3271 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
3273         [BZ #11087]
3274         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
3275         (munmap_chunk): Likewise.
3276         (mremap_chunk): Likewise.
3278 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
3280         [BZ #15799]
3281         * stdlib/div.c (div): Remove obsolete code.
3282         * stdlib/ldiv.c (ldiv): Likewise.
3283         * stdlib/lldiv.c (lldiv): Likewise.
3285 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
3287         [BZ #16071]
3288         * nss/nss_files/files-XXX.c (get_contents_ret): New
3289         enumerator.
3290         (get_contents): New function.
3291         (internal_getent): Use it.  Expand size of LINEBUFLEN.
3293 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
3295         * configure.in: Moved to ...
3296         * configure.ac: ... here. Change reference to configure.in
3297         to configure.ac.
3298         * sysdeps/arm/preconfigure.ac: ... here.
3299         configure.in to configure.ac.
3300         * sysdeps/gnu/configure.in: Moved to ...
3301         * sysdeps/gnu/configure.ac: ... here.
3302         * sysdeps/i386/configure.in: Moved to ...
3303         * sysdeps/i386/configure.ac: ... here.
3304         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
3305         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
3306         * sysdeps/mach/configure.in: Moved to ...
3307         * sysdeps/mach/configure.ac: ... here.
3308         * sysdeps/mach/hurd/configure.in: Moved to ...
3309         * sysdeps/mach/hurd/configure.ac: ... here.
3310         * sysdeps/powerpc/configure.in: Moved to ...
3311         * sysdeps/powerpc/configure.ac: ... here.
3312         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
3313         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
3314         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
3315         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
3316         * sysdeps/s390/s390-32/configure.in: Moved to ...
3317         * sysdeps/s390/s390-32/configure.ac: ... here.
3318         * sysdeps/s390/s390-64/configure.in: Moved to ...
3319         * sysdeps/s390/s390-64/configure.ac: ... here.
3320         * sysdeps/sh/configure.in: Moved to ...
3321         * sysdeps/sh/configure.ac: ... here.
3322         * sysdeps/sparc/configure.in: Moved to ...
3323         * sysdeps/sparc/configure.ac: ... here.
3324         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
3325         * sysdeps/unix/sysv/linux/configure.ac: ... here.
3326         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
3327         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
3328         * sysdeps/x86_64/configure.in: Moved to ...
3329         * sysdeps/x86_64/configure.ac: ... here.
3330         * sysdeps/x86_64/preconfigure.in: Moved to ...
3331         * sysdeps/x86_64/preconfigure.ac: ... here.
3332         * aclocal.m4: Change reference to configure.in to configure.ac.
3333         * config.h.in: Likewise.
3334         * manual/install.texi: Likewise.
3335         * manual/maint.texi: Likewise.
3336         * Makefile: Likewise.
3337         * malloc/Makefile: Likewise.
3338         * nscd/Makefile: Likewise.
3339         * Makeconfig: Change reference to configure.in and
3340         preconfigure.in to configure.ac and preconfigure.ac
3341         respectively.
3342         * INSTALL: Regenerated.
3343         * configure: Likewise.
3344         * sysdeps/gnu/configure: Likewise.
3345         * sysdeps/i386/configure: Likewise.
3346         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
3347         * sysdeps/mach/configure: Likewise.
3348         * sysdeps/mach/hurd/configure: Likewise.
3349         * sysdeps/powerpc/configure: Likewise.
3350         * sysdeps/powerpc/powerpc32/configure: Likewise.
3351         * sysdeps/powerpc/powerpc64/configure: Likewise.
3352         * sysdeps/s390/s390-32/configure: Likewise.
3353         * sysdeps/s390/s390-64/configure: Likewise.
3354         * sysdeps/sh/configure: Likewise.
3355         * sysdeps/sparc/configure: Likewise.
3356         * sysdeps/unix/sysv/linux/configure: Likewise.
3357         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
3358         * sysdeps/x86_64/configure: Likewise.
3359         * sysdeps/x86_64/preconfigure: Likewise.
3361 2013-10-29  Andreas Schwab  <schwab@suse.de>
3363         * stdio-common/Makefile (tst-swscanf-ENV): Define.
3365 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
3367         * benchtests/pow-inputs: Add new inputs.
3369         * benchtests/exp-inputs: Add new inputs.
3371         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
3372         conditional check for return value.
3373         (__cos32): Likewise.
3375 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3377         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
3378         to provide a boost for large inputs with word alignment.
3379         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
3380         implementation based on optimized PPC64 strcpy.
3381         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
3382         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
3383         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
3384         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
3386 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
3388         [BZ #2801]
3389         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
3391 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
3393         [BZ #14876]
3394         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
3395         * time/tst-strptime.c (day_tests): Add testcase.
3397 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
3399         [BZ #14029]
3400         * manual/pattern.texi: Acknowledge that fnmatch can fail.
3402 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
3404         [BZ #16074]
3405         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
3406         MAP_FAILED on error.
3408 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
3410         [BZ #16072]
3411         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
3412         heap for large requests.
3414 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
3416         [BZ #9954]
3417         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
3418         result if the result has no associated interface.
3419         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
3420         interface for all 127.X.Y.Z addresses.
3422 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
3424         * locale/iso-639.def: Add Ligurian (lij)
3426 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
3428         [BZ #15825]
3429         * sunrpc/rpc_main.c: Document rpcgen -5.
3431 2013-10-19  Michael Stahl  <mstahl@redhat.com>
3433         * elf/rtld.c (do_preload): Print the reason why preloading failed.
3435 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
3437         [BZ #10278]
3438         * posix/glob.c: Match only directories when trailing slash is present.
3439         * posix/tst-gnuglob.c (my_opendir): Do not open files.
3440         (main): Add testcase.
3442 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
3444         [BZ #15670]
3445         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
3447 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
3449         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
3450         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
3451         AUTH_DES and cindex for FIPS 140-2.
3452         (DES Encryption): Add cindex FIPS 46-3.
3454         * locale/locarchive.h (struct locarhandle): Add fname.
3455         * locale/programs/localedef.c (main): Pass ARGV[remaining]
3456         if an optional argument was specified to --list-archive,
3457         otherwise NULL.
3458         * locale/programs/locarchive.c (show_archive_content): Take new
3459         argument fname and pass it via ah.fname to open_archive.
3460         * locale/programs/localedef.h: Update decl.
3461         (open_archive): If AH->fname is non-null, open that file
3462         rather than the default file name, and don't ignore ENOENT.
3463         (create_archive): Set AH.fname to NULL.
3464         (delete_locales_from_archive): Likewise.
3465         (add_locales_to_archive): Likewise.
3466         * locale/programs/locfile.c (write_all_categories): Likewise.
3468 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
3469             Aldy Hernandez  <aldyh@redhat.com>
3471         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
3472         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
3473         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
3474         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
3475         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
3476         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
3477         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
3478         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
3479         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
3480         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
3481         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
3482         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
3483         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
3484         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
3485         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
3486         Likewise.
3487         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
3488         Likewise.
3489         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
3490         Likewise.
3491         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
3492         Likewise.
3493         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
3494         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
3495         Likewise.
3496         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
3497         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
3498         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
3499         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
3500         Likewise.
3501         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
3502         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
3503         * sysdeps/powerpc/preconfigure: Likewise.
3504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
3505         Likewise.
3506         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
3507         Replace contents of file by #include of <fenv_libc.h>.
3508         * sysdeps/powerpc/soft-fp/sfp-machine.h
3509         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
3510         and <sys/prctl.h>.
3511         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
3512         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
3513         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
3514         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
3515         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
3516         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
3517         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
3518         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
3519         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
3520         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
3521         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
3522         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
3523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
3524         Allow copysignl PLT reference to be missing.
3526 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
3527             Joseph Myers  <joseph@codesourcery.com
3529         [BZ #15948]
3530         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
3531         single character.
3532         (add_to_tablewc): Assert sequence of wide characters is nonempty.
3534 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
3536         * elf/tst-tls-dlinfo.c: Don't include tls.h.
3537         * elf/tst-tls1.c: Likewise.
3538         * elf/tst-tls10.h: Likewise.
3539         * elf/tst-tls14.c: Likewise.
3540         * elf/tst-tls2.c: Likewise.
3541         * elf/tst-tls3.c: Likewise.
3542         * elf/tst-tls4.c: Likewise.
3543         * elf/tst-tls5.c: Likewise.
3544         * elf/tst-tls6.c: Likewise.
3545         * elf/tst-tls7.c: Likewise.
3546         * elf/tst-tls8.c: Likewise.
3547         * elf/tst-tls9.c: Likewise.
3548         * elf/tst-tlsmod1.c: Likewise.
3549         * elf/tst-tlsmod13.c: Likewise.
3550         * elf/tst-tlsmod13a.c: Likewise.
3551         * elf/tst-tlsmod14a.c: Likewise.
3552         * elf/tst-tlsmod16a.c: Likewise.
3553         * elf/tst-tlsmod16b.c: Likewise.
3554         * elf/tst-tlsmod2.c: Likewise.
3555         * elf/tst-tlsmod3.c: Likewise.
3556         * elf/tst-tlsmod4.c: Likewise.
3557         * elf/tst-tlsmod5.c: Likewise.
3558         * elf/tst-tlsmod6.c: Likewise.
3560 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
3562         [BZ #12486]
3563         * malloc/malloc.c: remove checks for statistics.
3565 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
3567         [BZ #15277]
3568         * inet/inet_net.c (inet_network): Detect additional invalid strings.
3569         * inet/tst-network.c: Add testcase.
3571 2013-10-17  Andreas Schwab  <schwab@suse.de>
3573         [BZ #15218]
3574         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
3575         to determine canonical name.
3577 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
3579         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
3580         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
3581         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3582         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
3583         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3584         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
3585         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
3586         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
3587         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
3588         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
3589         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
3590         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3591         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3592         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3593         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
3594         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
3595         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3596         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3597         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
3598         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
3599         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3600         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3601         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3602         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
3603         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
3604         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
3605         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
3606         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
3607         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
3608         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
3609         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
3610         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3611         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
3612         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
3613         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3614         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3615         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3616         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3617         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3618         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3619         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3620         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
3621         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
3622         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3623         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
3624         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3625         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3626         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
3627         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
3628         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3629         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
3630         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
3631         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3632         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
3633         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3634         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
3635         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3636         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3638 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
3640         [BZ #16041]
3641         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
3642         make result into a quiet NaN.
3644 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
3646         * soft-fp/adddf3.c: Fix horizontal whitespace.
3647         * soft-fp/addsf3.c: Likewise.
3648         * soft-fp/addtf3.c: Likewise.
3649         * soft-fp/divdf3.c: Likewise.
3650         * soft-fp/divsf3.c: Likewise.
3651         * soft-fp/divtf3.c: Likewise.
3652         * soft-fp/double.h: Likewise.
3653         * soft-fp/eqdf2.c: Likewise.
3654         * soft-fp/eqsf2.c: Likewise.
3655         * soft-fp/eqtf2.c: Likewise.
3656         * soft-fp/extenddftf2.c: Likewise.
3657         * soft-fp/extended.h: Likewise.
3658         * soft-fp/extendsfdf2.c: Likewise.
3659         * soft-fp/extendsftf2.c: Likewise.
3660         * soft-fp/extendxftf2.c: Likewise.
3661         * soft-fp/fixdfdi.c: Likewise.
3662         * soft-fp/fixdfsi.c: Likewise.
3663         * soft-fp/fixdfti.c: Likewise.
3664         * soft-fp/fixsfdi.c: Likewise.
3665         * soft-fp/fixsfsi.c: Likewise.
3666         * soft-fp/fixsfti.c: Likewise.
3667         * soft-fp/fixtfdi.c: Likewise.
3668         * soft-fp/fixtfsi.c: Likewise.
3669         * soft-fp/fixtfti.c: Likewise.
3670         * soft-fp/fixunsdfdi.c: Likewise.
3671         * soft-fp/fixunsdfsi.c: Likewise.
3672         * soft-fp/fixunsdfti.c: Likewise.
3673         * soft-fp/fixunssfdi.c: Likewise.
3674         * soft-fp/fixunssfsi.c: Likewise.
3675         * soft-fp/fixunssfti.c: Likewise.
3676         * soft-fp/fixunstfdi.c: Likewise.
3677         * soft-fp/fixunstfsi.c: Likewise.
3678         * soft-fp/fixunstfti.c: Likewise.
3679         * soft-fp/floatdidf.c: Likewise.
3680         * soft-fp/floatdisf.c: Likewise.
3681         * soft-fp/floatditf.c: Likewise.
3682         * soft-fp/floatsidf.c: Likewise.
3683         * soft-fp/floatsisf.c: Likewise.
3684         * soft-fp/floatsitf.c: Likewise.
3685         * soft-fp/floattidf.c: Likewise.
3686         * soft-fp/floattisf.c: Likewise.
3687         * soft-fp/floattitf.c: Likewise.
3688         * soft-fp/floatundidf.c: Likewise.
3689         * soft-fp/floatundisf.c: Likewise.
3690         * soft-fp/floatunditf.c: Likewise.
3691         * soft-fp/floatunsidf.c: Likewise.
3692         * soft-fp/floatunsisf.c: Likewise.
3693         * soft-fp/floatunsitf.c: Likewise.
3694         * soft-fp/floatuntidf.c: Likewise.
3695         * soft-fp/floatuntisf.c: Likewise.
3696         * soft-fp/floatuntitf.c: Likewise.
3697         * soft-fp/fmadf4.c: Likewise.
3698         * soft-fp/fmasf4.c: Likewise.
3699         * soft-fp/fmatf4.c: Likewise.
3700         * soft-fp/gedf2.c: Likewise.
3701         * soft-fp/gesf2.c: Likewise.
3702         * soft-fp/getf2.c: Likewise.
3703         * soft-fp/ledf2.c: Likewise.
3704         * soft-fp/lesf2.c: Likewise.
3705         * soft-fp/letf2.c: Likewise.
3706         * soft-fp/muldf3.c: Likewise.
3707         * soft-fp/mulsf3.c: Likewise.
3708         * soft-fp/multf3.c: Likewise.
3709         * soft-fp/negdf2.c: Likewise.
3710         * soft-fp/negsf2.c: Likewise.
3711         * soft-fp/negtf2.c: Likewise.
3712         * soft-fp/op-1.h: Likewise.
3713         * soft-fp/op-2.h: Likewise.
3714         * soft-fp/op-4.h: Likewise.
3715         * soft-fp/op-8.h: Likewise.
3716         * soft-fp/op-common.h: Likewise.
3717         * soft-fp/quad.h: Likewise.
3718         * soft-fp/single.h: Likewise.
3719         * soft-fp/soft-fp.h: Likewise.
3720         * soft-fp/sqrtdf2.c: Likewise.
3721         * soft-fp/sqrtsf2.c: Likewise.
3722         * soft-fp/sqrttf2.c: Likewise.
3723         * soft-fp/subdf3.c: Likewise.
3724         * soft-fp/subsf3.c: Likewise.
3725         * soft-fp/subtf3.c: Likewise.
3726         * soft-fp/truncdfsf2.c: Likewise.
3727         * soft-fp/trunctfdf2.c: Likewise.
3728         * soft-fp/trunctfsf2.c: Likewise.
3729         * soft-fp/trunctfxf2.c: Likewise.
3730         * soft-fp/unorddf2.c: Likewise.
3731         * soft-fp/unordsf2.c: Likewise.
3732         * soft-fp/unordtf2.c: Likewise.
3734 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
3736         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
3737         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
3739 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
3741         * elf/dl-libc.c: Clear initfini list after freeing.
3743 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
3745         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
3746         * soft-fp/addsf3.c: Likewise.
3747         * soft-fp/addtf3.c: Likewise.
3748         * soft-fp/divdf3.c: Likewise.
3749         * soft-fp/divsf3.c: Likewise.
3750         * soft-fp/divtf3.c: Likewise.
3751         * soft-fp/double.h: Likewise.
3752         * soft-fp/eqdf2.c: Likewise.
3753         * soft-fp/eqsf2.c: Likewise.
3754         * soft-fp/eqtf2.c: Likewise.
3755         * soft-fp/extenddftf2.c: Likewise.
3756         * soft-fp/extended.h: Likewise.
3757         * soft-fp/extendsfdf2.c: Likewise.
3758         * soft-fp/extendsftf2.c: Likewise.
3759         * soft-fp/extendxftf2.c: Likewise.
3760         * soft-fp/fixdfdi.c: Likewise.
3761         * soft-fp/fixdfsi.c: Likewise.
3762         * soft-fp/fixdfti.c: Likewise.
3763         * soft-fp/fixsfdi.c: Likewise.
3764         * soft-fp/fixsfsi.c: Likewise.
3765         * soft-fp/fixsfti.c: Likewise.
3766         * soft-fp/fixtfdi.c: Likewise.
3767         * soft-fp/fixtfsi.c: Likewise.
3768         * soft-fp/fixtfti.c: Likewise.
3769         * soft-fp/fixunsdfdi.c: Likewise.
3770         * soft-fp/fixunsdfsi.c: Likewise.
3771         * soft-fp/fixunsdfti.c: Likewise.
3772         * soft-fp/fixunssfdi.c: Likewise.
3773         * soft-fp/fixunssfsi.c: Likewise.
3774         * soft-fp/fixunssfti.c: Likewise.
3775         * soft-fp/fixunstfdi.c: Likewise.
3776         * soft-fp/fixunstfsi.c: Likewise.
3777         * soft-fp/fixunstfti.c: Likewise.
3778         * soft-fp/floatdidf.c: Likewise.
3779         * soft-fp/floatdisf.c: Likewise.
3780         * soft-fp/floatditf.c: Likewise.
3781         * soft-fp/floatsidf.c: Likewise.
3782         * soft-fp/floatsisf.c: Likewise.
3783         * soft-fp/floatsitf.c: Likewise.
3784         * soft-fp/floattidf.c: Likewise.
3785         * soft-fp/floattisf.c: Likewise.
3786         * soft-fp/floattitf.c: Likewise.
3787         * soft-fp/floatundidf.c: Likewise.
3788         * soft-fp/floatundisf.c: Likewise.
3789         * soft-fp/floatunsidf.c: Likewise.
3790         * soft-fp/floatunsisf.c: Likewise.
3791         * soft-fp/floatuntidf.c: Likewise.
3792         * soft-fp/floatuntisf.c: Likewise.
3793         * soft-fp/floatuntitf.c: Likewise.
3794         * soft-fp/fmadf4.c: Likewise.
3795         * soft-fp/fmasf4.c: Likewise.
3796         * soft-fp/fmatf4.c: Likewise.
3797         * soft-fp/gedf2.c: Likewise.
3798         * soft-fp/gesf2.c: Likewise.
3799         * soft-fp/getf2.c: Likewise.
3800         * soft-fp/ledf2.c: Likewise.
3801         * soft-fp/lesf2.c: Likewise.
3802         * soft-fp/letf2.c: Likewise.
3803         * soft-fp/muldf3.c: Likewise.
3804         * soft-fp/mulsf3.c: Likewise.
3805         * soft-fp/multf3.c: Likewise.
3806         * soft-fp/negdf2.c: Likewise.
3807         * soft-fp/negsf2.c: Likewise.
3808         * soft-fp/negtf2.c: Likewise.
3809         * soft-fp/op-1.h: Likewise.
3810         * soft-fp/op-2.h: Likewise.
3811         * soft-fp/op-4.h: Likewise.
3812         * soft-fp/op-8.h: Likewise.
3813         * soft-fp/op-common.h: Likewise.
3814         * soft-fp/quad.h: Likewise.
3815         * soft-fp/single.h: Likewise.
3816         * soft-fp/soft-fp.h: Likewise.
3817         * soft-fp/sqrtdf2.c: Likewise.
3818         * soft-fp/sqrtsf2.c: Likewise.
3819         * soft-fp/sqrttf2.c: Likewise.
3820         * soft-fp/subdf3.c: Likewise.
3821         * soft-fp/subsf3.c: Likewise.
3822         * soft-fp/subtf3.c: Likewise.
3823         * soft-fp/truncdfsf2.c: Likewise.
3824         * soft-fp/trunctfdf2.c: Likewise.
3825         * soft-fp/trunctfsf2.c: Likewise.
3826         * soft-fp/trunctfxf2.c: Likewise.
3827         * soft-fp/unorddf2.c: Likewise.
3828         * soft-fp/unordsf2.c: Likewise.
3829         * soft-fp/unordtf2.c: Likewise.
3831 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
3833         [BZ #15672]
3834         * misc/error.c (error_tail): Fix possible buffer overflow.
3836 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
3838         [BZ #13028]
3839         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
3840         address.
3842 2013-10-14  P. J. McDermott  <pj@pehjota.net>
3844         [BZ #832]
3845         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
3846         testing pipefail option.
3848 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
3850         * soft-fp/double.h: Indent preprocessor directives inside #if.
3851         * soft-fp/extended.h: Likewise.
3852         * soft-fp/op-2.h: Likewise.
3853         * soft-fp/op-4.h: Likewise.
3854         * soft-fp/op-common.h: Likewise.
3855         * soft-fp/quad.h: Likewise.
3856         * soft-fp/single.h: Likewise.
3857         * soft-fp/soft-fp.h: Likewise.
3859 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
3861         * iconv/iconv_prog.c: Fix typos.
3862         * stdio-common/psiginfo-data.h: Likewise.
3864 2013-10-12   Reuben Thomas <rrt@sc3d.org>
3866         [BZ #15764]
3867         * locale/setlocale.c: Fix typo.
3869 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
3871         [BZ #16036]
3872         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
3873         signaling NaN arguments.
3874         * soft-fp/unordsf2.c (__unordsf2): Likewise.
3875         * soft-fp/unordtf2.c (__unordtf2): Likewise.
3877         [BZ #14910]
3878         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
3879         unordered operands.
3880         * soft-fp/gesf2.c (__gesf2): Likewise.
3881         * soft-fp/getf2.c (__getf2): Likewise.
3882         * soft-fp/ledf2.c (__ledf2): Likewise.
3883         * soft-fp/lesf2.c (__lesf2): Likewise.
3884         * soft-fp/letf2.c (__letf2): Likewise.
3886         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
3887         * soft-fp/eqsf2.c (__eqsf2): Likewise.
3888         * soft-fp/eqtf2.c (__eqtf2): Likewise.
3889         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
3890         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
3891         * soft-fp/fixdfti.c (__fixdfti): Likewise.
3892         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
3893         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
3894         * soft-fp/fixsfti.c (__fixsfti): Likewise.
3895         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
3896         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
3897         * soft-fp/fixtfti.c (__fixtfti): Likewise.
3898         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
3899         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
3900         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
3901         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
3902         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
3903         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
3904         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
3905         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
3906         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
3907         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
3908         * soft-fp/floatdisf.c (__floatdisf): Likewise.
3909         * soft-fp/floatsisf.c (__floatsisf): Likewise.
3910         * soft-fp/floattidf.c (__floattidf): Likewise.
3911         * soft-fp/floattisf.c (__floattisf): Likewise.
3912         * soft-fp/floattitf.c (__floattitf): Likewise.
3913         * soft-fp/floatundidf.c (__floatundidf): Likewise.
3914         * soft-fp/floatundisf.c (__floatundisf): Likewise.
3915         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
3916         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
3917         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
3918         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
3919         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
3920         * soft-fp/gesf2.c (__gesf2): Likewise.
3921         * soft-fp/getf2.c (__getf2): Likewise.
3922         * soft-fp/ledf2.c (__ledf2): Likewise.
3923         * soft-fp/lesf2.c (__lesf2): Likewise.
3924         * soft-fp/letf2.c (__letf2): Likewise.
3926         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
3927         Undefine and redefine.
3928         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
3929         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
3930         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
3931         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
3932         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3933         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
3934         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3935         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
3936         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3937         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
3938         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3939         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
3940         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3941         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
3942         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3944         [BZ #16032]
3945         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
3946         without decrementing exponent if mantissa >= that for the
3947         denominator, not >.
3948         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
3949         denominator, not >.  Decrement exponent in < case instead of
3950         incrementing in >= case.
3951         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
3952         without decrementing exponent if mantissa >= that for the
3953         denominator, not >.
3955         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
3956         computing saturated result for unsigned overflow.
3958 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
3959             Jeff Law  <law@redhat.com>
3961         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
3962         (atan2Mp): Add systemtap probe marker.
3963         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
3964         (__ieee754_log): Add systemtap probe marker.
3965         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
3966         (atanMp): Add systemtap probe marker.
3967         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
3968         (tanMp): Add systemtap probe marker.
3969         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
3970         (__slowexp): Add systemtap probe marker.
3971         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
3972         (__slowpow): Add systemtap probe marker.
3973         * manual/probes.texi: Document probes.
3975 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
3977         [BZ #15362]
3978         * libio/fileops.c (_IO_new_file_write): Return count of bytes
3979         written.
3980         (_IO_new_file_xsputn): Don't return EOF if nothing has been
3981         written.
3982         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
3983         written to buffer but not flushed.
3984         * libio/iofwrite_u.c:  Likewise.
3985         * libio/iopadn.c:  Return bytes returned even if EOF was
3986         encountered.
3987         * libio/iowpadn.c:  Likewise.
3988         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
3989         if _IO_padn does not write the whole buffer.
3990         [!COMPILE_WPRINTF] (PAD): Likewise.
3992 2013-10-10  David S. Miller  <davem@davemloft.net>
3994         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
3995         directory block.
3997 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
3999         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
4000         instead of FSF address.
4001         * soft-fp/fixdfti.c: Likewise.
4002         * soft-fp/fixsfti.c: Likewise.
4003         * soft-fp/fixtfti.c: Likewise.
4004         * soft-fp/fixunsdfti.c: Likewise.
4005         * soft-fp/fixunssfti.c: Likewise.
4006         * soft-fp/fixunstfti.c: Likewise.
4007         * soft-fp/floattidf.c: Likewise.
4008         * soft-fp/floattisf.c: Likewise.
4009         * soft-fp/floattitf.c: Likewise.
4010         * soft-fp/floatuntidf.c: Likewise.
4011         * soft-fp/floatuntisf.c: Likewise.
4012         * soft-fp/floatuntitf.c: Likewise.
4013         * soft-fp/trunctfxf2.c: Likewise.
4015         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
4016         * soft-fp/fixdfti.c: Likewise.
4017         * soft-fp/fixsfti.c: Likewise.
4018         * soft-fp/fixtfti.c: Likewise.
4019         * soft-fp/fixunsdfti.c: Likewise.
4020         * soft-fp/fixunssfti.c: Likewise.
4021         * soft-fp/fixunstfti.c: Likewise.
4022         * soft-fp/floattidf.c: Likewise.
4023         * soft-fp/floattisf.c: Likewise.
4024         * soft-fp/floattitf.c: Likewise.
4025         * soft-fp/floatuntidf.c: Likewise.
4026         * soft-fp/floatuntisf.c: Likewise.
4027         * soft-fp/floatuntitf.c: Likewise.
4028         * soft-fp/trunctfxf2.c: Likewise.
4030 2013-10-10  David S. Miller  <davem@davemloft.net>
4032         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4034 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
4036         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
4037         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
4038         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
4039         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
4040         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
4041         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
4042         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
4044         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
4045         for NaNs before doing comparisons on argument.
4046         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
4047         Likewise.
4049 2013-10-10  Will Newton  <will.newton@linaro.org>
4051         * malloc/hooks.c (memalign_check): Ensure the value of bytes
4052         passed to _int_memalign does not overflow.
4054 2013-10-10  Torvald Riegel  <triegel@redhat.com>
4056         * scripts/bench.pl: Add include-sources directive.
4057         * benchtests/README: Update documentation.
4059 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
4061         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
4062         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
4063         instead of FP_INIT_ROUNDMODE.
4064         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
4065         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
4067         [BZ #16034]
4068         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
4069         copy class of input value.
4070         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
4071         not handle exceptions.
4072         * soft-fp/negsf2.c (__negsf2): Likewise.
4073         * soft-fp/negtf2.c (__negtf2): Likewise.
4074         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
4076 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
4078         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
4079         semicolon.  From Linux kernel.
4081 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
4083         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
4085 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
4087         [BZ #156]
4088         * manual/socket.texi: Added statement about buffer
4089         for gethostbyname2_r.
4091 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
4093         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
4094         Use .p2align directive instead, throughout.
4095         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4096         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
4097         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
4098         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4099         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4100         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
4101         * sysdeps/x86_64/strchr.S: Likewise.
4102         * sysdeps/x86_64/strrchr.S: Likewise.
4104 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
4106         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
4108         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
4110         * sysdeps/generic/math_private.h (__mpsin1): Remove
4111         declaration.
4112         (__mpcos1): Likewise.
4113         (__mpsin): New argument __range_reduce.
4114         (__mpcos): Likewise.
4115         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4116         (slow): Use __mpsin and __mpcos.
4117         (slow1): Likewise.
4118         (slow2): Likewise.
4119         (sloww): Likewise.
4120         (sloww1): Likewise.
4121         (sloww2): Likewise.
4122         (bsloww): Likewise.
4123         (bsloww1): Likewise.
4124         (bsloww2): Likewise.
4125         (cslow2): Likewise.
4126         (csloww): Likewise.
4127         (csloww1): Likewise.
4128         (csloww2): Likewise.
4129         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
4130         range_reduce.  Merge in __mpsin1.
4131         (__mpcos): Likewise.
4132         (__mpsin1): Remove.
4133         (__mpcos1): Likewise.
4135 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
4137         * locale/loadlocale.c (_nl_intern_locale_data): Use
4138         LOCFILE_ALIGNED_P.
4139         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
4140         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
4141         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
4142         obstack data is appropriately aligned.
4143         (obstack_int32_grow_fast): Likewise.
4144         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
4145         * locale/programs/locfile.c (add_locale_uint32): Likewise.
4146         (add_locale_uint32_array): Likewise.
4148 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
4150         * benchtests/Makefile: Remove ARGLIST and RET variables.
4151         ($(objpfx)bench-%.c): Pass only function name to the script.
4152         * benchtests/README: Update documentation.
4153         * benchtests/acos-inputs: Add new directives.
4154         * benchtests/acosh-inputs: Likewise.
4155         * benchtests/asin-inputs: Likewise.
4156         * benchtests/asinh-inputs: Likewise.
4157         * benchtests/atan-inputs: Likewise.
4158         * benchtests/atanh-inputs: Likewise.
4159         * benchtests/cos-inputs: Likewise.
4160         * benchtests/cosh-inputs: Likewise.
4161         * benchtests/exp-inputs: Likewise.
4162         * benchtests/log-inputs: Likewise.
4163         * benchtests/pow-inputs: Likewise.
4164         * benchtests/rint-inputs: Likewise.
4165         * benchtests/sin-inputs: Likewise.
4166         * benchtests/sinh-inputs: Likewise.
4167         * benchtests/tan-inputs: Likewise.
4168         * benchtests/tanh-inputs: Likewise.
4169         * scripts/bench.pl: Add support for new directives.
4171 2013-10-07  Alan Modra  <amodra@gmail.com>
4173         * README: Fix careless merge.
4175 2013-10-05  Alan Modra  <amodra@gmail.com>
4177         * NEWS: Mention powerpc64le support and bugs fixed.
4178         * README: Both big-endian and little-endian powerpc64 supported.
4180 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4182         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
4183         _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
4184         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
4185         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
4187 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
4189         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
4190         match prototype.
4192 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
4194         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
4195         Move -mhard-float appending from
4196         ports/sysdeps/powerpc/powerpc32/Makefile.
4197         [$(with-fp) = yes] (ASFLAGS): Likewise.
4198         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
4199         * sysdeps/powerpc/nofpu: Move directory from
4200         ports/sysdeps/powerpc/nofpu.
4201         * sysdeps/powerpc/soft-fp: Move directory from
4202         ports/sysdeps/powerpc/soft-fp.
4203         * sysdeps/powerpc/powerpc32/405: Move directory from
4204         ports/sysdeps/powerpc/powerpc32/405.
4205         * sysdeps/powerpc/powerpc32/440: Move directory from
4206         ports/sysdeps/powerpc/powerpc32/440.
4207         * sysdeps/powerpc/powerpc32/464: Move directory from
4208         ports/sysdeps/powerpc/powerpc32/464.
4209         * sysdeps/powerpc/powerpc32/476: Move directory from
4210         ports/sysdeps/powerpc/powerpc32/476.
4211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
4212         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
4213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
4214         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
4215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
4216         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
4217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
4218         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
4219         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
4220         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
4221         * README: Update for powerpc-*-linux-gnu software floating point
4222         support in libc.
4224         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
4225         case to powerpc/powerpc32*.
4226         * sysdeps/unix/sysv/linux/configure: Regenerated.
4228         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
4229         (_FPU_MASK_OM): Define as 0x04.
4230         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
4231         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
4232         0x00c10080.
4233         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
4234         0x0000003c.
4235         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
4237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
4238         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4239         getcontext_e500.
4240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
4241         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4242         setcontext_e500.
4243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
4244         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
4245         and setcontext_e500.
4247 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
4249         * locale/iso-3166.def: Update iso-1366.def and related occurrences
4251 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
4253         * manual/threads.texi (Default Thread Attributes): Fix typo.
4255 2013-10-04  Will Newton  <will.newton@linaro.org>
4257         * malloc/Makefile: Add tst-memalign.
4258         * malloc/tst-memalign.c: New file.
4260         * malloc/tst-posix_memalign.c: Add comments.
4261         (do_test): Add comments and call free on all potentially
4262         allocated pointers. Add space after cast.
4264         * malloc/tst-pvalloc.c: Add comments.
4265         (do_test): Add comments and call free on all potentially
4266         allocated pointers. Remove duplicate check for NULL pointer.
4267         Add space after cast.
4269         * malloc/tst-valloc.c: Add comments.
4270         (do_test): Add comments and call free on all potentially
4271         allocated pointers. Remove duplicate check for NULL pointer.
4272         Add space after cast.
4274 2013-10-04  Alan Modra  <amodra@gmail.com>
4276         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4277         Use stdint types in rather than __attribute__((mode())).
4278         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4280 2013-10-04  Alan Modra  <amodra@gmail.com>
4282         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4283         Correct handling of unaligned relocs for little-endian.
4284         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4286 2013-10-04  Alan Modra  <amodra@gmail.com>
4288         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
4289         * configure: Regenerate.
4290         * nptl/shlib-versions: Powerpc*le starts at 2.18.
4291         * shlib-versions: Likewise.
4293 2013-10-04  Alan Modra  <amodra@gmail.com>
4295         * string/tester.c (test_memrchr): Increment reported test cycle.
4297 2013-10-04  Alan Modra  <amodra@gmail.com>
4299         * string/test-memcpy.c (do_one_test): When reporting errors, print
4300         string address and don't overrun end of string.
4302 2013-10-04  Alan Modra  <amodra@gmail.com>
4304         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
4305         insrdi.  Make better use of reg selection to speed exit slightly.
4306         Schedule entry path a little better.  Remove useless "are we done"
4307         checks on entry to main loop.  Handle wrapping around zero address.
4308         Correct main loop count.  Handle single left-over word from main
4309         loop inline rather than by using loop_small.  Remove extra word
4310         case in loop_small caused by wrong loop count.  Add little-endian
4311         support.
4312         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
4313         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
4314         cache hint.
4315         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
4316         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
4317         support.  Avoid rlwimi.
4318         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
4320 2013-10-04  Alan Modra  <amodra@gmail.com>
4322         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
4323         insrdi.  Formatting.
4324         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
4325         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4326         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
4327         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
4328         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4329         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
4331 2013-10-04  Alan Modra  <amodra@gmail.com>
4333         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
4334         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4335         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
4336         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
4337         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
4338         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4339         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4340         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
4341         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
4342         use of regs.  Use power7 mtocrf.  Tidy function tails.
4344 2013-10-04  Alan Modra  <amodra@gmail.com>
4346         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
4347         Formatting.  Consistently use rXXX register defines or rN defines.
4348         Use early exit labels that avoid restoring unused non-volatile regs.
4349         Make cr field use more consistent with rWORDn compares.  Rename
4350         regs used as shift registers for unaligned loop, using rN defines
4351         for short lifetime/multiple use regs.
4352         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4353         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
4354         addi 1,1,64 to pop stack frame.  Simplify return value code.
4355         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4357 2013-10-04  Alan Modra  <amodra@gmail.com>
4359         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
4360         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
4361         rather than rlwimi.
4362         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
4363         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
4364         little-endian support.  Correct typos.
4365         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
4366         rather than rlwimi.
4367         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
4368         in loop and entry code to keep "and." results.
4369         (strchr): Add little-endian support.  Comment.  Move cntlzd
4370         earlier in tail.
4371         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
4373 2013-10-04  Alan Modra  <amodra@gmail.com>
4375         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
4376         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
4377         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
4378         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
4380 2013-10-04  Alan Modra  <amodra@gmail.com>
4382         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
4383         (rTMP): Define as r11.
4384         (strcmp): Add little-endian support.  Optimise tail.
4385         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
4386         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4387         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
4388         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
4389         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
4390         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4391         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
4393 2013-10-04  Alan Modra  <amodra@gmail.com>
4395         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
4396         little-endian support.  Remove unnecessary "are we done" tests.
4397         Handle "s" wrapping around zero and extremely large "size".
4398         Correct main loop count.  Handle single left-over word from main
4399         loop inline rather than by using small_loop.  Correct comments.
4400         Delete "zero" tail, use "end_max" instead.
4401         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
4403 2013-10-04  Alan Modra  <amodra@gmail.com>
4405         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
4406         support.  Don't branch over align.
4407         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
4408         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
4409         support.  Rearrange tmp reg use to suit.  Comment.
4410         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
4412 2013-10-04  Alan Modra  <amodra@gmail.com>
4414         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
4416 2013-10-04  Alan Modra  <amodra@gmail.com>
4418         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
4419         conditional form of branch and link when obtaining pc.
4420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
4422 2013-10-04  Alan Modra  <amodra@gmail.com>
4424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
4425         HIWORD/LOWORD.
4426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
4427         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
4429 2013-10-04  Alan Modra  <amodra@gmail.com>
4431         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
4432         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
4433         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
4434         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
4435         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
4436         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
4437         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
4438         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
4439         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
4440         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
4442 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
4443             Alistair Popple <alistair@ozlabs.au.ibm.com>
4444             Alan Modra <amodra@gmail.com>
4446         [BZ #15723]
4447         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
4448         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
4449         _dl_hwcap access for little-endian.
4450         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
4451         destroy vmx regs when saving unaligned.
4452         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
4453         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
4454         destroy vmx regs when saving unaligned.
4456 2013-10-04  Alan Modra  <amodra@gmail.com>
4458         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
4459         Don't use a union to pack hi/low value.
4461 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
4463         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
4464         for little-endian.
4465         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
4466         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
4467         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
4468         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
4469         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
4471 2013-10-04  Alan Modra  <amodra@gmail.com>
4473         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
4474         constants to usual value for .cst8 section, and remove redundant
4475         high address load.
4476         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
4477         constant for 0x1p52.  Load little-endian words of double from
4478         correct stack offsets.
4480 2013-10-04  Alan Modra  <amodra@gmail.com>
4482         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
4483         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
4484         words of double from correct stack offsets.
4485         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
4486         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
4487         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
4488         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
4489         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
4490         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
4491         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
4492         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
4493         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
4494         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
4495         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
4496         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
4497         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4498         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4499         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4500         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
4501         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
4503 2013-10-04  Alan Modra  <amodra@gmail.com>
4505         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
4506         64-bit int/double union.
4507         (_FPU_SETCW): Likewise.
4508         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
4509         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
4511 2013-10-04  Alan Modra  <amodra@gmail.com>
4513         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
4514         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
4516 2013-10-04  Alan Modra  <amodra@gmail.com>
4518         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
4519         use vector int constants.
4520         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
4522 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
4524         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
4525         array with long long.
4526         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
4527         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
4528         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
4529         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
4530         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
4531         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
4532         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
4533         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
4534         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
4535         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
4536         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
4537         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
4538         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
4540 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
4542         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
4543         (__signbit): Likewise.  Correct for little-endian.
4544         (__signbitl): Call __signbit.
4545         (lrint): Correct for little-endian.
4546         (lrintf): Call lrint.
4548 2013-10-04  Alan Modra  <amodra@gmail.com>
4550         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
4551         union 32-bit int array member with 64-bit int array.
4552         (t515, tm256): Double rather than long double.
4553         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
4555 2013-10-04  Alan Modra  <amodra@gmail.com>
4557         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
4558         Delete.
4559         (IEEE854_LONG_DOUBLE_BIAS): Delete.
4560         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
4561         version of math_ldbl.h.
4563 2013-10-04  Alan Modra  <amodra@gmail.com>
4565         [BZ #15734], [BZ #15735]
4566         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
4567         all uses of ieee875 long double macros and unions.  Simplify test
4568         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
4569         ldbl_extract_mantissa value for ix,iy exponents.  Properly
4570         normalize after ldbl_extract_mantissa, and don't add hidden bit
4571         already handled.  Don't treat low word of ieee854 mantissa like
4572         low word of IBM long double and mask off bit when testing for
4573         zero.
4574         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
4575         all uses of ieee875 long double macros and unions.  Simplify tests
4576         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
4577         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
4578         two1022, instead use their values.  Recognise that tests for large
4579         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
4580         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
4581         Rewrite all uses of ieee875 long double macros and unions.  Simplify
4582         test for 0.0L and nan.  Correct negation.
4583         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
4584         ieee875 long double macros and unions.  Correct output for large
4585         magnitude x.  Correct absolute value calculation.
4586         (__erfcl): Likewise.
4587         * math/libm-test.inc: Add tests for errors discovered in IBM long
4588         double versions of fmodl, remainderl, erfl and erfcl.
4590 2013-10-04  Alan Modra  <amodra@gmail.com>
4592         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
4593         all uses of ieee854 long double macros and unions.  Simplify tests
4594         for long doubles that are fully specified by the high double.
4595         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
4596         Likewise.
4597         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
4598         Remove dead code too.
4599         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
4600         (__ieee754_ynl): Likewise.
4601         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
4602         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
4603         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
4604         Remove dead code too.
4605         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
4606         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
4607         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
4608         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
4609         Simplify.
4610         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
4611         Simplify.
4612         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
4613         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
4614         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
4615         Comment on variable precision.
4616         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
4617         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4618         Likewise.
4619         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
4620         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
4621         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
4622         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
4623         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
4625 2013-10-04  Alan Modra  <amodra@gmail.com>
4627         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
4628         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
4629         all uses of ieee854 long double macros and unions.
4630         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
4631         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
4632         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
4633         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
4634         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
4635         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
4636         Likewise.
4637         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
4638         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
4639         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
4640         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
4641         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
4642         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
4643         Simplify sign and nan test too.
4644         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
4645         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
4646         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
4647         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
4648         Likewise.
4649         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
4650         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
4651         Likewise.
4652         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4653         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
4654         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
4655         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
4656         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
4657         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
4659 2013-10-04  Alan Modra  <amodra@gmail.com>
4661         * stdio-common/printf_size.c (__printf_size): Don't use
4662         union ieee854_long_double in fpnum union.
4663         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
4664         signbit macro to retrieve sign from long double.
4665         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
4666         retrieve sign from long double.
4667         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
4668         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
4669         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
4670         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
4671         * math/test-misc.c (main): Don't use union ieee854_long_double.
4673 2013-10-04  Alan Modra  <amodra@gmail.com>
4675         [BZ #15680]
4676         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
4677         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
4678         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
4679         calculation.  Remove unnecessary test for denormal exponent.
4680         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
4681         Correct handling of denormals.  Avoid undefined shift behaviour.
4682         Correct normalisation of low mantissa when low double is denormal.
4683         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
4684         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
4685         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
4686         Correct normalisation of low mantissa.  Test for overflow of high
4687         mantissa and normalise.
4688         (ldbl_nearbyint): Use more readable constant for two52.
4689         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
4690         (__mpn_construct_long_double): Fix test for overflow of high
4691         mantissa and correct normalisation.  Avoid undefined shift.
4693 2013-10-04  Alan Modra  <amodra@gmail.com>
4695         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
4696         (union ibm_extended_long_double): Define as an array of ieee754_double.
4697         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
4698         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
4699         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
4700         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
4701         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4702         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
4703         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4704         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
4705         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
4706         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
4707         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
4709 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
4711         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
4712         page size instead of calling getpagesize.
4714         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
4715         (LOCFILE_ALIGN_MASK): Likewise.
4716         (LOCFILE_ALIGN_UP): Likewise.
4717         (LOCFILE_ALIGNED_P): Likewise.
4718         * locale/programs/ld-collate.c (collate_output): Use the new
4719         macros instead of __alignof__ (int32_t).
4720         * locale/weight.h (findidx): Likewise.
4722 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
4724         [BZ #431]
4725         * manual/string.texi: Fix strncat and wcsncat.
4727 2013-10-03  Brooks Moses  <bmoses@google.com>
4729         [BZ #15915]
4730         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
4731         * Makerules: ...here, and adjust associated comments.
4733 2013-10-02  Will Newton  <will.newton@linaro.org>
4735         * malloc/Makefile: Add tst-pvalloc.
4736         * malloc/tst-pvalloc.c: New file.
4738 2013-10-02  Will Newton  <will.newton@linaro.org>
4740         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
4741         improve test coverage.
4743 2013-10-02  Will Newton  <will.newton@linaro.org>
4745         * malloc/Makefile: Add tst-posix_memalign.
4746         * malloc/tst-posix_memalign.c: New file.
4748 2013-10-01  Eric Blake  <eblake@redhat.com>
4750         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
4751         Use __THROWNL rather than __THROW on static functions.
4753 2013-09-30  Petr Machata  <pmachata@redhat.com>
4755         * elf/elf.h (R_AARCH64_ABS16): New macro.
4756         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
4757         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
4758         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
4759         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
4760         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
4761         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
4762         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
4763         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
4764         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
4765         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
4766         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
4767         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
4768         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
4769         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
4770         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
4771         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
4772         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
4773         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
4774         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
4775         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
4776         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
4777         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
4778         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
4779         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
4780         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
4781         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
4782         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
4783         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
4784         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
4785         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
4786         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
4787         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
4788         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
4789         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
4790         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
4791         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
4792         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
4793         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
4794         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
4795         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
4796         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
4797         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
4798         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
4799         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
4800         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
4801         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
4802         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
4803         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
4804         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
4805         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
4806         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
4807         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
4808         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
4809         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
4810         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
4811         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
4812         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
4813         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
4814         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
4815         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
4816         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
4817         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
4818         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
4819         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
4820         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
4821         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
4822         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
4823         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
4824         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
4825         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
4826         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
4827         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
4828         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
4829         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
4830         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
4831         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
4832         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
4833         (R_AARCH64_TLSDESC_LDR): Likewise.
4834         (R_AARCH64_TLSDESC_ADD): Likewise.
4835         (R_AARCH64_TLSDESC_CALL): Likewise.
4837 2013-09-30  Andreas Schwab  <schwab@suse.de>
4839         [BZ #15048]
4840         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
4841         the nss database lookup.
4842         * nscd/initgrcache.c (addinitgroupsX): Likewise.
4843         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
4845 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
4847         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
4849 2013-09-28  P. J. McDermott  <pj@pehjota.net>
4851         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
4852         ${Bash-specific parameter/pattern/string} parameter expansion.
4853         * sysdeps/unix/make-syscalls.sh: Likewise.
4855 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
4857         * sysdeps/sh/stackguard-macros.h: New file.
4859 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
4861         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
4862         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
4863         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
4864         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
4865         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
4866         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
4868 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4870         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
4871         Fix thread ID register.
4873 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
4875         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
4876         [POSIX || UNIX98]: Require rather than permitting all symbols from
4877         <time.h>.
4878         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
4879         element of struct sched_param.
4880         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
4881         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
4882         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
4883         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
4884         constant.
4886 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
4888         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
4889         argument calculation.
4891 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
4893         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
4894         Expect macro.
4895         [POSIX] (pthread_attr_t): Do not require type.
4896         [POSIX] (pthread_cond_t): Likewise.
4897         [POSIX] (pthread_condattr_t): Likewise.
4898         [POSIX] (pthread_key_t): Likewise.
4899         [POSIX] (pthread_mutex_t): Likewise.
4900         [POSIX] (pthread_mutexattr_t): Likewise.
4901         [POSIX] (pthread_once_t): Likewise.
4902         [POSIX] (pthread_t): Likewise.
4903         [POSIX-based standards] (pthread_atfork): Expect function.
4905 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
4906             Richard Sandiford  <richard@codesourcery.com>
4908         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
4909         (swap_endianness_p): New extern variable.
4910         (set_big_endian): New inline function.
4911         (maybe_swap_uint32): Likewise.
4912         (maybe_swap_uint32_array): Likewise.
4913         (maybe_swap_uint32_obstack): Likewise.
4914         * locale/programs/locfile.c: Include <stdbool.h>.
4915         (swap_endianness_p): New variable.
4916         (add_locale_uint32): Call maybe_swap_uint32.
4917         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
4918         (write_locale_data): Call maybe_swap_uint32_array.
4919         * locale/programs/ld-collate.c (obstack_int32_grow): Call
4920         maybe_swap_uint32.
4921         (obstack_int32_grow_fast): Likewise.
4922         (output_weightwc): Call maybe_swap_uint32_obstack.
4923         (collate_output): Likewise.
4924         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
4925         (OPT_LITTLE_ENDIAN): Likewise.
4926         (options): Add --little-endian and --big-endian options.
4927         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
4928         * locale/programs/locarchive.c: Include "locfile.h".
4929         (GET): New macro.
4930         (SET): Likewise.
4931         (INC): Likewise.
4932         (create_archive): Use the new macros to access fields of
4933         structures directly mapped from or written to locale archives.
4934         (oldlocrecentcmp): Likewise.
4935         (enlarge_archive): Likewise.
4936         (insert_name): Likewise.
4937         (add_alias): Likewise.
4938         (add_locale): Likewise.
4939         (delete_locales_from_archive): Likewise.
4940         (show_archive_content): Likewise.
4941         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
4942         locale data.
4944 2013-09-24  Roland McGrath  <roland@hack.frob.com>
4946         * manual/freemanuals.texi: Updated from (newly) canonical copy at
4947         http://www.gnu.org/doc/freemanuals.texi.
4948         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
4950 2013-09-24  Will Newton  <will.newton@linaro.org>
4952         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
4953         macro.
4955 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
4957         * locale/hashval.h (compute_hashval): Interpret bytes of key as
4958         unsigned char.
4960 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
4962         * manual/threads.texi (POSIX Threads): Fix a typo.
4964 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
4966         [BZ #14547]
4967         * string/tst-strcoll-overflow.c: New test case.
4968         * string/Makefile (xtests): Add tst-strcoll-overflow.
4969         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
4970         cache if string sizes may cause integer overflow.
4972         [BZ #14547]
4973         * string/strcoll_l.c (coll_seq): New members rule, idx,
4974         save_idx and back_us.
4975         (get_next_seq_nocache): New function.
4976         (do_compare_nocache): New function.
4977         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
4978         when malloc fails.
4980 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
4982         [BZ #15754]
4983         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
4984         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
4985         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
4987         [BZ #15754]
4988         * elf/Makefile (tests): Add tst-ptrguard1.
4989         (tests-static): Add tst-ptrguard1-static.
4990         (tst-ptrguard1-ARGS): Define.
4991         (tst-ptrguard1-static-ARGS): Define.
4992         * elf/tst-ptrguard1.c: New file.
4993         * elf/tst-ptrguard1-static.c: New file.
4994         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
4995         * sysdeps/i386/stackguard-macros.h: Likewise.
4996         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
4997         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
4998         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
4999         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
5000         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
5001         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
5003 2013-09-23  Hector Marco  <hecmargi@upv.es>
5004             Ismael Ripoll  <iripoll@disca.upv.es>
5005             Carlos O'Donell  <carlos@redhat.com>
5007         [BZ #15754]
5008         * sysdeps/generic/stackguard-macros.h: Define
5009         __pointer_chk_guard_local and POINTER_CHK_GUARD.
5010         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
5011         Define __pointer_chk_guard_local.
5012         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
5013         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
5015 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
5017         [BZ #15859]
5018         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
5020 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
5022         * include/string.h (__ffs): Declare as hidden.
5023         * string/ffs.c (__ffs): Define as hidden.
5024         * sysdeps/i386/ffs.c (__ffs): Likewise.
5025         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
5026         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
5027         * sysdeps/s390/ffs.c (__ffs): Likewise.
5028         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
5030 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
5032         * NEWS: Mention malloc probes.
5034         * malloc/arena.c (new_heap): New memory_heap_new probe.
5035         (grow_heap): New memory_heap_more probe.
5036         (shrink_heap): New memory_heap_less probe.
5037         (heap_trim): New memory_heap_free probe.
5038         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
5039         (systrim): New memory_sbrk_less probe.
5040         * manual/probes.texi: Document them.
5042         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
5043         * manual/probes.texi: Document it.
5045         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
5046         (__libc_realloc): Add memory_realloc_retry probe.
5047         (__libc_memalign): Add memory_memalign_retry probe.
5048         (__libc_valloc): Add memory_valloc_retry probe.
5049         (__libc_pvalloc): Add memory_pvalloc_retry probe.
5050         (__libc_calloc): Add memory_calloc_retry probe.
5051         * manual/probes.texi: Document them.
5053         * malloc/arena.c (get_free_list): Add probe
5054         memory_arena_reuse_free_list.
5055         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
5056         and memory_arena_reuse.
5057         (arena_get2) [!PER_THREAD]: Likewise.
5058         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
5059         memory_arena_reuse_realloc.
5060         * manual/probes.texi: Document them.
5062         * malloc/malloc.c (__libc_free): Add
5063         memory_mallopt_free_dyn_thresholds probe.
5064         (__libc_mallopt): Add multiple memory_mallopt probes.
5065         * manual/probes.texi: Document them.
5067         * malloc/malloc.c: Include stap-probe.h.
5068         (__libc_mallopt): Add memory_mallopt probe.
5069         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
5070         * manual/probes.texi: New.
5071         * manual/Makefile (chapters): Add probes.
5072         * manual/threads.texi: Set next node.
5074 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
5076         [BZ #15963, #13985]
5077         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
5078         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
5079         Add `Chinese' to `nan' entry name.
5081 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5083         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
5084         (POLYNOMIAL): Likewise.
5085         (TAYLOR_SINCOS): Likewise.
5086         (TAYLOR_SLOW): Likewise.
5087         (__sin): Use TAYLOR_SINCOS.
5088         (__cos): Likewise.
5089         (slow): Use TAYLOR_SLOW.
5090         (sloww): Likewise.
5091         (bsloww): Likewise.
5092         (csloww): Likewise.
5094 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
5096         * stdlib/strtod_l.c: Fix buffer overrun.
5098 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5100         * benchtests/Makefile (bench): Add sincos.
5101         * benchtests/bench-sincos.c: New file.
5103         * math/libm-test.inc (cos_test_data): New test inputs.
5104         (sin_test_data): Likewise.
5106         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
5107         macro.
5108         (__sin): Use it.
5109         (__cos): Likewise.
5110         (slow1): Likewise.
5111         (slow2): Likewise.
5112         (sloww1): Likewise.
5113         (sloww2): Likewise.
5114         (bsloww1): Likewise.
5115         (bsloww2): Likewise.
5116         (cslow2): Likewise.
5117         (csloww1): Likewise.
5118         (csloww2): Likewise.
5120         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
5121         function.
5122         (__sin): Use it.
5123         (__cos): Likewise.
5125         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
5126         gotos.
5127         (__cos): Likewise.
5129 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
5131         * config.h.in (HAVE_MIPS_NAN2008): New macro.
5132         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
5133         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
5134         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
5135         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
5136         * elf/cache.c (print_entry): Handle the new cache flags.
5138 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
5139             Aldy Hernandez  <aldyh@redhat.com>
5141         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
5142         Change condition to [_SOFT_FLOAT].
5143         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
5144         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
5145         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
5146         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
5147         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
5148         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
5149         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
5150         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
5151         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
5152         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
5153         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
5154         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
5155         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
5156         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
5157         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
5158         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
5159         declaration.
5161 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
5163         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
5164         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5165         (__longjmp): Use LOAD_GP to load saved GPRs.
5166         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
5167         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5168         (__sigsetjmp): Use SAVE_GP to save GPRs.
5170         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
5171         Do not append -msoft-float.
5172         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
5174 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
5176         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
5178 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
5180         [BZ #15966]
5181         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
5182         (_FPU_GETCW): Use initial "__" on variable and field names but not
5183         on macro parameter name.
5184         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
5185         parentheses around reference to macro parameter.
5187 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
5189         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
5190         prototype.
5191         (ctype_startup): Use uint32_t in cast and sizeof for
5192         ctype->charnames.
5194 2013-09-11  Jia Liu  <proljc@gmail.com>
5196         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
5197         __daddr_t_defined.
5198         [__FreeBSD__]: Likewise.
5200 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
5202         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5203         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
5204         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
5205         (strchr): Remove __strchr_sse42 ifunc selection.
5206         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
5207         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
5209 2013-09-11  Will Newton  <will.newton@linaro.org>
5211         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
5212         parameter to RES. Remove hardcoded 1000 value.
5213         * benchtests/bench-skeleton.c (main): Pass RES parameter
5214         to TIMING_INIT and multiply result by 1000.
5216 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5218         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5220 2013-09-11  Andreas Schwab  <schwab@suse.de>
5222         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
5223         if not defined.
5224         (O_TMPFILE) [__USE_GNU]: Define.
5225         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
5226         Define.
5228 2013-09-11  Will Newton  <will.newton@linaro.org>
5230         [BZ #15857]
5231         * malloc/malloc.c (__libc_memalign): Check the value of bytes
5232         does not overflow.
5234 2013-09-11  Will Newton  <will.newton@linaro.org>
5236         [BZ #15856]
5237         * malloc/malloc.c (__libc_valloc): Check the value of bytes
5238         does not overflow.
5240 2013-09-11  Will Newton  <will.newton@linaro.org>
5242         [BZ #15855]
5243         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
5244         does not overflow.
5246 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
5248         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
5249         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5250         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5251         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5252         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5254 2013-09-10  Allan McRae  <allan@archlinux.org>
5256         [BZ #15748]
5257         * manual/arith.texi (Parsing of Floats): Clarify
5258         cross-reference.
5260         [BZ #15849]
5261         * manual/install.texi (Running make install): Mention
5262         --enable-pt-chown.
5263         * INSTALL: Regenerated.
5265 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
5267         * csu/init-first.c (_init): Remove the !SHARED condition around
5268         FPU control word initialization.
5269         * elf/dl-support.c (_dl_fpu_control): New variable.
5270         (_dl_aux_init) <AT_FPUCW>: Initialize it.
5271         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
5272         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
5273         * math/test-fpucw-static.c: New file.
5274         * math/test-fpucw-ieee.c: New file.
5275         * math/test-fpucw-ieee-static.c: New file.
5276         * math/Makefile (tests): Add `test-fpucw-ieee' and
5277         `$(tests-static)'.
5278         (tests-static): New variable.
5279         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
5280         dependency to...
5281         [($(build-shared),yes)]
5282         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5283         ... this.
5284         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
5285         New dependency.
5287 2013-09-09  Allan McRae  <allan@archlinux.org>
5289         [BZ #15939]
5290         * manual/string.texi (Collation Functions): Fix typo in
5291         strcoll example.
5292         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
5294         [BZ #15893]
5295         * stdlib/isomac.c (get_null_defines): Fix memory leak.
5297         [BZ #15892]
5298         * libio/memstream.c (open_memstream): Fix memory leak.
5299         * libio/wmemstream.c (open_wmemstream): Likewise.
5301         [BZ #15895]
5302         * nscd/netgroupcache.c: Fix nesting of ifdefs.
5304 2013-09-09  Will Newton  <will.newton@linaro.org>
5306         * malloc/Makefile: Add tst-realloc to tests.
5307         * malloc/tst-realloc.c: New file.
5309 2013-09-09  Allan McRae  <allan@archlinux.org>
5311         [BZ #15844]
5312         * COPYING: Update from GNU website to fix FSF address.
5313         * COPYING.LIB: Likewise.
5315 2013-09-06  David S. Miller  <davem@davemloft.net>
5317         * po/zh_TW.po: Update Chinese (traditional) translation from
5318         translation project.
5320 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
5321             Joseph Myers  <joseph@codesourcery.com>
5323         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
5324         "localeinfo.h".
5325         (obstack_chunk_alloc): New macro.
5326         (obstack_chunk_free): Likewise.
5327         (record_offset): New function.
5328         (init_locale_data): Likewise.
5329         (align_locale_data): Likewise.
5330         (add_locale_empty): Likewise.
5331         (add_locale_raw_data): Likewise.
5332         (add_locale_raw_obstack): Likewise.
5333         (add_locale_string): Likewise.
5334         (add_locale_wstring): Likewise.
5335         (add_locale_uint32): Likewise.
5336         (add_locale_uint32_array): Likewise.
5337         (add_locale_char): Likewise.
5338         (start_locale_structure): Likewise.
5339         (end_locale_structure): Likewise.
5340         (start_locale_prelude): Likewise.
5341         (end_locale_prelude): Likewise.
5342         (write_locale_data): Take locale_file structure rather than an
5343         iovec.
5344         * locale/programs/locfile.h: Include "obstack.h".
5345         (struct locale_file): Change to store locale file contents instead
5346         of header.
5347         (init_locale_data): New prototype.
5348         (align_locale_data): Likewise.
5349         (add_locale_empty): Likewise.
5350         (add_locale_raw_data): Likewise.
5351         (add_locale_raw_obstack): Likewise.
5352         (add_locale_string): Likewise.
5353         (add_locale_wstring): Likewise.
5354         (add_locale_uint32): Likewise.
5355         (add_locale_uint32_array): Likewise.
5356         (add_locale_char): Likewise.
5357         (start_locale_structure): Likewise.
5358         (end_locale_structure): Likewise.
5359         (start_locale_prelude): Likewise.
5360         (end_locale_prelude): Likewise.
5361         (write_locale_data): Update prototype.
5362         * locale/programs/3level.h (struct TABLE): Remove result field.
5363         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
5364         Use new locale_file interface.
5365         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
5366         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
5367         * locale/programs/ld-address.c (address_output): Use new
5368         locale_file interface.
5369         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
5370         NO_ADD_LOCALE.
5371         (collate_finish): Don't call collseq_table_finalize.
5372         (collate_output): Use new locale_file interface.
5373         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
5374         in file.
5375         (NO_FINALIZE): Change to NO_ADD_LOCALE.
5376         (TABLE): Move defines earlier in file.
5377         (ELEMENT): Likewise.
5378         (DEFAULT): Likewise.
5379         (wctrans_table_add): Move macro and inline function earlier in
5380         file.
5381         (struct wctype_table): Move type earlier in file.
5382         (add_locale_wctype_table): New static prototype.
5383         (struct locale_ctype_t): Use logical types instead of struct iovec
5384         pointers for members.
5385         (ctype_output): Use new locale_file interface.
5386         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
5387         new locale_file interface.
5388         (allocate_arrays): Update for use of new locale_file interface.
5389         * locale/programs/ld-identification.c (identification_output): Use
5390         new locale_file interface.
5391         * locale/programs/ld-measurement.c (measurement_output): Likewise.
5392         * locale/programs/ld-messages.c (messages_output): Likewise.
5393         * locale/programs/ld-monetary.c (monetary_output): Likewise.
5394         * locale/programs/ld-name.c (name_output): Likewise.
5395         * locale/programs/ld-numeric.c (numeric_output): Likewise.
5396         * locale/programs/ld-paper.c (paper_output): Likewise.
5397         * locale/programs/ld-telephone.c (telephone_output): Likewise.
5398         * locale/programs/ld-time.c (time_output): Likewise.
5400 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5402         * benchtests/Makefile: Add memrchr benchmark.
5403         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
5404         benchmark as memrchr.
5405         * benchtests/bench-memrchr-ifunc.c: New file.
5406         * benchtests/bench-memrchr.c: New file.
5408 2013-09-06   Will Newton  <will.newton@linaro.org>
5410         * benchtests/Makefile (string-bench): Add memcpy.
5412 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
5413             Cong Wang  <amwang@redhat.com>
5415         * sysdeps/unix/sysv/linux/bits/in.h
5416         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
5417         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
5418         before __USE_KERNEL_IPV6_DEFS uses.
5419         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
5420         IPPROTO_BEETPH.
5421         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
5422         sockaddr_in6, or ipv6_mreq.
5424 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5426         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
5427         memory access for final bytes in some large inputs.
5428         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
5430 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5432         * string/test-memrchr.c: New file.
5433         * string/test-memrchr-ifunc.c: New file.
5434         * string/Makefile: Add new memrchr testcase.
5436 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
5438         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
5439         fanotify_init returns EPERM.
5441 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
5443         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
5444         errors.
5445         (top level): Treat second token from macro or constant entries for
5446         allowed headers as allowed.
5447         * include/complex.h: Condition internal declarations on
5448         [!_ISOMAC].
5449         * include/fenv.h: Condition include of <stdbool.h> and internal
5450         declarations on [!_ISOMAC].
5452 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
5454         [BZ #15923]
5455         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
5457 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
5459         * configure.in (--enable-versioning): Remove configure option.
5460         (libc_cv_asm_symver_directive): Remove configure test.
5461         (libc_cv_ld_version_script_option): Likewise.
5462         (VERSIONING): Remove variable and AC_SUBST.
5463         (DO_VERSIONING): Remove AC_DEFINE.
5464         * configure: Regenerated.
5465         * config.h.in (DO_VERSIONING): Remove macro.
5466         * Makerules [$(versioning) = yes]: Change conditionals to
5467         [$(build-shared) = yes].
5468         * config.make.in (versioning): Remove variable.
5469         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
5470         [$(build-shared) = yes].
5471         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
5472         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
5473         * elf/Makefile [$(versioning) = yes]: Change conditionals to
5474         [$(build-shared) = yes].
5475         * extra-lib.mk [$(versioning) = yes]: Likewise.
5476         * hurd/Makefile [$(versioning) = yes]: Likewise.
5477         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
5478         [SHARED].
5479         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
5480         [SHARED].
5481         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
5482         [SHARED && !NO_HIDDEN].
5483         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
5484         [SHARED].
5485         [SHARED && DO_VERSIONING]: Likewise..
5486         * libio/Makefile [$(versioning) = yes]: Change conditionals to
5487         [$(build-shared) = yes].
5488         * manual/install.texi (--disable-versioning): Remove
5489         documentation.
5490         * INSTALL: Regenerated.
5491         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
5492         to [SHARED].
5493         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
5494         [$(build-shared) = yes].
5495         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
5496         * sysdeps/i386/i686/multiarch/strstr-c.c
5497         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
5498         [SHARED && !NO_HIDDEN].
5499         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
5500         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
5501         * sysdeps/powerpc/powerpc32/dl-machine.c
5502         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
5503         * sysdeps/powerpc/powerpc32/sysdep.h
5504         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
5505         to [SHARED && PIC && !NO_HIDDEN].
5506         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
5507         conditional to [SHARED].
5509 2013-09-04   Will Newton  <will.newton@linaro.org>
5511         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
5512         * benchtests/bench-string.h: Include bench-timing.h instead
5513         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
5514         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
5515         call to HP_TIMING_DIFF_INIT.
5516         * benchtests/bench-memccpy.c: Use bench-timing.h macros
5517         instead of hp-timing.h macros.
5518         * benchtests/bench-memchr.c: Likewise.
5519         * benchtests/bench-memcmp.c: Likewise.
5520         * benchtests/bench-memcpy.c: Likewise.
5521         * benchtests/bench-memmem.c: Likewise.
5522         * benchtests/bench-memmove.c: Likewise.
5523         * benchtests/bench-memset.c: Likewise.
5524         * benchtests/bench-rawmemchr.c: Likewise.
5525         * benchtests/bench-strcasecmp.c: Likewise.
5526         * benchtests/bench-strcasestr.c: Likewise.
5527         * benchtests/bench-strcat.c: Likewise.
5528         * benchtests/bench-strchr.c: Likewise.
5529         * benchtests/bench-strcmp.c: Likewise.
5530         * benchtests/bench-strcpy.c: Likewise.
5531         * benchtests/bench-strcpy_chk.c: Likewise.
5532         * benchtests/bench-strlen.c: Likewise.
5533         * benchtests/bench-strncasecmp.c: Likewise.
5534         * benchtests/bench-strncat.c: Likewise.
5535         * benchtests/bench-strncmp.c: Likewise.
5536         * benchtests/bench-strncpy.c: Likewise.
5537         * benchtests/bench-strnlen.c: Likewise.
5538         * benchtests/bench-strpbrk.c: Likewise.
5539         * benchtests/bench-strrchr.c: Likewise.
5540         * benchtests/bench-strspn.c: Likewise.
5541         * benchtests/bench-strstr.c: Likewise.
5543 2013-09-04  Will Newton  <will.newton@linaro.org>
5545         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
5547 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
5549         [BZ #15427]
5550         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
5551         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
5552         * math/libm-test.inc (lgamma_test_data): Add more tests.
5553         * sysdeps/i386/fpu/libm-test-ulps: Update.
5554         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5556 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
5558         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
5559         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5560         Add ifunc.
5561         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5562         Add strcmp-sse2-unaligned
5563         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
5565 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
5567         * Versions.def (libc): Add GLIBC_2.19.
5569 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
5571         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
5572         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
5574 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
5576         [BZ #14155]
5577         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
5578         intermediate calculations in recurrence.
5579         (__ieee754_ynf): Likewise.
5580         * math/libm-test.inc (jn_test_data): Do not allow spurious
5581         underflow exception.  Add more tests.
5582         (yn_test_data): Add more tests.
5583         * sysdeps/i386/fpu/libm-test-ulps: Update.
5584         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5586 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
5588         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
5590 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
5592         * csu/init-first.c: Fix then/than typos.
5593         * locale/programs/ld-collate.c: Likewise.
5594         * locale/programs/linereader.h: Likewise.
5595         * manual/charset.texi: Likewise.
5596         * manual/filesys.texi: Likewise.
5597         * manual/stdio.texi: Likewise.
5598         * manual/string.texi: Likewise.
5599         * stdlib/fmtmsg.c: Likewise.
5600         * sysdeps/i386/stpncpy.S: Likewise.
5601         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5602         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
5603         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5604         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5606 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
5608         * elf/dl-open.c: Fix typos.
5609         * iconvdata/gbbig5.c: Likewise.
5610         * iconvdata/iso-2022-jp.c: Likewise.
5611         * iconv/gconv_int.h: Likewise.
5612         * iconv/loop.c: Likewise.
5613         * nis/rpcsvc/nis.h: Likewise.
5614         * resolv/ns_name.c: Likewise.
5615         * stdio-common/vfscanf.c: Likewise.
5616         * streams/stropts.h: Likewise.
5617         * sunrpc/rpc_thread.c: Likewise.
5618         * sysdeps/i386/strpbrk.S: Likewise.
5619         * sysdeps/ieee754/k_standard.c: Likewise.
5620         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5621         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5622         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
5623         * sysdeps/mach/hurd/profil.c: Likewise.
5624         * sysdeps/s390/dl-procinfo.h: Likewise.
5625         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
5626         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
5627         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
5628         * sysdeps/x86_64/dl-trampoline.S: Likewise.
5629         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5631 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
5633         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
5634         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
5636 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
5638         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
5639         aix specific files.
5640         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
5641         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
5642         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
5643         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
5644         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
5645         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
5646         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
5647         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
5649 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
5650             Roland McGrath  <roland@hack.frob.com>
5652         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
5653         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
5655 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5657         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
5658         __executable_start symbol instead of _start.
5660 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
5662         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
5663         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
5664         Move macros to...
5665         * sysdeps/gnu/ldsodefs.h: ... this new file.
5667         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
5668         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
5669         instead of ELFOSABI_LINUX.
5671         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
5672         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
5673         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
5674         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
5675         Likewise.
5676         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
5677         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
5678         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
5679         Likewise.
5680         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
5681         (ibm_extended_long_double): Add ieee_nan member.
5682         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
5683         (do_test): New function.
5685         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
5686         TEST_TRUNC.
5687         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
5688         functions, renamed from truncdfsf_test, trunctfsf_test,
5689         trunctfdf_test.
5690         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
5691         functions.
5692         (do_test): Run all these.
5694 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
5696         * argp/argp-help.c: Fix typos.
5697         * argp/argp-parse.c: Likewise.
5698         * debug/backtracesyms.c: Likewise.
5699         * elf/elf.h: Likewise.
5700         * malloc/malloc.c: Likewise.
5701         * nis/nis_print.c: Likewise.
5702         * resolv/res_comp.c: Likewise.
5703         * stdlib/stdlib.h: Likewise.
5704         * sunrpc/clnt_tcp.c: Likewise.
5705         * sunrpc/clnt_udp.c: Likewise.
5706         * sunrpc/clnt_unix.c: Likewise.
5707         * sysdeps/unix/bsd/ptsname.c: Likewise.
5708         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
5709         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
5710         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
5711         Likewise.
5712         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
5713         Likewise.
5714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
5715         Likewise.
5716         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
5718 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
5720         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
5721         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5723 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
5725         [BZ #15897]
5726         * dlfcn/Makefile (tests): Add bug-dl-leaf.
5727         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
5728         ($(objpfx)bug-dl-leaf): New rule.
5729         ($(objpfx)bug-dl-leaf.so): Likewise.
5730         ($(objpfx)bug-dl-leaf.out): Likewise.
5731         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
5732         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
5733         * dlfcn/bug-dl-leaf.c: New test.
5734         * dlfcn/bug-dl-leaf-lib.c: Likewise.
5735         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
5736         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
5737         (dlclose): Likewise.
5738         (dlmopen): Likewise.
5740 2013-08-27  Roland McGrath  <roland@hack.frob.com>
5742         * include/netdb.h [!_ISOMAC]:
5743         Don't include <tls.h>.
5744         (h_errno, __libc_h_errno): Move declaration and macros out of
5745         [_LIBC_REENTRANT].
5747         * include/resolv.h [_RESOLV_H_]:
5748         Don't include <tls.h>.
5749         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
5750         * resolv/res_libc.c: Don't include <tls.h>.
5751         (_res): Use __attribute__ ((nocommon)) in place of
5752         __attribute__ ((section (".bss"))).
5754         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
5755         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
5757         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
5759         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
5760         only under [SIOCGIFCONF && SIOCGIFNETMASK].
5762         * resolv/res_mkquery.c: Include <sys/time.h>.
5764         * inet/ifreq.c: Moved to ...
5765         * sysdeps/unix/ifreq.c: ... here.
5766         * inet/ifreq.c: New file, true stub version.
5768         * socket/sa_len.c: New file.
5769         * socket/Makefile (aux): Add it.
5770         * sysdeps/unix/sysv/linux/Makefile
5771         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
5772         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
5773         and #include <socket/sa_len.c>.
5774         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
5775         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
5777         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
5778         * bits/socket.h: ... here.
5780         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
5781         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
5782         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
5784 2013-08-27  Andreas Schwab  <schwab@suse.de>
5786         [BZ #15736]
5787         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
5788         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
5789         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
5790         * string/test-strcasecmp.c (test_main): Run tests in several
5791         locales.
5792         * string/test-strncasecmp.c (test_main): Likewise.
5794         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
5795         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
5796         to __strcasecmp_nonascii and __strncasecmp_nonascii.
5797         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
5798         (__strncasecmp_ssse3) [PIC]: Likewise.
5800 2013-08-26  Roland McGrath  <roland@hack.frob.com>
5802         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
5804         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
5805         instead of explicitly declaring xdecrypt.
5806         * nis/nss_nis/nis-publickey.c: Likewise.
5808 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5810         [BZ #15890]
5811         * nscd/aicache.c: Include res_hconf.h.
5812         (addhstaiX): Initialize res_hconf.
5814 2013-08-26  Andreas Schwab  <schwab@suse.de>
5816         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
5817         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
5819 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5821         * nscd/aicache.c (addhstaiX): Fix indentation.
5823 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
5825         * configure.ac: Quote $build_pt_chown test.
5826         * configure: Regenerated.
5828 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
5830         [BZ #15532]
5831         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
5832         * math/s_cexpf.c (__cexpf): Likewise.
5833         * math/s_cexpl.c (__cexpl): Likewise.
5834         * math/libm-test.inc (cexp_test_data): Correct expected return
5835         value for NaN + i0.  Add another test.
5837 2013-08-22  David S. Miller  <davem@davemloft.net>
5839         * po/ca.po: Update Catalan translation from translation project.
5840         * po/uk.po: Add Ukrainian translations from translation project.
5842 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
5844         [BZ #15797]
5845         * math/s_fdim.c (__fdim): Check for infinite arguments if result
5846         is infinite, not alongside NaN test.
5847         * math/s_fdimf.c (__fdimf): Likewise.
5848         * math/s_fdiml.c (__fdiml): Likewise.
5849         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
5850         errno is unchanged.
5852 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
5854         * argp/argp-help.c: Fix typos.
5855         * crypt/speeds.c: Likewise.
5856         * csu/check_fds.c: Likewise.
5857         * elf/dl-load.c: Likewise.
5858         * elf/dl-open.c: Likewise.
5859         * elf/reldep3.c: Likewise.
5860         * elf/reldep.c: Likewise.
5861         * elf/sprof.c: Likewise.
5862         * iconv/iconv_charmap.c: Likewise.
5863         * iconv/skeleton.c: Likewise.
5864         * iconv/strtab.c: Likewise.
5865         * io/lockf64.c: Likewise.
5866         * libio/libioP.h: Likewise.
5867         * resolv/gai_notify.c: Likewise.
5868         * resolv/ns_name.c: Likewise.
5869         * resolv/ns_samedomain.c: Likewise.
5870         * resolv/res_send.c: Likewise.
5871         * stdlib/random.c: Likewise.
5872         * sunrpc/rpc/xdr.h: Likewise.
5873         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
5874         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
5875         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
5876         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
5877         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
5878         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
5879         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
5880         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
5881         * sysdeps/mach/hurd/check_fds.c: Likewise.
5882         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
5883         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
5884         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5885         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
5886         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
5887         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
5888         * sysdeps/pthread/aio_notify.c: Likewise.
5889         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
5890         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
5891         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
5892         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
5893         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
5895 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
5897         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
5898         version if bit_Slow_SSE4_2 is set.
5899         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5900         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
5902 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5904         [BZ #15867]
5905         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
5906         trampoline stack frame information.
5907         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
5908         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
5909         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
5910         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
5911         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
5912         * sysdeps/unix/sysv/linux/powerpc/init-first.c
5913         (_libc_vdso_platform_setup): Initialize the signal trampolines.
5914         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
5915         sa_flags value.
5916         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
5917         interrupting a syscall and set with option SA_SIGINFO.
5919 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
5921         [BZ #15531]
5922         * math/s_cproj.c (__cproj): Only return an infinity if one part of
5923         argument is infinite.
5924         * math/s_cprojf.c (__cprojf): Likewise.
5925         * math/s_cprojl.c (__cprojl): Likewise.
5926         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
5927         * math/libm-test.inc (cproj_test_data): Add more tests.
5929         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
5931         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
5932         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
5933         size.  Use __ffs to determine corresponding shift.
5935 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
5936             Roland McGrath  <roland@hack.frob.com>
5938         * Makefile (INSTALL): Remove trailing blank lines from output of
5939         makeinfo.
5941 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5943         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
5944         Align 32 bit compat elf_greg to 8 bytes.
5946 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
5948         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
5950 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
5952         * string/strcoll_l.c (coll_seq): New structure.
5953         (get_next_seq_cached): New function.
5954         (get_next_seq): New function.
5955         (do_compare): New function.
5956         (STRCOLL): Use GNU style definition.  Simplify implementation
5957         by using get_next_seq, get_next_seq_cached and do_compare.
5959 2013-08-16  Florian Weimer  <fweimer@redhat.com>
5961         [BZ #14699]
5962         CVE-2013-4237
5963         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
5964         member.
5965         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
5966         member.
5967         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
5968         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
5969         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
5970         conditional.
5971         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
5972         GETDENTS_64BIT_ALIGNED.
5973         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
5974         * manual/filesys.texi (Reading/Closing Directory): Document
5975         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
5976         strongly.
5977         * manual/conf.texi (Limits for Files): Add portability note to
5978         NAME_MAX, PATH_MAX.
5979         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
5981 2013-08-13  Andreas Schwab  <schwab@suse.de>
5983         [BZ #15749]
5984         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
5985         of fabs.
5986         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
5987         LDBL_MAX_EXP >= 16384]: Add tests for it.
5989 2013-08-12  David S. Miller  <davem@davemloft.net>
5991         * version.h (RELEASE): Set to "development".
5992         (VERSION): Set to "2.18.90".
5993         * NEWS: Add 2.19 section.
5995 2013-08-03  David S. Miller  <davem@davemloft.net>
5997         * po/ko.po: Update Korean translation from translation project.
5999 2013-08-01  David S. Miller  <davem@davemloft.net>
6001         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
6002         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
6003         Bilka.
6005 2013-07-30  David S. Miller  <davem@davemloft.net>
6007         * po/fr.po: Update French translation from translation project.
6009 2013-07-28  David S. Miller  <davem@davemloft.net>
6011         * po/cs.po: Update Czech translation from translation project.
6013         * po/sv.po: Update Swedish translation from translation project.
6015 2013-07-27  David S. Miller  <davem@davemloft.net>
6017         * po/eo.po: Update Esperanto translation from translation project.
6019         * po/vi.po: Update Vietnamese translation from translation project.
6021         * po/de.po: Update German translation from translation project.
6023 2013-07-26  David S. Miller  <davem@davemloft.net>
6025         * po/bg.po: Update Bulgarian translation from translation project.
6027         * po/nl.po: Update Dutch translation from translation project.
6028         * po/pl.po: Update Polish translation from translation project.
6029         * po/ru.po: Update Russian translation from translation project.
6031 2013-07-24  David S. Miller  <davem@davemloft.net>
6033         * po/libc.pot: Update.
6035 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6037         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
6038         variable page size.
6039         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
6040         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
6041         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
6043 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6045         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
6047 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6048             Andreas Schwab  <schwab@suse.de>
6049             Roland McGrath  <roland@hack.frob.com>
6050             Joseph Myers  <joseph@codesourcery.com>
6051             Carlos O'Donell  <carlos@redhat.com>
6053         [BZ #15755]
6054         * config.h.in: Define HAVE_PT_CHOWN.
6055         * config.make.in (build-pt-chown): New variable.
6056         * configure.in (--enable-pt_chown): New configure option.
6057         * configure: Regenerate.
6058         * login/Makefile: Include Makeconfig.  Build pt_chown only if
6059         build-pt-chown is enabled.
6060         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
6061         pt_chown to fix pty ownership.
6062         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
6063         CLOSE_ALL_FDS.
6064         * manual/install.texi (Configuring and compiling): Mention
6065         --enable-pt_chown. Add @findex for grantpt.
6066         * INSTALL: Regenerate.
6068 2013-07-20  David S. Miller  <davem@davemloft.net>
6070         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
6071         difference between 32-bit and 64-bit.
6073 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
6075         [BZ #15711]
6076         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
6077         Avoid system header dependency with -ffreestanding.
6078         ($(objpfx)bits/syscall%d): Likewise.
6080 2013-07-13  David S. Miller  <davem@davemloft.net>
6082         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
6083         underflows from atanl/atan2l due to bug 15319.
6084         (casinh_test_data): Likewise.
6086 2013-07-07  David S. Miller  <davem@davemloft.net>
6088         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
6090 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
6092         * sysdeps/i386/fpu/libm-test-ulps: Update.
6093         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6095 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
6097         * configure.in (--enable-lock-elision): Fix message text.
6098         * INSTALL: Regenerate.
6099         * configure: Regenerate.
6101 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6103         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6105 2013-07-03  Andreas Jaeger  <aj@suse.de>
6107         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
6108         define.
6109         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
6110         (ptrace_peeksiginfo_args): Add.
6111         (__ptrace_peeksiginfo_flags): Add.
6112         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6113         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6114         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6116 2013-07-03  Allan McRae  <allan@archlinux.org>
6118         * sysdeps/i386/fpu/libm-test-ulps: Update.
6120 2013-07-02  David S. Miller  <davem@davemloft.net>
6122         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6124 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
6126         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6128 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
6130         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6131         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6133 2013-07-02  Andi Kleen <ak@linux.intel.com>
6135         * config.h.in (ENABLE_LOCK_ELISION): Add.
6136         * configure.in (--enable-lock-elision): Add option.
6137         * manual/install.texi: Document --enable lock elision.
6138         * configure: Regenerate
6139         * INSTALL: Regenerate.
6141 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
6143         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
6144         SSE4.2 strcasecmp for libc.a.
6145         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
6147 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
6149         [BZ #13304]
6150         * soft-fp/op-common.h (_FP_FMA): New macro.
6151         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
6152         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
6153         (_FP_MUL_MEAT_1_imm): ... here.
6154         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
6155         (_FP_MUL_MEAT_1_wide): ... here.
6156         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
6157         (_FP_MUL_MEAT_1_hard): ... here.
6158         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
6159         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
6160         (_FP_MUL_MEAT_2_wide): ... here.
6161         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
6162         (_FP_MUL_MEAT_2_wide_3mul): ... here.
6163         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
6164         (_FP_MUL_MEAT_2_gmp): ... here.
6165         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
6166         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
6167         (_FP_MUL_MEAT_4_wide): ... here.
6168         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
6169         (_FP_MUL_MEAT_4_gmp): ... here.
6170         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
6171         (_FP_WFRACBITS_DW_S): Likewise.
6172         (_FP_WFRACXBITS_DW_S): Likewise.
6173         (_FP_HIGHBIT_DW_S): Likewise.
6174         (FP_FMA_S): Likewise.
6175         (_FP_FRAC_HIGH_DW_S): Likewise.
6176         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
6177         (_FP_WFRACBITS_DW_D): Likewise.
6178         (_FP_WFRACXBITS_DW_D): Likewise.
6179         (_FP_HIGHBIT_DW_D): Likewise.
6180         (FP_FMA_D): Likewise.
6181         (_FP_FRAC_HIGH_DW_D): Likewise.
6182         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
6183         (_FP_WFRACBITS_DW_E): Likewise.
6184         (_FP_WFRACXBITS_DW_E): Likewise.
6185         (_FP_HIGHBIT_DW_E): Likewise.
6186         (FP_FMA_E): Likewise.
6187         (_FP_FRAC_HIGH_DW_E): Likewise.
6188         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
6189         (_FP_WFRACBITS_DW_Q): Likewise.
6190         (_FP_WFRACXBITS_DW_Q): Likewise.
6191         (_FP_HIGHBIT_DW_Q): Likewise.
6192         (FP_FMA_Q): Likewise.
6193         (_FP_FRAC_HIGH_DW_Q): Likewise.
6194         * soft-fp/fmasf4.c: New file.
6195         * soft-fp/fmadf4.c: Likewise.
6196         * soft-fp/fmatf4.c: Likewise.
6198 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
6200         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
6201         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
6202         Silvermont.
6203         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
6204         macro.
6205         (index_Slow_SSE4_2): Likewise.
6206         (index_Prefer_PMINUB_for_stringop): Likewise.
6207         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
6208         bit_Slow_SSE4_2 is set.
6209         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6210         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6212 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6214         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
6215         rtld_global._dl_hwcap2.
6216         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
6217         POWER8.
6218         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
6219         POWER8 feature descriptions defined in _dl_hwcap2.
6220         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
6221         string handling for POWER8 feature bits.
6222         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
6223         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
6224         _dl_powerpc_cap_flags.
6225         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
6226         * sysdeps/powerpc/rtld-global-offsets.sym
6227         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
6228         _dl_hwcap2 in the rtld_global_ro structure.
6230 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6232         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
6233         hardware capabilities in support of AT_HWCAP2.
6234         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
6235         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
6236         GLRO(dl_hwcap2).
6237         (_dl_show_auxv): Add support for calling _dl_procinfo to display
6238         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
6239         explicitly the unknown a_type display mechanism is used.
6240         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
6241         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
6242         struct member.
6243         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
6244         to macro prototype for AT_HWCAP2 support.
6245         * sysdeps/i386/dl-procinfo.h: Likewise.
6246         * sysdeps/s390/dl-procinfo.h: Likewise.
6247         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
6248         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
6249         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
6250         return -1 for unknown a_type display fallback.
6251         * sysdeps/sparc/dl-procinfo.h: Likewise.
6252         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
6253         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
6255 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
6257         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
6258         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
6260 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
6262         [BZ #12492]
6263         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
6264         mprotect making __stack_prot writable.
6266 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
6267             Joseph Myers  <joseph@codesourcery.com>
6269         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
6270         as being properly aligned.
6272 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
6274         * dlfcn/modstatic5.c: New file.
6275         * dlfcn/tststatic5.c: New file.
6276         * dlfcn/Makefile (tests): Add tststatic5.
6277         (tests-static): Likewise.
6278         (modules-names): Add modstatic5.
6279         (tststatic5-ENV): New variable.
6280         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
6282         [BZ #15022]
6283         * elf/dl-support.c (_dl_main_map): New variable.
6284         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
6285         (_dl_nns, _dl_load_adds): Set to 1.
6286         (_dl_initial_searchlist): Refer to _dl_main_map.
6287         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
6288         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
6289         call to _dl_get_origin.
6290         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
6291         around call_map.
6292         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
6293         * dlfcn/modstatic3.c: New file.
6294         * dlfcn/tststatic3.c: New file.
6295         * dlfcn/tststatic4.c: New file.
6296         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
6297         (tests-static): Likewise.
6298         (modules-names): Add modstatic3.
6299         (tststatic3-ENV, tststatic4-ENV): New variables.
6300         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
6301         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
6303 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
6305         * configure.in (CC): Require GCC version 4.4 or later.
6306         * configure: Regenerated.
6307         * manual/install.texi (Tools for Compilation): Update GCC version
6308         requirement.
6309         * INSTALL: Regenerated.
6311 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
6313         [BZ #15674]
6314         * string/test-memcmp.c (check2): New.
6315         (main): Call check2.
6317         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
6319 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
6321         [BZ #15022]
6322         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
6323         over to...
6324         (dl_open_worker) [!SHARED]: ... here.
6326 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6328         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
6330 2013-06-25  Richard Henderson  <rth@redhat.com>
6332         * locale/programs/locarchive.c: Include <libc-internal.h>
6334 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
6336         * manual/texinfo.tex: Update to version 2013-06-21.17, with
6337         trailing whitespace removed.
6339 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
6341         [BZ #10283]
6342         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
6343         * locale/programs/locarchive.c: Include libc-mmap.h.
6344         (prepare_address_space): Take two new outputs (the mmap base and len).
6345         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
6346         values.
6347         (create_archive): Declare new mmap base and len values for
6348         prepare_address_space, and store the result in ah.
6349         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
6350         (enlarge_archive): If ah->mmap_base is not NULL, use that and
6351         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6352         Declare new mmap base and len values for
6353         prepare_address_space, and store the result in new_ah.
6354         (open_archive): Declare new mmap base and len values for
6355         prepare_address_space, and store the result in ah.
6356         (close_archive): If ah->mmap_base is not NULL, use that and
6357         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6358         * sysdeps/generic/libc-mmap.h: New file.
6360 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
6362         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
6363         (ALIGN_UP): Likewise.
6364         (PTR_ALIGN_DOWN): Likewise.
6365         (PTR_ALIGN_UP): Likewise.
6367 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6369         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
6370         entry mapped to PPC_PLATFORM_POWER8.
6371         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
6372         POWER8.
6373         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
6374         (_dl_string_platform): Add case for exporting platform position for
6375         POWER8.
6376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
6377         search path to sysdeps/powerpc/powerpc32/power8 directory.
6378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
6379         search path to sysdeps/powerpc/powerpc64/power8 directory.
6380         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
6381         power7 directories.
6382         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
6383         power7 directories.
6385 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6387         * INSTALL: Regenerate.
6389         * nscd/connections.c (nscd_init): Fix comment.
6391 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
6393         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
6395         [BZ #15667]
6396         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
6397         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
6399 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
6401         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
6402         DL_DST_REQ_STATIC.
6403         (DL_DST_REQ_STATIC): Remove macro.
6405 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
6407         [BZ #7006]
6408         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
6409         with a shift of 0 bits.
6411 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
6413         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
6414         $(tststatic-ENV).
6416 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6418         [BZ #15655]
6419         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
6421 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6423         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
6424         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
6425         accepts -fno-tree-loop-distribute-patterns.
6426         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
6427         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
6428         recursive call.
6429         * string/memset.c (memset): Likewise.
6430         * string/test-memmove.c (simple_memmove): Disable loop transformation
6431         to library calls.
6432         * string/test-memset.c (simple_memset): Likewise.
6433         * benchtests/bench-memmove.c (simple_memmove): Likewise.
6434         * benchtests/bench-memset.c (simple_memset): Likewise.
6435         * configure: Regenerated.
6437 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
6439         * math/test-misc.c (main): Ignore fesetround failure when failures
6440         of subsequent rounding tests would be ignored.
6442         [BZ #15654]
6443         * math/fedisblxcpt.c (fedisableexcept): Return 0.
6444         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
6445         * math/fegetenv.c (__fegetenv): Return 0.
6446         * math/fegetexcept.c (fegetexcept): Return 0.
6447         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
6448         FE_TONEAREST.
6449         * math/feholdexcpt.c (feholdexcept): Return 0.
6450         * math/fesetenv.c (__fesetenv): Return 0.
6451         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
6452         argument FE_TONEAREST.
6453         * math/feupdateenv.c (__feupdateenv): Return 0.
6454         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
6456 2013-06-18  Roland McGrath  <roland@hack.frob.com>
6458         * elf/rtld-Rules (rtld-compile-command.S): New variable.
6459         (rtld-compile-command.s, rtld-compile-command.c): New variables.
6460         ($(objpfx)rtld-%.os rules): Use them.
6462 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6464         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
6465         fields.
6467 2013-06-17  Roland McGrath  <roland@hack.frob.com>
6469         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
6470         length of target pattern, then descending length of dependency pattern.
6471         * configure.in (AWK): Require gawk 3.1.2 or newer.
6472         * manual/install.texi (Tools for Compilation): Say that we do.
6473         * configure: Regenerated.
6475         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
6476         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
6477         * scripts/sysd-rules.awk: ... this new script.
6478         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
6479         than a glob-style pattern.
6481 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
6483         * math/test-misc.c (main): Do not treat incorrectly rounded
6484         conversions as failure unless ROUNDING_TESTS passes.
6486 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
6488         [BZ #15631]
6489         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
6490         restore exception state around main square root computation, then
6491         check for inexactness explicitly.
6493         * math/libm-test.inc (fma_test_data): Add another test.
6495 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
6497         * manual/threads.texi (Non-POSIX Extensions): New document
6498         node.  Document pthread_getattr_default_np and
6499         pthread_setattr_default_np.
6501         * Versions.def (libpthread): Add GLIBC_2.18.
6502         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
6503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6504         Likewise.
6505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6506         Likewise.
6507         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6508         Likewise.
6509         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6510         Likewise.
6511         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
6512         Likewise.
6513         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6514         Likewise.
6515         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6516         Likewise.
6517         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
6518         Likewise.
6519         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
6520         Likewise.
6522 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
6524         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6525         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
6527 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
6528             H.J. Lu  <hjl.tools@gmail.com>
6530         [BZ #15627]
6531         * sysdeps/x86_64/rtld-memset.c: Remove file.
6532         * sysdeps/x86_64/rtld-memset.S: New file.
6534 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
6536         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
6537         (test_in_one_mode): Take arguments for whether the rounding mode
6538         is supported for each floating-point type.
6539         (do_test): Pass new arguments to test_in_one_mode using
6540         ROUNDING_TESTS.
6542 2013-06-13  Roland McGrath  <roland@hack.frob.com>
6544         * posix/tst-waitid.c (do_test): Distinguish different instances of
6545         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
6546         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
6547         before entering the kernel for waitpid.
6549 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
6551         * NEWS: Fix note on clock function precision.  Text by Roland
6552         McGrath.
6554 2013-06-13  Roland McGrath  <roland@hack.frob.com>
6556         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
6557         it into place only when and if the sanity check passes.
6559 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
6561         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
6562         output for whether conversion result is exact.  Take argument
6563         indicating whether type is IBM long double.
6564         (round_for_all): Change need_exact field to ibm_ld.
6565         * stdlib/tst-strtod-round.c (struct exactness): New type.
6566         (struct test): Change bool ld_ok field to struct exactness exact.
6567         (TEST): Update all definitions for change to field.
6568         (tests): Regenerate array contents.
6569         (test_in_one_mode): Take pointer to new field instead of old ld_ok
6570         field value.  Check for IBM long double here.
6571         (do_test): Update calls to test_in_one_mode.
6573 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
6575         [BZ #12515]
6576         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
6577         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
6579 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6581         [BZ #15605]
6582         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
6583         generated by the compiler on loop optimizations.
6584         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
6585         general definitions.
6587 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
6589         * math/bug-nextafter.c: Include <math-tests.h>.
6590         (main): Only test for exceptions if EXCEPTION_TESTS is true for
6591         the relevant type.
6592         * math/bug-nexttoward.c: Include <math-tests.h>.
6593         (main): Only test for exceptions if EXCEPTION_TESTS is true for
6594         the relevant type.
6595         * math/test-misc.c: Include <math-tests.h>.
6596         (main): Only test for exceptions if EXCEPTION_TESTS is true for
6597         the relevant type.
6599 2013-06-12  Andreas Jaeger  <aj@suse.de>
6601         * po/ia.po: Update Interlingua translation from translation
6602         project.
6604 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
6606         * include/fenv.h: Include stdbool.h.
6607         (struct rm_ctx): New structure.
6608         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
6609         Define macro.
6610         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
6611         (SET_RESTORE_ROUNDF): Likewise.
6612         (SET_RESTORE_ROUNDL): Likewise.
6613         (SET_RESTORE_ROUND_NOEX): Likewise.
6614         (SET_RESTORE_ROUND_NOEXF): Likewise.
6615         (SET_RESTORE_ROUND_NOEXL): Likewise.
6616         (SET_RESTORE_ROUND_53BIT): Likewise.
6617         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
6618         (libc_feresetround_noexf_ctx): Likewise.
6619         (libc_feresetround_noexl_ctx): Likewise.
6620         (libc_feholdsetround_53bit_ctx): Likewise.
6621         (libc_feresetround_53bit_ctx): Likewise.
6622         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
6623         (libc_feholdexcept_setround_sse_ctx): New function.
6624         (libc_fesetenv_sse_ctx): Likewise.
6625         (libc_feupdateenv_sse_ctx): Likewise.
6626         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
6627         (libc_feholdexcept_setround_387_ctx): Likewise.
6628         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
6629         (libc_feholdsetround_387_prec_ctx): Likewise.
6630         (libc_feholdsetround_387_ctx): Likewise.
6631         (libc_feholdsetround_387_53bit_ctx): Likewise.
6632         (libc_feholdsetround_sse_ctx): Likewise.
6633         (libc_feresetround_sse_ctx): Likewise.
6634         (libc_feresetround_387_ctx): Likewise.
6635         (libc_feupdateenv_387_ctx): Likewise.
6636         (libc_feholdexcept_setroundf_ctx): Define macro.
6637         (libc_fesetenvf_ctx): Likewise.
6638         (libc_feupdateenvf_ctx): Likewise.
6639         (libc_feholdsetroundf_ctx): Likewise.
6640         (libc_feresetroundf_ctx): Likewise.
6641         (libc_feholdexcept_setround_ctx): Likewise.
6642         (libc_fesetenv_ctx): Likewise.
6643         (libc_feupdateenv_ctx): Likewise.
6644         (libc_feholdsetround_ctx): Likewise.
6645         (libc_feresetround_ctx): Likewise.
6646         (libc_feholdexcept_setroundl_ctx): Likewise.
6647         (libc_feupdateenvl_ctx): Likewise.
6648         (libc_feholdsetroundl_ctx): Likewise.
6649         (libc_feresetroundl_ctx): Likewise.
6650         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
6651         (libc_feresetround_53bit_ctx): Likewise.
6653 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
6655         * locale/iso-639.def: Convert to UTF-8.
6657 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
6659         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
6660         (EXCEPTION_TESTS_double): Likewise.
6661         (EXCEPTION_TESTS_long_double): Likewise.
6662         (EXCEPTION_TESTS): Likewise.
6663         * math/libm-test.inc (test_exceptions): Only test exceptions if
6664         EXCEPTION_TESTS (FLOAT).
6666 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
6668         * benchtests/Makefile (string-bench): Add strcpy_chk and
6669         stpcpy_chk.
6670         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
6671         * benchtests/bench-stpcpy_chk.c: New file.
6672         * benchtests/bench-strcpy_chk-ifunc.c: New file.
6673         * benchtests/bench-strcpy_chk.c: New file.
6674         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
6675         code.
6676         (do_test): Likewise.
6678 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6680         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
6681         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
6682         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
6683         with tabs where appropriate.
6684         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
6685         dl-procinfo.h.
6686         [PPC_PLATFORM_PPC440]: Likewise.
6687         [PPC_PLATFORM_PPC464]: Likewise.
6688         [PPC_PLATFORM_PPC476]: Likewise.
6689         (_dl_string_platform): Add support for detecting ppc405, ppc440,
6690         ppc464, and ppc476 platform strings merging from ports/
6691         dl-procinfo.h.
6693 2013-06-11  Andreas Schwab  <schwab@suse.de>
6695         [BZ #14991]
6696         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
6697         (from_ucs4_idx): Regenerate.
6698         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
6699         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
6700         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
6701         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
6702         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
6703         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
6704         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
6705         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
6706         from FROM_LOOP and TO_LOOP specific macros.
6707         (BODY): Handle combining characters.
6708         * iconvdata/BIG5HKSCS.irreversible: Update.
6709         * iconvdata/BIG5HKSCS.precomposed: New file.
6710         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
6711         characters.
6712         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
6714 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
6716         * include/sys/time.h: Fix indentation and add copyright header.
6718         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
6719         (do_test): Likewise.
6720         * string/test-memchr.c (do_one_test): Likewise.
6721         (do_test): Likewise.
6722         * string/test-memcmp.c (do_one_test): Likewise.
6723         (do_test): Likewise.
6724         * string/test-memcpy.c (do_one_test): Likewise.
6725         (do_test): Likewise.
6726         * string/test-memmem.c (do_one_test): Likewise.
6727         (do_test): Likewise.
6728         (do_random_tests): Likewise.
6729         * string/test-memmove.c (do_one_test): Likewise.
6730         (do_test): Likewise.
6731         * string/test-memset.c (do_one_test): Likewise.
6732         (do_test): Likewise.
6733         * string/test-rawmemchr.c (do_one_test): Likewise.
6734         (do_test): Likewise.
6735         * string/test-strcasecmp.c (do_one_test): Likewise.
6736         (do_test): Likewise.
6737         * string/test-strcasestr.c (do_one_test): Likewise.
6738         (do_test): Likewise.
6739         * string/test-strcat.c (do_one_test): Likewise.
6740         (do_test): Likewise.
6741         * string/test-strchr.c (do_one_test): Likewise.
6742         (do_test): Likewise.
6743         * string/test-strcmp.c (do_one_test): Likewise.
6744         (do_test): Likewise.
6745         * string/test-strcpy.c (do_one_test): Likewise.
6746         (do_test): Likewise.
6747         * string/test-string.h: Likewise.
6748         (test_init): Likewise.
6749         * string/test-strlen.c (do_one_test): Likewise.
6750         (do_test): Likewise.
6751         * string/test-strncasecmp.c (do_one_test): Likewise.
6752         (do_test): Likewise.
6753         * string/test-strncat.c (do_one_test): Likewise.
6754         (do_test): Likewise.
6755         * string/test-strncmp.c (do_one_test): Likewise.
6756         (do_test_limit): Likewise.
6757         (do_test): Likewise.
6758         * string/test-strncpy.c (do_one_test): Likewise.
6759         (do_test): Likewise.
6760         * string/test-strnlen.c (do_one_test): Likewise.
6761         (do_test): Likewise.
6762         * string/test-strpbrk.c (do_one_test): Likewise.
6763         (do_test): Likewise.
6764         * string/test-strrchr.c (do_one_test): Likewise.
6765         (do_test): Likewise.
6766         * string/test-strspn.c (do_one_test): Likewise.
6767         (do_test): Likewise.
6768         * string/test-strstr.c (do_one_test): Likewise.
6769         (do_test): Likewise.
6771         * benchtests/Makefile (string-bench): Add string benchmarks.
6772         * benchtests/bench-bcopy-ifunc.c: New file.
6773         * benchtests/bench-bcopy.c: New file.
6774         * benchtests/bench-bzero-ifunc.c: New file.
6775         * benchtests/bench-bzero.c: New file.
6776         * benchtests/bench-memccpy-ifunc.c: New file.
6777         * benchtests/bench-memccpy.c: New file.
6778         * benchtests/bench-memchr-ifunc.c: New file.
6779         * benchtests/bench-memchr.c: New file.
6780         * benchtests/bench-memcmp-ifunc.c: New file.
6781         * benchtests/bench-memcmp.c: New file.
6782         * benchtests/bench-memmem-ifunc.c: New file.
6783         * benchtests/bench-memmem.c: New file.
6784         * benchtests/bench-memmove-ifunc.c: New file.
6785         * benchtests/bench-memmove.c: New file.
6786         * benchtests/bench-mempcpy-ifunc.c: New file.
6787         * benchtests/bench-mempcpy.c: New file.
6788         * benchtests/bench-memset-ifunc.c: New file.
6789         * benchtests/bench-memset.c: New file.
6790         * benchtests/bench-rawmemchr-ifunc.c: New file.
6791         * benchtests/bench-rawmemchr.c: New file.
6792         * benchtests/bench-stpcpy-ifunc.c: New file.
6793         * benchtests/bench-stpcpy.c: New file.
6794         * benchtests/bench-stpncpy-ifunc.c: New file.
6795         * benchtests/bench-stpncpy.c: New file.
6796         * benchtests/bench-strcasecmp-ifunc.c: New file.
6797         * benchtests/bench-strcasecmp.c: New file.
6798         * benchtests/bench-strcasestr-ifunc.c: New file.
6799         * benchtests/bench-strcasestr.c: New file.
6800         * benchtests/bench-strcat-ifunc.c: New file.
6801         * benchtests/bench-strcat.c: New file.
6802         * benchtests/bench-strchr-ifunc.c: New file.
6803         * benchtests/bench-strchr.c: New file.
6804         * benchtests/bench-strchrnul-ifunc.c: New file.
6805         * benchtests/bench-strchrnul.c: New file.
6806         * benchtests/bench-strcmp-ifunc.c: New file.
6807         * benchtests/bench-strcmp.c: New file.
6808         * benchtests/bench-strcpy-ifunc.c: New file.
6809         * benchtests/bench-strcpy.c: New file.
6810         * benchtests/bench-strcspn-ifunc.c: New file.
6811         * benchtests/bench-strcspn.c: New file.
6812         * benchtests/bench-strlen-ifunc.c: New file.
6813         * benchtests/bench-strlen.c: New file.
6814         * benchtests/bench-strncasecmp-ifunc.c: New file.
6815         * benchtests/bench-strncasecmp.c: New file.
6816         * benchtests/bench-strncat-ifunc.c: New file.
6817         * benchtests/bench-strncat.c: New file.
6818         * benchtests/bench-strncmp-ifunc.c: New file.
6819         * benchtests/bench-strncmp.c: New file.
6820         * benchtests/bench-strncpy-ifunc.c: New file.
6821         * benchtests/bench-strncpy.c: New file.
6822         * benchtests/bench-strnlen-ifunc.c: New file.
6823         * benchtests/bench-strnlen.c: New file.
6824         * benchtests/bench-strpbrk-ifunc.c: New file.
6825         * benchtests/bench-strpbrk.c: New file.
6826         * benchtests/bench-strrchr-ifunc.c: New file.
6827         * benchtests/bench-strrchr.c: New file.
6828         * benchtests/bench-strspn-ifunc.c: New file.
6829         * benchtests/bench-strspn.c: New file.
6830         * benchtests/bench-strstr-ifunc.c: New file.
6831         * benchtests/bench-strstr.c: New file.
6833         * benchtests/Makefile: Disable parallel execution of targets.
6834         (string-bench): Add memcpy.
6835         (benchset): New variable to store a list of benchmark sets.
6836         (bench-func): Renamed from bench.
6837         (bench-set): New target.
6838         (bench): Depend on bench-func and bench-set.
6839         * benchtests/README: Add section on benchmark sets.
6840         * benchtests/bench-memcpy-ifunc.c: New file.
6841         * benchtests/bench-memcpy.c: New file.
6842         * benchtests/bench-string.h: New file.
6844 2013-06-11  Andreas Schwab  <schwab@suse.de>
6846         [BZ #15577]
6847         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
6848         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
6849         values in the triple.
6850         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
6851         terminator in the group key.
6853 2013-06-11  Andreas Jaeger  <aj@suse.de>
6855         * po/zh_TW.po: Update Chinese (traditional) translation from
6856         translation project.
6858 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
6860         * include/time.h (__clock_gettime): Add libc_hidden_proto.
6861         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
6862         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
6863         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
6864         (clock_getcpuclockid): Likewise.
6865         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
6866         Add weak_alias and libc_hidden_def.
6867         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
6868         * rt/clock_gettime.c (clock_gettime): Rename to
6869         __clock_gettime.  Add weak_alias and libc_hidden_def.
6870         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
6871         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
6872         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
6873         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
6874         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
6875         Likewise.
6876         * rt/clock_settime.c (clock_settime): Rename to
6877         __clock_settime.  Add weak_alias and libc_hidden_def.
6878         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
6880 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
6882         * mach/err_boot.sub: Remove trailing whitespace.
6883         * mach/err_ipc.sub: Likewise.
6884         * mach/err_mach.sub: Likewise.
6886         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
6887         (ROUNDING_TESTS_double): Likewise.
6888         (ROUNDING_TESTS_long_double): Likewise.
6889         (ROUNDING_TESTS): Likewise.
6890         * math/libm-test.inc: Include <math-tests.h>.
6891         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
6892         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
6893         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
6894         (IF_ROUND_INIT_FE_UPWARD): Likewise.
6896 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
6898         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
6899         of assigning.
6901 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
6903         * sysdeps/gnu/errlist.awk: Do not generate space at end of
6904         otherwise empty TRANS lines.
6905         * sysdeps/gnu/errlist.c: Regenerated.
6907         * catgets/gencat.c (error_print): Use (void) in function
6908         definition.
6909         * crypt/crypt_util.c (__init_des): Likewise.
6910         * crypt/speeds.c (Stop): Likewise.
6911         (main): Likewise.
6912         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
6913         * inet/ruserpass.c (token): Likewise.
6914         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
6915         * intl/localealias.c (extend_alias_table): Likewise.
6916         * intl/plural-exp.c (init_germanic_plural): Likewise.
6917         * libio/fcloseall.c (__fcloseall): Likewise.
6918         * libio/genops.c (_IO_flush_all): Likewise.
6919         (_IO_flush_all_linebuffered): Likewise.
6920         (_IO_cleanup): Likewise.
6921         (_IO_iter_begin): Likewise.
6922         (_IO_iter_end): Likewise.
6923         (_IO_list_lock): Likewise.
6924         (_IO_list_unlock): Likewise.
6925         (_IO_list_resetlock): Likewise.
6926         * libio/getchar.c (getchar): Likewise.
6927         * libio/getchar_u.c (getchar_unlocked): Likewise.
6928         * libio/getwchar.c (getwchar): Likewise.
6929         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
6930         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
6931         * login/getpt.c (__getpt): Likewise.
6932         * login/tst-utmp.c (main): Likewise.
6933         * malloc/hooks.c (__malloc_check_init): Likewise.
6934         * malloc/malloc.c (__malloc_stats): Likewise.
6935         * malloc/mtrace.c (tr_break): Likewise.
6936         (mtrace): Likewise.
6937         (muntrace): Likewise.
6938         * misc/fstab.c (endfsent): Likewise.
6939         * misc/getclktck.c (__getclktck): Likewise.
6940         * misc/getdtsz.c (__getdtablesize): Likewise.
6941         * misc/gethostid.c (gethostid): Likewise.
6942         * misc/getpagesize.c (__getpagesize): Likewise.
6943         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
6944         (__get_nprocs): Likewise.
6945         (__get_phys_pages): Likewise.
6946         (__get_avphys_pages): Likewise.
6947         * misc/getttyent.c (getttyent): Likewise.
6948         (setttyent): Likewise.
6949         (endttyent): Likewise.
6950         * misc/getusershell.c (getusershell): Likewise.
6951         (endusershell): Likewise.
6952         (setusershell): Likewise.
6953         (initshells): Likewise.
6954         * misc/hsearch.c (__hdestroy): Likewise.
6955         * misc/sync.c (sync): Likewise.
6956         * misc/syslog.c (closelog_internal): Likewise.
6957         (closelog): Likewise.
6958         * misc/ttyslot.c (ttyslot): Likewise.
6959         * misc/vhangup.c (vhangup): Likewise.
6960         * posix/fork.c (__fork): Likewise.
6961         * posix/getegid.c (__getegid): Likewise.
6962         * posix/geteuid.c (__geteuid): Likewise.
6963         * posix/getgid.c (__getgid): Likewise.
6964         * posix/getpid.c (__getpid): Likewise.
6965         * posix/getppid.c (__getppid): Likewise.
6966         * posix/getuid.c (__getuid): Likewise.
6967         * posix/pause.c (pause): Likewise.
6968         * posix/setpgrp.c (setpgrp): Likewise.
6969         * posix/setsid.c (__setsid): Likewise.
6970         * posix/test-vfork.c (noop): Likewise.
6971         * resolv/gethnamaddr.c (_endhtent): Likewise.
6972         (_gethtent): Likewise.
6973         (ht_endhostent): Likewise.
6974         (gethostent): Likewise.
6975         (dns_service): Likewise.
6976         * stdlib/drand48.c (drand48): Likewise.
6977         * stdlib/lrand48.c (lrand48): Likewise.
6978         * stdlib/mrand48.c (mrand48): Likewise.
6979         * stdlib/rand.c (rand): Likewise.
6980         * stdlib/random.c (__random): Likewise.
6981         * stdlib/setenv.c (clearenv): Likewise.
6982         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
6983         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
6984         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
6985         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
6986         (__get_nprocs): Likewise.
6987         (__get_phys_pages): Likewise.
6988         (__get_avphys_pages): Likewise.
6989         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
6990         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
6991         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
6992         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
6993         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
6994         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
6995         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
6996         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
6997         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
6998         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
6999         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
7000         * sysdeps/mach/hurd/sync.c (sync): Likewise.
7001         * sysdeps/posix/clock.c (clock): Likewise.
7002         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
7003         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
7004         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
7005         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
7006         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
7007         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
7008         (__get_nprocs_conf): Likewise.
7009         (__get_phys_pages): Likewise.
7010         (__get_avphys_pages): Likewise.
7011         * time/clock.c (clock): Likewise.
7012         * time/tzset.c (__tzname_max): Likewise.
7014 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
7016         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
7017         (__bswap_32): Do not use "register".
7018         * crypt/crypt.c (_ufc_doit_r): Likewise.
7019         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
7020         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
7021         * gmon/gmon.c (__monstartup): Likewise.
7022         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
7023         * hurd/hurdmalloc.c (more_memory): Likewise.
7024         (malloc): Likewise.
7025         (free): Likewise.
7026         (realloc): Likewise.
7027         (malloc_fork_prepare): Likewise.
7028         (malloc_fork_parent): Likewise.
7029         (malloc_fork_child): Likewise.
7030         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
7031         (_svcauth_des): Likewise.
7032         * inet/inet_lnaof.c (inet_lnaof): Likewise.
7033         * inet/inet_net.c (inet_network): Likewise.
7034         * inet/inet_netof.c (inet_netof): Likewise.
7035         * inet/rcmd.c (__validuser2_sa): Likewise.
7036         * io/fts.c (fts_open): Likewise.
7037         (fts_load): Likewise.
7038         (fts_close): Likewise.
7039         (fts_read): Likewise.
7040         (fts_children): Likewise.
7041         (fts_build): Likewise.
7042         (fts_stat): Likewise.
7043         (fts_sort): Likewise.
7044         (fts_alloc): Likewise.
7045         (fts_lfree): Likewise.
7046         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
7047         (_IO_file_xsgetn): Likewise.
7048         (_IO_file_xsgetn_mmap): Likewise.
7049         * libio/iofopncook.c (_IO_cookie_read): Likewise.
7050         (_IO_cookie_write): Likewise.
7051         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
7052         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
7053         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
7054         * malloc/obstack.c (_obstack_begin): Likewise.
7055         (_obstack_begin_1): Likewise.
7056         (_obstack_newchunk): Likewise.
7057         (_obstack_allocated_p): Likewise.
7058         (obstack_free): Likewise.
7059         (_obstack_memory_used): Likewise.
7060         * misc/getttyent.c (getttynam): Likewise.
7061         (getttyent): Likewise.
7062         (skip): Likewise.
7063         (value): Likewise.
7064         * misc/getusershell.c (initshells): Likewise.
7065         * misc/syslog.c (__vsyslog_chk): Likewise.
7066         * misc/ttyslot.c (ttyslot): Likewise.
7067         * nis/nis_hash.c (__nis_hash): Likewise.
7068         * posix/fnmatch_loop.c (FCT): Likewise.
7069         * posix/getconf.c (print_all): Likewise.
7070         (main): Likewise.
7071         * posix/getopt.c (exchange): Likewise.
7072         * posix/glob.c (globfree): Likewise.
7073         (prefix_array): Likewise.
7074         (__glob_pattern_type): Likewise.
7075         * resolv/arpa/nameser.h (NS_GET16): Likewise.
7076         (NS_GET32): Likewise.
7077         (NS_PUT16): Likewise.
7078         (NS_PUT32): Likewise.
7079         * resolv/gethnamaddr.c (getanswer): Likewise.
7080         (gethostbyname2): Likewise.
7081         (gethostbyaddr): Likewise.
7082         (_gethtent): Likewise.
7083         (_gethtbyname2): Likewise.
7084         (_gethtbyaddr): Likewise.
7085         * resolv/ns_print.c (dst_s_get_int16): Likewise.
7086         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
7087         * resolv/res_init.c (__res_vinit): Likewise.
7088         (net_mask): Likewise.
7089         * resolv/res_mkquery.c (outchar): Likewise.
7090         (PRINT): Likewise.
7091         * stdio-common/printf_fp.c (outchar): Likewise.
7092         (PRINT): Likewise.
7093         * stdio-common/printf_fphex.c (outchar): Likewise.
7094         (PRINT): Likewise.
7095         * stdio-common/printf_size.c (outchar): Likewise.
7096         (PRINT): Likewise.
7097         * stdio-common/test_rdwr.c (main): Likewise.
7098         * stdio-common/tfformat.c (matches): Likewise.
7099         * stdio-common/vfprintf.c (outchar): Likewise.
7100         (printf_unknown): Likewise.
7101         (buffered_vfprintf): Likewise.
7102         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
7103         * stdio-common/xbug.c (AppendToBuffer): Likewise.
7104         (ReadFile): Likewise.
7105         * stdlib/qsort.c (SWAP): Likewise.
7106         (_quicksort): Likewise.
7107         * stdlib/setenv.c (__add_to_environ): Likewise.
7108         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7109         * stdlib/strtol_l.c (__strtol_l): Likewise.
7110         * stdlib/tst-strtod.c (main): Likewise.
7111         * stdlib/tst-strtol.c (main): Likewise.
7112         * stdlib/tst-strtoll.c (main): Likewise.
7113         * string/bits/string2.h (__strcmp_cc): Likewise.
7114         (__strcmp_cg): Likewise.
7115         (__strcspn_c1): Likewise.
7116         (__strcspn_c2): Likewise.
7117         (__strcspn_c3): Likewise.
7118         (__strspn_c1): Likewise.
7119         (__strspn_c2): Likewise.
7120         (__strspn_c3): Likewise.
7121         (__strsep_1c): Likewise.
7122         (__strsep_2c): Likewise.
7123         (__strsep_3c): Likewise.
7124         * string/memccpy.c (__memccpy): Likewise.
7125         * string/stpcpy.c (__stpcpy): Likewise.
7126         * string/strcmp.c (strcmp): Likewise.
7127         * string/strrchr.c (strrchr): Likewise.
7128         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
7129         Likewise.
7130         * sysdeps/mach/hurd/getcwd.c
7131         (_hurd_canonicalize_directory_name_internal): Likewise.
7132         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
7133         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
7134         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
7135         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
7136         Likewise, in both definitions.
7137         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
7138         definitions.
7139         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
7140         64] (__bswap_64): Likewise.
7141         * time/test_time.c (main): Likewise.
7142         * time/tzfile.c (__tzfile_read): Likewise.
7143         (__tzfile_compute): Likewise.
7144         * time/tzset.c (__tzset_parse_tz): Likewise.
7145         (tzset_internal): Likewise.
7146         (compute_change): Likewise.
7147         * wcsmbs/wcscat.c (__wcscat): Likewise.
7148         * wcsmbs/wcschr.c (wcschr): Likewise.
7149         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
7150         * wcsmbs/wcscspn.c (wcscspn): Likewise.
7151         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
7152         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
7153         * wcsmbs/wcsspn.c (wcsspn): Likewise.
7154         * wcsmbs/wcsstr.c (wcsstr): Likewise.
7155         * wcsmbs/wmemchr.c (wmemchr): Likewise.
7156         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7157         * wcsmbs/wmemset.c (wmemset): Likewise.
7159 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
7161         * scripts/config.guess: Update to version 2013-05-16.
7162         * scripts/config.sub: Update to version 2013-04-24.
7163         * scripts/install-sh: Update to version 2011-11-20.07.
7164         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
7165         * scripts/move-if-change: Update to version 2012-01-06 07:23.
7167 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
7169         * debug/fgetws_u_chk.c: Fix leading whitespaces.
7170         * elf/sln.c: Likewise.
7171         * hurd/hurd/ioctl.h: Likewise.
7172         * hurd/hurdmalloc.c: Likewise.
7173         * hurd/xattr.c: Likewise.
7174         * include/shlib-compat.h: Likewise.
7175         * inet/ruserpass.c: Likewise.
7176         * libio/iofgets_u.c: Likewise.
7177         * libio/iofgetws_u.c: Likewise.
7178         * locale/programs/ld-identification.c: Likewise.
7179         * locale/programs/ld-time.c: Likewise.
7180         * mach/msg-destroy.c: Likewise.
7181         * nss/nss_files/files-netgrp.c: Likewise.
7182         * resolv/res_data.c: Likewise.
7183         * soft-fp/op-1.h: Likewise.
7184         * soft-fp/op-2.h: Likewise.
7185         * soft-fp/op-4.h: Likewise.
7186         * soft-fp/op-common.h: Likewise.
7187         * stdio-common/printf_fphex.c: Likewise.
7188         * stdlib/strtod_l.c: Likewise.
7189         * sunrpc/rpc/clnt.h: Likewise.
7190         * sysdeps/generic/framestate.c: Likewise.
7191         * sysdeps/i386/bsd-_setjmp.S: Likewise.
7192         * sysdeps/i386/bsd-setjmp.S: Likewise.
7193         * sysdeps/i386/__longjmp.S: Likewise.
7194         * sysdeps/i386/setjmp.S: Likewise.
7195         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7196         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7197         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7198         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7199         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7200         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
7201         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7202         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7203         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7204         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
7205         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
7206         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7207         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7208         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7209         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7210         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7211         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7212         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
7213         * sysdeps/ieee754/support.c: Likewise.
7214         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7215         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
7216         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
7217         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
7218         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
7219         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
7220         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
7221         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
7222         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
7223         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
7224         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
7225         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
7226         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
7227         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
7228         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
7229         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
7230         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7231         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
7233 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
7235         * posix/transbug.c: Remove executable mode.
7237 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
7239         * crypt/speeds.c: Remove trailing whitespace.
7240         * dlfcn/default.c: Likewise.
7241         * elf/ifuncdep2.c: Likewise.
7242         * elf/ifuncmain1.c: Likewise.
7243         * elf/ifuncmain1vis.c: Likewise.
7244         * elf/testobj.h: Likewise.
7245         * elf/tst-stackguard1.c: Likewise.
7246         * gmon/sys/gmon.h: Likewise.
7247         * hurd/hurdmsg.c: Likewise.
7248         * hurd/new-fd.c: Likewise.
7249         * hurd/ports-get.c: Likewise.
7250         * iconvdata/ibm1008_420.c: Likewise.
7251         * inet/tst-getni1.c: Likewise.
7252         * inet/tst-getni2.c: Likewise.
7253         * libio/ioungetc.c: Likewise.
7254         * libio/wfiledoalloc.c: Likewise.
7255         * manual/libm-err-tab.pl: Likewise.
7256         * math/w_dremf.c: Likewise.
7257         * misc/ftruncate.c: Likewise.
7258         * posix/bug-glob2.c: Likewise.
7259         * posix/tst-pcre.c: Likewise.
7260         * posix/wait4.c: Likewise.
7261         * resolv/README: Likewise.
7262         * resolv/res_debug.h: Likewise.
7263         * resolv/tst-inet_ntop.c: Likewise.
7264         * setjmp/bug269-setjmp.c: Likewise.
7265         * soft-fp/extended.h: Likewise.
7266         * soft-fp/op-1.h: Likewise.
7267         * soft-fp/op-2.h: Likewise.
7268         * soft-fp/op-4.h: Likewise.
7269         * soft-fp/op-8.h: Likewise.
7270         * soft-fp/testit.c: Likewise.
7271         * stdio-common/bug16.c: Likewise.
7272         * stdlib/random.c: Likewise.
7273         * sunrpc/rpcsvc/rquota.x: Likewise.
7274         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
7275         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7276         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7277         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7278         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7279         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7280         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7281         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7282         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7283         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7284         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7285         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7286         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7287         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7288         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7289         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7290         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7291         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7292         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7293         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7294         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7295         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7296         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
7297         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
7298         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
7299         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
7300         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
7301         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
7302         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7303         * sysdeps/ieee754/s_lib_version.c: Likewise.
7304         * sysdeps/mach/hurd/check_fds.c: Likewise.
7305         * sysdeps/mach/hurd/getsockname.c: Likewise.
7306         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
7307         * sysdeps/mach/hurd/recvfrom.c: Likewise.
7308         * sysdeps/powerpc/bits/link.h: Likewise.
7309         * sysdeps/powerpc/dl-procinfo.c: Likewise.
7310         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
7311         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
7312         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
7313         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
7314         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7315         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
7316         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
7317         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
7318         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
7319         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
7320         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
7321         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
7322         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
7323         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
7324         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
7325         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
7326         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
7327         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
7328         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7329         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7330         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
7331         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7332         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
7333         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
7334         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
7335         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
7336         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7337         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7338         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
7339         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
7340         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
7341         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7342         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7343         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
7344         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
7345         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
7346         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
7347         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
7348         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
7349         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
7350         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
7351         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
7352         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
7353         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
7354         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
7355         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
7356         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
7357         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
7358         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
7359         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7360         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7361         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
7362         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
7363         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
7364         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
7365         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
7366         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
7367         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
7368         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
7369         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
7370         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
7371         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
7372         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
7373         * sysdeps/powerpc/sysdep.h: Likewise.
7374         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7375         * sysdeps/s390/s390-64/sub_n.S: Likewise.
7376         * sysdeps/sh/dl-trampoline.S: Likewise.
7377         * sysdeps/sh/memset.S: Likewise.
7378         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
7379         * sysdeps/sh/strlen.S: Likewise.
7380         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
7381         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
7382         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
7383         * sysdeps/sparc/sparc32/rem.S: Likewise.
7384         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
7385         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
7386         * sysdeps/sparc/sparc32/strchr.S: Likewise.
7387         * sysdeps/sparc/sparc32/udiv.S: Likewise.
7388         * sysdeps/sparc/sparc32/urem.S: Likewise.
7389         * sysdeps/sparc/sparc64/add_n.S: Likewise.
7390         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
7391         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
7392         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
7393         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
7394         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
7395         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
7396         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
7397         * sysdeps/unix/bsd/times.c: Likewise.
7398         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
7399         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
7400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
7401         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
7402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
7403         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
7404         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
7405         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
7406         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
7407         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
7408         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
7409         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
7410         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
7411         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
7412         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
7413         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
7414         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
7415         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
7416         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
7417         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
7418         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
7419         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
7420         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
7421         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
7422         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
7423         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
7424         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
7425         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7426         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
7427         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
7428         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
7429         * sysdeps/x86_64/strcspn.S: Likewise.
7431 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
7433         * locale/C-translit.h: Revert #include <stdint.h> because this is a
7434         generated file.  Regenerate properly from gen-translit.pl.
7435         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
7436         locale/C-translit.h.
7438 2013-06-05  Andreas Schwab  <schwab@suse.de>
7440         [BZ #15100]
7441         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
7442         week as 6 instead of -1.
7443         * time/tst-strptime.c (day_tests): Add test case.
7445 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
7447         * sysdeps/generic/math_private.h
7448         (libc_feholdexcept_setround_53bit): Replace with
7449         libc_feholdsetround_53bit.
7450         (libc_feupdateenv_53bit): Replace with
7451         libc_feresetround_53bit.
7452         (SET_RESTORE_ROUND_53BIT): Adjust.
7454 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
7456         * string/test-strchrnul.c: Add copyright header.
7458         * posix/tst-getaddrinfo4.c: Increase test timeout.
7460 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
7462         [BZ #15536]
7463         * math/libm-test.inc (MAX_EXP): Remove
7464         (MIN_EXP): Define.
7465         (ulp): Use MIN_EXP - MANT_DIG.
7466         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
7468 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
7470         * po/be.po: Revert last change.
7471         * po/zh_CN.po: Likewise.
7472         * po/header.pot: Likewise.
7474 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
7476         * Makefile ($(common-objpfx)linkobj/libc.so): Define
7477         link-libc-deps to empty as target-specific variable.
7478         * Makerules (link-libc-args): New variable.
7479         (libc-for-link): Likewise.
7480         (link-libc-deps): Likewise.
7481         (lib%.so): Depend on $(link-libc-deps).  Link with
7482         $(link-libc-args).
7483         (build-module): Link with $(link-libc-args).
7484         (build-module-asneeded): Likewise.
7485         (build-module-helper-objlist): Filter out $(link-libc-deps) from
7486         list of objects.
7487         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
7488         target-specific variable.
7489         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
7490         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
7491         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
7492         libc.
7493         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
7494         libc and ld.so.
7495         ($(objpfx)libpcprofile.so): Likewise.
7496         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
7497         libc_nonshared.a.
7498         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
7499         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
7500         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
7501         $(link-libc-deps).
7502         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
7503         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
7504         * login/Makefile ($(objpfx)libutil.so): Likewise.
7505         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
7506         * math/Makefile ($(objpfx)libm.so): Likewise.
7507         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
7508         $(objpfx)libnsl.so): Define libc-for-link as target-specific
7509         variable instead of depending directly on libc.
7510         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
7511         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
7512         $(link-libc-deps).
7513         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
7514         libc.
7515         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
7516         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
7517         ($(objpfx)libanl.so): Likewise.
7518         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
7519         ld.so.
7520         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
7521         $(link-libc-deps).
7522         * sysdeps/i386/fpu/Makefile: Remove file.
7523         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
7524         ($(objpfx)libm.so): Remove dependency on ld.so.
7526 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
7528         [BZ # 15553]
7529         * nis/yp_xdr.c (XDRMAXNAME): Define.
7530         (XDRMAXRECORD): Define.
7531         (xdr_domainname): Use XDRMAXNAME.
7532         (xdr_mapname): Likewise.
7533         (xdr_peername): Likewise.
7534         (xdr_keydat): Use XDRMAXRECORD.
7535         (xdr_valdat): Likewise.
7537 2013-05-30  Jeff Law  <law@redhat.com>
7539         [BZ #14256]
7540         * manual/errno.texi (ESTALE): Update to account for more than
7541         just NFS file systems.
7542         * sysdeps/gnu/errlist.c: Regenerated.
7544 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
7546         [BZ #15465]
7547         * elf/Makefile (tests): Add tst-null-argv.
7548         (modules-names):  Add tst-null-argv-lib.
7549         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
7550         (tst-null-argv-ENV): Set environment for tst-null-argv.
7551         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
7552         (RTLD_PROGNAME): New macro.
7553         * elf/tst-null-argv.c: New test case.
7554         * elf/tst-null-argv-lib.c: Library for test case.
7555         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
7556         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
7557         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
7558         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
7559         * elf/dl-init.c (call_init): Likewise.
7560         (_dl_init): Likewise.
7561         * elf/dl-load.c (print_search_path): Likewise.
7562         (_dl_map_object): Likewise.
7563         * elf/dl-lookup.c (do_lookup_x): Likewise.
7564         (add_dependency): Likewise.
7565         (_dl_lookup_symbol_x): Likewise.
7566         (_dl_debug_bindings): Likewise.
7567         * elf/dl-open.c (_dl_show_scope): Likewise.
7568         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
7569         * elf/dl-version.c (match_symbol): Likewise.
7570         (_dl_check_map_versions): Likewise.
7571         * elf/rtld.c (dl_main): Likewise.
7572         (print_unresolved): Use RTLD_PROGNAME.
7573         (print_missing_version): Likewise.
7574         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
7575         (elf_machine_rela): Likewise.
7576         * sysdeps/powerpc/powerpc32/dl-machine.c
7577         (__process_machine_rela): Likewise.
7578         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7579         Likewise.
7580         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
7581         Likewise.
7582         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
7583         Likewise.
7584         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7585         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
7586         Likewise.
7587         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
7588         Likewise.
7589         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
7591 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
7593         * po/be.po: Add descriptive title.
7594         * po/zh_CN.po: Likewise.
7595         * po/header.pot: Likewise.
7597 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
7599         * locale/programs/locarchive.c (create_archive): Inlucde fname in
7600         error message.
7601         (enlarge_archive): Likewise.
7603 2013-05-28  Ben North  <ben@redfrontdoor.org>
7605         * manual/arith.texi (frexp): It is the magnitude of the return
7606         value which lies in [0.5, 1), not the return value itself.
7608 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7610         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7612 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
7614         * stdio-common/bug26.c (main): Correct fscanf template.
7616         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
7617         declare _dl_skip_args.
7619         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
7620         Don't declare.
7622         * manual/platform.texi: Add missing @end deftypefun.
7624 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
7626         [BZ #15529]
7627         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
7628         bit of mantissa of 2^16382.
7629         * math/libm-test.inc (hypot_test_data): Add more tests.
7631         * math/libm-test.inc: Add drem and pow10 to list of tested
7632         functions.
7633         (pow10_test): New function.
7634         (drem_test): Likewise.
7635         (drem_test_tonearest): Likewise.
7636         (drem_test_towardzero): Likewise.
7637         (drem_test_downward): Likewise.
7638         (drem_test_upward): Likewise.
7639         (main): Call the new functions.
7641         * math/libm-test.inc (finite_test_data): Remove.
7642         (finite_test): Run tests from isfinite_test_data.
7643         (gamma_test_data): Remove.
7644         (gamma_test): Run tests from lgamma_test_data.
7645         * sysdeps/i386/fpu/libm-test-ulps: Update.
7646         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7648 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7650         * manual/platform.texi: Add PowerPC PPR function set documentation.
7651         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
7652         implementation.
7654 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
7656         * math/libm-test.inc (MAX_EXP): Define.
7657         (ULPDIFF): Define.
7658         (ulp): New function.
7659         (check_float_internal): Use ULPDIFF.
7660         (cpow_test): Disable failing test.
7661         (check_ulp): Test ulp() implemetnation.
7662         (main): Call check_ulp before starting tests.
7664 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
7666         * math/gen-libm-test.pl (generate_testfile): Do not handle
7667         START_DATA and END_DATA.
7668         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
7669         END_DATA.
7670         (acos_tonearest_test_data): Likewise.
7671         (acos_towardzero_test_data): Likewise.
7672         (acos_downward_test_data): Likewise.
7673         (acos_upward_test_data): Likewise.
7674         (acosh_test_data): Likewise.
7675         (asin_test_data): Likewise.
7676         (asin_tonearest_test_data): Likewise.
7677         (asin_towardzero_test_data): Likewise.
7678         (asin_downward_test_data): Likewise.
7679         (asin_upward_test_data): Likewise.
7680         (asinh_test_data): Likewise.
7681         (atan_test_data): Likewise.
7682         (atanh_test_data): Likewise.
7683         (atan2_test_data): Likewise.
7684         (cabs_test_data): Likewise.
7685         (cacos_test_data): Likewise.
7686         (cacosh_test_data): Likewise.
7687         (carg_test_data): Likewise.
7688         (casin_test_data): Likewise.
7689         (casinh_test_data): Likewise.
7690         (catan_test_data): Likewise.
7691         (catanh_test_data): Likewise.
7692         (cbrt_test_data): Likewise.
7693         (ccos_test_data): Likewise.
7694         (ccosh_test_data): Likewise.
7695         (ceil_test_data): Likewise.
7696         (cexp_test_data): Likewise.
7697         (cimag_test_data): Likewise.
7698         (clog_test_data): Likewise.
7699         (clog10_test_data): Likewise.
7700         (conj_test_data): Likewise.
7701         (copysign_test_data): Likewise.
7702         (cos_test_data): Likewise.
7703         (cos_tonearest_test_data): Likewise.
7704         (cos_towardzero_test_data): Likewise.
7705         (cos_downward_test_data): Likewise.
7706         (cos_upward_test_data): Likewise.
7707         (cosh_test_data): Likewise.
7708         (cosh_tonearest_test_data): Likewise.
7709         (cosh_towardzero_test_data): Likewise.
7710         (cosh_downward_test_data): Likewise.
7711         (cosh_upward_test_data): Likewise.
7712         (cpow_test_data): Likewise.
7713         (cproj_test_data): Likewise.
7714         (creal_test_data): Likewise.
7715         (csin_test_data): Likewise.
7716         (csinh_test_data): Likewise.
7717         (csqrt_test_data): Likewise.
7718         (ctan_test_data): Likewise.
7719         (ctan_tonearest_test_data): Likewise.
7720         (ctan_towardzero_test_data): Likewise.
7721         (ctan_downward_test_data): Likewise.
7722         (ctan_upward_test_data): Likewise.
7723         (ctanh_test_data): Likewise.
7724         (ctanh_tonearest_test_data): Likewise.
7725         (ctanh_towardzero_test_data): Likewise.
7726         (ctanh_downward_test_data): Likewise.
7727         (ctanh_upward_test_data): Likewise.
7728         (erf_test_data): Likewise.
7729         (erfc_test_data): Likewise.
7730         (exp_test_data): Likewise.
7731         (exp_tonearest_test_data): Likewise.
7732         (exp_towardzero_test_data): Likewise.
7733         (exp_downward_test_data): Likewise.
7734         (exp_upward_test_data): Likewise.
7735         (exp10_test_data): Likewise.
7736         (exp2_test_data): Likewise.
7737         (expm1_test_data): Likewise.
7738         (fabs_test_data): Likewise.
7739         (fdim_test_data): Likewise.
7740         (finite_test_data): Likewise.
7741         (floor_test_data): Likewise.
7742         (fma_test_data): Likewise.
7743         (fma_towardzero_test_data): Likewise.
7744         (fma_downward_test_data): Likewise.
7745         (fma_upward_test_data): Likewise.
7746         (fmax_test_data): Likewise.
7747         (fmin_test_data): Likewise.
7748         (fmod_test_data): Likewise.
7749         (fpclassify_test_data): Likewise.
7750         (frexp_test_data): Likewise.
7751         (gamma_test_data): Likewise.
7752         (hypot_test_data): Likewise.
7753         (ilogb_test_data): Likewise.
7754         (isfinite_test_data): Likewise.
7755         (isgreater_test_data): Likewise.
7756         (isgreaterequal_test_data): Likewise.
7757         (isinf_test_data): Likewise.
7758         (isless_test_data): Likewise.
7759         (islessequal_test_data): Likewise.
7760         (islessgreater_test_data): Likewise.
7761         (isnan_test_data): Likewise.
7762         (isnormal_test_data): Likewise.
7763         (issignaling_test_data): Likewise.
7764         (isunordered_test_data): Likewise.
7765         (j0_test_data): Likewise.
7766         (j1_test_data): Likewise.
7767         (jn_test_data): Likewise.
7768         (ldexp_test_data): Likewise.
7769         (lgamma_test_data): Likewise.
7770         (lrint_test_data): Likewise.
7771         (lrint_tonearest_test_data): Likewise.
7772         (lrint_towardzero_test_data): Likewise.
7773         (lrint_downward_test_data): Likewise.
7774         (lrint_upward_test_data): Likewise.
7775         (llrint_test_data): Likewise.
7776         (llrint_tonearest_test_data): Likewise.
7777         (llrint_towardzero_test_data): Likewise.
7778         (llrint_downward_test_data): Likewise.
7779         (llrint_upward_test_data): Likewise.
7780         (log_test_data): Likewise.
7781         (log10_test_data): Likewise.
7782         (log1p_test_data): Likewise.
7783         (log2_test_data): Likewise.
7784         (logb_test_data): Likewise.
7785         (logb_downward_test_data): Likewise.
7786         (lround_test_data): Likewise.
7787         (llround_test_data): Likewise.
7788         (modf_test_data): Likewise.
7789         (nearbyint_test_data): Likewise.
7790         (nextafter_test_data): Likewise.
7791         (nexttoward_test_data): Likewise.
7792         (pow_test_data): Likewise.
7793         (pow_tonearest_test_data): Likewise.
7794         (pow_towardzero_test_data): Likewise.
7795         (pow_downward_test_data): Likewise.
7796         (pow_upward_test_data): Likewise.
7797         (remainder_test_data): Likewise.
7798         (remainder_tonearest_test_data): Likewise.
7799         (remainder_towardzero_test_data): Likewise.
7800         (remainder_downward_test_data): Likewise.
7801         (remainder_upward_test_data): Likewise.
7802         (remquo_test_data): Likewise.
7803         (rint_test_data): Likewise.
7804         (rint_tonearest_test_data): Likewise.
7805         (rint_towardzero_test_data): Likewise.
7806         (rint_downward_test_data): Likewise.
7807         (rint_upward_test_data): Likewise.
7808         (round_test_data): Likewise.
7809         (scalb_test_data): Likewise.
7810         (scalbn_test_data): Likewise.
7811         (scalbln_test_data): Likewise.
7812         (signbit_test_data): Likewise.
7813         (sin_test_data): Likewise.
7814         (sin_tonearest_test_data): Likewise.
7815         (sin_towardzero_test_data): Likewise.
7816         (sin_downward_test_data): Likewise.
7817         (sin_upward_test_data): Likewise.
7818         (sincos_test_data): Likewise.
7819         (sinh_test_data): Likewise.
7820         (sinh_tonearest_test_data): Likewise.
7821         (sinh_towardzero_test_data): Likewise.
7822         (sinh_downward_test_data): Likewise.
7823         (sinh_upward_test_data): Likewise.
7824         (sqrt_test_data): Likewise.
7825         (tan_test_data): Likewise.
7826         (tan_tonearest_test_data): Likewise.
7827         (tan_towardzero_test_data): Likewise.
7828         (tan_downward_test_data): Likewise.
7829         (tan_upward_test_data): Likewise.
7830         (tanh_test_data): Likewise.
7831         (tgamma_test_data): Likewise.
7832         (trunc_test_data): Likewise.
7833         (y0_test_data): Likewise.
7834         (y1_test_data): Likewise.
7835         (yn_test_data): Likewise.
7836         (significand_test_data): Likewise.
7838         * math/gen-libm-test.pl (@functions): Remove variable.
7839         (generate_testfile): Don't handle START and END lines.
7840         * math/libm-test.inc (START): New macro.
7841         (END): Likewise.
7842         (END_COMPLEX): Likewise.
7843         (acos_test): Use END macro without arguments.
7844         (acos_test_tonearest): Likewise.
7845         (acos_test_towardzero): Likewise.
7846         (acos_test_downward): Likewise.
7847         (acos_test_upward): Likewise.
7848         (acosh_test): Likewise.
7849         (asin_test): Likewise.
7850         (asin_test_tonearest): Likewise.
7851         (asin_test_towardzero): Likewise.
7852         (asin_test_downward): Likewise.
7853         (asin_test_upward): Likewise.
7854         (asinh_test): Likewise.
7855         (atan_test): Likewise.
7856         (atanh_test): Likewise.
7857         (atan2_test): Likewise.
7858         (cabs_test): Likewise.
7859         (cacos_test): Use END_COMPLEX macro without arguments.
7860         (cacosh_test): Likewise.
7861         (carg_test): Use END macro without arguments.
7862         (casin_test): Use END_COMPLEX macro without arguments.
7863         (casinh_test): Likewise.
7864         (catan_test): Likewise.
7865         (catanh_test): Likewise.
7866         (cbrt_test): Use END macro without arguments.
7867         (ccos_test): Use END_COMPLEX macro without arguments.
7868         (ccosh_test): Likewise.
7869         (ceil_test): Use END macro without arguments.
7870         (cexp_test): Use END_COMPLEX macro without arguments.
7871         (cimag_test): Use END macro without arguments.
7872         (clog_test): Use END_COMPLEX macro without arguments.
7873         (clog10_test): Likewise.
7874         (conj_test): Likewise.
7875         (copysign_test): Use END macro without arguments.
7876         (cos_test): Likewise.
7877         (cos_test_tonearest): Likewise.
7878         (cos_test_towardzero): Likewise.
7879         (cos_test_downward): Likewise.
7880         (cos_test_upward): Likewise.
7881         (cosh_test): Likewise.
7882         (cosh_test_tonearest): Likewise.
7883         (cosh_test_towardzero): Likewise.
7884         (cosh_test_downward): Likewise.
7885         (cosh_test_upward): Likewise.
7886         (cpow_test): Use END_COMPLEX macro without arguments.
7887         (cproj_test): Likewise.
7888         (creal_test): Use END macro without arguments.
7889         (csin_test): Use END_COMPLEX macro without arguments.
7890         (csinh_test): Likewise.
7891         (csqrt_test): Likewise.
7892         (ctan_test): Likewise.
7893         (ctan_test_tonearest): Likewise.
7894         (ctan_test_towardzero): Likewise.
7895         (ctan_test_downward): Likewise.
7896         (ctan_test_upward): Likewise.
7897         (ctanh_test): Likewise.
7898         (ctanh_test_tonearest): Likewise.
7899         (ctanh_test_towardzero): Likewise.
7900         (ctanh_test_downward): Likewise.
7901         (ctanh_test_upward): Likewise.
7902         (erf_test): Use END macro without arguments.
7903         (erfc_test): Likewise.
7904         (exp_test): Likewise.
7905         (exp_test_tonearest): Likewise.
7906         (exp_test_towardzero): Likewise.
7907         (exp_test_downward): Likewise.
7908         (exp_test_upward): Likewise.
7909         (exp10_test): Likewise.
7910         (exp2_test): Likewise.
7911         (expm1_test): Likewise.
7912         (fabs_test): Likewise.
7913         (fdim_test): Likewise.
7914         (finite_test): Likewise.
7915         (floor_test): Likewise.
7916         (fma_test): Likewise.
7917         (fma_test_towardzero): Likewise.
7918         (fma_test_downward): Likewise.
7919         (fma_test_upward): Likewise.
7920         (fmax_test): Likewise.
7921         (fmin_test): Likewise.
7922         (fmod_test): Likewise.
7923         (fpclassify_test): Likewise.
7924         (frexp_test): Likewise.
7925         (gamma_test): Likewise.
7926         (hypot_test): Likewise.
7927         (ilogb_test): Likewise.
7928         (isfinite_test): Likewise.
7929         (isgreater_test): Likewise.
7930         (isgreaterequal_test): Likewise.
7931         (isinf_test): Likewise.
7932         (isless_test): Likewise.
7933         (islessequal_test): Likewise.
7934         (islessgreater_test): Likewise.
7935         (isnan_test): Likewise.
7936         (isnormal_test): Likewise.
7937         (issignaling_test): Likewise.
7938         (isunordered_test): Likewise.
7939         (j0_test): Likewise.
7940         (j1_test): Likewise.
7941         (jn_test): Likewise.
7942         (ldexp_test): Likewise.
7943         (lgamma_test): Likewise.
7944         (lrint_test): Likewise.
7945         (lrint_test_tonearest): Likewise.
7946         (lrint_test_towardzero): Likewise.
7947         (lrint_test_downward): Likewise.
7948         (lrint_test_upward): Likewise.
7949         (llrint_test): Likewise.
7950         (llrint_test_tonearest): Likewise.
7951         (llrint_test_towardzero): Likewise.
7952         (llrint_test_downward): Likewise.
7953         (llrint_test_upward): Likewise.
7954         (log_test): Likewise.
7955         (log10_test): Likewise.
7956         (log1p_test): Likewise.
7957         (log2_test): Likewise.
7958         (logb_test): Likewise.
7959         (logb_test_downward): Likewise.
7960         (lround_test): Likewise.
7961         (llround_test): Likewise.
7962         (modf_test): Likewise.
7963         (nearbyint_test): Likewise.
7964         (nextafter_test): Likewise.
7965         (nexttoward_test): Likewise.
7966         (pow_test): Likewise.
7967         (pow_test_tonearest): Likewise.
7968         (pow_test_towardzero): Likewise.
7969         (pow_test_downward): Likewise.
7970         (pow_test_upward): Likewise.
7971         (remainder_test): Likewise.
7972         (remainder_test_tonearest): Likewise.
7973         (remainder_test_towardzero): Likewise.
7974         (remainder_test_downward): Likewise.
7975         (remainder_test_upward): Likewise.
7976         (remquo_test): Likewise.
7977         (rint_test): Likewise.
7978         (rint_test_tonearest): Likewise.
7979         (rint_test_towardzero): Likewise.
7980         (rint_test_downward): Likewise.
7981         (rint_test_upward): Likewise.
7982         (round_test): Likewise.
7983         (scalb_test): Likewise.
7984         (scalbn_test): Likewise.
7985         (scalbln_test): Likewise.
7986         (signbit_test): Likewise.
7987         (sin_test): Likewise.
7988         (sin_test_tonearest): Likewise.
7989         (sin_test_towardzero): Likewise.
7990         (sin_test_downward): Likewise.
7991         (sin_test_upward): Likewise.
7992         (sincos_test): Likewise.
7993         (sinh_test): Likewise.
7994         (sinh_test_tonearest): Likewise.
7995         (sinh_test_towardzero): Likewise.
7996         (sinh_test_downward): Likewise.
7997         (sinh_test_upward): Likewise.
7998         (sqrt_test): Likewise.
7999         (tan_test): Likewise.
8000         (tan_test_tonearest): Likewise.
8001         (tan_test_towardzero): Likewise.
8002         (tan_test_downward): Likewise.
8003         (tan_test_upward): Likewise.
8004         (tanh_test): Likewise.
8005         (tgamma_test): Likewise.
8006         (trunc_test): Likewise.
8007         (y0_test): Likewise.
8008         (y1_test): Likewise.
8009         (yn_test): Likewise.
8010         (significand_test): Likewise.
8012 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
8014         [BZ #15381]
8015         * libio/genops.c (_IO_no_init): Initialize wide struct info.
8017 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
8019         [BZ #14894]
8020         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
8021         __ppc_mdoio and __ppc_mdoom.
8022         * manual/platform.texi: Document new functions __ppc_yield,
8023         __ppc_mdoio and __ppc_mdoom.
8025 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
8027         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
8028         (main): Mention "tls" pseudo-hwcap is legacy.
8029         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
8031 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
8033         * math/gen-libm-test.pl (parse_args): Output only string of
8034         arguments as text for test name, not full call or descriptions of
8035         tests for extra outputs.
8036         (generate_testfile): Do not pass function name to parse_args.
8037         Generate this_func variable from START.
8038         * math/libm-test.inc (struct test_f_f_data): Rename test_name
8039         field to arg_str.
8040         (struct test_ff_f_data): Likewise.
8041         (test_ff_f_data_nexttoward): Likewise.
8042         (struct test_fi_f_data): Likewise.
8043         (struct test_fl_f_data): Likewise.
8044         (struct test_if_f_data): Likewise.
8045         (struct test_fff_f_data): Likewise.
8046         (struct test_c_f_data): Likewise.
8047         (struct test_f_f1_data): Likewise.  Remove field extra_name.
8048         (struct test_fF_f1_data): Likewise.
8049         (struct test_ffI_f1_data): Likewise.
8050         (struct test_c_c_data): Rename test_name field to arg_str.
8051         (struct test_cc_c_data): Likewise.
8052         (struct test_f_i_data): Likewise.
8053         (struct test_ff_i_data): Likewise.
8054         (struct test_f_l_data): Likewise.
8055         (struct test_f_L_data): Likewise.
8056         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
8057         and extra2_name.
8058         (COMMON_TEST_SETUP): New macro.
8059         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
8060         (COMMON_TEST_CLEANUP): Likewise.
8061         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
8062         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
8063         macros.
8064         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
8065         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
8066         macros.
8067         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
8068         (RUN_TEST_fff_f): Take argument string.  Call new setup and
8069         cleanup macros.
8070         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
8071         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
8072         macros.
8073         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
8074         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
8075         macros.
8076         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8077         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
8078         cleanup macros.
8079         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8080         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
8081         cleanup macros.
8082         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8083         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
8084         cleanup macros.
8085         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8086         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
8087         macros.
8088         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
8089         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
8090         macros.
8091         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
8092         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
8093         macros.
8094         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
8095         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
8096         cleanup macros.
8097         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
8098         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
8099         cleanup macros.
8100         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
8101         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
8102         macros.
8103         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
8104         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
8105         cleanup macros.
8106         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
8107         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
8108         macros.
8109         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
8110         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
8111         macros.
8112         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
8113         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
8114         cleanup macros.
8115         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
8117 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
8119         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
8120         to _sifields.sigfault.
8121         (si_addr_lsb): Define new macro.
8122         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
8123         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8124         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
8126 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
8128         [BZ #15441]
8129         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
8130         returns -1.
8131         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
8132         null return -1.
8133         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
8134         loading the domain.
8136 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
8138         * math/gen-libm-test.pl (parse_args): Do not include expected
8139         result in test name.
8140         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
8141         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8142         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8143         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8144         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8145         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8147 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
8149         * benchtests/Makefile: Sort function entries.
8151         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
8152         tanh, asinh, acosh, atanh.
8153         * benchtests/acos-inputs: New file.
8154         * benchtests/acosh-inputs: New file.
8155         * benchtests/asin-inputs: New file.
8156         * benchtests/asinh-inputs: New file.
8157         * benchtests/atanh-inputs: New file.
8158         * benchtests/cosh-inputs: New file.
8159         * benchtests/log-inputs: New file.
8160         * benchtests/sinh-inputs: New file.
8161         * benchtests/tanh-inputs: New file.
8163 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
8165         [BZ #15339]
8166         * posix/tst-getaddrinfo4.c: New test.
8167         * posix/Makefile (tests): Add it.
8169 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8171         [BZ #15339]
8172         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
8173         when no services were used.
8174         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
8175         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
8177 2013-05-21  Andreas Schwab  <schwab@suse.de>
8179         [BZ #15014]
8180         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
8181         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
8182         successful.
8183         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
8184         redundant variable declarations and reallocation of buffer when
8185         parsing as IPv6 address.  Always set NSS status when called from
8186         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
8187         buffer too small.  Correct computation of needed size.
8188         * nss/Makefile (tests): Add test-digits-dots.
8189         * nss/test-digits-dots.c: New test.
8191 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8193         * benchtests/Makefile: Remove instructions for adding
8194         benchmark tests.
8195         * benchtests/README: New file to explain how to execute and
8196         enhance the benchmark tests.
8198 2013-05-21  Andreas Schwab  <schwab@suse.de>
8200         [BZ #15493]
8201         * setjmp/Makefile (tests): Add tst-sigsetjmp.
8202         * setjmp/tst-sigsetjmp.c: New test.
8204 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
8206         * sysdeps/x86_64/memset.S (memset): New implementation.
8207         (__bzero): Likewise.
8208         (__memset_tail): New function.
8210 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
8212         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
8213         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
8214         __memcpy_sse2_unaligned ifunc selection.
8215         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
8216         Add memcpy-sse2-unaligned.S.
8217         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8218         Add: __memcpy_sse2_unaligned.
8220 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
8222         [BZ #15490]
8223         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
8224         math_force_eval before restoring floating-point envrionment.
8225         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
8226         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
8227         Likewise.
8228         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
8229         <math_private.h>.
8230         (__nearbyintl): Use math_force_eval before restoring
8231         floating-point environment.
8232         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
8234         * math/gen-libm-test.pl (special_functions): Remove.
8235         (parse_args): Don't handle TEST_extra.  Handle functions with no
8236         return value.
8237         * math/libm-test.inc (struct test_sincos_data): Replace with
8238         struct test_fFF_11_data.
8239         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
8240         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
8241         (sincos_test_data): Change element type to struct
8242         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
8243         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
8244         RUN_TEST_LOOP_sincos.
8245         * math/README.libm-test: Don't mention special handling of
8246         individual functions.
8247         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
8248         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8249         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8250         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8251         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8252         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8254         * math/gen-libm-test.pl (get_variable): Remove function.
8255         (parse_args): Don't show pointer parameters to call in test
8256         names.  Use "extra output N" in test names for extra outputs
8257         rather than naming variables.
8259 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
8261         [BZ #15488]
8262         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
8263         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
8264         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
8265         double tests.
8266         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
8267         disable.
8268         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
8269         check_long_double.
8271         * math/gen-libm-test.pl (@tests): Remove variable.
8272         ($count): Likewise.
8273         (new_test): Remove function.
8274         (show_exceptions): New function.
8275         (special_functions): Use show_exceptions instead of new_test.
8276         (parse_args): Likewise.
8277         (generate_testfile): Pass only function name in generated call to
8278         print_max_error or print_complex_max_error.
8279         (get_ulps): Do not handle complex tests specially.
8280         (output_test): Rename to ...
8281         (get_all_ulps_for_test): ... this.  Return a string rather than
8282         printing to a file.  Require ulps to be present.
8283         (output_ulps): Generate arrays rather than #defines.
8284         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
8285         (struct ulp_data): New type.
8286         (BUILD_COMPLEX_ULP): Remove macro.
8287         (compare_ulp_data): New function.
8288         (find_ulps): Likewise.
8289         (find_test_ulps): Likewise.
8290         (find_function_ulps): Likewise.
8291         (find_complex_function_ulps): Likewise.
8292         (print_max_error): Determine allowed ulps using
8293         find_function_ulps.
8294         (print_complex_max_error): Determine allowed ulps using
8295         find_complex_function_ulps.
8296         (check_float_internal): Determine max ulps using find_test_ulps.
8297         (check_float): Do not take max_ulp parameter.  Update call to
8298         check_float_internal.
8299         (check_complex): Likewise.
8300         (check_int): Do not take max_ulp parameter.
8301         (check_long): Likewise.
8302         (check_bool): Likewise.
8303         (check_longlong): Likewise.
8304         (struct test_f_f_data): Remove max_ulp field.
8305         (struct test_ff_f_data): Likewise.
8306         (struct test_ff_f_data_nexttoward): Likewise.
8307         (struct test_fi_f_data): Likewise.
8308         (struct test_fl_f_data): Likewise.
8309         (struct test_if_f_data): Likewise.
8310         (struct test_fff_f_data): Likewise.
8311         (struct test_c_f_data): Likewise.
8312         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
8313         (struct test_fF_f1_data): Likewise.
8314         (struct test_ffI_f1_data): Likewise.
8315         (struct test_c_c_data): Remove max_ulp field.
8316         (struct test_cc_c_data): Likewise.
8317         (struct test_f_i_data): Likewise.
8318         (struct test_ff_i_data): Likewise.
8319         (struct test_f_l_data): Likewise.
8320         (struct test_f_L_data): Likewise.
8321         (struct test_sincos_data): Likewise.
8322         (RUN_TEST_f_f): Do not handle ulps.
8323         (RUN_TEST_LOOP_f_f): Likewise.
8324         (RUN_TEST_2_f): Likewise.
8325         (RUN_TEST_LOOP_2_f): Likewise.
8326         (RUN_TEST_fff_f): Likewise.
8327         (RUN_TEST_LOOP_fff_f): Likewise.
8328         (RUN_TEST_c_f): Likewise.
8329         (RUN_TEST_LOOP_c_f): Likewise.
8330         (RUN_TEST_f_f1): Likewise.
8331         (RUN_TEST_LOOP_f_f1): Likewise.
8332         (RUN_TEST_fF_f1): Likewise.
8333         (RUN_TEST_LOOP_fF_f1): Likewise.
8334         (RUN_TEST_fI_f1): Likewise.
8335         (RUN_TEST_LOOP_fI_f1): Likewise.
8336         (RUN_TEST_ffI_f1): Likewise.
8337         (RUN_TEST_LOOP_ffI_f1): Likewise.
8338         (RUN_TEST_c_c): Likewise.
8339         (RUN_TEST_LOOP_c_c): Likewise.
8340         (RUN_TEST_cc_c): Likewise.
8341         (RUN_TEST_LOOP_cc_c): Likewise.
8342         (RUN_TEST_f_i): Likewise.
8343         (RUN_TEST_LOOP_f_i): Likewise.
8344         (RUN_TEST_f_i_tg): Likewise.
8345         (RUN_TEST_LOOP_f_i_tg): Likewise.
8346         (RUN_TEST_ff_i_tg): Likewise.
8347         (RUN_TEST_LOOP_ff_i_tg): Likewise.
8348         (RUN_TEST_f_b): Likewise.
8349         (RUN_TEST_LOOP_f_b): Likewise.
8350         (RUN_TEST_f_b_tg): Likewise.
8351         (RUN_TEST_LOOP_f_b_tg): Likewise.
8352         (RUN_TEST_f_l): Likewise.
8353         (RUN_TEST_LOOP_f_l): Likewise.
8354         (RUN_TEST_f_L): Likewise.
8355         (RUN_TEST_LOOP_f_L): Likewise.
8356         (RUN_TEST_sincos): Likewise.
8357         (RUN_TEST_LOOP_sincos): Likewise.
8359 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
8361         [BZ #15480]
8362         [BZ #15485]
8363         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
8364         main case of finite arguments, set rounding mode to FE_TONEAREST
8365         and discard exceptions.
8366         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
8367         exceptions.
8368         (remainder_tonearest_test_data): New variable.
8369         (remainder_test_tonearest): New function.
8370         (remainder_towardzero_test_data): New variable.
8371         (remainder_test_towardzero): New function.
8372         (remainder_downward_test_data): New variable.
8373         (remainder_test_downward): New function.
8374         (remainder_upward_test_data): New variable.
8375         (remainder_test_upward): New function.
8376         (main): Call the new test functions.
8378         * math/libm-test.inc (struct test_f_f1_data): Remove field
8379         extra_init.
8380         (struct test_fF_f1_data): Likewise.
8381         (struct test_ffI_f1_data): Likewise.
8382         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
8383         based on value of EXTRA_EXPECTED.
8384         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8385         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
8386         EXTRA_VAR based on value of EXTRA_EXPECTED.
8387         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8388         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
8389         EXTRA_VAR based on value of EXTRA_EXPECTED.
8390         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8391         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
8392         EXTRA_VAR based on value of EXTRA_EXPECTED.
8393         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8394         * math/gen-libm-test.pl (parse_args): Don't output initializers
8395         for extra output values.
8397         * math/libm-test.inc (check_int): Expect result to be exactly
8398         equal to expected value and do not handle ulps.
8399         (check_long): Likewise.
8400         (check_longlong): Likewise.
8402         * math/libm-test.inc (ceil_test_data): Test for "inexact"
8403         exceptions.
8404         (cimag_test_data): Likewise.
8405         (conj_test_data): Likewise.
8406         (copysign_test_data): Likewise.
8407         (cproj_test_data): Likewise.
8408         (creal_test_data): Likewise.
8409         (fabs_test_data): Likewise.
8410         (fdim_test_data): Likewise.
8411         (finite_test_data): Likewise.
8412         (floor_test_data): Likewise.
8413         (fmax_test_data): Likewise.
8414         (fmin_test_data): Likewise.
8415         (fmod_test_data): Likewise.
8416         (fpclassify_test_data): Likewise.
8417         (frexp_test_data): Likewise.
8418         (ilogb_test_data): Likewise.
8419         (isfinite_test_data): Likewise.
8420         (isgreater_test_data): Likewise.
8421         (isgreaterequal_test_data): Likewise.
8422         (isinf_test_data): Likewise.
8423         (isless_test_data): Likewise.
8424         (islessequal_test_data): Likewise.
8425         (islessgreater_test_data): Likewise.
8426         (isnan_test_data): Likewise.
8427         (isnormal_test_data): Likewise.
8428         (issignaling_test_data): Likewise.
8429         (isunordered_test_data): Likewise.
8430         (ldexp_test_data): Likewise.
8431         (lrint_test_data): Likewise.
8432         (lrint_test_data) [TEST_FLOAT]: Disable one test.
8433         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
8434         (lrint_tonearest_test_data): Test for "inexact" exceptions.
8435         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
8436         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
8437         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
8438         test input.
8439         (lrint_towardzero_test_data): Test for "inexact" exceptions.
8440         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
8441         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
8442         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
8443         that test input.
8444         (lrint_downward_test_data): Test for "inexact" exceptions.
8445         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
8446         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
8447         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
8448         test input.
8449         (lrint_upward_test_data): Test for "inexact" exceptions.
8450         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
8451         test input.
8452         (llrint_test_data): Test for "inexact" exceptions.
8453         (llrint_test_data) [TEST_FLOAT]: Disable one test.
8454         (llrint_tonearest_test_data): Test for "inexact" exceptions.
8455         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
8456         (llrint_towardzero_test_data): Test for "inexact" exceptions.
8457         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
8458         (llrint_downward_test_data): Test for "inexact" exceptions.
8459         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
8460         (llrint_upward_test_data): Test for "inexact" exceptions.
8461         (logb_test_data): Likewise.
8462         (logb_downward_test_data): Likewise.
8463         (nextafter_test_data): Likewise.
8464         (nexttoward_test_data): Likewise.
8465         (remainder_test_data): Likewise.
8466         (remquo_test_data): Likewise.
8467         (scalbn_test_data): Likewise.
8468         (scalbln_test_data): Likewise.
8469         (signbit_test_data): Likewise.
8470         (sqrt_test_data): Likewise.
8471         (significand_test_data): Likewise.
8473 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
8475         [BZ #15424]
8476         * benchtests/bench-modf.c (struct args): Mark arg0 as
8477         volatile.
8478         * scripts/bench.pl: Mark members of struct args as volatile.
8480 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8482         [BZ # 15497]
8483         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
8484         negative infinity on POWER6 or lower.
8485         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
8487 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
8489         [BZ #15442]
8490         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
8491         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
8492         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
8493         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
8494         (_FP_SETQNAN): New macro.
8495         (_FP_SETQNAN_SEMIRAW): Likewise.
8496         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
8497         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
8498         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
8499         (FP_EXTEND): Use _FP_FRAC_SNANP.
8500         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
8501         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
8502         into account.
8503         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
8504         New macro.
8505         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
8506         Likewise.
8508 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
8510         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
8511         with DIVIDE_BY_ZERO_EXCEPTION.
8512         (gamma_test_data): Likewise.
8513         (lgamma_test_data): Likewise.
8514         (log_test_data): Likewise.
8515         (log10_test_data): Likewise.
8516         (log2_test_data): Likewise.
8517         (tgamma_test_data): Likewise.
8519         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
8520         (acos_test_tonearest): Likewise.
8521         (acos_test_towardzero): Likewise.
8522         (acos_test_downward): Likewise.
8523         (acos_test_upward): Likewise.
8524         (acosh_test): Likewise.
8525         (asin_test): Likewise.
8526         (asin_test_tonearest): Likewise.
8527         (asin_test_towardzero): Likewise.
8528         (asin_test_downward): Likewise.
8529         (asin_test_upward): Likewise.
8530         (asinh_test): Likewise.
8531         (atan_test): Likewise.
8532         (atanh_test): Likewise.
8533         (atan2_test): Likewise.
8534         (cabs_test): Likewise.
8535         (cacos_test): Likewise.
8536         (cacosh_test): Likewise.
8537         (casin_test): Likewise.
8538         (casinh_test): Likewise.
8539         (catan_test): Likewise.
8540         (catanh_test): Likewise.
8541         (cbrt_test): Likewise.
8542         (ccos_test): Likewise.
8543         (ccosh_test): Likewise.
8544         (cexp_test): Likewise.
8545         (clog_test): Likewise.
8546         (clog10_test): Likewise.
8547         (cos_test): Likewise.
8548         (cos_test_tonearest): Likewise.
8549         (cos_test_towardzero): Likewise.
8550         (cos_test_downward): Likewise.
8551         (cos_test_upward): Likewise.
8552         (cosh_test): Likewise.
8553         (cosh_test_tonearest): Likewise.
8554         (cosh_test_towardzero): Likewise.
8555         (cosh_test_downward): Likewise.
8556         (cosh_test_upward): Likewise.
8557         (cpow_test): Likewise.
8558         (csin_test): Likewise.
8559         (csinh_test): Likewise.
8560         (csqrt_test): Likewise.
8561         (ctan_test): Likewise.
8562         (ctan_test_tonearest): Likewise.
8563         (ctan_test_towardzero): Likewise.
8564         (ctan_test_downward): Likewise.
8565         (ctan_test_upward): Likewise.
8566         (ctanh_test): Likewise.
8567         (ctanh_test_tonearest): Likewise.
8568         (ctanh_test_towardzero): Likewise.
8569         (ctanh_test_downward): Likewise.
8570         (ctanh_test_upward): Likewise.
8571         (erf_test): Likewise.
8572         (erfc_test): Likewise.
8573         (exp_test): Likewise.
8574         (exp_test_tonearest): Likewise.
8575         (exp_test_towardzero): Likewise.
8576         (exp_test_downward): Likewise.
8577         (exp_test_upward): Likewise.
8578         (exp10_test): Likewise.
8579         (exp2_test): Likewise.
8580         (expm1_test): Likewise.
8581         (fmod_test): Likewise.
8582         (gamma_test): Likewise.
8583         (hypot_test): Likewise.
8584         (j0_test): Likewise.
8585         (j1_test): Likewise.
8586         (jn_test): Likewise.
8587         (lgamma_test): Likewise.
8588         (log_test): Likewise.
8589         (log10_test): Likewise.
8590         (log1p_test): Likewise.
8591         (log2_test): Likewise.
8592         (logb_test_downward): Likewise.
8593         (pow_test): Likewise.
8594         (pow_test_tonearest): Likewise.
8595         (pow_test_towardzero): Likewise.
8596         (pow_test_downward): Likewise.
8597         (pow_test_upward): Likewise.
8598         (remainder_test): Likewise.
8599         (remquo_test): Likewise.
8600         (sin_test): Likewise.
8601         (sin_test_tonearest): Likewise.
8602         (sin_test_towardzero): Likewise.
8603         (sin_test_downward): Likewise.
8604         (sin_test_upward): Likewise.
8605         (sincos_test): Likewise.
8606         (sinh_test): Likewise.
8607         (sinh_test_tonearest): Likewise.
8608         (sinh_test_towardzero): Likewise.
8609         (sinh_test_downward): Likewise.
8610         (sinh_test_upward): Likewise.
8611         (sqrt_test): Likewise.
8612         (tan_test): Likewise.
8613         (tan_test_tonearest): Likewise.
8614         (tan_test_towardzero): Likewise.
8615         (tan_test_downward): Likewise.
8616         (tan_test_upward): Likewise.
8617         (tanh_test): Likewise.
8618         (tgamma_test): Likewise.
8619         (y0_test): Likewise.
8620         (y1_test): Likewise.
8621         (yn_test): Likewise.
8623         * math/gen-libm-test.pl (adjust_arg): Remove function.
8624         (special_function): Remove argument $in_func.  Only handle
8625         generating output for tables of tests, not inside functions.
8626         (parse_args): Likewise.
8627         (generate_testfile): Remove variable $in_func.  Update call to
8628         parse_args.
8629         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
8630         (MINUS_ZERO_INIT): Rename macro to minus_zero.
8631         (PLUS_INFTY_INIT): Rename macro to plus_infty.
8632         (MINUS_INFTY_INIT): Rename macro to minus_infty.
8633         (QNAN_VALUE_INIT): Rename macro to qnan_value.
8634         (MAX_VALUE_INIT): Rename macro to max_value.
8635         (MIN_VALUE_INIT): Rename macro to min_value.
8636         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
8637         (plus_zero): Remove variable.
8638         (minus_zero): Likewise.
8639         (plus_infty): Likewise.
8640         (minus_infty): Likewise.
8641         (qnan_value): Likewise.
8642         (max_value): Likewise.
8643         (min_value): Likewise.
8644         (min_subnorm_value): Likewise.
8646 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
8648         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
8649         uint64_t or uint32_t usage.
8650         * crypt/sha256-block.c: Likewise.
8651         * crypt/sha256-crypt.c: Likewise.
8652         * crypt/sha256.c: Likewise.
8653         * crypt/sha512-block.c: Likewise.
8654         * crypt/sha512-crypt.c: Likewise.
8655         * crypt/sha512.c: Likewise.
8656         * debug/backtrace-tst.c: Likewise.
8657         * debug/pcprofiledump.c: Likewise.
8658         * elf/cache.c: Likewise.
8659         * elf/dl-cache.c: Likewise.
8660         * elf/dl-misc.c: Likewise.
8661         * elf/dl-profile.c: Likewise.
8662         * elf/dl-support.c: Likewise.
8663         * elf/ldconfig.c: Likewise.
8664         * elf/sprof.c: Likewise.
8665         * iconv/dummy-repertoire.c: Likewise.
8666         * iconv/iconv_charmap.c: Likewise.
8667         * iconv/skeleton.c: Likewise.
8668         * iconvdata/8bit-generic.c: Likewise.
8669         * iconvdata/cp737.h: Likewise.
8670         * iconvdata/cp775.h: Likewise.
8671         * iconvdata/ibm1008.h: Likewise.
8672         * iconvdata/ibm1025.h: Likewise.
8673         * iconvdata/ibm1046.h: Likewise.
8674         * iconvdata/ibm1097.h: Likewise.
8675         * iconvdata/ibm1112.h: Likewise.
8676         * iconvdata/ibm1122.h: Likewise.
8677         * iconvdata/ibm1123.h: Likewise.
8678         * iconvdata/ibm1124.h: Likewise.
8679         * iconvdata/ibm1129.h: Likewise.
8680         * iconvdata/ibm1130.h: Likewise.
8681         * iconvdata/ibm1132.h: Likewise.
8682         * iconvdata/ibm1133.h: Likewise.
8683         * iconvdata/ibm1137.h: Likewise.
8684         * iconvdata/ibm1140.h: Likewise.
8685         * iconvdata/ibm1141.h: Likewise.
8686         * iconvdata/ibm1142.h: Likewise.
8687         * iconvdata/ibm1143.h: Likewise.
8688         * iconvdata/ibm1144.h: Likewise.
8689         * iconvdata/ibm1145.h: Likewise.
8690         * iconvdata/ibm1146.h: Likewise.
8691         * iconvdata/ibm1147.h: Likewise.
8692         * iconvdata/ibm1148.h: Likewise.
8693         * iconvdata/ibm1149.h: Likewise.
8694         * iconvdata/ibm1153.h: Likewise.
8695         * iconvdata/ibm1154.h: Likewise.
8696         * iconvdata/ibm1155.h: Likewise.
8697         * iconvdata/ibm1156.h: Likewise.
8698         * iconvdata/ibm1157.h: Likewise.
8699         * iconvdata/ibm1158.h: Likewise.
8700         * iconvdata/ibm1160.h: Likewise.
8701         * iconvdata/ibm1161.h: Likewise.
8702         * iconvdata/ibm1162.h: Likewise.
8703         * iconvdata/ibm1163.h: Likewise.
8704         * iconvdata/ibm1164.h: Likewise.
8705         * iconvdata/ibm1166.h: Likewise.
8706         * iconvdata/ibm1167.h: Likewise.
8707         * iconvdata/ibm12712.h: Likewise.
8708         * iconvdata/ibm1390.h: Likewise.
8709         * iconvdata/ibm1399.h: Likewise.
8710         * iconvdata/ibm16804.h: Likewise.
8711         * iconvdata/ibm4517.h: Likewise.
8712         * iconvdata/ibm4899.h: Likewise.
8713         * iconvdata/ibm4909.h: Likewise.
8714         * iconvdata/ibm4971.h: Likewise.
8715         * iconvdata/ibm5347.h: Likewise.
8716         * iconvdata/ibm803.h: Likewise.
8717         * iconvdata/ibm856.h: Likewise.
8718         * iconvdata/ibm901.h: Likewise.
8719         * iconvdata/ibm902.h: Likewise.
8720         * iconvdata/ibm9030.h: Likewise.
8721         * iconvdata/ibm9066.h: Likewise.
8722         * iconvdata/ibm921.h: Likewise.
8723         * iconvdata/ibm922.h: Likewise.
8724         * iconvdata/ibm9448.h: Likewise.
8725         * iconvdata/isiri-3342.h: Likewise.
8726         * iconvdata/jis0201.h: Likewise.
8727         * include/link.h: Likewise.
8728         * include/netdb.h: Likewise.
8729         * inet/check_native.c: Likewise.
8730         * inet/check_pf.c: Likewise.
8731         * inet/getipv4sourcefilter.c: Likewise.
8732         * inet/getnameinfo.c: Likewise.
8733         * inet/getsourcefilter.c: Likewise.
8734         * inet/htonl.c: Likewise.
8735         * inet/setipv4sourcefilter.c: Likewise.
8736         * inet/setsourcefilter.c: Likewise.
8737         * inet/test-inet6_opt.c: Likewise.
8738         * inet/tst-network.c: Likewise.
8739         * locale/C-collate.c: Likewise.
8740         * locale/C-ctype.c: Likewise.
8741         * locale/C-time.c: Likewise.
8742         * locale/C-translit.h: Likewise.
8743         * locale/loadarchive.c: Likewise.
8744         * locale/programs/3level.h: Likewise.
8745         * locale/programs/charmap.c: Likewise.
8746         * locale/programs/charmap.h: Likewise.
8747         * locale/programs/ld-address.c: Likewise.
8748         * locale/programs/ld-collate.c: Likewise.
8749         * locale/programs/ld-ctype.c: Likewise.
8750         * locale/programs/ld-identification.c: Likewise.
8751         * locale/programs/ld-measurement.c: Likewise.
8752         * locale/programs/ld-messages.c: Likewise.
8753         * locale/programs/ld-monetary.c: Likewise.
8754         * locale/programs/ld-name.c: Likewise.
8755         * locale/programs/ld-numeric.c: Likewise.
8756         * locale/programs/ld-paper.c: Likewise.
8757         * locale/programs/ld-telephone.c: Likewise.
8758         * locale/programs/ld-time.c: Likewise.
8759         * locale/programs/linereader.c: Likewise.
8760         * locale/programs/locale.c: Likewise.
8761         * locale/programs/locarchive.c: Likewise.
8762         * locale/programs/locfile.h: Likewise.
8763         * locale/programs/repertoire.c: Likewise.
8764         * locale/programs/simple-hash.c: Likewise.
8765         * locale/programs/simple-hash.h: Likewise.
8766         * malloc/memusage.c: Likewise.
8767         * malloc/memusagestat.c: Likewise.
8768         * nis/nis_defaults.c: Likewise.
8769         * nis/nis_hash.c: Likewise.
8770         * nis/nis_print.c: Likewise.
8771         * nis/nis_xdr.c: Likewise.
8772         * nscd/connections.c: Likewise.
8773         * nscd/hstcache.c: Likewise.
8774         * nscd/nscd_gethst_r.c: Likewise.
8775         * nscd/nscd_getserv_r.c: Likewise.
8776         * nscd/nscd_helper.c: Likewise.
8777         * nscd/servicescache.c: Likewise.
8778         * nss/makedb.c: Likewise.
8779         * nss/nss_db/db-XXX.c: Likewise.
8780         * nss/nss_db/db-initgroups.c: Likewise.
8781         * nss/nss_db/db-netgrp.c: Likewise.
8782         * nss/nss_files/files-network.c: Likewise.
8783         * nss/nss_files/files-parse.c: Likewise.
8784         * posix/bug-regex5.c: Likewise.
8785         * posix/fnmatch_loop.c: Likewise.
8786         * posix/regcomp.c: Likewise.
8787         * posix/regexec.c: Likewise.
8788         * posix/tst-rfc3484-2.c: Likewise.
8789         * posix/tst-rfc3484-3.c: Likewise.
8790         * posix/tst-rfc3484.c: Likewise.
8791         * resolv/nss_dns/dns-canon.c: Likewise.
8792         * resolv/nss_dns/dns-network.c: Likewise.
8793         * resolv/res_init.c: Likewise.
8794         * resolv/res_mkquery.c: Likewise.
8795         * resolv/tst-aton.c: Likewise.
8796         * stdlib/cxa_atexit.c: Likewise.
8797         * stdlib/cxa_finalize.c: Likewise.
8798         * stdlib/gen-fpioconst.c: Likewise.
8799         * stdlib/strtol_l.c: Likewise.
8800         * string/tst-endian.c: Likewise.
8801         * sunrpc/auth_des.c: Likewise.
8802         * sunrpc/clnt_udp.c: Likewise.
8803         * sunrpc/rtime.c: Likewise.
8804         * sunrpc/svcauth_des.c: Likewise.
8805         * sunrpc/xdr.c: Likewise.
8806         * sunrpc/xdr_intXX_t.c: Likewise.
8807         * sunrpc/xdr_rec.c: Likewise.
8808         * sysdeps/generic/ldconfig.h: Likewise.
8809         * sysdeps/generic/ldsodefs.h: Likewise.
8810         * sysdeps/generic/memusage.h: Likewise.
8811         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
8812         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
8813         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
8814         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
8815         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8816         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8817         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
8818         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
8819         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8820         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
8821         * sysdeps/posix/getaddrinfo.c: Likewise.
8822         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8823         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8824         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8825         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8826         * sysdeps/powerpc/test-gettimebase.c: Likewise.
8827         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
8828         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
8829         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
8830         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
8831         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
8832         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
8833         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
8834         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
8835         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
8836         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
8837         * sysdeps/x86_64/dl-tls.h: Likewise.
8838         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
8839         * time/alt_digit.c: Likewise.
8840         * time/era.c: Likewise.
8841         * wcsmbs/tst-c16c32-1.c: Likewise.
8843 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
8845         * math/libm-test.inc (struct test_sincos_data): New type.
8846         (RUN_TEST_LOOP_sincos): New macro.
8847         (sincos_test_data): New variable.
8848         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
8850 2013-05-16  Richard Henderson  <rth@redhat.com>
8852         * math/atest-exp2.c (LIMB64): New macro.
8853         (CONSTSZ): New macro.
8854         (mp_exp1, mp_exp_m1, mp_log2): New variables.
8855         (hexdig): Move ...
8856         (print_mpn_fp): ... to function scope.
8857         (read_mpn_hex): Remove.
8858         (get_log2): Remove.
8859         (exp2_mpn): Use mp_log2.
8860         (main): Use mp_exp1.
8862 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
8864         * math/libm-test.inc: Remove comment about not testing "inexact"
8865         exceptions.
8866         (INEXACT_EXCEPTION): New macro.
8867         (NO_INEXACT_EXCEPTION): Likewise.
8868         (INVALID_EXCEPTION_OK): Update value.
8869         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8870         (OVERFLOW_EXCEPTION_OK): Likewise.
8871         (UNDERFLOW_EXCEPTION_OK): Likewise.
8872         (IGNORE_ZERO_INF_SIGN): Likewise.
8873         (ERRNO_UNCHANGED): Likewise.
8874         (ERRNO_EDOM): Likewise.
8875         (ERRNO_ERANGE): Likewise.
8876         (test_exceptions): Handle testing "inexact" exceptions.
8877         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
8878         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
8879         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
8880         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
8881         INEXACT_EXCEPTION.
8882         (rint_towardzero_test_data): Likewise.
8883         (rint_downward_test_data): Likewise.
8884         (rint_upward_test_data): Likewise.
8886         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
8887         with OVERFLOW_EXCEPTION.
8888         (exp10_test_data): Likewise.
8889         (exp2_test_data): Likewise.
8890         (expm1_test_data): Likewise.
8891         (lgamma_test_data): Likewise.
8892         (pow_test_data): Likewise.
8893         (tgamma_test_data): Likewise.
8894         (yn_test_data): Remove duplicate test of overflow.
8896         * math/libm-test.inc (struct test_cc_c_data): New type.
8897         (RUN_TEST_LOOP_cc_c): New macro.
8898         (cpow_test_data): New variable.
8899         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
8901         * math/libm-test.inc (struct test_f_L_data): New type.
8902         (RUN_TEST_LOOP_f_L): New macro.
8903         (llrint_test_data): New variable.
8904         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
8905         (llrint_tonearest_test_data): New variable.
8906         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
8907         (llrint_towardzero_test_data): New variable.
8908         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
8909         (llrint_downward_test_data): New variable.
8910         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
8911         (llrint_upward_test_data): New variable.
8912         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
8913         (llround_test_data): New variable.
8914         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
8916 2013-05-13  Peter Collingbourne  <pcc@google.com>
8918         * math/atest-exp2.c (get_log2): Remove const attribute.
8920 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
8922         * math/libm-test.inc (struct test_f_l_data): New type.
8923         (RUN_TEST_LOOP_f_l): New macro.
8924         (lrint_test_data): New variable.
8925         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
8926         (lrint_tonearest_test_data): New variable.
8927         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
8928         (lrint_towardzero_test_data): New variable.
8929         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
8930         (lrint_downward_test_data): New variable.
8931         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
8932         (lrint_upward_test_data): New variable.
8933         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
8934         (lround_test_data): New variable.
8935         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
8937 2013-05-15  Peter Collingbourne  <pcc@google.com>
8939         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
8940         (EXTRACT_WORDS64) Use where appropriate.
8941         (INSERT_WORDS64) Likewise.
8943         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
8944         constraints with x constraints.
8945         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
8947         * malloc/obstack.c (_obstack_compat): Add initializer.
8949 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
8951         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
8952         si_trapno and add si_addr_lsb to _sifields.sigfault.
8953         (si_trapno): Remove macro.
8954         (si_addr_lsb): Define new macro.
8955         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
8957 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
8959         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
8960         instead of TEST_f_l.
8961         (llrint_test_tonearest): Likewise.
8962         (llrint_test_towardzero): Likewise.
8963         (llrint_test_downward): Likewise.
8964         (llrint_test_upward): Likewise.
8965         (llround_test): Likewise.
8967         * math/libm-test.inc (struct test_f_i_data): Add comment.
8968         (RUN_TEST_LOOP_f_b): New macro.
8969         (RUN_TEST_LOOP_f_b_tg): Likewise.
8970         (finite_test_data): New variable.
8971         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
8972         (isfinite_test_data): New variable.
8973         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8974         (isinf_test_data): New variable.
8975         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8976         (isnan_test_data): New variable.
8977         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8978         (isnormal_test_data): New variable.
8979         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8980         (issignaling_test_data): New variable.
8981         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8982         (signbit_test_data): New variable.
8983         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8985         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
8986         with INVALID_EXCEPTION.
8987         (acosh_test_data): Likewise.
8988         (asin_test_data): Likewise.
8989         (atanh_test_data): Likewise.
8990         (fmod_test_data): Likewise.
8991         (log_test_data): Likewise.
8992         (log10_test_data): Likewise.
8993         (log2_test_data): Likewise.
8994         (pow_test_data): Likewise.
8995         (sqrt_test_data): Likewise.
8996         (y0_test_data): Likewise.
8997         (y1_test_data): Likewise.
8998         (yn_test_data): Likewise.
9000         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
9001         function contents.
9003         * math/libm-test.inc (struct test_ff_i_data): New type.
9004         (RUN_TEST_LOOP_ff_i_tg): New macro.
9005         (isgreater_test_data): New variable.
9006         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9007         (isgreaterequal_test_data): New variable.
9008         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9009         (isless_test_data): New variable.
9010         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9011         (islessequal_test_data): New variable.
9012         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9013         (islessgreater_test_data): New variable.
9014         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9015         (isunordered_test_data): New variable.
9016         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9018 2013-05-14  David S. Miller  <davem@davemloft.net>
9020         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9022 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
9024         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
9026         * math/libm-test.inc (struct test_fF_f1_data): Change type of
9027         extra_test to int.
9028         (struct test_f_i_data): Change type of max_ulp to int.
9030         * math/libm-test.inc (test_ffI_f1_data): New type.
9031         (RUN_TEST_LOOP_ffI_f1): New macro.
9032         (remquo_test_data): New variable.
9033         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
9035         * setjmp/tst-setjmp-fp.c: New file.
9036         * setjmp/Makefile (tests): Add tst-setjmp-fp.
9037         (link-libm): New variable.
9038         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
9040         * math/libm-test.inc (struct test_f_i_data): New type.
9041         (RUN_TEST_LOOP_f_i): New macro.
9042         (RUN_TEST_LOOP_f_i_tg): Likewise.
9043         (fpclassify_test_data): New variable.
9044         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
9045         (ilogb_test_data): New variable.
9046         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
9048         * math/libm-test.inc (scalbln_test): Correct function name in END
9049         call.
9051         * math/libm-test.inc (struct test_f_f1_data): Add comment.
9052         (RUN_TEST_LOOP_fI_f1): New macro.
9053         (frexp_test_data): New variable.
9054         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
9056         * math/libm-test.inc (struct test_fF_f1_data): New type.
9057         (RUN_TEST_LOOP_fF_f1): New macro.
9058         (modf_test_data): New variable.
9059         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
9061         * math/libm-test.inc (struct test_f_f1_data): New type.
9062         (RUN_TEST_LOOP_f_f1): New macro.
9063         (gamma_test_data): New variable.
9064         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9065         (lgamma_test_data): New variable.
9066         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9068 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
9070         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
9071         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
9072         (main): Comment "tls" pseudo-hwcap.
9074 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
9076         * math/libm-test.inc (struct test_fl_f_data): New type.
9077         (RUN_TEST_LOOP_fl_f): New variable.
9078         (scalbln_test_data): New variable.
9079         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
9081         * math/libm-test.inc (struct test_fi_f_data): New type.
9082         (RUN_TEST_LOOP_fi_f): New macro.
9083         (ldexp_test_data): New variable.
9084         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
9085         (scalbn_test_data): New variable.
9086         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
9088         * math/libm-test.inc (struct test_c_f_data): New type.
9089         (RUN_TEST_LOOP_c_f): New macro.
9090         (cabs_test_data): New variable.
9091         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
9092         (carg_test_data): New variable.
9093         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
9094         (cimag_test_data): New variable.
9095         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
9096         (creal_test_data): New variable.
9097         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
9099         * math/libm-test.inc (struct test_if_f_data): New type.
9100         (RUN_TEST_LOOP_if_f): New macro.
9101         (jn_test_data): New variable.
9102         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
9103         (yn_test_data): New variable.
9104         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
9106         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
9108 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9110         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
9111         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
9113 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
9115         * benchtests/Makefile (CPPFLAGS-nonlib): Add
9116         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
9117         (bench-deps): Add bench-timing.h.
9118         * benchtests-bench-skeleton.c: Include bench-timing.h.
9119         (main): Use TIMING_* macros instead of clock_gettime.
9120         * benchtests/bench-timing.h: New file.
9122         [BZ #14582]
9123         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
9124         Renamed from _LIB_VERSION.
9125         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
9127 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
9129         * math/libm-test.inc (struct test_fff_f_data): New type.
9130         (RUN_TEST_LOOP_fff_f): New macro.
9131         (fma_test_data): New variable.
9132         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
9133         (fma_towardzero_test_data): New variable.
9134         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
9135         (fma_downward_test_data): New variable.
9136         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
9137         (fma_upward_test_data): New variable.
9138         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
9140         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
9141         (struct test_c_c_data): New type.
9142         (RUN_TEST_LOOP_c_c): New macro.
9143         (cacos_test_data): New variable.
9144         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
9145         (cacosh_test_data): New variable.
9146         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
9147         (casin_test_data): New variable.
9148         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
9149         (casinh_test_data): New variable.
9150         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
9151         (catan_test_data): New variable.
9152         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
9153         (catanh_test_data): New variable.
9154         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
9155         (ccos_test_data): New variable.
9156         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
9157         (ccosh_test_data): New variable.
9158         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
9159         (cexp_test_data): New variable.
9160         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
9161         (clog_test_data): New variable.
9162         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
9163         (clog10_test_data): New variable.
9164         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
9165         (conj_test_data): New variable.
9166         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
9167         (cproj_test_data): New variable.
9168         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
9169         (csin_test_data): New variable.
9170         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
9171         (csinh_test_data): New variable.
9172         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
9173         (csqrt_test_data): New variable.
9174         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
9175         (ctan_test_data): New variable.
9176         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
9177         (ctan_tonearest_test_data): New variable.
9178         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9179         (ctan_towardzero_test_data): New variable.
9180         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9181         (ctan_downward_test_data): New variable.
9182         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9183         (ctan_upward_test_data): New variable.
9184         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9185         (ctanh_test_data): New variable.
9186         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
9187         (ctanh_tonearest_test_data): New variable.
9188         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9189         (ctanh_towardzero_test_data): New variable.
9190         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9191         (ctanh_downward_test_data): New variable.
9192         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9193         (ctanh_upward_test_data): New variable.
9194         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9195         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
9196         of BUILD_COMPLEX.
9198         * math/libm-test.inc (struct test_ff_f_data): New type.
9199         (struct test_ff_f_data_nexttoward): Likewise.
9200         (RUN_TEST_LOOP_2_f): New macro.
9201         (RUN_TEST_LOOP_ff_f): Likewise.
9202         (atan2_test_data): New variable.
9203         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
9204         (copysign_test_data): New variable.
9205         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
9206         (fdim_test_data): New variable.
9207         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
9208         (fmax_test_data): New variable.
9209         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
9210         (fmin_test_data): New variable.
9211         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
9212         (fmod_test_data): New variable.
9213         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
9214         (hypot_test_data): New variable.
9215         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
9216         (nextafter_test_data): New variable.
9217         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
9218         (nexttoward_test_data): New variable.
9219         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
9220         (pow_test_data): New variable.
9221         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
9222         (pow_tonearest_test_data): New variable.
9223         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
9224         (pow_towardzero_test_data): New variable.
9225         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
9226         (pow_downward_test_data): New variable.
9227         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
9228         (pow_upward_test_data): New variable.
9229         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
9230         (remainder_test_data): New variable.
9231         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
9232         (scalb_test_data): New variable.
9233         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
9234         * sysdeps/i386/fpu/libm-test-ulps: Update.
9236 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
9238         * math/libm-test.inc (fma_test): Use max_value instead of local
9239         variable fltmax.
9240         (nextafter_test): Likewise.
9242         * math/libm-test.inc (acos_towardzero_test_data): New variable.
9243         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9244         (acos_downward_test_data): New variable.
9245         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9246         (acos_upward_test_data): New variable.
9247         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9248         (acosh_test_data): New variable.
9249         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
9250         (asin_test_data): New variable.
9251         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
9252         (asin_tonearest_test_data): New variable.
9253         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9254         (asin_towardzero_test_data): New variable.
9255         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9256         (asin_downward_test_data): New variable.
9257         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9258         (asin_upward_test_data): New variable.
9259         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9260         (asinh_test_data): New variable.
9261         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
9262         (atan_test_data): New variable.
9263         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
9264         (atanh_test_data): New variable.
9265         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
9266         (cbrt_test_data): New variable.
9267         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
9268         (ceil_test_data): New variable.
9269         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
9270         (cos_test_data): New variable.
9271         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
9272         (cos_tonearest_test_data): New variable.
9273         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9274         (cos_towardzero_test_data): New variable.
9275         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9276         (cos_downward_test_data): New variable.
9277         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9278         (cos_upward_test_data): New variable.
9279         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9280         (cosh_test_data): New variable.
9281         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
9282         (cosh_tonearest_test_data): New variable.
9283         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9284         (cosh_towardzero_test_data): New variable.
9285         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9286         (cosh_downward_test_data): New variable.
9287         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9288         (cosh_upward_test_data): New variable.
9289         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9290         (erf_test_data): New variable.
9291         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
9292         (erfc_test_data): New variable.
9293         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
9294         (exp_test_data): New variable.
9295         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
9296         (exp_tonearest_test_data): New variable.
9297         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9298         (exp_towardzero_test_data): New variable.
9299         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9300         (exp_downward_test_data): New variable.
9301         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9302         (exp_upward_test_data): New variable.
9303         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9304         (exp10_test_data): New variable.
9305         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
9306         (exp2_test_data): New variable.
9307         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
9308         (expm1_test_data): New variable.
9309         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
9310         (fabs_test_data): New variable.
9311         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
9312         (floor_test_data): New variable.
9313         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
9314         (j0_test_data): New variable.
9315         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
9316         (j1_test_data): New variable.
9317         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
9318         (log_test_data): New variable.
9319         (log_test): Run tests with RUN_TEST_LOOP_f_f.
9320         (log10_test_data): New variable.
9321         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
9322         (log1p_test_data): New variable.
9323         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
9324         (log2_test_data): New variable.
9325         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
9326         (logb_test_data): New variable.
9327         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
9328         (logb_downward_test_data): New variable.
9329         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9330         (nearbyint_test_data): New variable.
9331         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
9332         (rint_test_data): New variable.
9333         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
9334         (rint_tonearest_test_data): New variable.
9335         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9336         (rint_towardzero_test_data): New variable.
9337         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9338         (rint_downward_test_data): New variable.
9339         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9340         (rint_upward_test_data): New variable.
9341         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9342         (round_test_data): New variable.
9343         (round_test): Run tests with RUN_TEST_LOOP_f_f.
9344         (sin_test_data): New variable.
9345         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
9346         (sin_tonearest_test_data): New variable.
9347         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9348         (sin_towardzero_test_data): New variable.
9349         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9350         (sin_downward_test_data): New variable.
9351         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9352         (sin_upward_test_data): New variable.
9353         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9354         (sinh_test_data): New variable.
9355         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
9356         (sinh_tonearest_test_data): New variable.
9357         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9358         (sinh_towardzero_test_data): New variable.
9359         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9360         (sinh_downward_test_data): New variable.
9361         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9362         (sinh_upward_test_data): New variable.
9363         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9364         (sqrt_test_data): New variable.
9365         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
9366         (tan_test_data): New variable.
9367         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
9368         (tan_tonearest_test_data): New variable.
9369         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9370         (tan_towardzero_test_data): New variable.
9371         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9372         (tan_downward_test_data): New variable.
9373         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9374         (tan_upward_test_data): New variable.
9375         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9376         (tanh_test_data): New variable.
9377         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
9378         (tgamma_test_data): New variable.
9379         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
9380         (trunc_test_data): New variable.
9381         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
9382         (y0_test_data): New variable.
9383         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
9384         (y1_test_data): New variable.
9385         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
9386         (significand_test_data): New variable.
9387         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
9389 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
9391         [BZ #12387]
9392         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
9394 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
9396         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
9398 2013-05-10  Andreas Jaeger  <aj@suse.de>
9400         [BZ #15448]
9401         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
9402         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
9404 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
9406         * math/gen-libm-test.pl (adjust_arg): New function.
9407         (special_functions): Handle generating output in both functions
9408         and arrays.
9409         (parse_args): Likewise.
9410         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
9411         $in_func argument to parse_args.
9412         * math/libm-test.inc (struct test_f_f_data): New type.
9413         (IF_ROUND_INIT_): New macro.
9414         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
9415         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
9416         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
9417         (IF_ROUND_INIT_FE_UPWARD): Likewise.
9418         (ROUND_RESTORE_): Likewise.
9419         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
9420         (ROUND_RESTORE_FE_TONEAREST): Likewise.
9421         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
9422         (ROUND_RESTORE_FE_UPWARD): Likewise.
9423         (RUN_TEST_LOOP_f_f): New macro.
9424         (acos_test_data): New variable.
9425         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
9426         (acos_tonearest_test_data): New variable.
9427         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9429 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
9431         * benchtests/bench-skeleton.c (startup): Fix coding style.
9433 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
9435         [BZ #6809]
9436         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
9437         negative infinity argument.
9438         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
9439         negative infinity argument.
9440         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
9441         negative infinity argument.
9442         * math/libm-test.inc (tgamma_test): Expect errno to be set for
9443         domain errors.
9445 2013-05-10  Florian Weimer  <fweimer@redhat.com>
9447         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
9448         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
9449         * iconv/iconv_prog.c (main): Likewise.
9450         * locale/programs/charmap-dir.c (charmap_readdir)
9451         (fopen_uncompressed): Likewise.
9452         * locale/programs/locfile.c (siblings_uncached)
9453         (write_locale_data): Use lstat64 instead of lstat.
9454         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
9455         stat.
9457 2013-05-10  Andreas Jaeger  <aj@suse.de>
9459         [BZ #15395]
9460         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
9461         localization.
9462         Include <locale.h>.
9464 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
9466         * elf/dl-close.c (_dl_close_worker): Add comments.
9468 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
9470         [BZ #15359]
9471         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
9472         high part of pi/2.
9473         (__ieee754_rem_pio2l): Update comments.
9475         [BZ #15429]
9476         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
9477         high part of pi/2.
9478         (__ieee754_rem_pio2l): Update comments.
9480         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
9481         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
9483         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
9484         M_PI_4l.
9486         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
9487         (M_PI_34_LOG10El): Likewise.
9488         (M_PI2_LOG10El): Likewise.
9489         (M_PI4_LOG10El): Likewise.
9490         (M_PI_LOG10El): Likewise.
9492 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9494         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9496 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
9498         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
9499         (MINUS_ZERO_INIT): Likewise.
9500         (PLUS_INFTY_INIT): Likewise.
9501         (MINUS_INFTY_INIT): Likewise.
9502         (QNAN_VALUE_INIT): Likewise.
9503         (MAX_VALUE_INIT): Likewise.
9504         (MIN_VALUE_INIT): Likewise.
9505         (MIN_SUBNORM_VALUE_INIT): Likewise.
9506         (plus_zero): Initialize with PLUS_ZERO_INIT.
9507         (minus_zero): Initialize with MINUS_ZERO_INIT.
9508         (plus_infty): Initialize with PLUS_INFTY_INIT.
9509         (minus_infty): Initialize with MINUS_INFTY_INIT.
9510         (qnan_value): Initialize with QNAN_VALUE_INIT.
9511         (max_value): Initialize with MAX_VALUE_INIT.
9512         (min_value): Initialize with MIN_VALUE_INIT.
9513         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
9515         * math/libm-test.inc (RUN_TEST_if_f): New macro.
9516         (jn_test): Use TEST_if_f instead of TEST_ff_f.
9517         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
9518         (yn_test): Use TEST_if_f instead of TEST_ff_f.
9520         * math/libm-test.inc (RUN_TEST_f_f): New macro.
9521         (RUN_TEST_2_f): Likewise.
9522         (RUN_TEST_ff_f): Likewise.
9523         (RUN_TEST_fi_f): Likewise.
9524         (RUN_TEST_fl_f): Likewise.
9525         (RUN_TEST_fff_f): Likewise.
9526         (RUN_TEST_c_f): Likewise.
9527         (RUN_TEST_f_f1): Likewise.
9528         (RUN_TEST_fF_f1): Likewise.
9529         (RUN_TEST_fI_f1): Likewise.
9530         (RUN_TEST_ffI_f1): Likewise.
9531         (RUN_TEST_c_c): Likewise.
9532         (RUN_TEST_cc_c): Likewise.
9533         (RUN_TEST_f_i): Likewise.
9534         (RUN_TEST_f_i_tg): Likewise.
9535         (RUN_TEST_ff_i_tg): Likewise.
9536         (RUN_TEST_f_b): Likewise.
9537         (RUN_TEST_f_b_tg): Likewise.
9538         (RUN_TEST_f_l): Likewise.
9539         (RUN_TEST_f_L): Likewise.
9540         (RUN_TEST_sincos): Likewise.
9541         * math/gen-libm-test.pl (new_test): Take new argument to indicate
9542         whether to show exceptions.  Do not include ");\n" in return
9543         value.
9544         (special_functions): Output call to RUN_TEST_sincos instead of
9545         check_float calls.  Update calls to new_test.
9546         (parse_args): Output call to single RUN_TEST_* macro instead of
9547         check_* calls and other assignments.  Update calls to new_test.
9549         [BZ #2546]
9550         [BZ #2560]
9551         [BZ #5159]
9552         [BZ #15426]
9553         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
9554         input to result for tgamma overflow.
9555         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
9556         (gamma_coeff): New variable.
9557         (NCOEFF): New macro.
9558         (gamma_positive): New function.
9559         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
9560         underflow here.  Use gamma_positive instead of exp (lgamma) for
9561         other arguments.
9562         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
9563         (gamma_coeff): New variable.
9564         (NCOEFF): New macro.
9565         (gammaf_positive): New function.
9566         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
9567         underflow here.  Use gamma_positive instead of exp (lgamma) for
9568         other arguments.
9569         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
9570         (gamma_coeff): New variable.
9571         (NCOEFF): New macro.
9572         (gammal_positive): New function.
9573         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
9574         underflow here.  Use gamma_positive instead of exp (lgamma) for
9575         other arguments.
9576         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
9577         (gamma_coeff): New variable.
9578         (NCOEFF): New macro.
9579         (gammal_positive): New function.
9580         (__ieee754_gammal_r): Handle positive infinity, overflow and
9581         underflow here.  Handle NaN the same as positive infinity.  Remove
9582         check x < 0xffffffff for negative integers.  Use gamma_positive
9583         instead of exp (lgamma) for other arguments.
9584         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
9585         (gamma_coeff): New variable.
9586         (NCOEFF): New macro.
9587         (gammal_positive): New function.
9588         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
9589         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
9590         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
9591         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
9592         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
9593         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
9594         * sysdeps/generic/math_private.h (__gamma_productf): New
9595         prototype.
9596         (__gamma_product): Likewise.
9597         (__gamma_productl): Likewise.
9598         * math/Makefile (libm-calls): Add gamma_product.
9599         * math/libm-test.inc (tgamma_test): Add more tests.
9600         * sysdeps/i386/fpu/libm-test-ulps: Update.
9601         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9603 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
9605         * benchtests/bench-skeleton.c (main): Preheat CPU.
9607 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
9609         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
9611 2013-05-07  Roland McGrath  <roland@hack.frob.com>
9613         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
9614         and _dl_skip_args_internal.
9616 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
9618         * manual/message.texi (Message Translation): Talk about users.
9619         Message to key mapping impacts design.
9621 2013-05-06  Roland McGrath  <roland@hack.frob.com>
9623         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
9625         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
9627         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
9628         * sysdeps/wordsize-64/glob64.c: ... here.
9630         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
9631         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
9632         New macros.
9634         * debug/getlogin_r_chk.c: Moved to ...
9635         * login/getlogin_r_chk.c: ... here.
9636         * debug/Makefile (routines): Move getlogin_r_chk to ...
9637         * login/Makefile (routines): ... here.
9638         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
9639         * login/Versions (libc: GLIBC_2.4): ... here.
9641         * io/poll.c (__poll): Renamed from poll.
9642         Add libc_hidden_def.
9643         (poll): Define as weak alias.
9645         * debug/ptsname_r_chk.c: Moved to ...
9646         * login/ptsname_r_chk.c: ... here.
9647         * debug/Makefile (routines): Move ptsname_r_chk to ...
9648         * login/Makefile (routines): ... here.
9649         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
9650         * login/Versions (libc: GLIBC_2.4): ... here.
9652         * posix/getlogin.c: Moved to ...
9653         * login/getlogin.c: ... here.
9654         * posix/getlogin_r.c: Moved to ...
9655         * login/getlogin_r.c: ... here.
9656         * posix/getlogin_r.c: Moved to ...
9657         * login/getlogin_r.c: ... here.
9658         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
9659         * login/Makefile (routines): ... here.
9660         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
9661         * login/Versions (libc: GLIBC_2.0): ... here.
9663         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
9664         (setrlimit): Define as weak alias.
9666         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
9667         Call __ names for open, ftruncate, and close.
9668         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
9669         (truncate): Define as weak alias.
9671 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
9673         * math/gen-libm-test.pl (parse_args): Initialize x before each
9674         test of frexp, modf and remquo.
9676         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
9677         test signgam value.
9679 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9681         [BZ #15418]
9682         [BZ #15419]
9683         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
9684         internal tests.
9685         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9687 2013-05-06  Roland McGrath  <roland@hack.frob.com>
9689         * elf/dl-writev.h: New file.
9690         * elf/dl-misc.c: Include it.
9691         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
9692         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
9694 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
9696         * math/libm-test.inc (noXFails): Remove variable.
9697         (noXPasses): Likewise.
9698         (BUILD_COMPLEX_INT): Remove macro.
9699         (print_screen): Remove xfail argument.
9700         (print_screen_max_error): Likewise.
9701         (update_stats): Likewise.
9702         (print_max_error): Likewise.  Update calls to other affected
9703         functions.
9704         (print_complex_max_error): Likewise.
9705         (test_single_exception): Update calls to print_screen.
9706         (test_single_errno): Likewise.
9707         (check_float_internal): Remove xfail argument.  Update calls to
9708         other affected functions.
9709         (check_float): Likewise.
9710         (check_complex): Likewise.
9711         (check_int): Likewise.
9712         (check_long): Likewise.
9713         (check_bool): Likewise.
9714         (check_longlong): Likewise.
9715         (main): Don't print noXFails and noXPasses.
9716         * math/gen-libm-test.pl (top level): Don't mention expected
9717         failure handling in comment.
9718         (new_test): Don't handle expected failures.
9719         (parse_args): Don't mention expected failure handling in comment.
9720         (generate_testfile): Don't handle expected failures.
9721         (parse_ulps): Likewise.
9722         (print_ulps_file): Likewise.
9723         (get_failure): Remove function.
9724         (output_test): Don't handle expected failures.
9725         * make/README.libm-test: Don't mention expected failure handling.
9727         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
9728         (minus_zero): Likewise.
9729         (plus_infty): Likewise.
9730         (minus_infty): Likewise.
9731         (qnan_value): Likewise.
9732         (max_value): Likewise.
9733         (min_value): Likewise.
9734         (min_subnorm_value): Likewise.
9735         (initialize): Do not initialize those variables dynamically.
9737 2013-05-03  Roland McGrath  <roland@hack.frob.com>
9739         * io/open.c (__open_2): Moved to ...
9740         * io/open_2.c: ... this new file.
9741         * io/open64.c (__open64_2): Moved to ...
9742         * io/open64_2.c: ... this new file.
9743         * io/openat.c (__openat_2): Moved to ...
9744         * io/openat_2.c: ... this new file.
9745         * io/openat64.c (__openat64_2): Moved to ...
9746         * io/openat64_2.c: ... this new file.
9747         * io/Makefile (routines): Add them.
9748         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
9749         * sysdeps/unix/sysv/linux/open_2.c: File removed.
9750         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
9751         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
9752         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
9753         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
9754         (__openat64): Add hidden_ver.
9755         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
9756         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
9758         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
9759         Separately conditionalize setting of GLRO(dl_sysinfo) so
9760         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
9761         as well, but the actual setting is only under [NEED_DL_SYSINFO].
9763 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9765         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
9766         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
9767         definition.
9768         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
9769         * sysdeps/unix/sysv/linux/powerpc/init-first.c
9770         (_libc_vdso_platform_setup): Add __vdso_time initialization.
9771         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
9772         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
9774 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
9776         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
9777         test signgam value.
9779         * math/libm-test.inc (hypot_test): Do not use
9780         IGNORE_ZERO_INF_SIGN.
9782 2013-05-03  Andreas Jaeger  <aj@suse.de>
9784         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
9785         Linux 3.9.
9786         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
9787         (PF_MAX): Adjust for VSOCK change.
9789 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9791         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9793 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
9795         [BZ #15264]
9796         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
9797         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
9798         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
9800 2013-05-02  David S. Miller  <davem@davemloft.net>
9802         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9804 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
9806         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
9808 2013-05-01  Roland McGrath  <roland@hack.frob.com>
9810         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
9812 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
9814         [BZ #14952]
9815         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
9816         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
9817         Use __attribute__ ((__gnu_inline__)).
9818         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
9819         Don't use __attribute__ ((__gnu_inline__)).
9821 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
9823         [BZ #15423]
9824         * math/s_catan.c (__catan): Handle small real or imaginary part of
9825         input specially to avoid spurious underflow.
9826         * math/s_catanf.c (__catanf): Likewise.
9827         * math/s_catanh.c (__catanh): Likewise.
9828         * math/s_catanhf.c (__catanhf): Likewise.
9829         * math/s_catanhl.c (__catanhl): Likewise.
9830         * math/s_catanl.c (__catanl): Likewise.
9831         * math/libm-test.inc (catan_test): Add more tests.
9832         (catanh_test): Likewise.
9833         * sysdeps/i386/fpu/libm-test-ulps: Update.
9834         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9836 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9838         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9840 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
9842         [BZ #15416]
9843         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
9844         accurately for denominator in atan2.
9845         * math/s_catanf.c (__catanf): Likewise.
9846         * math/s_catanh.c (__catanh): Likewise.
9847         * math/s_catanhf.c (__catanhf): Likewise.
9848         * math/s_catanhl.c (__catanhl): Likewise.
9849         * math/s_catanl.c (__catanl): Likewise.
9850         * math/libm-test.inc (catan_test): Add more tests.
9851         (catanh_test): Likewise.
9852         * sysdeps/i386/fpu/libm-test-ulps: Update.
9853         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9855 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
9857         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
9859         * benchtests/Makefile (bench): Remove slow benchmarks.
9860         * benchtests/atan-inputs: Add slow benchmark inputs.
9861         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
9862         (BENCH_FUNC): Accept variant offset.
9863         (VARIANT): Define.
9864         * benchtests/bench-skeleton.c (main): Run benchmark for each
9865         variant.
9866         * benchtests/cos-inputs: Add slow benchmark inputs.
9867         * benchtests/exp-inputs: Likewise.
9868         * benchtests/pow-inputs: Likewise.
9869         * benchtests/sin-inputs: Likewise.
9870         * benchtests/slowatan-inputs: Remove.
9871         * benchtests/slowatan.c: Remove.
9872         * benchtests/slowcos-inputs: Remove.
9873         * benchtests/slowcos.c: Remove.
9874         * benchtests/slowexp-inputs: Remove.
9875         * benchtests/slowexp.c: Remove.
9876         * benchtests/slowpow-inputs: Remove.
9877         * benchtests/slowpow.c: Remove.
9878         * benchtests/slowsin-inputs: Remove.
9879         * benchtests/slowsin.c: Remove.
9880         * benchtests/slowtan-inputs: Remove.
9881         * benchtests/slowtan.c: Remove.
9882         * benchtests/tan-inputs: Add slow benchmark inputs.
9883         * scripts/bench.pl: Parse comments and directives.
9885         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
9886         in CPPFLAGS.
9887         ($(objpfx)bench-%.c): Remove *-ITER.
9888         * benchtests/bench-modf.c: Remove definition of ITER.
9889         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
9890         (main): Loop for DURATION seconds instead of fixed number of
9891         iterations.
9892         * scripts/bench.pl: Don't expect iterations in parameters.
9894 2013-04-29  Roland McGrath  <roland@hack.frob.com>
9896         * io/fchdir.c (__fchdir): Renamed from fchdir.
9897         (fchdir): Define as weak alias.
9899 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
9901         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
9902         (ERRNO_EDOM): Likewise.
9903         (ERRNO_ERANGE): Likewise.
9904         (noErrnoTests): New variable.
9905         (init_max_error): Set errno to 0.
9906         (test_single_errno): New function.
9907         (test_errno): Likewise.
9908         (check_float_internal): Call test_errno.  Set errno to 0.
9909         (check_complex): Refer to errno tests in comment.
9910         (check_int): Call test_errno.  Set errno to 0.
9911         (check_long): Likewise.
9912         (check_bool): Likewise.
9913         (check_longlong): Likewise.
9914         (cos_test): Use ERRNO_* flags for errno tests instead of
9915         check_int.
9916         (expm1_test): Likewise.
9917         (fmod_test): Likewise.
9918         (ilogb_test): Likewise.
9919         (lgamma_test): Likewise.
9920         (pow_test): Likewise.
9921         (remainder_test): Likewise.
9922         (sin_test): Likewise.
9923         (tan_test): Likewise.
9924         (yn_test): Likewise.
9925         (initialize): Set errno to 0.
9926         (main): Print number of errno tests.
9927         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
9929 2013-04-29  Andreas Jaeger  <aj@suse.de>
9931         [BZ #15084]
9932         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
9933         and RES_USEVC.
9935         [BZ #15085]
9936         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
9937         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
9938         unimplemented.
9940         [BZ #15380]
9941         * stdlib/random.c (__initstate): Return NULL if
9942         __initstate fails.
9944         [BZ #15086]
9945         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
9946         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
9947         RES_SNGLKUPREOP.
9949 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9951         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9953 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
9955         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
9956         of individual tests.
9957         (casin_test): Likewise.
9958         (casinh_test): Likewise.
9960 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
9962         [BZ #15409]
9963         * math/s_catan.c (__catan): Handle arguments with large real or
9964         imaginary part separately without squaring.
9965         * math/s_catanf.c (__catanf): Likewise.
9966         * math/s_catanh.c (__catanh): Likewise.
9967         * math/s_catanhf.c (__catanhf): Likewise.
9968         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
9969         and redefine.
9970         (__catanhl): Handle arguments with large real or imaginary part
9971         separately without squaring.
9972         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
9973         and redefine.
9974         (__catanl): Handle arguments with large real or imaginary part
9975         separately without squaring.
9976         * math/libm-test.inc (catan_test): Add more tests.
9977         (catanh_test): Likewise.
9978         * sysdeps/i386/fpu/libm-test-ulps: Update.
9979         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9981 2013-04-27  Andreas Jaeger  <aj@suse.de>
9983         [BZ #15007]
9984         * stdlib/stdlib.h: Update guards for qecvt.
9985         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
9986         <stdlib.h>.
9988 2013-04-27  Allan McRae  <allan@archlinux.org>
9990         * sysdeps/i386/fpu/libm-test-ulps: Update.
9992 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
9994         [BZ #15406]
9995         * math/s_catan.c: Include <float.h>.
9996         (__catan): Ensure underflow exception occurs for underflowed
9997         result.
9998         * math/s_catanf.c: Include <float.h>.
9999         (__catanf): Ensure underflow exception occurs for underflowed
10000         result.
10001         * math/s_catanh.c: Include <float.h>.
10002         (__catanh): Ensure underflow exception occurs for underflowed
10003         result.
10004         * math/s_catanhf.c: Include <float.h>.
10005         (__catanhf): Ensure underflow exception occurs for underflowed
10006         result.
10007         * math/s_catanhl.c: Include <float.h>.
10008         (__catanhl): Ensure underflow exception occurs for underflowed
10009         result.
10010         * math/s_catanl.c: Include <float.h>.
10011         (__catanl): Ensure underflow exception occurs for underflowed
10012         result.
10013         * math/libm-test.inc (catan_test): Add more tests.
10014         (catanh_test): Likewise.
10016         [BZ #15405]
10017         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
10018         underflowed result.
10019         * math/s_ccoshf.c (__ccoshf): Likewise.
10020         * math/s_ccoshl.c (__ccoshl): Likewise.
10021         * math/s_csin.c (__csin): Likewise.
10022         * math/s_csinf.c (__csinf): Likewise.
10023         * math/s_csinh.c (__csinh): Likewise.
10024         * math/s_csinhf.c (__csinhf): Likewise.
10025         * math/s_csinhl.c (__csinhl): Likewise.
10026         * math/s_csinl.c (__csinl): Likewise.
10027         * math/libm-test.inc (ccos_test): Add more tests.
10028         (ccosh_test): Likewise.
10029         (csin_test): Likewise.
10030         (csinh_test): Likewise.
10032 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10034         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
10035         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
10036         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
10037         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
10038         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
10039         powerpc/power5+/fpu folders.
10040         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
10043 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
10045         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10047 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
10049         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
10050         additions to variable.
10051         [$(config-machine) = x86_64] (modules-names): Likewise.
10052         ($(objpfx)tst-audit3): Remove dependency.
10053         ($(objpfx)tst-audit3.out): Likewise.
10054         ($(objpfx)tst-audit4): Likewise.
10055         ($(objpfx)tst-audit4.out): Likewise.
10056         ($(objpfx)tst-audit5): Likewise.
10057         ($(objpfx)tst-audit5.out): Likewise.
10058         ($(objpfx)tst-audit6): Likewise.
10059         ($(objpfx)tst-audit6.out): Likewise.
10060         ($(objpfx)tst-audit7): Likewise.
10061         ($(objpfx)tst-audit7.out): Likewise.
10062         (tst-audit3-ENV): Remove variable.
10063         (tst-audit4-ENV): Likewise.
10064         (tst-audit5-ENV): Likewise.
10065         (tst-audit6-ENV): Likewise.
10066         (tst-audit7-ENV): Likewise.
10067         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
10068         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
10069         addition to variable.
10070         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
10071         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
10072         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
10073         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
10074         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
10075         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
10076         tst-audit3, tst-audit4 and tst-audit5.
10077         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
10078         tst-audit6 and tst-audit7.
10079         [$(subdir) = elf] (modules-names): Add audit modules for those
10080         tests.
10081         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
10082         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
10083         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
10084         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
10085         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
10086         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
10087         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
10088         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
10089         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
10090         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
10091         [$(subdir) = elf] (tst-audit3-ENV): New variable.
10092         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
10093         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
10094         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
10095         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
10096         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
10097         Likewise.
10098         [$(subdir) = elf && $(config-cflags-avx) = yes]
10099         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
10100         [$(subdir) = elf && $(config-cflags-avx) = yes]
10101         (CFLAGS-tst-auditmod4a.c): Likewise.
10102         [$(subdir) = elf && $(config-cflags-avx) = yes]
10103         (CFLAGS-tst-auditmod4b.c): Likewise.
10104         [$(subdir) = elf && $(config-cflags-avx) = yes]
10105         (CFLAGS-tst-auditmod6b.c): Likewise.
10106         [$(subdir) = elf && $(config-cflags-avx) = yes]
10107         (CFLAGS-tst-auditmod6c.c): Likewise.
10108         [$(subdir) = elf && $(config-cflags-avx) = yes]
10109         (CFLAGS-tst-auditmod7b.c): Likewise.
10110         * elf/tst-audit3.c: Move to ...
10111         * sysdeps/x86_64/tst-audit3.c: ... here.
10112         * elf/tst-audit4.c: Move to ...
10113         * sysdeps/x86_64/tst-audit4.c: ... here.
10114         * elf/tst-audit5.c: Move to ...
10115         * sysdeps/x86_64/tst-audit5.c: ... here.
10116         * elf/tst-audit6.c: Move to ...
10117         * sysdeps/x86_64/tst-audit6.c: ... here.
10118         * elf/tst-audit7.c: Move to ...
10119         * sysdeps/x86_64/tst-audit7.c: ... here.
10120         * elf/tst-auditmod3a.c: Move to ...
10121         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
10122         * elf/tst-auditmod3b.c: Move to ...
10123         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
10124         * elf/tst-auditmod4a.c: Move to ...
10125         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
10126         * elf/tst-auditmod4b.c: Move to ...
10127         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
10128         * elf/tst-auditmod5a.c: Move to ...
10129         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
10130         * elf/tst-auditmod5b.c: Move to ...
10131         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
10132         * elf/tst-auditmod6a.c: Move to ...
10133         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
10134         * elf/tst-auditmod6b.c: Move to ...
10135         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
10136         * elf/tst-auditmod6c.c: Move to ...
10137         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
10138         * elf/tst-auditmod7a.c: Move to ...
10139         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
10140         * elf/tst-auditmod7b.c: Move to ...
10141         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
10143 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
10145         [BZ #15366]
10146         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
10147         define unconditionally.
10148         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
10149         define unconditionally.
10150         (INT8_C, INT16_C, etc.): Likewise.
10152 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
10154         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
10155         __ehdr_start with hidden visibility.
10157         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
10159 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
10161         * math/libm-test.inc (cos_test): Use accurate hex constants.
10162         (sincost_test): Likewise.
10164 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
10166         * math/libm-test.inc (catan_test): Add more tests.
10167         (catanh_test): Likewise.
10169         * math/s_catanf.c (__catanf): Use suffixed floating-point
10170         constants.
10171         * math/s_catanhf.c (__catanhf): Likewise.
10172         * math/s_catanhl.c (__catanhl): Likewise.
10173         * math/s_catanl.c (__catanl): Likewise.
10175         [BZ #15394]
10176         * math/s_catan.c (__catan): Calculate imaginary part of result
10177         with log1p not log unless computing log of number close to 0.
10178         * math/s_catanf.c (__catanf): Likewise.
10179         * math/s_catanl.c (__catanl): Likewise.
10180         * math/s_catanh.c (__catanh): Calculate real part of result with
10181         log1p not log unless computing log of number close to 0.
10182         * math/s_catanhf.c (__catanhf): Likewise.
10183         * math/s_catanhl.c (__catanhl): Likewise.
10184         * math/libm-test.inc (catan_test): Add more tests.
10185         (catanh_test): Likewise.
10186         * sysdeps/i386/fpu/libm-test-ulps: Update.
10187         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10189 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10191         * benchtests/Makefile: Mention files in which fast and slow
10192         paths of math functions are implemented.
10194 2013-04-23  Roland McGrath  <roland@hack.frob.com>
10196         * sysdeps/posix/timespec_get.c: New file.
10198 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10200         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
10201         POWER.
10202         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
10203         for POWER.
10204         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
10205         powerpc/power5/fpu folders.
10206         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
10207         * benchtests/Makefile: Add modf testcase.
10208         * benchtests/bench-modf.c: New file: Benchmark test for mo
10210 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
10212         [BZ #14888]
10213         * time/Makefile (tests): Add tst-strptime-whitespace.
10214         * time/strptime_l.c (get_number): Use ISSPACE.
10215         (__strptime_internal): Likewise.
10216         * time/tst-strptime-whitespace.c: New test case.
10218 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
10220         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
10221         member.
10222         (_nss_files_init): Set it here.
10224 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
10226         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
10227         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
10228         unsigned.
10230 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
10232         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
10234 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
10236         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
10237         size just once.
10239 2013-04-21  David S. Miller  <davem@davemloft.net>
10241         * po/ru.po: Update Russion translation from translation project.
10243 2013-04-17  Adam Conrad  <adconrad@0c3.net>
10245         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
10246         and setfsgid.
10248 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
10250         * configure.in: Remove i386 configure warning. Remove i386 case.
10251         * configure: Regenerate.
10252         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
10253         Add example to error message.
10254         * sysdeps/i386/configure: Regenerate.
10256 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
10258         * benchtests/Makefile (bench): Add cos, tan, slowcos and
10259         slowtan.
10260         * benchtests/cos-inputs: New file.
10261         * benchtests/slowcos-inputs: New file.
10262         * benchtests/slowcos.c: New file.
10263         * benchtests/slowtan-inputs: New file.
10264         * benchtests/slowtan.c: New file.
10265         * benchtests/tan-inputs: New file.
10267 2013-04-16  Roland McGrath  <roland@hack.frob.com>
10269         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
10270         considered kosher.
10272 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10274         * benchtests/Makefile: Include cppflags-iterator.mk to add
10275         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
10277         * Makefile.in (bench-clean): New target.
10278         * benchtests/Makefile (bench-clean): Likewise.
10280 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
10282         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
10284 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
10286         * stdio-common/tstdiomisc.c: Fix coding-style violation.
10288 2013-04-15  Andreas Schwab  <schwab@suse.de>
10290         * nscd/grpcache.c (cache_addgr): Properly check for short write.
10291         * nscd/initgrcache.c (addinitgroupsX): Likewise.
10292         * nscd/pwdcache.c (cache_addpw): Likewise.
10293         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
10294         more than recsize.
10296 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
10298         * benchtests/Makefile (bench): Write all output to
10299         bench-out.tmp together.
10301 2013-04-15  Andreas Schwab  <schwab@suse.de>
10303         * nscd/nscd.c (main): Don't fork again after closing files.
10305 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
10307         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
10309         * benchtests/Rules (bench-deps): Collect dependencies into a
10310         single variable.  Add Makefile to dependencies.
10311         ($(objpfx)bench-%.c): Depend on bench-deps.
10313 2013-04-12  Roland McGrath  <roland@hack.frob.com>
10314             Xavier Roche  <roche+kml2@exalead.com>
10316         [BZ #15361]
10317         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
10318         just that it's a file descriptor.
10319         * manual/llio.texi (Synchronizing AIO Operations): Update description
10320         for EBADF error from aio_fsync.
10322 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
10324         * Rules (bench): Move target definition...
10325         * benchtests/Makefile: ... here.
10327 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
10329         * math/libm-test.inc (cos_test): Fix PI/2 test.
10330         (sincos_test): Likewise.
10331         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
10332         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
10334 2013-04-11  Andreas Schwab  <schwab@suse.de>
10336         [BZ #13988]
10337         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
10338         accept exponent character only when digits were seen.
10339         * stdio-common/Makefile (tests): Add bug26.
10340         * stdio-common/bug26.c: New file.
10342         [BZ #14293]
10343         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
10344         non-freeable.
10346 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
10348         * Makeconfig (rtld-prefix): Define built linker prefix.
10349         * Rules (run-bench): Use it.
10350         * math/Makefile (run-regen-ulps): Likewise.
10352         * Rules (bench): Remove eval.
10354 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
10355             Roland McGrath  <roland@hack.frob.com>
10356             Ondrej Bilka  <neleai@seznam.cz>
10358         [BZ #15346]
10359         * time/getdate.c: Include ctype.h and alloca.h.
10360         (__getdate_r): Trim leading and trailing spaces of input.
10361         * time/tst-getdate.c (tests): Add tests with leading and
10362         trailing spaces.
10364 2013-04-08  Roland McGrath  <roland@hack.frob.com>
10366         [BZ #14280]
10367         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
10368         when computing value.
10370 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
10372         * math/README.libm-test (How can I generate "libm-test-ulps"?):
10373         Use testrun.sh to run libm tests.
10375         [BZ #15309]
10376         * elf/dl-open.c (dl_open_worker): memset all of seen array.
10378 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
10380         [BZ #15264]
10381         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
10383 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
10385         * Makefile.in (regen-ulps): New target.
10386         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
10387         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
10388         [ifneq (no,$(PERL)] (regen-ulps): New target.
10389         [ifeq (no,$(PERL)] (regen-ulps): New target.
10390         * math/libm-test.inc (ulps_file_name): Define.
10391         (output_dir): New variable.
10392         (options): Add "output-dir" option.
10393         (parse_opt): Handle 'o' case.
10394         (main): If output_dir is non-NULL use it as a prefix
10395         otherwise use "".
10396         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
10398 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
10400         [BZ #10060, #10062]
10401         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
10402         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
10403         fail configure if __sync_val_compare_and_swap is not inlined.
10404         * sysdeps/i386/configure: Regenerate.
10405         * configure.in: Build for i686 when configured for i386.
10406         * configure: Regenerate.
10407         * README: Remove i386 reference.
10409 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
10411         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
10412         * sysdeps/s390/s390-64/sysdep.h: Likewise.
10414 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
10416         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
10417         (lmsnanval): New variables.
10418         (F): Add conversion tests.
10419         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
10420         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
10422         * stdio-common/tstdiomisc.c (F): Properly collect individual
10423         tests' results.
10425         [BZ #14686, #15336]
10426         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
10427         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
10428         Instead, use input NaN values or generate a qNaN by arithmetic
10429         operation.  Also fix bugs to comply with the standard.
10430         * math/libm-test.inc (remainder_test): Add more tests.
10432         [BZ #15335, #15342]
10433         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
10434         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
10435         input NaN values or generate a qNaN by arithmetic operation.
10437         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
10438         unreachable code.
10440         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
10441         definitions.
10443 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
10445         [BZ #14478]
10446         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
10447         underflowed result.
10448         * math/s_cexpf.c (__cexpf): Likewise.
10449         * math/s_cexpl.c (__cexpl): Likewise.
10450         * math/libm-test.inc (cexp_test): Add more tests.
10452 2013-04-03  Andreas Schwab  <schwab@suse.de>
10454         [BZ #15330]
10455         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
10456         order arrays from heap if bigger than alloca cutoff.
10458 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
10460         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
10461         (SNAN_TESTS_double): Refer to GCC PR56831.
10462         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
10463         GCC PR56828.
10465 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
10467         * Rules (bench): Move bench.out after the run is complete.
10469         * Rules (bench): Echo currently running benchmark.
10471         * benchtests/Makefile (bench): Add atan and slowatan.
10472         * benchtests/atan-inputs: New file.
10473         * benchtests/slowatan-inputs: New file.
10474         * benchtests/slowatan.c: New file.
10476         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
10477         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
10478         its value.
10480         [BZ #15305]
10481         * sysdeps/unix/sysv/linux/kernel-features.h
10482         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
10483         __ASSUME_XFS_RESTRICTED_CHOWN.
10484         * sysdeps/unix/sysv/linux/pathconf.c
10485         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
10486         Save and restore errno.
10488 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
10490         [BZ #15327]
10491         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
10492         arguments using __kernel_casinh.
10493         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
10494         arguments using __kernel_casinhf.
10495         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
10496         arguments using __kernel_casinhl.
10497         * math/libm-test.inc (cacosh_test): Add more tests.
10498         * sysdeps/i386/fpu/libm-test-ulps: Update.
10499         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10501 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
10503         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
10504         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
10506         * bench/Makefile (bench): Add sin and slowsin.
10507         * benchtests/sin-inputs: New file.
10508         * benchtests/slowsin-inputs: New file.
10509         * benchtests/slowsin.c: New file.
10511         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
10512         (bench): Add slowexp and slowpow.
10513         (exp-ITER): Increase iterations.
10514         (pow-ITER): Likewise.
10515         * benchtests/exp-inputs: Change input.
10516         * benchtests/pow-inputs: Likewise.
10517         * benchtests/slowexp-inputs: New file.
10518         * benchtests/slowexp.c: New file.
10519         * benchtests/slowpow-inputs: New file.
10520         * benchtests/slowpow.c: New file.
10522 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10524         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
10525         instructions.
10526         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
10527         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
10528         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
10529         * benchtests/Makefile: Add rint benchtest.
10530         * benchtests/rint-inputs: Input for rint benchtest.
10532 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
10534         * Versions.def (libm): Add GLIBC_2.18.
10535         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
10536         hidden libm prototypes.
10537         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
10538         * math/Makefile (libm-calls): Add s_issignaling.
10539         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
10540         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
10541         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
10542         declaration.
10543         * math/math.h [__USE_GNU] (issignaling): New macro.
10544         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
10545         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
10546         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
10547         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
10548         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
10549         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
10550         * manual/arith.texi (issignaling): New section.
10551         * manual/libm-err-tab.pl (@all_functions): Update comment.
10552         * math/gen-libm-test.pl (parse_args): Apply special handling for
10553         issignaling.
10554         * math/libm-test.inc (print_float, issignaling_test): New
10555         functions.
10556         (check_float_internal): Add issignaling checks.
10557         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
10558         default definition.
10559         * sysdeps/powerpc/math-tests.h: New file.
10560         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
10561         tests.
10562         * math/test-snan.c (TEST_FUNC): Likewise.
10564 2013-03-30  David S. Miller  <davem@davemloft.net>
10566         * po/de.po: Update from translation team.
10568 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
10570         [BZ #10357]
10571         * math/k_casinh.c (__kernel_casinh): Handle arguments with
10572         imaginary part less than 1.0 and real part less than 0.5
10573         specially.
10574         * math/k_casinhf.c (__kernel_casinhf): Likewise.
10575         * math/k_casinhl.c (__kernel_casinhl): Likewise.
10576         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
10577         (cacos_test): Add more tests.
10578         (casin_test): Likewise.
10579         (casinh_test): Likewise.
10580         * sysdeps/i386/fpu/libm-test-ulps: Update.
10581         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10583 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
10585         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
10586         ONE with its value.
10588         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
10589         (__pow_mp): Replace ONE and MONE with their values.
10590         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10591         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
10592         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10593         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
10594         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10595         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10597         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
10599         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
10600         (__pow_mp): Replace ZERO and MZERO with their values.
10601         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
10602         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10603         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10604         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
10605         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10606         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
10607         (__sqr): Likewise.
10609         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
10611         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
10613 2013-03-28  Roland McGrath  <roland@hack.frob.com>
10615         * include/stdlib.h [!SHARED] (__call_tls_dtors):
10616         Declare with __attribute__ ((weak)).
10617         * stdlib/exit.c (__libc_atexit) [!SHARED]:
10618         Call __call_tls_dtors only if it's not NULL.
10620 2013-03-28  Roland McGrath  <roland@hack.frob.com>
10622         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
10623         didn't do it already, then set _dl_phdr and _dl_phnum based on the
10624         magic __ehdr_start linker symbol if it's defined.
10625         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
10626         them up here if it was already done.
10628         * elf/dl-support.c (_dl_phdr): Make pointer to const.
10629         (_dl_aux_init): Use const in cast when setting it.
10630         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
10631         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
10632         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
10634         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
10635         Declare them here.
10636         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
10637         * csu/libc-tls.c: Nor here.
10638         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
10640         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
10641         (__libc_message): Never call vsyslog.
10643 2013-03-28  Alan Modra  <amodra@gmail.com>
10645         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
10646         Define as empty.
10647         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
10648         Likewise.
10650 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10652         [BZ #15214]
10653         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
10654         underflow.
10655         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10657 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
10659         [BZ #15304]
10660         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
10661         Don't add gid passed as argument.
10663         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
10665 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
10667         [BZ #15307]
10668         * math/k_casinh.c (__kernel_casinh): Handle arguments with
10669         imaginary part between 1.0 and 1.5 and real part less than 0.5
10670         specially.
10671         * math/k_casinhf.c (__kernel_casinhf): Likewise.
10672         * math/k_casinhl.c (__kernel_casinhl): Likewise.
10673         * math/libm-test.inc (cacos_test): Add more tests.
10674         (casin_test): Likewise.
10675         (casinh_test): Likewise.
10676         * sysdeps/i386/fpu/libm-test-ulps: Update.
10677         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10679 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
10681         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
10682         constants.
10683         (norm): Likewise.
10684         (denorm): Likewise.
10685         (__dbl_mp): Likewise.
10686         (add_magnitudes): Likewise.
10687         (sub_magnitudes): Likewise.
10688         (__add): Likewise.
10689         (__sub): Likewise.
10690         (__mul): Likewise.
10691         (__sqr): Likewise.
10692         (__inv): Likewise.
10693         (__dvd): Likewise.
10695         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
10696         commented code.
10697         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
10698         (__dubcos): Likewise.
10699         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
10700         (__ieee754_acos): Likewise.
10701         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
10702         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
10703         (__exp1): Likewise.
10704         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10705         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
10706         (log1): Likewise.
10707         (my_log2): Likewise.
10708         (checkint): Likewise.
10709         * sysdeps/ieee754/dbl-64/e_remainder.c
10710         (__ieee754_remainder): Likewise.
10711         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10712         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
10713         (bsloww): Likewise.
10714         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10716         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
10717         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
10718         MANTISSA_STORE_T to store computations on mantissa.  Use
10719         macros for rounding and division.
10720         (denorm): Likewise.
10721         (__dbl_mp): Likewise.
10722         (add_magnitudes): Likewise.
10723         (sub_magnitudes): Likewise.
10724         (__mul): Likewise.
10725         (__sqr): Likewise.
10726         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
10727         powers of two in terms of TWOPOW macro.
10728         (mp_no): Make type of mantissa as MANTISSA_T.
10729         [!RADIXI]: Define RADIXI.
10730         [!TWO52]: Define TWO52.
10731         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
10733 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10735         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
10736         llroundl symbol when building for PPC32.
10738 2013-03-24  Mark H Weaver  <mhw@netris.org>
10740         * manual/arith.texi (Normalization Functions): Fix prototypes for
10741         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
10743 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10745         [BZ #13889]
10746         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
10747         high value to check if expl overflow.
10748         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
10749         to check for underflow and overflow.
10750         * math/libm-test.inc: Add exp test.
10752 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
10754         [BZ #11120]
10755         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
10756         with NOT_IN_libc.
10758 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10760         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
10761         symbol.
10763 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
10765         * math/gen-libm-test.pl (parse_args, special_functions): Properly
10766         wrap blocks consisting of several statements.
10768         * sysdeps/generic/math-tests.h: New file.
10769         * sysdeps/i386/fpu/math-tests.h: Likewise.
10770         * math/test-snan.c: Include it.
10771         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
10773 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
10775         [BZ #15285]
10776         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
10777         (__ieee754_j0l): Do not improve calculations using cos of twice
10778         input for inputs above LDBL_MAX / 2.0L.
10779         (__ieee754_y0l): Likewise.
10780         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
10781         (__ieee754_j1l): Do not improve calculations using cos of twice
10782         input for inputs above LDBL_MAX / 2.0L.
10783         (__ieee754_y1l): Likewise.
10784         * math/libm-test.inc (j0_test): Add another test.
10785         (j1_test): Likewise.
10786         (y0_test): Likewise.
10787         (y1_test): Likewise.
10788         * sysdeps/i386/fpu/libm-test-ulps: Update.
10790 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
10792         * Rules ($(objpfx)bench-%.c): Include code from a C source
10793         file.
10795 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
10797         [BZ #15287]
10798         * math/k_casinh.c (__kernel_casinh): Handle arguments with
10799         imaginary part 1.0 and real part less than 0.5 specially.
10800         * math/k_casinhf.c (__kernel_casinhf): Likewise.
10801         * math/k_casinhl.c (__kernel_casinhl): Likewise.
10802         * math/libm-test.inc (cacos_test): Add more tests.
10803         (casin_test): Likewise.
10804         (casinh_test): Likewise.
10805         * sysdeps/i386/fpu/libm-test-ulps: Update.
10806         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10808 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
10810         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
10811         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
10813 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
10815         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
10816         * config.make.in (config-cflags-sse4): Remove variable.
10817         (config-cflags-avx): Likewise.
10818         (config-cflags-sse2avx): Likewise.
10819         (config-cflags-novzeroupper): Likewise.
10820         (config-asflags-i686): Likewise.
10821         (have-mfma4): Likewise.
10822         (have-as-vis3): Likewise.
10823         (MIG): Likewise.
10824         * configure.in (MIG): Do not AC_SUBST.
10825         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
10826         (libc_cv_cc_sse4): Do not AC_SUBST.
10827         (libc_cv_cc_avx): Likewise.
10828         (libc_cv_cc_sse2avx): Likewise.
10829         (libc_cv_cc_novzeroupper): Likewise.
10830         (libc_cv_cc_fma4): Likewise.
10831         (libc_cv_as_i686): Likewise.
10832         (libc_cv_sparc_as_vis3): Likewise.
10833         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
10834         LIBC_CONFIG_VAR.
10835         (config-asflags-i686): Likewise.
10836         (config-cflags-avx): Likewise.
10837         (config-cflags-sse2avx): Likewise.
10838         (have-mfma4): Likewise.
10839         (config-cflags-novzeroupper): Likewise.
10840         * sysdeps/mach/configure.in (MIG): Likewise.
10841         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
10842         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
10843         LIBC_CONFIG_VAR.
10844         (config-cflags-avx): Likewise.
10845         (config-cflags-sse2avx): Likewise.
10846         (have-mfma4): Likewise.
10847         (config-cflags-novzeroupper): Likewise.
10848         * configure: Regenerated.
10849         * sysdeps/i386/configure: Likewise.
10850         * sysdeps/mach/configure: Likewise.
10851         * sysdeps/sparc/configure: Likewise.
10852         * sysdeps/x86_64/configure: Likewise.
10854 2013-03-20  Roland McGrath  <roland@hack.frob.com>
10856         [BZ #14812]
10857         * locale/programs/localedef.c (options): Put N_ translation marker
10858         on argument names, not just descriptions.
10860 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
10862         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
10864 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
10866         [BZ #14176]
10867         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
10869 2013-03-19  Roland McGrath  <roland@hack.frob.com>
10871         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
10872         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
10873         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
10874         [!BEFORE_ABORT] (before_abort): New function.
10875         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
10876         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
10877         (writev_for_fatal): New function.
10878         (WRITEV_FOR_FATAL): New macro; call that.
10879         (backtrace_and_maps): New function.
10880         (BEFORE_ABORT): New macro; call that.
10881         (struct str_list): Type removed.
10882         (__libc_message, __libc_fatal): Functions removed.
10883         Include <sysdeps/posix/libc_fatal.c> instead.
10885 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
10887         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
10888         constants.
10889         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
10890         double constants.
10892 2013-03-19  Andreas Schwab  <schwab@suse.de>
10894         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
10895         * sysdeps/gnu/configure: Regenerate.
10897         * configure.in: Substitute libc_cv_rtlddir.
10898         * configure: Regenerate.
10899         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
10900         * Makeconfig (rtlddir, inst_rtlddir): New variables.
10901         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
10902         * elf/Makefile (install-others, CFLAGS-interp.c)
10903         (ldso_install, common-ldd-rewrite): Likewise.
10904         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
10905         $(inst_slibdir)/$(rtld-installed-name).
10906         * scripts/rellns-sh: Add -p option.
10907         * Makerules (make-shlib-link): Use rellns-sh to get relative name
10908         for source.
10910 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
10912         * manual/nptl.texi: Renamed to ...
10913         * manual/threads.texi: ... this.
10914         * manual/Makefile (chapters): Update.
10916 2013-03-18  Roland McGrath  <roland@hack.frob.com>
10918         [BZ #14812]
10919         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
10920         on argument names, not just descriptions.
10921         * malloc/memusagestat.c (options): Likewise.
10922         * nss/getent.c (options): Likewise.
10924 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
10926         [BZ #14812]
10927         * iconv/iconv_prog.c (options): Put N_ translation marker
10928         on argument names, not just descriptions.
10929         * iconv/iconvconfig.c (options): Likewise.
10931 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
10933         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
10934         implementation which is faster on all x86_64 architectures.
10935         Tested on AMD, Intel Nehalem, SNB, IVB.
10936         * sysdeps/x86_64/strnlen.S: Likewise.
10938         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10939         Remove all multiarch strlen and strnlen versions.
10940         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
10941         Remove strlen and strnlen related parts.
10943         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
10944         Inline strlen part.
10945         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
10947         * sysdeps/x86_64/multiarch/strlen.S: Remove.
10948         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
10949         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
10950         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
10951         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
10952         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
10954 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
10956         * manual/memory.texi (Malloc Tunable Parameters):
10957         Sort parameters alphabetically. Add comments for missing entries.
10959 2013-03-17  David S. Miller  <davem@davemloft.net>
10961         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10963 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
10965         [BZ #15283]
10966         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
10967         for arguments at most half maximum finite value.
10968         * math/libm-test.inc (j0_test): Add more tests.
10969         (j1_test): Likewise.
10970         (y0_test): Likewise.
10971         (y1_test): Likewise.
10972         * sysdeps/i386/fpu/libm-test-ulps: Update.
10973         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10975         [BZ #14155]
10976         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
10977         1 / x and functions P and Q for arguments above 0x1p256L.
10978         (__ieee754_y0l): Likewise.
10979         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
10980         (__ieee754_y1l): Likewise.
10981         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
10982         (j1_test): Likewise.
10983         (y0_test): Likewise.
10984         (y1_test): Likewise.
10986 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
10988         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
10989         variable.
10991 2013-03-15  Roland McGrath  <roland@hack.frob.com>
10993         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
10994         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
10995         zero since it's initialized to EXEC_PAGESIZE.
10997         * sysdeps/unix/sysv/linux/ldsodefs.h
10998         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
10999         * sysdeps/generic/ldsodefs.h: ... here.
11001 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
11003         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
11005         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
11006         math/test-snan.c.
11007         * math/test-snan.c: Renamed from
11008         sysdeps/powerpc/fpu/test-powerpc-snan.c.
11009         * math/Makefile (tests): Add test-snan.
11010         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
11011         test-powerpc-snan.
11013         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
11014         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
11015         functions.
11016         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
11017         __builtin_nan family of functions.
11018         * math/libm-test.inc (initialize): Initialize qnan_value with
11019         __builtin_nan family of functions.
11020         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
11021         Remove variables.
11022         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
11023         Remove functions.
11024         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
11025         storage class.  Initialize qNaN_var and sNaN_var with
11026         __builtin_nan and __builtin_nans families of functions,
11027         respectively.
11029         * math/libm-test.inc (acosh_test): Also test with qNaN input.
11030         (sqrt_test): Remove duplicate test with qNaN input.
11031         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
11032         (round_test, signbit_test, significand_test): Note missing +/-Inf
11033         as well as qNaN tests.
11035         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
11036         qNaN_var.  Fix a few strings, too.
11037         * math/libm-test.inc (nan_value): Rename to qnan_value.
11038         * math/gen-libm-test.pl (%beautify): Adjust to that.
11039         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
11040         * math/test-misc.c (main): Likewise.
11041         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
11042         to __qnan_bytes, and __qnan_union, respectively.
11043         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
11044         Likewise.
11045         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
11046         and lqnanval, respectively.
11047         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
11048         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
11049         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
11050         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
11052         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
11053         * math/test-misc.c (main) [__x86_64__]: Enable test for long
11054         doubles.
11056         * math/test-misc.c (main): Fix copy'n'pastos.
11057         * misc/tst-efgcvt.c (special): Likewise.
11059         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
11060         Remove declarations.
11062 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11064         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
11065         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
11066         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
11067         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
11069 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11071         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
11072         macro to return vdso values correctly in IFUNC implementations.
11073         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11074         Optimization by using IFUNC.
11076 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11077             Richard Henderson  <rth@redhat.com>
11078             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11080         * Makefile.in (bench): New target.
11081         * NEWS: Mention the benchmark framework.
11082         * Rules (bench): Likewise.
11083         (binaries-bench): Generate binaries for functions to
11084         benchmark.
11085         * benchtests/Makefile: New makefile for benchmark tests.
11086         * benchtests/bench-skeleton.c: New skeleton file for benchmark
11087         programs.
11088         * benchtests/exp-inputs: New input file for EXP function.
11089         * benchtests/pow-inputs: New input file for POW function.
11090         * scripts/bench.pl: New script to generate source files for
11091         benchmark programs.
11093 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11095         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
11096         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
11097         computations on mantissa.  Use macros for rounding and
11098         division.
11099         (denorm): Likewise.
11100         (__dbl_mp): Likewise.
11101         (add_magnitudes): Likewise.
11102         (sub_magnitudes): Likewise.
11103         (__mul): Likewise.
11104         (__sqr): Likewise.
11105         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
11106         powers of two in terms of TWOPOW macro.
11107         (mp_no): Make type of mantissa as MANTISSA_T.
11108         [!RADIXI]: Define RADIXI.
11109         [!TWO52]: Define TWO52.
11110         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
11112         * manual/nptl.texi (cindex): Modify threads to pthreads.
11114 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
11116         * sysdeps/x86_64/preconfigure: Regenerated.
11118 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
11120         [BZ #14155]
11121         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
11122         0x1p28 and above.
11123         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
11124         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
11125         0x1p28 and above.
11126         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
11127         * math/libm-test.inc (j0_test): Do not allow one spurious
11128         underflow exception.
11129         (y1_test): Likewise.
11131 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
11133         * manual/Makefile (chapters): Add nptl.
11134         * manual/debug.texi (Debugging Support): Add link to Threads
11135         chapter.
11136         * manual/nptl.texi: New file.
11138         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
11140 2013-03-14  Petr Baudis  <pasky@ucw.cz>
11142         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
11143         for non-NULL pointer before the memory validity test. Pointed
11144         out by Holger Brunck <holger.brunck@keymile.com>.
11146 2013-03-13  Andreas Schwab  <schwab@suse.de>
11148         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
11149         instead of .os.
11151 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
11153         * timezone/zic.c: Update from tzcode 2013b.
11155 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
11157         * manual/install.texi (Configuring and compiling):
11158         Mention i686 and i586.
11159         * INSTALL: Regenerate.
11161 2013-03-12  Roland McGrath  <roland@hack.frob.com>
11163         * sysdeps/init_array/elf-init.c: New file.
11164         * csu/elf-init.c
11165         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
11166         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
11168         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
11169         __gmon_start__ as global, but as static with a .preinit_array pointer.
11170         * sysdeps/init_array/gmon-start.c: New file.  Use that.
11171         * sysdeps/init_array/crti.S: New file, empty except for comments.
11172         * sysdeps/init_array/crtn.S: Likewise.
11174 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
11176         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
11177         definining bcopy.
11178         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11179         Remove Prefer_SSE_for_memop.
11180         * sysdeps/x86_64/multiarch/init-arch.h: Remove
11181         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
11182         HAS_PREFER_SSE_FOR_MEMOP.
11183         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
11184         memset-x86-64.
11185         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11186         Remove bzero, memset ifunc support.
11187         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
11188         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
11189         * sysdeps/x86_64/multiarch/memset.S: Likewise.
11190         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11192 2013-03-11  Andreas Schwab  <schwab@suse.de>
11194         [BZ #15234]
11195         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
11196         by SHLIB_COMPAT.
11197         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
11198         (GLIBC_2.16): Remove pthread_atfork.
11200 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
11202         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
11203         (ptestcases.h): Likewise.
11205 2013-03-08  Roland McGrath  <roland@hack.frob.com>
11207         * Makeconfig ($(common-objpfx)config.status): Depend on
11208         sysdeps/*/preconfigure{,.in} too.
11210 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
11212         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
11213         (__free_hook): Use void * instead of __malloc_ptr_t.
11214         (__malloc_hook): Likewise.
11215         (__realloc_hook): Likewise.
11216         (__memalign_hook): Likewise.
11217         (__after_morecore_hook): Likewise.
11218         * malloc/arena.c (save_malloc_hook): Likewise.
11219         (save_free_hook): Likewise.
11220         * malloc/hooks.c (malloc_hook_ini): Likewise.
11221         (realloc_hook_ini): Likewise.
11222         (memalign_hook_ini): Likewise.
11223         * malloc/malloc.c (malloc_hook_ini): Likewise.
11224         (realloc_hook_ini): Likewise.
11225         (memalign_hook_ini): Likewise.
11226         (__free_hook): Likewise.
11227         (__malloc_hook): Likewise.
11228         (__realloc_hook): Likewise.
11229         (__memalign_hook): Likewise.
11230         (__libc_malloc): Likewise.
11231         (__libc_free): Likewise.
11232         (__libc_realloc): Likewise.
11233         (__libc_memalign): Likewise.
11234         (__libc_valloc): Likewise.
11235         (__libc_pvalloc): Likewise.
11236         (__libc_calloc): Likewise.
11237         (__posix_memalign): Likewise.
11238         * malloc/morecore.c (__sbrk): Likewise.
11239         (__default_morecore): Likewise.
11241         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
11243         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
11244         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
11245         __malloc_ptrdiff_t.
11247         * malloc/malloc.h (__malloc_size_t): Remove macro.
11248         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
11249         __malloc_size_t.
11250         (old_memalign_hook): Likewise.
11251         (old_realloc_hook): Likewise.
11252         (struct hdr): Likewise.
11253         (flood): Likewise.
11254         (mallochook): Likewise.
11255         (memalignhook): Likewise.
11256         (reallochook): Likewise.
11257         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
11258         (tr_old_realloc_hook): Likewise.
11259         (tr_old_memalign_hook): Likewise.
11260         (tr_mallochook): Likewise.
11261         (tr_reallochook): Likewise.
11262         (tr_memalignhook): Likewise.
11264 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11266         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
11267         default_ldbl_pack and using as default implementation.
11268         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
11269         implementation.
11270         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
11271         redundant definition.
11272         (ldbl_insert_mantissa): Likewise.
11273         (ldbl_canonicalize): Likewise.
11274         (ldbl_nearbyint): Likewise.
11275         (ldbl_pack): Rename to ldbl_pack_ppc.
11276         (ldbl_unpack): Rename to ldbl_unpack_ppc.
11277         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
11278         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
11280 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
11282         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
11283         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
11284         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
11285         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
11286         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
11287         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
11288         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
11289         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
11291 2013-03-07  Andreas Jaeger  <aj@suse.de>
11293         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11294         bits/mman-linux.h.
11296 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
11298         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
11299         Include mpa.h and declare __MPEXP.
11300         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
11301         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11302         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11303         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
11304         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11305         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11306         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
11308         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
11309         (__slowpow): Use long double EXPL and LOGL functions to
11310         compute POW.
11311         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11312         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11313         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
11314         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11315         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11316         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
11318         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
11319         intermediate variable to calculate exponent.
11320         (__sqr): Likewise.
11321         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
11322         Likewise.
11323         (__sqr): Likewise.
11325         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
11326         [!NO__SQR]: Define __sqr.
11327         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
11328         and NO__SQR.  Remove all code except __mul and __sqr.  Include
11329         sysdeps/ieee754/dbl-64/mpa.c.
11330         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11332         [BZ #12723]
11333         * posix/Makefile (tests): Add tst-pathconf.
11334         * posix/tst-pathconf.c: New test case.
11335         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
11336         _PC_PIPE_BUF.
11337         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
11339 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
11341         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
11343 2013-03-06  Andreas Jaeger  <aj@suse.de>
11345         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
11346         definition via __MAP_ANONYMOUS.
11348         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
11349         it's not part of Linux headers.
11351         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
11352         (MAP_HUGE_MASK): Define.
11354         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11355         Define.
11356         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11357         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11358         Define.
11359         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11360         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11361         Define.
11362         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11363         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
11364         Define.
11365         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11367         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
11368         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
11369         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
11370         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
11371         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
11372         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
11374         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
11375         Handle f2fs.
11377         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11378         Handle f2fs and efivarfs.
11380         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
11381         f2fs.
11383         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
11384         (EFIVARFS_MAGIC): Add.
11385         (F2FS_LINK_MAX): Add.
11387 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
11389         * stdio-common/vfprintf.c: Replace __builtin_expect with
11390         __glibc_unlikely.
11392 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
11394         [BZ #13550]
11395         * sysdeps/generic/bp-sym.h: Remove file.
11396         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
11397         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
11398         <bp-sym.h> and <bp-asm.h>.
11399         (__longjmp): Don't use BP_SYM.
11400         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
11401         and <bp-asm.h>.
11402         (memcpy): Don't use BP_SYM.
11403         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
11404         <bp-sym.h> and <bp-asm.h>.
11405         (memcpy): Don't use BP_SYM.
11406         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
11407         <bp-asm.h>.
11408         (memcpy): Don't use BP_SYM.
11409         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
11410         <bp-asm.h>.
11411         (memset): Don't use BP_SYM.
11412         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11413         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11414         (__bzero): Don't use BP_SYM.
11415         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11416         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11417         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
11418         <bp-sym.h> and <bp-asm.h>.
11419         (memcmp): Don't use BP_SYM.  Remove comment about bounded
11420         pointers.
11421         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
11422         <bp-sym.h> and <bp-asm.h>.
11423         (memcpy): Don't use BP_SYM.
11424         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
11425         <bp-sym.h> and <bp-asm.h>.
11426         (memset): Don't use BP_SYM.
11427         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11428         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11429         (__bzero): Don't use BP_SYM.
11430         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11431         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11432         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
11433         <bp-sym.h> and <bp-asm.h>.
11434         (strncmp): Don't use BP_SYM.  Remove comment about bounded
11435         pointers.
11436         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
11437         <bp-sym.h> and <bp-asm.h>.
11438         (memcpy): Don't use BP_SYM.
11439         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
11440         <bp-sym.h> and <bp-asm.h>.
11441         (memset): Don't use BP_SYM.
11442         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11443         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11444         (__bzero): Don't use BP_SYM.
11445         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11446         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11447         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
11448         <bp-sym.h> and <bp-asm.h>.
11449         (__memchr): Don't use BP_SYM.
11450         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
11451         <bp-sym.h> and <bp-asm.h>.
11452         (memcmp): Don't use BP_SYM.  Remove comment about bounded
11453         pointers.
11454         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
11455         <bp-sym.h> and <bp-asm.h>.
11456         (memcpy): Don't use BP_SYM.
11457         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
11458         <bp-sym.h> and <bp-asm.h>.
11459         (__mempcpy): Don't use BP_SYM.
11460         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
11461         <bp-sym.h> and <bp-asm.h>.
11462         (__memrchr): Don't use BP_SYM.
11463         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
11464         <bp-sym.h> and <bp-asm.h>.
11465         (memset): Don't use BP_SYM.
11466         (__bzero): Likewise.
11467         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
11468         <bp-sym.h> and <bp-asm.h>.
11469         (__rawmemchr): Don't use BP_SYM.
11470         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
11471         <bp-sym.h> and <bp-asm.h>.
11472         (__STRCMP): Don't use BP_SYM.
11473         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
11474         <bp-sym.h> and <bp-asm.h>.
11475         (strchr): Don't use BP_SYM.
11476         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
11477         <bp-sym.h> and <bp-asm.h>.
11478         (__strchrnul): Don't use BP_SYM.
11479         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
11480         <bp-sym.h> and <bp-asm.h>.
11481         (strlen): Don't use BP_SYM.
11482         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
11483         <bp-sym.h> and <bp-asm.h>.
11484         (strncmp): Don't use BP_SYM.  Remove comment about bounded
11485         pointers.
11486         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
11487         <bp-sym.h> and <bp-asm.h>.
11488         (__strnlen): Don't use BP_SYM.
11489         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
11490         <bp-sym.h> and <bp-asm.h>.
11491         (__GI__setjmp): Don't use BP_SYM.
11492         (_setjmp): Likewise.
11493         (__sigsetjmp): Likewise.
11494         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
11495         (L(start_addresses)): Don't use BP_SYM.
11496         (_start): Likewise.
11497         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
11498         <bp-asm.h>.
11499         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
11500         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
11501         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11502         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11503         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
11504         <bp-asm.h>.
11505         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
11506         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
11507         about bounded pointers.
11508         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11509         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11510         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
11511         <bp-asm.h>.
11512         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
11513         about bounded pointers.  Remove GKM FIXME comments.
11514         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11515         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
11516         <bp-asm.h>.
11517         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
11518         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
11519         Remove GKM FIXME comments.
11520         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11521         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11522         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
11523         <bp-asm.h>.
11524         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
11525         about bounded pointers.  Remove GKM FIXME comment.
11526         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
11527         and <bp-asm.h>.
11528         (strncmp): Don't use BP_SYM.  Remove comment about bounded
11529         pointers.
11530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
11531         <bp-sym.h> and <bp-asm.h>.
11532         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
11533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
11534         <bp-sym.h> and <bp-asm.h>.
11535         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
11536         comment.
11538 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
11540         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
11541         call free(NULL).
11543 2013-03-05  David S. Miller  <davem@davemloft.net>
11545         * po/es.po: Update from translation team.
11547 2013-03-05  Andreas Jaeger  <aj@suse.de>
11549         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
11550         <bits/mman-linux.h>.
11551         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11552         is fine.
11553         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
11554         <bits/mman-linux.h> to end of file.
11555         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11556         is fine.
11557         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
11558         <bits/mman-linux.h> to end of file.
11559         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11560         is fine.
11561         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
11562         <bits/mman-linux.h> to end of file.
11564         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
11565         (MCL_CURRENT, MCL_FUTURE): Define here.
11567 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11569         [BZ #15232]
11570         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
11571         attribute_hidden.
11572         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
11574 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11576         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
11577         fourth parameter needed for rt_sigprocmask syscall.
11578         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
11579         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
11580         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
11581         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
11582         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
11583         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
11585 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
11587         [BZ #13550]
11588         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
11589         comment about bounded pointers.
11590         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
11591         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
11593 2013-03-04  Andreas Jaeger  <aj@suse.de>
11595         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
11596         common definitions.
11598         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
11599         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
11600         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
11601         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11602         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
11603         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11605 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11607         [BZ #15055]
11608         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
11609         __ieee754_sqrl instead of __sqrl.
11611 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
11613         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
11614         * sysdeps/powerpc/fpu_control.h: ... here.
11615         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
11616         * sysdeps/powerpc/bits/fenvinline.h: ... here.
11617         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
11618         * sysdeps/powerpc/bits/mathinline.h: ... here.
11620 2013-03-01  Roland McGrath  <roland@hack.frob.com>
11622         * elf/dl-hwcaps.c (_dl_important_hwcaps):
11623         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
11624         to just [NEED_DL_SYSINFO_DSO].
11625         * elf/dl-support.c: Likewise.
11626         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
11627         * elf/rtld.c (dl_main): Likewise.
11628         * elf/setup-vdso.h (setup_vdso): Likewise.
11629         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
11630         * sysdeps/unix/sysv/linux/dl-sysdep.c
11631         (_dl_discover_osversion): Likewise.
11633 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
11635         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
11636         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
11638 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
11640         * NEWS: Mention libm performance improvements and non-x86 PI
11641         futex support.
11643         * csu/libc-start.c (__pthread_initialize_minimal): Change
11644         function arguments.
11645         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
11647 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
11649         [BZ #13550]
11650         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
11651         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
11652         <bp-sym.h> and <bp-asm.h>.
11653         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11654         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
11655         and <bp-asm.h>.
11656         (memcpy): Don't use BP_SYM.
11657         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
11658         <bp-asm.h>.
11659         (__mpn_add_n): Don't use BP_SYM.
11660         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
11661         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
11662         and <bp-asm.h>.
11663         (__mpn_addmul_1): Don't use BP_SYM.
11664         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11665         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
11666         <bp-sym.h>.
11667         (_setjmp): Don't use BP_SYM.
11668         (__novmx_setjmp): Likewise.
11669         (__GI__setjmp): Likewise.
11670         (__vmx_setjmp): Likewise.
11671         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
11672         <bp-sym.h>.
11673         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
11674         (__bzero): Don't use BP_SYM.
11675         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11676         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11677         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
11678         <bp-sym.h> and <bp-asm.h>.
11679         (memcpy): Don't use BP_SYM.
11680         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
11681         <bp-sym.h> and <bp-asm.h>.
11682         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11683         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
11684         <bp-sym.h> and <bp-asm.h>.
11685         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11686         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
11687         <bp-asm.h>.
11688         (__mpn_lshift): Don't use BP_SYM.
11689         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11690         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
11691         <bp-asm.h>.
11692         (memset): Don't use BP_SYM.
11693         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11694         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11695         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
11696         <bp-asm.h>.
11697         (__mpn_mul_1): Don't use BP_SYM.
11698         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11699         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
11700         <bp-sym.h> and <bp-asm.h>.
11701         (memcmp): Don't use BP_SYM.
11702         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
11703         <bp-sym.h> and <bp-asm.h>.
11704         (memcpy): Don't use BP_SYM.
11705         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
11706         <bp-sym.h> and <bp-asm.h>.
11707         (memset): Don't use BP_SYM.
11708         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
11709         <bp-sym.h> and <bp-asm.h>.
11710         (strncmp): Don't use BP_SYM.
11711         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
11712         <bp-sym.h> and <bp-asm.h>.
11713         (memcpy): Don't use BP_SYM.
11714         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
11715         <bp-sym.h> and <bp-asm.h>.
11716         (memset): Don't use BP_SYM.
11717         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
11718         <bp-sym.h> and <bp-asm.h>.
11719         (__memchr): Don't use BP_SYM.
11720         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
11721         <bp-sym.h> and <bp-asm.h>.
11722         (memcmp): Don't use BP_SYM.
11723         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
11724         <bp-sym.h> and <bp-asm.h>.
11725         (memcpy): Don't use BP_SYM.
11726         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
11727         <bp-sym.h> and <bp-asm.h>.
11728         (__mempcpy): Don't use BP_SYM.
11729         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
11730         <bp-sym.h> and <bp-asm.h>.
11731         (__memrchr): Don't use BP_SYM.
11732         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
11733         <bp-sym.h> and <bp-asm.h>.
11734         (memset): Don't use BP_SYM.
11735         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
11736         <bp-sym.h> and <bp-asm.h>.
11737         (__rawmemchr): Don't use BP_SYM.
11738         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
11739         <bp-sym.h> and <bp-asm.h>.
11740         (__STRCMP): Don't use BP_SYM.
11741         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
11742         <bp-sym.h> and <bp-asm.h>.
11743         (strchr): Don't use BP_SYM.
11744         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
11745         <bp-sym.h> and <bp-asm.h>.
11746         (__strchrnul): Don't use BP_SYM.
11747         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
11748         <bp-sym.h> and <bp-asm.h>.
11749         (strlen): Don't use BP_SYM.
11750         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
11751         <bp-sym.h> and <bp-asm.h>.
11752         (strncmp): Don't use BP_SYM.
11753         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
11754         <bp-sym.h> and <bp-asm.h>.
11755         (__strnlen): Don't use BP_SYM.
11756         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
11757         <bp-asm.h>.
11758         (__mpn_rshift): Don't use BP_SYM.
11759         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11760         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
11761         <bp-sym.h> and <bp-asm.h>.
11762         (__sigsetjmp): Don't use BP_SYM.
11763         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
11764         (L(start_addresses)): Don't use BP_SYM.
11765         (_start): Likewise.
11766         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
11767         <bp-asm.h>.
11768         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
11769         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11770         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11771         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
11772         <bp-asm.h>.
11773         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
11774         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11775         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11776         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
11777         <bp-asm.h>.
11778         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
11779         comments.
11780         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11781         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
11782         <bp-asm.h>.
11783         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
11784         FIXME comments.
11785         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11786         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11787         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
11788         <bp-asm.h>.
11789         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
11790         comment.
11791         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
11792         and <bp-asm.h>.
11793         (strncmp): Don't use BP_SYM,
11794         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
11795         <bp-asm.h>.
11796         (__mpn_sub_n): Don't use BP_SYM.
11797         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11798         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
11799         and <bp-asm.h>.
11800         (__mpn_submul_1): Don't use BP_SYM.
11801         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
11803         <bp-sym.h> and <bp-asm.h>.
11804         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
11805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
11806         <bp-sym.h> and <bp-asm.h>.
11807         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
11808         comment.
11810 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
11812         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
11813         Use ZK to minimize writes to Z.
11814         (sub_magnitudes): Simplify code a bit.
11815         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
11816         Use ZK to minimize writes to Z.
11817         (sub_magnitudes): Simplify code a bit.
11819 2013-02-27  Roland McGrath  <roland@hack.frob.com>
11821         * csu/gmon-start.c: Add special exception to license text.
11823 2013-02-27  Richard Henderson  <rth@redhat.com>
11825         * scripts/config.guess: Update from config.git.
11826         * scripts/config.sub: Likewise.
11828 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
11830         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
11832         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
11834         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
11836         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
11838         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
11840 2013-02-26  Roland McGrath  <roland@hack.frob.com>
11842         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
11843         [$(build-shared = yes].
11845 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
11847         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
11848         (__mul): Reduce iterations for calculating mantissa.
11850         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
11851         MPTWO.
11852         (__mpranred): Likewise.
11854         [BZ #15160]
11855         * malloc/memusagestat.c (main): Draw graphs for heap and stack
11856         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
11858 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
11860         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
11861         Define __attribute__.
11863 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
11865         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
11866         unused.
11867         * posix/regex_internal.h (__attribute): Remove.
11868         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
11869         (re_string_context_at): Likewise.
11870         (bitset_not): Use __attribute__ and mark function as possibly
11871         unused.
11872         (bitset_merge): Likewise.
11873         (bitset_mask): Likewise.
11874         (re_string_char_size_at): Likewise.
11875         (re_string_wchar_at): Likewise.
11876         (re_string_elem_size_at): Likewise.
11878 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
11880         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
11881         code.
11882         (cc32): Likewise.
11884         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
11885         (__acr): Likewise.
11886         (__cpy): Likewise.
11887         (norm): Likewise.
11888         (denorm): Likewise.
11889         (__dbl_mp): Likewise.
11890         (add_magnitudes): Likewise.
11891         (sub_magnitudes): Likewise.
11892         (__mul): Likewise.
11893         (__inv): Likewise.
11895         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
11896         style.
11898         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
11899         style.
11901         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
11902         code.
11904         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
11905         up changes with default code.
11906         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
11907         Likewise.
11909 2013-02-24  Allan McRae  <allan@archlinux.org>
11911         * manual/socket.texi (The Internet Namespace): Order menu items
11912         to match that in the file.
11914         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
11915         node listing of the info page menu.
11917 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
11919         [BZ #13550]
11920         * sysdeps/i386/bp-asm.h: Remove file.
11921         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
11922         (PARMS): Do not use macros from bp-asm.h.
11923         (S1): Likewise.
11924         (S2): Likewise.
11925         (SIZE): Likewise.
11926         (__mpn_add_n): Do not use BP_SYM
11927         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
11928         "bp-asm.h".
11929         (PARMS): Do not use macros from bp-asm.h.
11930         (S1): Likewise.
11931         (SIZE): Likewise.
11932         (__mpn_addmul_1): Do not use BP_SYM
11933         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
11934         "bp-asm.h".
11935         (PARMS): Do not use macros from bp-asm.h.
11936         (SIGMSK): Likewise.
11937         (_setjmp): Likewise.  Do not use BP_SYM.
11938         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
11939         "bp-asm.h".
11940         (PARMS): Do not use macros from bp-asm.h.
11941         (SIGMSK): Likewise.
11942         (setjmp): Likewise.  Do not use BP_SYM.
11943         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
11944         "bp-asm.h".
11945         (PARMS): Do not use macros from bp-asm.h.
11946         (__frexp): Do not use BP_SYM.
11947         (frexp): Likewise.
11948         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
11949         "bp-asm.h".
11950         (PARMS): Do not use macros from bp-asm.h.
11951         (__frexpf): Do not use BP_SYM.
11952         (frexpf): Likewise.
11953         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
11954         "bp-asm.h".
11955         (PARMS): Do not use macros from bp-asm.h.
11956         (__frexpl): Do not use BP_SYM.
11957         (frexpl): Likewise.
11958         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
11959         "bp-asm.h".
11960         (PARMS): Do not use macros from bp-asm.h.
11961         (__remquo): Do not use BP_SYM.
11962         (remquo): Likewise.
11963         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
11964         "bp-asm.h".
11965         (PARMS): Do not use macros from bp-asm.h.
11966         (__remquof): Do not use BP_SYM.
11967         (remquof): Likewise.
11968         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
11969         "bp-asm.h".
11970         (PARMS): Do not use macros from bp-asm.h.
11971         (__remquol): Do not use BP_SYM.
11972         (remquol): Likewise.
11973         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
11974         "bp-asm.h".
11975         (PARMS): Do not use macros from bp-asm.h.
11976         (DEST): Likewise.
11977         (SRC): Likewise.
11978         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
11979         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
11980         "bp-asm.h".
11981         (PARMS): Do not use macros from bp-asm.h.
11982         (strlen): Do not use BP_SYM.
11983         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
11984         "bp-asm.h".
11985         (PARMS): Do not use macros from bp-asm.h.
11986         (S1): Likewise.
11987         (S2): Likewise.
11988         (SIZE): Likewise.
11989         (__mpn_add_n): Do not use BP_SYM.
11990         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
11991         "bp-asm.h".
11992         (PARMS): Do not use macros from bp-asm.h.
11993         (S1): Likewise.
11994         (SIZE): Likewise.
11995         (__mpn_addmul_1): Do not use BP_SYM.
11996         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
11997         weak_alias.
11998         (bzero): Likewise.
11999         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
12000         "bp-asm.h".
12001         (PARMS): Do not use macros from bp-asm.h.
12002         (S): Likewise.
12003         (SIZE): Likewise.
12004         (__mpn_lshift): Do not use BP_SYM.
12005         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
12006         "bp-asm.h".
12007         (PARMS): Do not use macros from bp-asm.h.
12008         (DEST): Likewise.
12009         (SRC): Likewise.
12010         (LEN): Likewise.
12011         (memcpy): Likewise.  Do not use BP_SYM.
12012         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
12013         libc_hidden_def and weak_alias.
12014         (mempcpy): Do not use BP_SYM in weak_alias.
12015         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
12016         "bp-asm.h".
12017         (PARMS): Do not use macros from bp-asm.h.
12018         (DEST): Likewise.
12019         (LEN): Likewise.
12020         [!BZERO_P] (CHR): Likewise.
12021         (memset): Likewise.  Do not use BP_SYM.
12022         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
12023         "bp-asm.h".
12024         (PARMS): Do not use macros from bp-asm.h.
12025         (S1): Likewise.
12026         (SIZE): Likewise.
12027         (__mpn_mul_1): Do not use BP_SYM.
12028         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
12029         "bp-asm.h".
12030         (PARMS): Do not use macros from bp-asm.h.
12031         (S): Likewise.
12032         (SIZE): Likewise.
12033         (__mpn_rshift): Do not use BP_SYM.
12034         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
12035         "bp-asm.h".
12036         (PARMS): Do not use macros from bp-asm.h.
12037         (STR): Likewise.
12038         (CHR): Likewise.
12039         (strchr): Likewise.  Do not use BP_SYM.
12040         (index): Do not use BP_SYM in weak_alias.
12041         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
12042         "bp-asm.h".
12043         (PARMS): Do not use macros from bp-asm.h.
12044         (DEST): Likewise.
12045         (SRC): Likewise.
12046         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
12047         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
12048         "bp-asm.h".
12049         (PARMS): Do not use macros from bp-asm.h.
12050         (strlen): Do not use BP_SYM.
12051         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
12052         "bp-asm.h".
12053         (PARMS): Do not use macros from bp-asm.h.
12054         (S1): Likewise.
12055         (S2): Likewise.
12056         (SIZE): Likewise.
12057         (__mpn_sub_n): Do not use BP_SYM.
12058         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
12059         "bp-asm.h".
12060         (PARMS): Do not use macros from bp-asm.h.
12061         (S1): Likewise.
12062         (SIZE): Likewise.
12063         (__mpn_submul_1): Do not use BP_SYM.
12064         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
12065         "bp-asm.h".
12066         (PARMS): Do not use macros from bp-asm.h.
12067         (S1): Likewise.
12068         (S2): Likewise.
12069         (SIZE): Likewise.
12070         (__mpn_add_n): Do not use BP_SYM.
12071         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
12072         weak_alias.
12073         (bzero): Likewise.
12074         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
12075         "bp-asm.h".
12076         (PARMS): Do not use macros from bp-asm.h.
12077         (BLK2): Likewise.
12078         (LEN): Likewise.
12079         (memcmp): Do not use BP_SYM.
12080         (bcmp): Do not use BP_SYM in weak_alias.
12081         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
12082         "bp-asm.h".
12083         (PARMS): Do not use macros from bp-asm.h.
12084         (DEST): Likewise.
12085         (SRC): Likewise.
12086         (LEN): Likewise.
12087         (memcpy): Likewise.  Do not use BP_SYM.
12088         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
12089         "bp-asm.h".
12090         (PARMS): Do not use macros from bp-asm.h.
12091         (DEST): Likewise.
12092         (SRC): Likewise.
12093         (LEN): Likewise.
12094         (memmove): Likewise.  Do not use BP_SYM.
12095         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
12096         "bp-asm.h".
12097         (PARMS): Do not use macros from bp-asm.h.
12098         (DEST): Likewise.
12099         (SRC): Likewise.
12100         (LEN): Likewise.
12101         (__mempcpy): Likewise.  Do not use BP_SYM.
12102         (mempcpy): Do not use BP_SYM in weak_alias.
12103         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
12104         "bp-asm.h".
12105         (PARMS): Do not use macros from bp-asm.h.
12106         (DEST): Likewise.
12107         (LEN): Likewise.
12108         [!BZERO_P] (CHR): Likewise.
12109         (memset): Likewise.  Do not use BP_SYM.
12110         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
12111         "bp-asm.h".
12112         (PARMS): Do not use macros from bp-asm.h.
12113         (STR2): Likewise.
12114         (strcmp): Do not use BP_SYM.
12115         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
12116         "bp-asm.h".
12117         (PARMS): Do not use macros from bp-asm.h.
12118         (STR): Likewise.
12119         (DELIM): Likewise.
12120         [USE_AS_STRTOK_R] (SAVE): Likewise.
12121         (FUNCTION): Likewise.  Do not use BP_SYM.
12122         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
12123         aliases.
12124         (strtok_r): Likewise.
12125         (__GI___strtok_r): Likewise.
12126         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12127         (PARMS): Do not use macros from bp-asm.h.
12128         (S): Likewise.
12129         (SIZE): Likewise.
12130         (__mpn_lshift): Do not use BP_SYM.
12131         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12132         (PARMS): Do not use macros from bp-asm.h.
12133         (STR): Likewise.
12134         (CHR): Likewise.
12135         (__memchr): Do not use BP_SYM.
12136         (memchr): Do not use BP_SYM in weak_alias.
12137         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12138         (PARMS): Do not use macros from bp-asm.h.
12139         (BLK2): Likewise.
12140         (LEN): Likewise.
12141         (memcmp): Do not use BP_SYM.
12142         (bcmp): Do not use BP_SYM in weak_alias.
12143         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
12144         (PARMS): Do not use macros from bp-asm.h.
12145         (S1): Likewise.
12146         (SIZE): Likewise.
12147         (__mpn_mul_1): Do not use BP_SYM.
12148         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
12149         "bp-asm.h".
12150         (PARMS): Do not use macros from bp-asm.h.
12151         (STR): Likewise.
12152         (CHR): Likewise.
12153         (__rawmemchr): Do not use BP_SYM.
12154         (rawmemchr): Do not use BP_SYM in weak_alias.
12155         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12156         (PARMS): Do not use macros from bp-asm.h.
12157         (S): Likewise.
12158         (SIZE): Likewise.
12159         (__mpn_rshift): Do not use BP_SYM.
12160         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12161         (PARMS): Do not use macros from bp-asm.h.
12162         (SIGMSK): Likewise.
12163         (__sigsetjmp): Likewise.  Do not use BP_SYM.
12164         * sysdeps/i386/start.S: Do not include "bp-sym.h".
12165         (_start): Do not use BP_SYM.
12166         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
12167         (PARMS): Do not use macros from bp-asm.h.
12168         (DEST): Likewise.
12169         (SRC): Likewise.
12170         (__stpcpy): Likewise.  Do not use BP_SYM.
12171         (stpcpy): Do not use BP_SYM in weak_alias.
12172         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
12173         "bp-asm.h".
12174         (PARMS): Do not use macros from bp-asm.h.
12175         (DEST): Likewise.
12176         (SRC): Likewise.
12177         (LEN): Likewise.
12178         (__stpncpy): Likewise.  Do not use BP_SYM.
12179         (stpncpy): Do not use BP_SYM in weak_alias.
12180         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12181         (PARMS): Do not use macros from bp-asm.h.
12182         (STR): Likewise.
12183         (CHR): Likewise.
12184         (strchr): Likewise.  Do not use BP_SYM.
12185         * sysdeps/i386/strchrnul.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         (__strchrnul): Likewise.  Do not use BP_SYM.
12191         (strchrnul): Do not use BP_SYM in weak_alias.
12192         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
12193         "bp-asm.h".
12194         (PARMS): Do not use macros from bp-asm.h.
12195         (STOP): Likewise.
12196         (strcspn): Do not use BP_SYM.
12197         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
12198         "bp-asm.h".
12199         (PARMS): Do not use macros from bp-asm.h.
12200         (STR): Likewise.
12201         (STOP): Likewise.
12202         (strpbrk): Likewise.  Do not use BP_SYM.
12203         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
12204         "bp-asm.h".
12205         (PARMS): Do not use macros from bp-asm.h.
12206         (STR): Likewise.
12207         (CHR): Likewise.
12208         (strrchr): Likewise.  Do not use BP_SYM.
12209         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
12210         (PARMS): Do not use macros from bp-asm.h.
12211         (SKIP): Likewise.
12212         (strspn): Do not use BP_SYM.
12213         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
12214         (PARMS): Do not use macros from bp-asm.h.
12215         (STR): Likewise.
12216         (DELIM): Likewise.
12217         (SAVE): Likewise.
12218         (FUNCTION): Likewise.  Do not use BP_SYM.
12219         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
12220         aliases.
12221         (strtok_r): Likewise.
12222         (__GI___strtok_r): Likewise.
12223         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12224         (PARMS): Do not use macros from bp-asm.h.
12225         (S1): Likewise.
12226         (S2): Likewise.
12227         (SIZE): Likewise.
12228         (__mpn_sub_n): Do not use BP_SYM.
12229         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
12230         "bp-asm.h".
12231         (PARMS): Do not use macros from bp-asm.h.
12232         (S1): Likewise.
12233         (SIZE): Likewise.
12234         (__mpn_submul_1): Do not use BP_SYM.
12235         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
12236         <bp-sym.h>.
12237         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
12238         and <bp-asm.h>.
12239         (PARMS): Do not use macros from bp-asm.h.
12240         (FLAGS): Likewise.
12241         (PTID): Likewise.
12242         (TLS): Likewise.
12243         (CTID): Likewise.
12244         (__clone): Do not use BP_SYM.
12245         (clone): Do not use BP_SYM in weak_alias.
12246         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
12247         and <bp-asm.h>.
12248         (PARMS): Do not use macros from bp-asm.h.
12249         (LEN): Likewise.
12250         (__mmap64): Do not use BP_SYM.
12251         (mmap64): Do not use BP_SYM in weak_alias.
12252         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
12253         <bp-sym.h> and <bp-asm.h>.
12254         (PARMS): Do not use macros from bp-asm.h.
12255         (__posix_fadvise64_l64): Do not use BP_SYM.
12256         * sysdeps/unix/sysv/linux/i386/semtimedop.S
12257         (PARMS): Do not use macros from bp-asm.h.
12258         (NSOPS): Likewise.
12259         (semtimedop): Do not use BP_SYM.
12260         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
12261         and <bp-asm.h>.
12263 2013-02-21  Allan McRae  <allan@archlinux.org>
12265         * manual/message.texi (Charset conversion in gettext):
12266         Move @end statement to beginning of line.
12268 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12270         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
12271         static.
12272         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
12273         Likewise.
12275         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
12276         (denorm): Likewise.
12277         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
12278         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
12280 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12282         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
12283         tail-call to the resolved function if pltexit isn't needed.
12285 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12287         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
12288         or Y being zero as being unlikely.
12289         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
12290         Likewise.
12292 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
12294         * manual/nss.texi (System Databases and Name Service Switch):
12295         Remove frobnicate @pxref.
12297 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
12299         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12300         __attribute__ ((unused)) to __attribute__ ((__unused__)).
12302 2013-02-20  Petr Machata  <pmachata@redhat.com>
12304         * elf/elf.h (R_ARM_TARGET1): New macro.
12305         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
12306         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
12307         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
12308         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
12309         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
12310         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
12311         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
12312         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
12313         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
12314         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
12315         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
12316         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
12317         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
12318         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
12319         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
12320         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
12321         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
12322         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
12323         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
12324         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
12325         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
12326         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
12327         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
12328         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
12329         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
12330         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
12331         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
12332         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
12333         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
12334         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
12335         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
12336         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
12337         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
12338         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
12339         (R_ARM_THM_GOT_BREL12): Likewise.
12340         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
12341         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
12342         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
12343         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
12344         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
12345         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
12346         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
12347         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
12348         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
12350 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
12352         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12353         __attribute_used__ to __attribute__ ((unused)).
12355 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
12357         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
12358         powerpc mpa.c.
12359         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
12360         comment formatting.
12361         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
12363 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
12365         [BZ #13550]
12366         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
12367         Remove macro.
12368         (ENTER): Remove both macro definitions.
12369         (LEAVE): Likewise.
12370         (CHECK_BOUNDS_LOW): Likewise.
12371         (CHECK_BOUNDS_HIGH): Likewise.
12372         (CHECK_BOUNDS_BOTH): Likewise.
12373         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
12374         (RETURN_BOUNDED_POINTER): Likewise.
12375         (RETURN_NULL_BOUNDED_POINTER): Likewise.
12376         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
12377         (POP_ERRNO_LOCATION_RETURN): Likewise.
12378         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
12379         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12380         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
12381         macros.
12382         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12383         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
12384         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
12385         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
12386         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
12387         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
12388         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
12389         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
12390         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
12391         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
12392         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
12393         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
12394         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12395         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
12396         removed macros.
12397         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12398         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
12399         macros.
12400         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12401         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
12402         * sysdeps/i386/i586/memset.S (memset): Likewise.
12403         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
12404         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12405         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
12406         macros.
12407         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12408         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
12409         Change uses of L(2) to L(out).
12410         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
12411         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
12412         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
12413         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12414         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
12415         removed macros.
12416         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12417         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
12418         macros.
12419         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12420         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
12421         (RETURN): Do not use macro LEAVE.
12422         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
12423         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
12424         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
12425         * sysdeps/i386/i686/memset.S (memset): Likewise.
12426         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
12427         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
12428         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12429         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
12430         Likewise.
12431         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12432         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
12433         L(1_2) and L(1_3) into L(1).
12434         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
12435         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
12436         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12437         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
12438         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12439         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
12440         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
12441         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12442         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
12443         macros.
12444         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
12445         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12446         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
12447         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
12448         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
12449         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12450         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
12451         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
12452         * sysdeps/i386/strcspn.S (strcspn): Likewise.
12453         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
12454         * sysdeps/i386/strrchr.S (strrchr): Likewise.
12455         * sysdeps/i386/strspn.S (strspn): Likewise.
12456         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
12457         conditional code.
12458         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12459         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
12460         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
12461         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
12462         L(1_3) into L(1_1).
12463         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
12464         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12465         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
12466         macros.
12467         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12469 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
12471         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
12472         macro.
12474 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
12476         * math/atest-exp.c (exp_mpn): Remove ROUND.
12477         * math/atest-exp2.c (exp_mpn): Likewise.
12478         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
12480         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
12481         * stdlib/tst-tls-atexit-lib.c: Likewise.
12482         * stdlib/tst-tls-atexit.c: Likewise.
12484 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
12486         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
12487         and __attribute_alloc_size__.
12489 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
12491         * include/programs/xmalloc.h: Change __attribute_alloc_size to
12492         __attribute_alloc_size__.
12493         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
12494         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
12496 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
12498         * include/programs/xmalloc.h: New file.
12499         * catgets/gencat.c: Include it.
12500         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
12501         * elf/pldd.c: Likewise.
12502         * iconv/iconv_charmap.c: Likewise.
12503         * iconv/iconvconfig.c: Likewise.
12504         * iconv/strtab.c: Likewise.
12505         * locale/programs/locale.c: Likewise.
12506         * locale/programs/localedef.h: Likewise.
12507         * locale/programs/simple-hash.c: Likewise.
12508         * nscd/nscd.h: Likewise.
12509         * nss/makedb.c: Likewise.
12510         * sysdeps/generic/ldconfig.h: Likewise.
12512 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
12514         * Versions.def: Add GLIBC_2.18.
12515         * include/link.h (struct link_map): New member l_tls_dtor_count.
12516         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
12517         (__call_tls_dtors): Likewise.
12518         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
12519         __cxa_thread_atexit_impl.
12520         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12521         Likewise.
12522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12523         Likewise.
12524         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12525         Likewise.
12526         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12527         Likewise.
12528         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
12529         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
12530         Likewise.
12531         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
12532         Likewise.
12533         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
12534         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
12535         Likewise.
12536         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
12537         (tests): Add test case tst-tls-atexit.
12538         (modules-names): Add shared library for tst-tls-atexit.
12539         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
12540         (GLIBC_PRIVATE): Add __call_tls_dtors.
12541         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
12542         for libstdc++.
12543         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
12544         * stdlib/tst-tls-atexit.c: New test case.
12545         * stdlib/tst-tls-atexit-lib.c: New test case.
12547         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
12549         * elf/Versions (ld): Add _dl_find_dso_for_object.
12550         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
12551         * elf/dl-open.c (_dl_find_dso_for_object): New function.
12552         (dl_open_worker): Use _dl_find_dso_for_object.
12553         * elf/dl-sym.c (do_sym): Likewise.
12554         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
12556 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12558         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
12559         Syntactic changes only.
12560         (_dl_runtime_profile): Do a tail-call to the resolved function.
12562 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
12564         [BZ #13550]
12565         * sysdeps/x86_64/bp-asm.h: Remove file.
12566         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
12567         <bp-sym.h> and <bp-asm.h>.
12568         (__clone): Do not use BP_SYM.
12569         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
12570         <bp-sym.h> and <bp-asm.h>.
12571         * sysdeps/unix/x86_64/sysdep.S: Likewise.
12572         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
12573         "bp-asm.h".
12574         (_setjmp): Do not use BP_SYM.
12575         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
12576         "bp-asm.h".
12577         (setjmp): Do not use BP_SYM.
12578         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
12579         libc_hidden_def.
12580         (mempcpy): Do not use BP_SYM in weak_alias.
12581         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
12582         "bp-asm.h".
12583         (strchr): Do not use BP_SYM.
12584         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
12585         "bp-asm.h".
12586         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
12587         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
12588         (_start): Do not use BP_SYM.
12589         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
12590         "bp-asm.h".
12591         (strcat): Do not use BP_SYM.
12592         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
12593         "bp-asm.h".
12594         (STRCMP): Do not use BP_SYM.
12595         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
12596         "bp-asm.h".
12597         (STRCPY): Do not use BP_SYM.
12598         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
12599         "bp-asm.h".
12600         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
12601         "bp-asm.h".
12602         (FUNCTION): Do not use BP_SYM.
12603         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
12604         weak_alias.
12605         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
12607 2013-02-17  Andreas Jaeger  <aj@suse.de>
12609         * time/Versions: Sort entries.
12610         * string/Versions: Likewise.
12611         * resolv/Versions: Likewise.
12612         * posix/Versions: Likewise.
12613         * iconv/Versions: Likewise.
12614         * elf/Versions: Likewise.
12615         * wcsmbs/Versions: Likewise.
12617 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
12619         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
12620         loop termination condition.
12622         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
12623         variable to calculate EZ.
12624         (__sqr): Likewise.
12626         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
12627         the lower precision input.
12629 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
12631         [BZ #13550]
12632         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
12633         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
12634         (run-via-rtld-prefix): Do not handle %-bp tests.
12635         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
12636         (all-object-suffixes): Remove .ob.
12637         (bppfx): Remove variable.
12638         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
12639         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
12640         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
12641         [$(build-bounded) = yes] (libtype.ob): Likewise.
12642         * Makerules (elide-routines.ob): Remove variable.
12643         (do-tests-clean): Do not handle *-bp.out.
12644         (common-mostlyclean): Do not handle *-bp and *-bp.out.
12645         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
12646         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
12647         (tests): Do not include $(tests-bp.out).
12648         (xtests): Do not include $(xtests-bp.out).
12649         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
12650         [$(build-bounded) = yes] ($(addprefix
12651         $(objpfx),$(binaries-bounded))): Remove rule.
12652         ($(objpfx)%-bp.out): Remove rule.
12653         * config.make.in (build-bounded): Remove variable.
12654         * crypt/Makefile [$(build-bounded) = yes]
12655         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
12656         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
12657         append to variable.
12658         [$(build-bounded) = yes] (install-lib): Likewise.
12659         [$(build-bounded) = yes] (generated): Likewise.
12660         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
12661         Remove rule.
12662         * intl/Makefile [$(build-bounded) = yes]
12663         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
12664         * math/Makefile [$(build-bounded) = yes]
12665         ($(tests:%=$(objpfx)%-bp): Likewise.
12666         * misc/Makefile [$(build-bounded) = yes]
12667         ($(objpfx)tst-tsearch-bp): Likewise.
12668         * nptl/Makeconfig (bounded-thread-library): Remove variable.
12669         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
12670         Remove dependency.
12671         * string/Makefile (o-objects.ob): Remove variable.
12672         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
12673         (CFLAGS-.ob): Remove variable.
12674         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
12675         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
12676         both definitions of variable.
12677         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
12678         (ASFLAGS-.ob): Remove variable.
12680 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
12682         [BZ #13550]
12683         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
12684         Remove __BOUNDED_POINTERS__ from condition.
12685         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
12686         * string/bits/string2.h [!__NO_STRING_INLINES &&
12687         !__BOUNDED_POINTERS__]: Likewise.
12688         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
12689         Likewise.
12690         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
12691         Remove conditional code.
12692         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
12693         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
12694         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
12695         condition.
12697         [BZ #13550]
12698         * csu/libc-start.c: Do not include <bp-sym.h>.
12699         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
12700         * elf/dl-open.c: Do not include <bp-sym.h>.
12701         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
12702         * math/fegetenv.c: Do not include <bp-sym.h>.
12703         (fegetenv): Do not use BP_SYM in versioned symbols.
12704         * nptl/sysdeps/pthread/bits/libc-lockP.h
12705         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
12706         <bp-sym.h>.
12707         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12708         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
12709         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12710         (__pthread_mutex_destroy): Likewise.
12711         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12712         (__pthread_mutex_lock): Likewise.
12713         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12714         (__pthread_mutex_trylock): Likewise.
12715         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12716         (__pthread_mutex_unlock): Likewise.
12717         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12718         (__pthread_mutexattr_init): Likewise.
12719         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12720         (__pthread_mutexattr_destroy): Likewise.
12721         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12722         (__pthread_mutexattr_settype): Likewise.
12723         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12724         (__pthread_rwlock_init): Likewise.
12725         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12726         (__pthread_rwlock_destroy): Likewise.
12727         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12728         (__pthread_rwlock_rdlock): Likewise.
12729         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12730         (__pthread_rwlock_tryrdlock): Likewise.
12731         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12732         (__pthread_rwlock_wrlock): Likewise.
12733         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12734         (__pthread_rwlock_trywrlock): Likewise.
12735         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12736         (__pthread_rwlock_unlock): Likewise.
12737         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12738         (__pthread_key_create): Likewise.
12739         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12740         (__pthread_setspecific): Likewise.
12741         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12742         (__pthread_getspecific): Likewise.
12743         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
12744         Likewise.
12745         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12746         (_pthread_cleanup_push_defer): Likewise.
12747         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12748         (_pthread_cleanup_pop_restore): Likewise.
12749         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12750         (pthread_setcancelstate): Likewise.
12751         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
12752         <bp-sym.h>.
12753         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
12754         (memchr): Do not use BP_SYM in weak_alias.
12755         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
12756         (fegetenv): Do not use BP_SYM in versioned symbols.
12757         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
12758         (fesetenv): Do not use BP_SYM in versioned symbols.
12759         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
12760         (feupdateenv): Do not use BP_SYM in versioned symbols.
12761         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
12762         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
12763         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
12764         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
12765         (open64): Do not use BP_SYM in weak_alias.
12766         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
12767         (fegetenv): Do not use BP_SYM in versioned symbols.
12768         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
12769         (fesetenv): Do not use BP_SYM in versioned symbols.
12770         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
12771         (feupdateenv): Do not use BP_SYM in versioned symbols.
12772         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
12773         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
12774         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
12775         (feraiseexcept): Do not use BP_SYM in versioned symbols.
12776         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
12777         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
12778         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
12779         <bp-sym.h>.
12780         (__libc_start_main): Do not use BP_SYM.
12782 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
12784         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
12785         redundant return line.
12786         (norm): Likewise.
12787         (denorm): Likewise.
12788         (dbl_mp): Likewise.
12789         (sub_magnitudes): Likewise.
12790         (__add): Likewise.
12791         (__sub): Likewise.
12792         (__mul): Likewise.
12793         (__inv): Likewise.
12794         (__dvd): Likewise.
12795         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
12796         (norm): Likewise.
12797         (denorm): Likewise.
12798         (dbl_mp): Likewise.
12799         (sub_magnitudes): Likewise.
12800         (__add): Likewise.
12801         (__sub): Likewise.
12802         (__mul): Likewise.
12803         (__inv): Likewise.
12804         (__dvd): Likewise.
12806         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
12807         instead of __mul.
12808         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
12809         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
12810         (cc32): Likewise.
12812         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
12813         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
12814         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
12815         of __mul for squares.
12816         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
12817         function
12818         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
12819         Likewise.
12820         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
12821         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12823 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
12825         [BZ #13550]
12826         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
12827         code.
12828         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
12829         prototype or function definition.  Rename ubp_* variables and
12830         parameters.  Remove argv definitions conditional on
12831         [__BOUNDED_POINTERS__].
12832         * debug/backtrace.c (__backtrace): Do not use __unbounded.
12833         * elf/dl-runtime.c (_dl_fixup): Likewise.
12834         * include/set-hooks.h (RUN_HOOK): Likewise.
12835         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
12836         definition.
12837         * string/strcpy.c (strcpy): Do not use __unbounded.
12838         * sysdeps/generic/frame.h (struct layout): Likewise.
12839         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
12840         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
12841         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
12842         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
12843         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
12844         (__backtrace): Likewise.
12845         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
12846         use __ptrvalue.
12847         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
12848         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
12849         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
12850         Likewise.
12851         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
12852         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
12853         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
12854         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
12855         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
12856         Do not use __unbounded.
12857         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
12858         Rename __unboundedrlimits parameter to rlimits in prototype.
12859         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
12860         Do not use __unbounded.
12861         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
12862         not use __ptrvalue.
12863         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
12864         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
12865         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
12866         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
12867         __ptrvalue or __unbounded.
12868         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
12869         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
12870         use __unbounded.
12871         (__new_msgctl): Do not use __ptrvalue.
12872         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
12873         __unbounded.
12874         (__libc_msgrcv): Do not use __ptrvalue.
12875         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
12876         startup_info): Do not use __unbounded.
12877         (__libc_start_main): Likewise.  Rename ubp_* variables and
12878         parameters.  Remove argv definitions conditional on
12879         [__BOUNDED_POINTERS__].
12880         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
12881         __ptrvalue.
12882         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
12883         use __unbounded.
12884         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
12885         or __ptrvalue.
12886         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
12887         use __unbounded.
12888         (__new_shmctl): Do not use __ptrvalue.
12889         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
12890         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
12891         Likewise.
12892         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
12893         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
12894         (__libc_sigaction): Likewise.
12895         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
12896         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
12897         Likewise.
12898         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
12900 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
12902         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
12904         * string/mempcpy.c: Implement by calling memcpy.
12906 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
12908         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
12910         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
12911         evaluation.
12913         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
12914         values in the mantissa.
12916         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
12917         minimize writes to Z.
12918         (sub_magnitudes): Simplify code a bit.
12920 2013-02-12  Roland McGrath  <roland@hack.frob.com>
12922         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
12923         from the message.  The linker prefixes all warnings with that already.
12925 2013-02-12  Andreas Schwab  <schwab@suse.de>
12927         [BZ #15078]
12928         * posix/regexec.c (extend_buffers): Add parameter min_len.
12929         (check_matching): Pass minimum needed length.
12930         (clean_state_log_if_needed): Likewise.
12931         (get_subexp): Likewise.
12932         * posix/Makefile (tests): Add bug-regex34.
12933         (bug-regex34-ENV): Define.
12934         * posix/bug-regex34.c: New file.
12936         [BZ #11561]
12937         * posix/regcomp.c (parse_bracket_exp): When looking up collating
12938         elements compare against the byte sequence of it, not its name.
12939         * posix/Makefile (tests): Add bug-regex35.
12940         (bug-regex35-ENV): Define.
12941         * posix/bug-regex35.c: New file.
12943 2013-02-11  Tom de Vries  <tom@codesourcery.com>
12945         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
12946         comment.
12947         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
12948         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
12949         (CHECK_EOL): Add undef.
12951 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
12953         * bits/stdlib-bsearch.h: New file.
12954         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
12955         * stdlib/stdlib.h: Likewise.
12957 2013-02-11  Roland McGrath  <roland@hack.frob.com>
12959         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
12960         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
12961         declaration.
12962         * manual/search.texi (Array Search Function): Add missing const in
12963         lfind prototype.
12964         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
12965         declaration to use rlim_t.
12966         (Basic Scheduling Functions): Remove erroneous const from
12967         sched_getparam prototype.  Remove erroneous * from
12968         sched_get_priority_max and sched_get_priority_min prototypes.
12969         (Resource Usage): Fix summary @comment on vtimes to refer to
12970         sys/vtimes.h rather than vtimes.h.
12971         Add missing *s in vtimes prototype.
12972         (Limits on Resources): Fix ulimit prototype to return long int.
12973         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
12974         prototypes to use long int rather than double.
12975         (BSD Random): Fix initstate and setstate to use char *, not void *.
12976         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
12977         prototype to make second argument 'struct aiocb64 *const[]'.
12978         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
12979         (Status of AIO Operations): Remove erroneous const in aio_return and
12980         aio_return64 prototypes.
12981         (Synchronizing I/O): Fix sync prototype to return void.
12982         * manual/startup.texi (Suboptions): Remove an erroneous const in
12983         getsubopt prototype.
12984         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
12985         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
12986         use size_t rather than int.
12987         (Scanning All Users): Likewise for getpwent_r.
12988         (Setting Groups): Add missing const to setgroups prototype.
12989         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
12990         * manual/socket.texi (Host Names): Fix gethostbyaddr and
12991         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
12992         'const void *' rather than 'const char *'.
12993         (Host Address Functions): Likewise for inet_ntop.
12994         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
12995         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
12996         ssize_t for return value.
12997         (Sending Data): Likewise for send, sendto, sendmsg.
12998         (Socket Option Functions): Add a missing const in setsockopt prototype.
12999         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
13000         use wchar_t for the argument.
13001         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
13002         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
13003         take no arguments.
13004         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
13005         double/float/long double for second argument.
13006         Fix return types of significand, significandf, significandl.
13007         * manual/filesys.texi (Setting Permissions): Use mode_t for second
13008         argument in fchmod prototype.
13009         (File Owner): Use uid_t and gid_t in fchown prototype.
13010         (File Times): Add const to utimes, futimes, and lutimes prototypes.
13011         (Making Special Files): Use mode_t and dev_t in mknod prototype.
13012         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
13013         use 'const struct dirent **' as argument types to CMP function pointer
13014         argument.
13015         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
13016         (File Times): Fix summary magic @comment for struct utimbuf and utime
13017         to refer to utime.h, not time.h.
13018         * manual/string.texi (Argz Functions): Add missing const in
13019         argz_extract and argz_next prototypes.
13020         (Finding Tokens in a String): Likewise for basename.
13021         (String/Array Comparison): Fix typo in wcscasecmp prototype.
13022         (Copying and Concatenation): Fix typo in wmemmove prototype.
13023         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
13024         (Signal Stack): Remove erroneous const in sigstack prototype.
13025         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
13026         prototype.
13027         (Simple Calendar Time): Likewise for stime.
13028         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
13029         prototype.
13030         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
13031         say sys/sysctl.h instead.
13032         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
13033         and vsyslog prototypes.
13035 2013-02-11  Tom de Vries  <tom@codesourcery.com>
13037         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
13038         Remove.
13040 2013-02-11  Roland McGrath  <roland@hack.frob.com>
13042         * misc/sys/mman.h: Fix typo in mremap comment.
13044 2013-02-08  Roland McGrath  <roland@hack.frob.com>
13046         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
13047         the '\0' terminator.
13049 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
13051         [BZ #13550]
13052         * debug/segfault.c: Don't include <bp-checks.h>.
13053         * sysdeps/generic/bp-checks.h: Remove file.
13054         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
13055         (__GETDENTS): Don't use CHECK_N.
13056         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
13057         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
13058         (__getgroups): Don't use CHECK_N.
13059         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
13060         (setgroups): Don't use CHECK_N.
13061         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
13062         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
13063         (__libc_msgrcv): Don't use CHECK_N.
13064         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
13065         (__libc_msgsnd): Don't use CHECK_N.
13066         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
13067         <bp-checks.h>.
13068         (__libc_pread): Don't use CHECK_N.
13069         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
13070         include <bp-checks.h>.
13071         (__libc_pread64): Don't use CHECK_N.
13072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
13073         include <bp-checks.h>.
13074         (__libc_pwrite): Don't use CHECK_N.
13075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
13076         include <bp-checks.h>.
13077         (__libc_pwrite64): Don't use CHECK_N.
13078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
13079         <bp-checks.h>.
13080         (__libc_pread): Don't use CHECK_N.
13081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
13082         include <bp-checks.h>.
13083         (__libc_pread64): Don't use CHECK_N.
13084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
13085         include <bp-checks.h>.
13086         (__libc_pwrite): Don't use CHECK_N.
13087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
13088         include <bp-checks.h>.
13089         (__libc_pwrite64): Don't use CHECK_N.
13090         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
13091         (do_pread): Don't use CHECK_N.
13092         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
13093         (do_pread64): Don't use CHECK_N.
13094         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
13095         (do_pwrite): Don't use CHECK_N.
13096         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
13097         (do_pwrite64): Don't use CHECK_N.
13098         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
13099         (__libc_readv): Don't use CHECK_N.
13100         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
13101         (semop): Don't use CHECK_N.
13102         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
13103         <bp-checks.h>.
13104         (semtimedop): Don't use CHECK_N.
13105         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
13106         (__libc_pread): Don't use CHECK_N.
13107         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
13108         <bp-checks.h>.
13109         (__libc_pread64): Don't use CHECK_N.
13110         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
13111         <bp-checks.h>.
13112         (__libc_pwrite): Don't use CHECK_N.
13113         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
13114         <bp-checks.h>.
13115         (__libc_pwrite64): Don't use CHECK_N.
13116         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
13117         <bp-checks.h>.
13118         (__libc_msgrcv): Don't use CHECK_N.
13119         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
13120         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
13121         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
13122         (__libc_writev): Don't use CHECK_N.
13124 2013-02-08  Roland McGrath  <roland@hack.frob.com>
13126         * string/strcpy.c: Removed unused variable.
13128         * Makeconfig (+sysdep-includes): Define with := rather than =.
13129         Use an existing include/ subdir of each sysdeps dir before it.
13131 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
13133         * nscd/connection.c (register_traced_file): Comment function.
13134         [HAVE_INOTIFY] (union __inev): Define.
13135         [HAVE_INOTIFY] (inotify_check_files): New function.
13136         [HAVE_INOTIFY] (clear_db_cache): Likewise.
13137         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
13138         clear_db_cache.
13139         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
13141 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
13143         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
13144         loaded if not already and that a failure is permanent.
13146 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
13148         [BZ #15006]
13149         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
13150         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
13152 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
13154         [BZ #13550]
13155         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
13156         (CHECK_1_NULL_OK): Likewise.
13157         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
13158         (__fxstat): Do not use CHECK_1.
13159         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
13160         <bp-checks.h>.
13161         (___fxstat64): Do not use CHECK_1.
13162         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
13163         <bp-checks.h>.
13164         (__fxstatat): Do not use CHECK_1.
13165         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
13166         <bp-checks.h>.
13167         (__fxstatat64): Do not use CHECK_1.
13168         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
13169         <bp-checks.h>.
13170         (__fxstat): Do not use CHECK_1.
13171         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
13172         <bp-checks.h>.
13173         (__fxstatat): Do not use CHECK_1.
13174         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
13175         <bp-checks.h>.
13176         (__getresgid): Do not use CHECK_1.
13177         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
13178         <bp-checks.h>.
13179         (__getresuid): Do not use CHECK_1.
13180         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
13181         <bp-checks.h>.
13182         (__lxstat): Do not use CHECK_1.
13183         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
13184         <bp-checks.h>.
13185         (__old_msgctl): Do not use CHECK_1.
13186         (__new_msgctl): Likewise.
13187         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
13188         <bp-checks.h>.
13189         (__new_setrlimit): Do not use CHECK_1.
13190         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
13191         <bp-checks.h>.
13192         (__old_shmctl): Do not use CHECK_1.
13193         (__new_shmctl): Likewise.
13194         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
13195         <bp-checks.h>.
13196         (__xstat): Do not use CHECK_1.
13197         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
13198         (__lxstat): Do not use CHECK_1.
13199         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
13200         <bp-checks.h>.
13201         (___lxstat64): Do not use CHECK_1.
13202         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
13203         (__old_msgctl): Do not use CHECK_1.
13204         (__new_msgctl): Likewise.
13205         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
13206         <bp-checks.h>.
13207         (__gettimeofday): Do not use CHECK_1.
13208         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
13209         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
13210         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
13211         <bp-checks.h>.
13212         (__gettimeofday): Do not use CHECK_1.
13213         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
13214         (__old_shmctl): Do not use CHECK_1_NULL_OK.
13215         (__new_shmctl): Do not use CHECK_1.
13216         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
13217         <bp-checks.h>.
13218         (do_sigtimedwait): Do not use CHECK_1.
13219         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
13220         <bp-checks.h>.
13221         (do_sigwaitinfo): Do not use CHECK_1.
13222         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
13223         <bp-checks.h>.
13224         (msgctl): Do not use CHECK_1.
13225         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
13226         <bp-checks.h>.
13227         (shmctl): Do not use CHECK_1.
13228         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
13229         (ustat): Do not use CHECK_1.
13230         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
13231         <bp-checks.h>.
13232         (__fxstat): Do not use CHECK_1.
13233         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
13234         <bp-checks.h>.
13235         (__fxstatat): Do not use CHECK_1.
13236         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
13237         <bp-checks.h>.
13238         (__lxstat): Do not use CHECK_1.
13239         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
13240         <bp-checks.h>.
13241         (__xstat): Do not use CHECK_1.
13242         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
13243         (__xstat): Do not use CHECK_1.
13244         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
13245         (___xstat64): Do not use CHECK_1.
13247         [BZ #13550]
13248         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
13249         definitions.
13250         (CHECK_BOUNDS_HIGH): Likewise.
13251         * string/strcpy.c: Do not include <bp-checks.h>.
13252         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
13254 2013-02-07  Roland McGrath  <roland@hack.frob.com>
13256         * nscd/nscd-client.h (__nscd_drop_map_ref):
13257         Add __attribute__ ((unused)).
13258         * nis/nss-nisplus.h (niserr2nss): Likewise.
13260         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
13261         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
13263         * csu/libc-tls.c (init_static_tls, init_slotinfo):
13264         Remove inline keyword.
13265         * include/rounding-mode.h (round_away): Likewise.
13266         * libio/wfileops.c (adjust_wide_data): Likewise.
13267         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
13268         (__m128i_strloadu_tolower): Likewise.
13269         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
13270         (__m128i_strloadu_tolower): Likewise.
13271         * time/mktime.c (ydhms_diff): Likewise.
13272         * locale/elem-hash.h (elem_hash): Likewise.
13273         * locale/setlocale.c (setdata): Likewise.
13274         * posix/regex_internal.h (re_string_char_size_at): Likewise.
13275         (re_string_wchar_at): Likewise.
13276         (bitset_not, bitset_merge, bitset_mask): Likewise.
13277         [!(__GNUC__ > 3)] (inline): Remove macro.
13278         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
13279         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
13280         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
13281         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
13282         * string/memcmp.c (memcmp_bytes): Likewise.
13283         * locale/programs/locarchive.c (compute_hashval): Likewise.
13284         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
13285         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
13286         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
13287         * nss/getent.c (print_rpc, print_protocols): Likewise.
13288         (print_passwd, print_group, print_aliases): Likewise.
13289         * nis/nss-nisplus.h (niserr2nss): Likewise.
13290         * nscd/connections.c (restart_p): Likewise.
13291         Change return type to bool.
13293 2013-02-05  Roland McGrath  <roland@hack.frob.com>
13295         * Makeconfig (all-Depend-files): Add existing
13296         $(sorted-subdirs:=/Depend) files.
13297         (all-subdirs): Remove nss.
13298         * sysdeps/unix/inet/Subdirs: Add it here instead.
13299         * hesiod/Depend: New file.
13301         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
13302         instead of calling alloca.
13304         * io/lseek.c (__lseek): Rename to __libc_lseek.
13305         Define __lseek as an alias.
13307         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
13309 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
13311         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
13312         else clause and remove check for non-standard endianness.
13314 2013-02-04  David S. Miller  <davem@davemloft.net>
13316         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13318 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
13320         [BZ #13550]
13321         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
13322         (__ubp_memchr): Remove prototype.
13323         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
13324         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13325         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
13326         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13327         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
13328         Remove alias.
13329         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
13330         (__ubp_memchr): Likewise.
13331         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
13332         (__ubp_memchr): Likewise.
13333         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
13334         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
13335         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
13336         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
13337         CHECK_STRING.
13338         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13339         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
13340         (__getcwd): Do not use CHECK_STRING.
13341         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
13342         <bp-checks.h>.
13343         (__real_chown): Do not use CHECK_STRING.
13344         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
13345         <bp-checks.h>.
13346         (fchownat): Do not use CHECK_STRING.
13347         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
13348         CHECK_STRING.
13349         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
13350         <bp-checks.h>.
13351         (__lchown): Do not use CHECK_STRING.
13352         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13353         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13354         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13355         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
13356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
13357         include <bp-checks.h>.
13358         (truncate64): Do not use CHECK_STRING.
13359         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
13360         <bp-checks.h>.
13361         (__real_chown): Do not use CHECK_STRING.
13362         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
13363         <bp-checks.h>.
13364         (__lchown): Do not use CHECK_STRING.
13365         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
13366         <bp-checks.h>.
13367         (__chown): Do not use CHECK_STRING.
13368         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
13369         <bp-checks.h>.
13370         (truncate64): Do not use CHECK_STRING.
13371         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
13372         Likewise.
13373         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
13374         (__xmknod): Do not use CHECK_STRING.
13375         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
13376         <bp-checks.h>.
13377         (__xmknodat): Do not use CHECK_STRING.
13378         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13379         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
13381 2013-02-04  Andreas Schwab  <schwab@suse.de>
13383         [BZ #14142]
13384         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
13385         * include/netdb.h: Likewise for h_errno.
13386         * elf/tst-stackguard1.c: Include <tls.h>.
13388 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
13390         * elf/link.h (struct link_map): Extend the l_addr comment.
13391         * include/link.h (struct link_map): Likewise.
13393 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
13395         [BZ #13550]
13396         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
13397         (BOUNDED_1): Remove macro.
13398         * debug/backtrace.c: Don't include <bp-checks.h>.
13399         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
13400         (__backtrace): Likewise.
13401         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
13402         <bp-checks.h>.
13403         (__backtrace): Don't use BOUNDED_1.
13404         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
13405         <bp-checks.h>.
13406         (__backtrace): Don't use BOUNDED_1.
13407         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
13408         (__backtrace): Don't use BOUNDED_1.
13409         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
13410         (shmat): Don't use BOUNDED_N.
13412 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
13414         [BZ #13550]
13415         * sysdeps/generic/bp-start.h: Remove file.
13416         * csu/libc-start.c: Don't include <bp-start.h>.
13417         (LIBC_START_MAIN): Set up __environ directly instead of using
13418         INIT_ARGV_and_ENVIRON.
13419         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
13420         <bp-start.h>.
13422         [BZ #13550]
13423         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
13424         definitions.
13425         (CHECK_FCNTL): Likewise.
13426         (CHECK_N_PAGES): Likewise.
13428         [BZ #13550]
13429         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
13430         definitions.
13431         (CHECK_SIGSET_NULL_OK): Likewise.
13432         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
13433         <bp-checks.h>.
13434         (sigpending): Don't use CHECK_SIGSET.
13435         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
13436         <bp-checks.h>.
13437         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13438         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
13439         <bp-checks.h>.
13440         (do_sigsuspend): Don't use CHECK_SIGSET.
13441         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
13442         use CHECK_SIGSET.
13443         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
13444         (do_sigwait): Don't use CHECK_SIGSET.
13445         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
13446         use CHECK_SIGSET.
13447         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
13448         include <bp-checks.h>.
13449         (sigpending): Don't use CHECK_SIGSET.
13450         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
13451         include <bp-checks.h>.
13452         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13453         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
13454         <bp-checks.h>.
13455         (sigpending): Don't use CHECK_SIGSET.
13456         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
13457         <bp-checks.h>.
13458         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13460         [BZ #13550]
13461         * sysdeps/generic/bp-semctl.h: Remove file.
13462         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
13463         <bp-checks.h> and <bp-semctl.h>.
13464         (__old_semctl): Don't use CHECK_SEMCTL.
13465         (__new_semctl): Likewise.
13466         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
13467         and <bp-semctl.h>.
13468         (__old_semctl): Don't use CHECK_SEMCTL.
13469         (__new_semctl): Likewise.
13470         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
13471         <bp-checks.h> and <bp-semctl.h>.
13472         (__old_semctl): Don't use CHECK_SEMCTL.
13473         (__new_semctl): Likewise.
13474         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
13475         <bp-checks.h> and <bp-semctl.h>.
13476         (semctl): Don't use CHECK_SEMCTL.
13478         [BZ #13550]
13479         * Makerules (elide-bp-thunks): Remove variable.
13480         (elide-routines.oS): Don't use $(elide-bp-thunks).
13481         (elide-routines.os): Likewise.
13482         (elide-routines.o): Likewise.
13483         (elide-routines.op): Likewise.
13484         (elide-routines.og): Likewise.
13485         (objects): Don't use $(bp-thunks).
13486         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
13487         include.
13488         (common-generated): Do not add s-proto-bp.d.
13489         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
13490         (int): Likewise.
13491         (typ): Likewise.
13492         Do not generate makefile rules for bounded-pointer thunks.
13493         * sysdeps/generic/bp-thunks.h: Remove file.
13494         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
13495         * sysdeps/unix/s-proto-bp.S: Likewise.
13497         [BZ #15062]
13498         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
13499         parts of result separately when argument is not close to line from
13500         -i to i and one part of argument is small.
13501         * math/k_casinhf.c (__kernel_casinhf): Likewise.
13502         * math/k_casinhl.c (__kernel_casinhl): Likewise.
13503         * math/libm-test.inc (cacos_test): Add more tests.
13504         (casin_test): Likewise.
13505         (casinh_test): Likewise.
13506         * sysdeps/i386/fpu/libm-test-ulps: Update.
13507         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13509 2013-01-31  David S. Miller  <davem@davemloft.net>
13511         * po/de.po: Update from translation team.
13513 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
13515         * time/tzfile.c: Include stdint.h for SIZE_MAX.
13517 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
13519         * configure.in (_AC_PROG_CC_C89): New definition.
13520         * configure: Regenerate.
13522         * configure.in (AC_PROG_CPP): New definition.
13523         * configure: Regenerate.
13525 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
13527         * debug/tst-backtrace.h: New file.
13528         * debug/tst-backtrace2.c: Include tst-backtrace.h.
13529         (ret): Remove variable.
13530         (x): Likewise.
13531         (FAIL): Remove macro.
13532         (NO_INLINE): Likewise.
13533         (fn1): Use match function instead of strstr.
13534         * debug/tst-backtrace3.c: Include tst-backtrace.h.
13535         (ret): Remove variable.
13536         (x): Likewise.
13537         (FAIL): Remove macro.
13538         (NO_INLINE): Likewise.
13539         (fn): Use match function instead of strstr.
13540         * debug/tst-backtrace4.c: Include tst-backtrace.h.
13541         (ret): Remove variable.
13542         (x): Likewise.
13543         (FAIL): Remove macro.
13544         (NO_INLINE): Likewise.
13545         (handle_signal): Use match function instead of strstr.
13546         * debug/tst-backtrace5.c: Include tst-backtrace.h.
13547         (ret): Remove variable.
13548         (x): Likewise.
13549         (FAIL): Remove macro.
13550         (NO_INLINE): Likewise.
13551         (handle_signal): Use match function instead of strstr.
13553 2013-01-23  Roland McGrath  <roland@hack.frob.com>
13555         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
13557 2013-01-23  David S. Miller  <davem@davemloft.net>
13559         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
13560         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
13561         argument of CAS if possible.
13562         * sysdeps/sparc/sparc64/bits/atomic.h
13563         (__arch_compare_and_exchange_val_32_acq): Likewise.
13564         (__arch_compare_and_exchange_val_64_acq): Likewise.
13566 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
13568         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
13569         * sysdeps/posix/ulimit.c: ... this.
13570         Include <limits.h>.
13571         * sysdeps/unix/bsd/ulimit.c: Remove file.
13573 2013-01-23  Adam Conrad  <adconrad@0c3.net>
13575         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
13576         (LDFLAGS-tst-array5): Likewise.
13578 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
13580         [BZ #15036]
13581         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
13582         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
13583         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
13584         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
13586 2013-01-21  David S. Miller  <davem@davemloft.net>
13588         * sysdeps/sparc/backtrace.c: New file.
13589         * sysdeps/sparc/sparc32/backtrace.h: New file.
13590         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
13591         * sysdeps/sparc/sparc64/backtrace.h: New file.
13592         * sysdeps/sparc/sparc64/backtrace.c: Delete.
13593         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
13594         -funwind-tables.
13596 2013-01-21  Andreas Schwab  <schwab@suse.de>
13598         [BZ #15020]
13599         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
13600         closed its stdout.
13602 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
13604         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
13605         "mpa2.h".
13606         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13608 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
13609             Mark Mitchell  <mark@codesourcery.com>
13610             Tom de Vries  <tom@codesourcery.com>
13611             Paul Pluzhnikov  <ppluzhnikov@google.com>
13613         * debug/tst-backtrace2.c: New file.
13614         * debug/tst-backtrace3.c: Likewise.
13615         * debug/tst-backtrace4.c: Likewise.
13616         * debug/tst-backtrace5.c: Likewise.
13617         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
13618         (CFLAGS-tst-backtrace3.c): Likewise.
13619         (CFLAGS-tst-backtrace4.c): Likewise.
13620         (CFLAGS-tst-backtrace5.c): Likewise.
13621         (LDFLAGS-tst-backtrace2): Likewise.
13622         (LDFLAGS-tst-backtrace3): Likewise.
13623         (LDFLAGS-tst-backtrace4): Likewise.
13624         (LDFLAGS-tst-backtrace5): Likewise.
13625         (tests): Add new tests tst-backtrace2, tst-backtrace3,
13626         tst-backtrace4 and tst-backtrace5.
13628 2013-01-18  Anton Blanchard  <anton@samba.org>
13629             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
13631         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
13632         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
13633         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
13634         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
13635         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13636         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
13637         "+r" and remove output regs list as redundant.  Add explicit inline
13638         asm to specify register of return val to work around compiler codegen
13639         bug.  Remove (int) cast on return value.  Add return type parameter to
13640         use in macro so that this macro does not truncate return value for
13641         64-bit values.
13642         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
13643         pass to INTERNAL_VSYSCALL_NCS.
13644         (INLINE_VSYSCALL): Add 'long int' as return type to
13645         INTERNAL_VSYSCALL_NCS macro invocation.
13646         (INTERNAL_VSYSCALL): Add 'long int' as return type to
13647         INTERNAL_VSYSCALL_NCS macro invocation.
13648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13650 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
13652         [BZ #14496]
13653         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
13654         Fix application of SIMD FP exception mask.
13656         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
13657         mp_no from a power of two.
13658         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
13659         __mpexp_twomm1.  Use __pow_mp.
13661         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
13662         multiplication.
13664 2013-01-17  David S. Miller  <davem@davemloft.net>
13666         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13668 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
13670         [BZ #15023]
13671         * include/complex.h: Condition contents on [!_COMPLEX_H].
13672         (__kernel_casinhf): New prototype.
13673         (__kernel_casinh): Likewise.
13674         (__kernel_casinhl): Likewise.
13675         * math/Makefile (libm_calls): Add k_casinh.
13676         * math/k_casinh.c: New file.
13677         * math/k_casinhf.c: Likewise.
13678         * math/k_casinhl.c: Likewise.
13679         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
13680         finite nonzero arguments.
13681         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
13682         finite nonzero arguments.
13683         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
13684         finite nonzero arguments.
13685         * math/s_casinh.c: Do not include <float.h>.
13686         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
13687         * math/s_casinhf.c: Do not include <float.h>.
13688         (__casinhf): Move code for finite nonzero arguments to
13689         k_casinhf.c.
13690         * math/s_casinhl.c: Do not include <float.h>.
13691         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
13692         redefine.
13693         (__casinhl): Move code for finite nonzero arguments to
13694         k_casinhl.c.
13695         * math/libm-test.inc (cacos_test): Add more tests.
13696         * sysdeps/i386/fpu/libm-test-ulps: Update.
13697         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13699 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
13701         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
13702         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
13703         [!HAVE_MREMAP]: Remove [defined linux] case.
13704         * malloc/arena.c: Do not include <malloc-sysdep.h>.
13706 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
13708         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
13710 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
13712         * elf/elf.h (R_386_SIZE32): New relocation.
13713         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
13714         R_386_SIZE32.
13715         (elf_machine_rela): Likewise.
13716         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
13717         R_X86_64_SIZE64 and R_X86_64_SIZE32.
13719 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
13721         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
13722         (FP_FAST_FMA): Do not define.
13723         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
13724         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
13725         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
13726         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
13727         !_SOFT_FLOAT]: Likewise.
13728         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
13729         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
13730         value.
13731         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
13732         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
13733         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
13734         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
13735         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
13736         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
13737         file.
13739 2013-01-16  Andreas Schwab  <schwab@suse.de>
13741         [BZ #14327]
13742         * include/stdlib.h (__mktemp): Add declaration.
13743         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
13744         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
13746 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
13748         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
13749         definitions.
13750         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
13751         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
13752         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
13753         definitions here.
13754         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
13755         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
13756         definitions.
13757         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
13758         and ONE.
13759         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
13760         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
13761         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
13762         definitions.
13763         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
13764         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
13765         definitions.
13766         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
13768         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
13770 2013-01-15  David S. Miller  <davem@davemloft.net>
13772         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13773         trunc{,f} to libm-sysdep_routes.
13774         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13775         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
13776         file.
13777         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
13778         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
13779         file.
13780         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
13781         file.
13782         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
13783         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
13784         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
13785         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
13786         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
13787         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
13788         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
13789         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
13791         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13792         nearbyint{,f} to libm-sysdep_routes.
13793         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13794         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
13795         New file.
13796         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
13797         file.
13798         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
13799         New file.
13800         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
13801         file.
13802         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
13803         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
13804         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
13805         file.
13806         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
13807         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
13808         file.
13809         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
13810         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
13811         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
13813         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
13814         libc_feholdexcept and libc_fesetenv.
13816 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
13818         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
13820 2013-01-14  David S. Miller  <davem@davemloft.net>
13822         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
13823         (SPARC_ASM_VIS2_IFUNC): Likewise.
13824         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
13825         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
13826         use of 'siam' instruction.
13827         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
13828         Likewise.
13829         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
13830         Likewise.
13831         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
13832         Likewise.
13833         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
13834         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
13835         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
13836         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
13837         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
13838         file.
13839         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
13840         file.
13841         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
13842         file.
13843         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
13844         file.
13845         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
13846         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
13847         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
13848         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
13849         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
13850         new VIS2 routines.
13851         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
13852         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
13853         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
13854         Likewise.
13855         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
13856         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
13857         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
13858         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
13859         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
13860         routines to libm-sysdep_routines.
13861         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13863         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13864         fdim/fdimf to libm-sysdep_routines.
13865         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
13866         file.
13867         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
13868         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
13869         file.
13870         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
13871         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
13872         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
13873         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
13874         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
13875         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
13876         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
13878 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
13880         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
13881         to optimize copies.
13883         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
13884         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
13885         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13887         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
13888         local variable MPTWO.
13889         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
13890         Likewise.
13892 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
13894         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
13895         GLOB_NOESCAPE.
13897 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
13899         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
13901 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
13903         * manual/pattern.texi (glob_t): Document gl_flags.
13904         (glob64_t): Likewise.
13906 2013-01-11  David S. Miller  <davem@davemloft.net>
13908         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
13909         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
13910         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
13911         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
13912         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
13913         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
13914         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
13915         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
13916         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
13917         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
13918         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
13919         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
13920         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
13922         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
13923         sparc V9 rather than using V8 code.
13924         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
13925         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
13927         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
13928         Move to...
13929         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
13930         Here.
13932 2013-01-11  Roland McGrath  <roland@hack.frob.com>
13934         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
13935         not in the main loop.
13936         * configure: Regenerated.
13938 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
13940         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
13941         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
13942         to just #else.
13943         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
13944         [!__GLIBC_HAVE_LONG_LONG] case.
13945         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
13946         condition to just #else.
13947         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
13948         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
13949         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
13950         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
13951         unconditional.
13952         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
13953         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
13954         #elif condition to just #else.
13955         * sysdeps/unix/sysv/linux/sys/sysmacros.h
13956         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
13957         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
13958         #elif condition to just #else.
13960 2013-01-11  Steve Ellcey  <sellcey@mips.com>
13962         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
13963         (EF_MIPS_ARCH_64): Fix value.
13964         (EF_MIPS_ARCH_32R2): New.
13965         (EF_MIPS_ARCH_64R2): New.
13967 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
13969         * Makeconfig (+link-pie-before-libc): New.
13970         (+link-pie-after-libc): Likewise.
13971         (+link-pie-tests): Likewise.
13972         (+link-pie): Rewritten.
13973         (link-before-libc): Remove $(config-LDFLAGS).
13974         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
13975         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
13976         (config-LDFLAGS): Renamed to ...
13977         (rtld-LDFLAGS): This.
13978         (rtld-tests-LDFLAGS): New macro.
13979         (link-libc-rpath-link): Likewise.
13980         (link-libc-tests-rpath-link): Likewise.
13981         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
13982         (link-libc): Prepand $(link-libc-rpath-link).
13983         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
13984         (test-program-prefix): New macro.
13985         (test-via-rtld-prefix): Likewise.
13986         (test-program-cmd): Likewise.
13987         (host-test-program-cmd): Likewise.
13988         * Makefile ($(common-objpfx)testrun.sh): Replace
13989         $(run-program-prefix) with $(test-program-prefix).
13990         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
13991         $(rtld-LDFLAGS).
13992         ($(common-objpfx)shlib.lds): Likewise.
13993         (build-module-helper): Likewise.
13994         ($(common-objpfx)format.lds): Likewise.
13995         * Rules (binaries-pie-tests): New.
13996         (binaries-pie-notests): Likewise.
13997         (binaries-pie): Rewritten.
13998         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
13999         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
14000         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
14001         (make-test-out): Replace $(host-built-program-cmd) with
14002         $(host-test-program-cmd).
14003         * config.make.in (build-hardcoded-path-in-tests): New variable.
14004         * configure.in (--enable-hardcoded-path-in-tests): New configure
14005         option.
14006         (hardcoded_path_in_tests): New AC_SUBST.
14007         * configure: Regenerated.
14008         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
14009         $(built-program-cmd) with $(test-program-cmd).
14010         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
14011         (test_program_cmd): This.
14012         * elf/Makefile ($(objpfx)order.out): Run test with
14013         $(test-program-prefix).
14014         ($(objpfx)order2.out): Likewise.
14015         ($(objpfx)tst-initorder.out): Likewise.
14016         ($(objpfx)tst-initorder2.out): Likewise.
14017         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
14018         $(test-program-cmd).
14019         ($(objpfx)tst-array1-static.out): Likewise.
14020         ($(objpfx)tst-array2.out): Likewise.
14021         ($(objpfx)tst-array3.out): Likewise.
14022         ($(objpfx)tst-array4.out): Likewise.
14023         ($(objpfx)tst-array5.out): Likewise.
14024         ($(objpfx)tst-array5-static.out): Likewise.
14025         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
14026         $(test-program-cmd).
14027         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
14028         $(run-program-prefix) with $(test-program-prefix).
14029         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
14030         (test_program_prefix): This.
14031         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
14032         $(run-program-prefix) with $(test-program-prefix).
14033         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
14034         (test_program_prefix): This.
14035         * iconvdata/tst-tables.sh: Likewise.
14036         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
14037         $(run-program-prefix) with $(test-program-prefix).
14038         ($(objpfx)tst-translit.out): Likewise.
14039         ($(objpfx)tst-gettext2.out): Likewise.
14040         ($(objpfx)tst-gettext4.out): Likewise.
14041         ($(objpfx)tst-gettext6.out): Likewise.
14042         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
14043         (test_program_prefix): This.
14044         * intl/tst-gettext2.sh: Likewise.
14045         * intl/tst-gettext4.sh  Likewise.
14046         * intl/tst-gettext6.sh: Likewise.
14047         * intl/tst-translit.sh: Likewise.
14048         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
14049         with $(test-program-cmd).
14050         * libio/Makefile ($(objpfx)test-freopen.out): Replace
14051         $(run-program-prefix) with $(test-program-prefix).
14052         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
14053         (test_program_prefix): This.
14054         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
14055         $(run-program-prefix) with $(test-program-prefix).
14056         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
14057         (test_program_prefix): This.
14058         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
14059         * posix/Makefile ($(objpfx)globtest.out): Replace
14060         $(run-via-rtld-prefix) and $(test-wrapper) with
14061         $(test-program-prefix) and $(test-via-rtld-prefix).
14062         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
14063         $(test-program-prefix).
14064         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
14065         $(host-test-program-cmd).
14066         (tst-spawn-ARGS): Likewise.
14067         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
14068         $(test-program-prefix).
14069         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
14070         (test_via_rtld_prefix): This.
14071         (test_wrapper): Renamed to ...
14072         (test_program_prefix): This.
14073         (run_program_prefix): Replaced by test_program_prefix.
14074         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
14075         (test_program_prefix): This.
14076         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
14077         with $(host-test-program-cmd).
14078         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
14079         $(run-program-prefix) with $(test-program-prefix).
14080         ($(objpfx)tst-printf.out): Likewise.
14081         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
14082         $(test-program-cmd).
14083         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
14084         (test_program_prefix): This.
14085         * stdio-common/tst-unbputc.sh: Likewise.
14086         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
14087         $(run-program-prefix) with $(test-program-prefix).
14088         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
14089         (test_program_prefix): This.
14090         * string/Makefile ($(objpfx)tst-svc.out):  Replace
14091         $(built-program-cmd) with $(test-program-cmd).
14093 2013-01-11  Andreas Jaeger  <aj@suse.de>
14095         [BZ #15003]
14096         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
14097         value. Sync with Linux 3.7.
14099 2013-01-10  David S. Miller  <davem@davemloft.net>
14101         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
14102         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14103         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14105 2013-01-10  Roland McGrath  <roland@hack.frob.com>
14107         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
14108         never set.
14109         * configure: Regenerated.
14111 2013-01-10  David S. Miller  <davem@davemloft.net>
14113         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14114         sparc V9 rather than using V8 code.
14115         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14116         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14118 2013-01-10  Roland McGrath  <roland@hack.frob.com>
14120         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
14121         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
14122         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
14123         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
14124         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
14125         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
14126         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
14127         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
14128         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
14129         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
14130         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
14131         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
14132         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
14133         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
14134         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
14135         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
14136         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
14137         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
14138         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
14139         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
14140         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
14141         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
14142         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
14143         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
14144         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
14145         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
14146         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
14148 2013-01-10  David S. Miller  <davem@davemloft.net>
14150         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14152 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
14154         * posix/Makefile (tests-static): New variable.
14155         (tests): Add $(tests-static).
14156         (tst-exec-static-ARGS): New variable.
14157         (tst-spawn-static-ARGS): Likewise.
14158         * posix/tst-exec-static.c: New file.
14159         * posix/tst-spawn-static.c: Likewise.
14160         * posix/tst-exec.c: Support run directly.
14161         * posix/tst-spawn.c: Likewise.
14163 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
14165         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
14166         long.
14167         * math/bits/mathcalls.h (llrint): Likewise.
14168         (llround): Likewise.
14169         * stdlib/stdlib.h (struct drand48_data): Likewise.
14170         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
14171         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
14172         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
14173         Likewise.
14174         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
14175         Likewise.
14176         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
14177         (elf_greg_t): Likewise.
14178         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
14179         (__jmp_buf): Likewise.
14180         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
14181         definitions.
14182         (llrint): Likewise, for all definitions.
14183         (llrintl): Likewise.
14185         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
14186         Remove [__GNUC__] condition.
14187         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
14188         condition to just [__USE_ISOC99].
14189         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
14191 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
14193         [BZ #14200]
14194         * sysdeps/unix/sysv/linux/x86/bits/environments.h
14195         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
14196         defined.
14197         (_POSIX_V6_ILP32_OFF32): Likewise.
14198         (_XBS5_ILP32_OFF32): Likewise.
14199         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
14200         (__ILP32_OFFBIG_LDFLAGS): Likewise.
14202 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
14204         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
14206         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
14207         doubles __mpexp_twomm1.  Adjust usage.
14208         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
14209         Remove.
14211 2013-01-10  Andreas Schwab  <schwab@suse.de>
14213         [BZ #14964]
14214         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
14215         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
14217 2013-01-09  David S. Miller  <davem@davemloft.net>
14219         [BZ #15003]
14220         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
14221         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
14222         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
14223         TCP_FASTOPEN): Define.
14224         (tcp_repair_opt): New structure.
14225         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
14226         enum values.
14227         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
14228         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
14229         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
14230         (tcp_cookie_transactions): New structure.
14232 2013-01-09  Anton Blanchard  <anton@samba.org>
14234         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
14235         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
14236         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
14237         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
14239 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
14241         * include/features.h (__USE_ANSI): Remove.
14243 2013-01-09  Roland McGrath  <roland@hack.frob.com>
14245         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
14247         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
14249 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
14251         * sysdeps/s390/fpu/libm-test-ulps: Update.
14253         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14255         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
14256         (__acr): Likewise.
14257         (__cpy): Likewise.
14258         (norm): Likewise.
14259         (denorm): Likewise.
14260         (__mp_dbl): Likewise.
14261         (__dbl_mp): Likewise.
14262         (add_magnitudes): Likewise.
14263         (sub_magnitudes): Likewise.
14264         (__add): Likewise.
14265         (__sub): Likewise.
14266         (__mul): Likewise.
14267         (__inv): Likewise.
14268         (__dvd): Likewise.
14269         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
14270         (__acr): Likewise.
14271         (__cpy): Likewise.
14272         (norm): Likewise.
14273         (denorm): Likewise.
14274         (__mp_dbl): Likewise.
14275         (__dbl_mp): Likewise.
14276         (add_magnitudes): Likewise.
14277         (sub_magnitudes): Likewise.
14278         (__add): Likewise.
14279         (__sub): Likewise.
14280         (__mul): Likewise.
14281         (__inv): Likewise.
14282         (__dvd): Likewise.
14283         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
14284         (__acr): Likewise.
14285         (__cpy): Likewise.
14286         (norm): Likewise.
14287         (denorm): Likewise.
14288         (__mp_dbl): Likewise.
14289         (__dbl_mp): Likewise.
14290         (add_magnitudes): Likewise.
14291         (sub_magnitudes): Likewise.
14292         (__add): Likewise.
14293         (__sub): Likewise.
14294         (__mul): Likewise.
14295         (__inv): Likewise.
14296         (__dvd): Likewise.
14298 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
14300         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
14301         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
14302         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
14303         2 && __USE_EXTERN_INLINES]: Likewise.
14305 2013-01-08  Andreas Jaeger  <aj@suse.de>
14307         [BZ# 14985]
14308         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
14309         Remove.
14310         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14311         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14313 2013-01-07  Anton Blanchard  <anton@samba.org>
14315         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
14316         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
14317         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
14318         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
14319         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
14320         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14321         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
14322         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
14323         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14324         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14325         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14326         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14327         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
14328         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14329         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14330         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14331         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14332         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14333         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
14334         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
14335         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
14336         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
14337         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14338         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14339         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
14340         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
14341         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14342         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
14343         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
14344         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
14345         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
14346         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14347         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14348         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14349         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14350         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14351         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14352         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
14353         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
14354         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
14355         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
14356         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14357         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14359 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
14361         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
14362         (__MALLOC_PMT): Likewise.
14363         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
14364         [__GNUC__], only on [_LIBC].
14365         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
14366         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
14367         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
14368         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
14369         forward declaration.
14370         (realloc_hook_ini): Likewise.
14371         (memalign_hook_ini): Likewise.
14372         (__libc_memalign): Do not use __MALLOC_PMT in variable
14373         declaration.
14374         (__libc_valloc): Likewise.
14375         (__libc_pvalloc): Likewise.
14376         (__libc_calloc): Likewise.
14377         (__posix_memalign): Likewise.
14379         [BZ #14996]
14380         * math/s_casinh.c: Include <float.h>.
14381         (__casinh): Do not do computation with squaring and square root
14382         for large arguments.
14383         * math/s_casinhf.c: Include <float.h>.
14384         (__casinhf): Do not do computation with squaring and square root
14385         for large arguments.
14386         * math/s_casinhl.c: Include <float.h>.
14387         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
14388         (__casinhl): Do not do computation with squaring and square root
14389         for large arguments.
14390         * math/libm-test.inc (casin_test): Add more tests.
14391         (casinh_test): Likewise.
14392         * sysdeps/i386/fpu/libm-test-ulps: Update.
14393         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14395 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
14397         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
14398         (__x86_64_raw_data_cache_size): Likewise.
14399         (__x86_64_data_cache_size_half): Likewise.
14400         (__x86_64_raw_data_cache_size_half): Likewise.
14401         (__x86_64_shared_cache_size): Likewise.
14402         (__x86_64_raw_shared_cache_size): Likewise.
14403         (__x86_64_shared_cache_size_half): Likewise.
14404         (__x86_64_raw_shared_cache_size_half): Likewise.
14405         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
14406         to ...
14407         (__x86_data_cache_size): This.
14408         (__x86_64_raw_data_cache_size): Renamed to ...
14409         (__x86_raw_data_cache_size): This.
14410         (__x86_64_data_cache_size_half): Renamed to ...
14411         (__x86_data_cache_size_half): This.
14412         (__x86_64_raw_data_cache_size_half): Renamed to ...
14413         (__x86_raw_data_cache_size_half): This.
14414         (__x86_64_shared_cache_size): Renamed to ...
14415         (__x86_shared_cache_size): This.
14416         (__x86_64_raw_shared_cache_size): Renamed to ...
14417         (__x86_raw_shared_cache_size): This.
14418         (__x86_64_shared_cache_size_half): Renamed to ...
14419         (__x86_shared_cache_size_half): This.
14420         (__x86_64_raw_shared_cache_size_half): Renamed to ...
14421         (__x86_raw_shared_cache_size_half): This.
14422         * sysdeps/x86_64/memcpy.S: Updated.
14423         * sysdeps/x86_64/memset.S: Likewise.
14424         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
14425         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14426         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14428 2013-01-04  David S. Miller  <davem@davemloft.net>
14430         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14432 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
14434         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
14435         1 to avoid redefinition warning.
14436         (__USE_GNU): Don't define.
14437         (init_signaling_nan): Protoize.
14439         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14441 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14443         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
14444         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
14445         (__cpymn): Likewise.
14446         (norm): Remove commented code.
14447         (denorm): Likewise.
14448         (__mp_dbl): Likewise.
14449         (__inv): Likewise.
14450         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
14451         (__cpymn): Likewise.
14452         (norm): Remove commented code.
14453         (denorm): Likewise.
14454         (__mp_dbl): Likewise.
14455         (__inv): Likewise.
14457         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
14458         mp_no value for 1.0 and 2.0.
14459         (norm): Use RADIXI instead of radixi.d.
14460         (denorm): Likewise.
14461         (__mul): Use 0.0 instead of zero.d.
14462         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
14463         mp_no value for 1.0 and 2.0.
14464         (norm): Use RADIXI instead of radixi.d.
14465         (denorm): Likewise.
14466         (__mul): Use 0.0 instead of zero.d.
14468 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
14470         [BZ #14994]
14471         * math/s_casinh.c (__casinh): Reduce finite argument to first
14472         quadrant then set signs of results at the end.
14473         * math/s_casinhf.c (__casinhf): Likewise.
14474         * math/s_casinhl.c (__casinhl): Likewise.
14475         * math/libm-test.inc (casin_test): Add more tests.
14476         (casinh_test): Likewise.
14477         * sysdeps/i386/fpu/libm-test-ulps: Update.
14478         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14480 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14482         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
14484         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
14486         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
14487         declarations.
14488         (denorm): Likewise.
14489         (__mp_dbl): Likewise.
14490         (__inv): Likewise.
14492         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
14493         and adjust the header comment.
14495         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
14496         variable name from declaration.
14498 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
14500         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14501         Initialize COMMON_CPUID_INDEX_7 element.
14502         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
14503         (CPUID_RTM): Likewise.
14504         (HAS_RTM): Likewise.
14505         (COMMON_CPUID_INDEX_7): New enum.
14507 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
14509         [BZ #14981]
14510         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
14511         size is zero, record memory as freed.
14513 2013-01-03  Andreas Jaeger  <aj@suse.de>
14515         * po/ia.po: Add new Interlingua translation.
14517 2012-01-03  Allan McRae  <allan@archlinux.org>
14519         * locale/programs/localedef.c: Fix description of '--posix' flag.
14521 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
14523         * NEWS: Update dates in second copyright notice.
14524         * README: Update copyright dates in example.
14525         * manual/libc.texinfo: Update copyright dates.
14526         * scripts/test-installation.pl: Update copyright date in --version
14527         output.
14529         * hurd/ctty-input.c: Fix copyright notice formatting.
14530         * hurd/ctty-output.c: Likewise.
14531         * hurd/dtable.c: Likewise.
14532         * hurd/hurd-raise.c: Likewise.
14533         * hurd/hurdprio.c: Likewise.
14534         * hurd/msgportdemux.c: Likewise.
14535         * misc/sys/file.h: Likewise.
14536         * misc/sys/ioctl.h: Likewise.
14537         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
14538         * sysdeps/mach/hurd/chdir.c: Likewise.
14539         * sysdeps/mach/hurd/fchdir.c: Likewise.
14540         * sysdeps/mach/hurd/rename.c: Likewise.
14541         * sysdeps/mach/hurd/rmdir.c: Likewise.
14542         * sysdeps/mach/hurd/seekdir.c: Likewise.
14543         * sysdeps/mach/hurd/setsid.c: Likewise.
14544         * sysdeps/posix/wait3.c: Likewise.
14546         * All files with FSF copyright notices: Update copyright dates
14547         using scripts/update-copyrights.
14548         * intl/plural.c: Regenerated.
14549         * locale/programs/charmap-kw.h: Likewise.
14550         * locale/programs/locfile-kw.h: Likewise.
14552 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14554         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
14555         four values.
14557         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
14558         calculation loop and add branch prediction.
14560         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
14561         check access beyond bounds of m1np.
14563         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
14564         MPTWO.
14565         (__inv): Remove local variable MPTWO to use the global
14566         constant.
14567         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
14568         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
14569         variable MPTWO.
14570         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
14571         MP3HALFS static const.
14573 2013-01-01  David S. Miller  <davem@davemloft.net>
14575         * po/ca.po: Update from translation team.
14577 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
14579         * scripts/update-copyrights: New file.
14580         * Makeconfig: Reformat copyright notice.
14581         * ctype/ctype.h: Likewise.
14582         * debug/swprintf_chk.c: Likewise.
14583         * elf/dl-cache.c: Likewise.
14584         * elf/dl-debug.c: Likewise.
14585         * elf/dl-object.c: Likewise.
14586         * grp/initgroups.c: Likewise.
14587         * hurd/Makefile: Likewise.
14588         * hurd/hurd/signal.h: Likewise.
14589         * hurd/hurdfault.c: Likewise.
14590         * hurd/hurdioctl.c: Likewise.
14591         * hurd/hurdlookup.c: Likewise.
14592         * hurd/intr-msg.c: Likewise.
14593         * iconv/gconv_open.c: Likewise.
14594         * libio/swprintf.c: Likewise.
14595         * locale/lc-ctype.c: Likewise.
14596         * locale/nl_langinfo.c: Likewise.
14597         * mach/Machrules: Likewise.
14598         * mach/Makefile: Likewise.
14599         * malloc/obstack.h: Likewise.
14600         * manual/Makefile: Likewise.
14601         * manual/tsort.awk: Likewise.
14602         * misc/bits/stab.def: Likewise.
14603         * nis/nis_print_group_entry.c: Likewise.
14604         * nis/nis_table.c: Likewise.
14605         * nis/nss_compat/compat-pwd.c: Likewise.
14606         * nis/nss_compat/compat-spwd.c: Likewise.
14607         * po/Makefile: Likewise.
14608         * posix/fnmatch.c: Likewise.
14609         * posix/regex.h: Likewise.
14610         * resolv/Makefile: Likewise.
14611         * resolv/nss_dns/dns-network.c: Likewise.
14612         * resolv/res_hconf.c: Likewise.
14613         * scripts/gen-sorted.awk: Likewise.
14614         * soft-fp/soft-fp.h: Likewise.
14615         * stdio-common/printf.h: Likewise.
14616         * stdlib/monetary.h: Likewise.
14617         * stdlib/random.c: Likewise.
14618         * stdlib/random_r.c: Likewise.
14619         * sysdeps/generic/Makefile: Likewise.
14620         * sysdeps/gnu/Makefile: Likewise.
14621         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
14622         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14623         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14624         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14625         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14626         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14627         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14628         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14629         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14630         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14631         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14632         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14633         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
14634         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
14635         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
14636         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
14637         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14638         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14639         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14640         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14641         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
14642         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
14643         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14644         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
14645         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
14646         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
14647         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
14648         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
14649         * sysdeps/mach/hurd/errnos.awk: Likewise.
14650         * sysdeps/mach/hurd/fork.c: Likewise.
14651         * sysdeps/mach/hurd/getcwd.c: Likewise.
14652         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
14653         * sysdeps/mach/hurd/mmap.c: Likewise.
14654         * sysdeps/mach/hurd/utimes.c: Likewise.
14655         * sysdeps/mach/hurd/xmknod.c: Likewise.
14656         * sysdeps/posix/profil.c: Likewise.
14657         * sysdeps/posix/readdir_r.c: Likewise.
14658         * sysdeps/powerpc/bits/mathdef.h: Likewise.
14659         * sysdeps/powerpc/bits/setjmp.h: Likewise.
14660         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
14661         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
14662         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14663         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
14664         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14665         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
14666         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14667         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
14668         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14669         * sysdeps/pthread/lio_listio.c: Likewise.
14670         * sysdeps/sparc/dl-procinfo.h: Likewise.
14671         * sysdeps/unix/i386/sysdep.S: Likewise.
14672         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
14673         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
14674         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
14675         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
14676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14677         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
14678         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
14679         * sysdeps/unix/sysv/linux/speed.c: Likewise.
14680         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
14681         * sysdeps/wordsize-32/divdi3.c: Likewise.
14682         * time/sys/time.h: Likewise.
14683         * wcsmbs/Makefile: Likewise.
14685 2013-01-01  David S. Miller  <davem@davemloft.net>
14687         * po/fr.po: Update from translation team.
14689         * catgets/gencat.c: Update copyright year.
14690         * csu/version.c: Likewise.
14691         * debug/catchsegv.sh: Likewise.
14692         * debug/pcprofiledump.c: Likewise.
14693         * debug/xtrace.sh: Likewise.
14694         * elf/ldconfig.c: Likewise.
14695         * elf/ldd.bash.in: Likewise.
14696         * elf/pldd.c: Likewise.
14697         * elf/sotruss.ksh: Likewise.
14698         * elf/sprof.c: Likewise.
14699         * iconv/iconv_prog.c: Likewise.
14700         * iconv/iconvconfig.c: Likewise.
14701         * locale/programs/locale.c: Likewise.
14702         * locale/programs/localedef.c: Likewise.
14703         * login/programs/pt_chown.c: Likewise.
14704         * malloc/memusage.sh: Likewise.
14705         * malloc/memusagestat.c: Likewise.
14706         * malloc/mtrace.pl: Likewise.
14707         * nscd/nscd.c: Likewise.
14708         * nss/getent.c: Likewise.
14709         * nss/makedb.c: Likewise.
14710         * posix/getconf.c: Likewise.
14712 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
14714         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
14715         numbers.
14717 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
14719         * math/bits/mathcalls.h (modf): Use __nonnull.
14721 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
14723         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
14724         (split): Use macro CN instead of the bare value.
14725         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
14726         could be used.
14727         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
14728         instead of the bare value.
14729         (power1): Likewise.
14731 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14733         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
14734         __ATAN_TWOM.
14735         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14737         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
14738         their values.
14739         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
14740         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
14741         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
14742         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
14744 2012-12-28  Andreas Jaeger  <aj@suse.de>
14746         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
14747         values are from Linux 3.7.
14749         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
14750         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
14752 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14754         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
14755         TRUE case.
14757         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
14758         (norm): Likewise.
14759         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
14760         variables with preprocessor constants.
14761         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14762         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
14763         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
14765 2012-12-27  Bruno Haible  <bruno@clisp.org>
14767         [BZ #14317]
14768         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
14769         only if needed.
14771 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
14773         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
14774         and use variable directly.
14775         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
14777         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
14778         MPONE.
14779         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
14780         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
14781         variable MPONE.
14782         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
14783         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
14784         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
14785         include directive.  Remove local variable MPONE.
14786         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
14787         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
14788         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
14790 2012-12-25  David S. Miller  <davem@davemloft.net>
14792         * version.h (RELEASE): Set to "development".
14793         (VERSION): Set to "2.17.90".
14794         * NEWS: Add 2.18 section.
14796 2012-12-21  David S. Miller  <davem@davemloft.net>
14798         * po/hr.po: Update from translation team.
14800 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14802         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
14804 2012-12-19  Steve Ellcey  <sellcey@mips.com>
14806         * NEWS:  Mention new memcpy for MIPS.
14808 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
14810         * manual/contrib.texi (Contributors): Spelling correction.
14812 2012-12-15  David S. Miller  <davem@davemloft.net>
14814         * po/ru.po: Update from translation team.
14816 2012-12-13  David S. Miller  <davem@davemloft.net>
14818         * NEWS: Mention IFUNC testsuite enhancements.
14820         * po/pl.po: Update from translation team.
14821         * po/bg.po: Likewise.
14823         * manual/contrib.texi (Contributors): Update entries for Hongjiu
14824         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
14826 2012-12-11  David S. Miller  <davem@davemloft.net>
14828         * po/sv.po: Update from translation team.
14830         * po/vi.po: Update from translation team.
14832         * po/cs.po: Update from translation team.
14834         * po/de.po: Update from translation team.
14835         * po/eo.po: Likewise.
14836         * po/nl.po: Likewise.
14838 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
14840         [BZ #14246]
14841         * manual/argp.texi (Argp Helper Functions): Move node to follow
14842         Argp Parsing State.
14844         [BZ #14872]
14845         * manual/conf.texi (Limits on File System Capacity): Mention if
14846         terminating null is included in the max size.
14848 2012-12-10  Andreas Jaeger  <aj@suse.de>
14850         * po/cs.po: Update from translation team.
14852 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
14854         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
14855         void pointer and cast to uintptr_t.
14856         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
14857         path.
14858         * sysdeps/s390/s390-64/memcpy.S: Likewise.
14859         * sysdeps/s390/s390-64/memset.S: Likewise.
14861 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
14863         [BZ #14833]
14864         * menual/message.texi (Message Translation): Fix typos.
14865         (Helper programs for gettext): Likewise.
14867 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
14869         [BZ #14898]
14870         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
14871         Change to -1.
14873 2012-12-07  David S. Miller  <davem@davemloft.net>
14875         * po/libc.pot: Update.
14877 2012-12-07  Richard Henderson  <rth@redhat.com>
14879         [BZ #10114]
14880         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
14881         normal/normal case to before the switch.
14882         (_FP_DIV): Likewise.
14884 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
14885             Mike Frysinger  <vapier@gentoo.org>
14887         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
14888         check for __NR_fadvise64_64.
14890 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
14892         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
14893         0, not just to plain "0" as a statement.
14894         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
14895         with cw.
14897 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
14899         * NEWS: Use sourceware.org in Bugzilla URL.
14901 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
14903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
14904         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
14906         * stdio-common/tst-put-error.c (do_test): Add newline to the
14907         padded test to ensure flush.
14909 2012-12-05  Jeff Law  <law@redhat.com>
14911         * sunrpc/etc.rpc (fedfs_admin): Add entry.
14913 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
14915         * README: Don't refer to ports add-on as distributed separately.
14916         Mention AArch64 in list of systems supported in the ports add-on.
14918         * LICENSES: Add more non-FSF copyright and license notices.
14920         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
14921         ((unused)).
14923         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
14925         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
14926         10000 as width of padded output.
14928 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
14930         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
14932         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
14933         variable LX with __attribute__ ((unused)).
14934         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
14935         Likewise.
14936         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
14937         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14938         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
14939         with __attribute__ ((unused)).
14941 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
14943         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
14945 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
14947         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
14948         (CFLAGS-nldbl-acos.c): New variable.
14949         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
14950         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
14951         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
14952         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
14953         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
14954         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
14955         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
14956         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
14957         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
14958         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
14959         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
14960         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
14961         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
14962         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
14963         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
14964         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
14965         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
14966         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
14967         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
14968         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
14969         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
14970         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
14971         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
14972         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
14973         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
14974         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
14975         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
14976         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
14977         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
14978         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
14979         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
14980         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
14981         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
14982         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
14983         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
14984         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
14985         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
14986         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
14987         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
14988         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
14989         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
14990         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
14991         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
14992         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
14993         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
14994         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
14995         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
14996         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
14997         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
14998         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
14999         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
15000         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
15001         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
15002         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
15003         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
15004         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
15005         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
15006         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
15007         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
15008         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
15009         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
15010         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
15011         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
15012         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
15013         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
15014         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
15015         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
15016         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
15017         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
15018         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
15019         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
15020         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
15021         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
15022         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
15023         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
15024         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
15025         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
15026         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
15027         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
15028         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
15029         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
15030         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
15031         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
15032         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
15033         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
15034         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
15035         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
15036         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
15037         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
15038         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
15039         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
15040         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
15041         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
15042         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
15043         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
15044         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
15045         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
15047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15048         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15050         [BZ #14914]
15051         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
15052         whole low double instead of just low 47 bits when splitting values
15053         into two parts.
15055 2012-12-03  Allan McRae  <allan@archlinux.org>
15057         * manual/stdio.texi (Predefined Printf Handlers): Remove
15058         @hsep and @vsep usage.
15060 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
15062         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
15063         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
15065 2012-12-03  Jeff Law  <law@redhat.com>
15067         * time/sys/time.h (settimeofday): Do not mark TV argument
15068         as __nonnull.
15070 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
15072         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
15073         when currently writing and seek to current position when not.
15074         * libio/Makefile (tests): Remove bug-fclose1.
15075         * libio/bug-fclose1.c: Delete.
15077 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
15079         * manual/arith.texi (feenableexcept): Fix typo.
15080         (fedisableexcept): Likewise.
15082 2012-11-30  Roland McGrath  <roland@hack.frob.com>
15084         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
15085         second, differently-typed declaration, rather than a cast.
15087 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
15089         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
15090         * include/rpc/svc.h: ... here.
15092 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
15094         [BZ #13013]
15095         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
15096         depending n and resplen2 to catch cases where answer
15097         equals answerp2.
15099 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
15101         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
15102         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
15104 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
15106         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
15108 2012-11-29  Roland McGrath  <roland@hack.frob.com>
15110         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
15112 2012-11-28  Jeff Law  <law@redhat.com>
15114         [BZ #13761]
15115         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
15116         dataset_temporary.  Track alloca usage into alloca_used.
15117         If dataset is large allocate and release it via malloc/free.
15119 2012-06-04  Florian Weimer  <fweimer@redhat.com>
15121         [BZ #14197]
15122         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
15124 2012-11-28  David S. Miller  <davem@davemloft.net>
15126         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15128 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
15130         [BZ #14803]
15131         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
15132         of pi/2 rounded to nearest to 64 bits.
15133         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
15134         nearest to 64 bits.
15135         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
15136         bits.
15138 2012-11-28  Jeff Law <law@redhat.com>
15139             Martin Osvald <mosvald@redhat.com>
15141         [BZ #14889]
15142         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
15143         * sunrpc/svc.c: Include time.h.
15144         (__svc_accept_failed): New function.
15145         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
15146         any reason other than EINTR, call __svc_accept_failed.
15147         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
15148         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
15150 2012-11-28  Andreas Schwab  <schwab@suse.de>
15152         * scripts/abilist.awk: Also handle indirect functions in .opd
15153         section.
15155 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
15157         [BZ #13881]
15158         * sysdeps/x86/fpu/powl_helper.c: New file.
15159         * sysdeps/x86/fpu/Makefile: Likewise.
15160         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
15161         (p3): New object.
15162         (__ieee754_powl): Use __powl_helper for finite arguments except
15163         integer exponents below 8.
15164         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
15165         (p3): New object.
15166         (__ieee754_powl): Use __powl_helper for finite arguments except
15167         integer exponents below 8.
15168         * math/libm-test.inc (pow_test): Add more tests and enable some
15169         previously disabled tests.
15170         * sysdeps/i386/fpu/libm-test-ulps: Update.
15171         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15173 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15174             Carlos O'Donell  <carlos_odonell@mentor.com>
15176         * nss/makedb.c (is_prime): Assert that input is odd and greater
15177         than 4.  Note that fact in a comment too.
15178         (next_prime): Add 4 to input.
15180 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
15182         [BZ #11741]
15183         * libio/Makefile (tests): Add test case tst-fwrite-error.
15184         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
15185         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
15186         * libio/tst-fwrite-error.c: New test case.
15188 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
15190         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
15191         before casting to void *.
15192         * include/libc-internal.h (__pointer_type): New macro.
15193         (__integer_if_pointer_type_sub): Likewise.
15194         (__integer_if_pointer_type): Likewise.
15195         (cast_to_integer): Likewise.
15196         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
15197         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
15198         before casting to atomic64_t.
15199         (atomic_exchange_acq): Likewise.
15200         (__arch_exchange_and_add_body): Likewise.
15201         (__arch_add_body): Likewise.
15202         (atomic_add_negative): Likewise.
15203         (atomic_add_zero): Likewise.
15205 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
15207         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
15208         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
15209         (add_fdes): Likewise.
15210         (linear_search_fdes): Likewise.
15211         (binary_search_unencoded_fdes): Likewise.
15213 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
15215         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
15217 2012-11-24  Adam Conrad  <adconrad@0c3.net>
15219         * configure.in: Autodetect C++ header directories.
15220         * configure: Regenerated.
15222 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
15224         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
15226 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
15228         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15230 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
15232         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
15233         LDBL_MANT_DIG == 106]: Disable some tests.
15234         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15235         Likewise.
15236         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15237         Likewise.
15239         [BZ #14871]
15240         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
15241         input for small inputs.  Return +/- pi/2 for large inputs.
15242         * math/libm-test.inc (atan_test): Add more tests.
15244         * sysdeps/generic/unwind-dw2-fde-glibc.c
15245         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
15246         __attribute__ ((unused)).
15248         [BZ #14645]
15249         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
15250         x * y if x and y are nonzero and z is zero.
15252         [BZ #14811]
15253         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
15254         nonzero exponents with absolute value below 0x1p-117 to +/-
15255         0x1p-117.
15257         [BZ #14869]
15258         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
15259         up arguments below 2**-450, not just those below 2**-500.
15260         * math/libm-test.inc (hypot_test): Add another test.
15262         [BZ #14868]
15263         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
15264         Return a+b for ratio over 2**120, not 2**60.
15265         * math/libm-test.inc (hypot_test): Add another test.
15267         * math/libm-test.inc (clog_test): Use
15268         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
15269         (clog10_test): Likewise.
15271         [BZ #6778]
15272         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
15274 2012-11-22  Andreas Schwab  <schwab@suse.de>
15276         * sysdeps/i386/fpu/libm-test-ulps: Update.
15278 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
15280         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
15281         printf output with newline.
15283 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
15285         [BZ #14865]
15286         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
15287         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
15288         -z nodlopen, -z initfirst and -z execstack support.
15289         * configure: Regenerated.
15291         * elf/elf.h (DF_1_NODIRECT): New macro.
15292         (DF_1_IGNMULDEF): Likewise.
15293         (DF_1_NOKSYMS): Likewise.
15294         (DF_1_NOHDR): Likewise.
15295         (DF_1_EDITED): Likewise.
15296         (DF_1_NORELOC): Likewise.
15297         (DF_1_SYMINTPOSE): Likewise.
15298         (DF_1_GLOBAUDIT): Likewise.
15299         (DF_1_SINGLETON): Likewise.
15300         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
15301         DT_1_SUPPORTED_MASK bits.
15302         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
15304 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
15306         * sysdeps/unix/make-syscalls.sh: Document prefixes.
15308 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
15310         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
15311         macro.
15313         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
15314         (sendmmsg): Move declarations...
15315         * socket/sys/socket.h: ... here.
15316         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
15317         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
15318         include it from...
15319         * socket/recvmmsg.c: ... this new file.
15320         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
15321         (sendmmsg): Rename to __sendmmsg, create weak alias and make
15322         definition of __sendmmsg hidden.
15323         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
15324         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
15325         Move ENOSYS stub into and include it from...
15326         * socket/sendmmsg.c: ... this new file.
15327         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
15328         (sysdep_routines): Move recvmmsg and sendmmsg...
15329         * socket/Makefile (routines): ... here.
15330         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
15331         (GLIBC_PRIVATE): Add __sendmmsg.
15332         * include/sys/socket.h (__sendmmsg): Add declarations.
15333         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
15334         sendmmsg.
15336 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
15338         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
15339         variable I1 with __attribute__ ((unused)).
15340         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
15342 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
15344         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
15345         DUMMY variables with __attribute__ ((unused)).
15347         * bits/byteswap.h: Include <bits/types.h>.
15348         (__bswap_64): Use __uint64_t instead of unsigned long long int.
15350 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
15352         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
15353         string_t.  Do not manually set errno.
15354         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
15355         length with __strnlen.  Make sure to both set errno and return it on
15356         failure.
15358 2012-11-19  David S. Miller  <davem@davemloft.net>
15360         With help from Joseph Myers.
15361         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
15362         very large arguments properly.
15363         * math/libm-test.inc (atan_test): New tests.
15364         (atan2_test): New tests.
15365         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15366         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15368 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
15370         [BZ #14856]
15371         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
15372         Define to 3.
15374         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
15375         [POSIX] (EADDRNOTAVAIL): Likewise.
15376         [POSIX] (EAFNOSUPPORT): Likewise.
15377         [POSIX] (EALREADY): Likewise.
15378         [POSIX] (ECONNABORTED): Likewise.
15379         [POSIX] (ECONNREFUSED): Likewise.
15380         [POSIX] (ECONNRESET): Likewise.
15381         [POSIX] (EDESTADDRREQ): Likewise.
15382         [POSIX] (EDQUOT): Likewise.
15383         [POSIX] (EHOSTUNREACH): Likewise.
15384         [POSIX] (EIDRM): Likewise.
15385         [POSIX] (EISCONN): Likewise.
15386         [POSIX] (ELOOP): Likewise.
15387         [POSIX] (EMULTIHOP): Likewise.
15388         [POSIX] (ENETDOWN): Likewise.
15389         [POSIX] (ENETUNREACH): Likewise.
15390         [POSIX] (ENOBUFS): Likewise.
15391         [POSIX] (ENODATA): Likewise.
15392         [POSIX] (ENOLINK): Likewise.
15393         [POSIX] (ENOMSG): Likewise.
15394         [POSIX] (ENOPROTOOPT): Likewise.
15395         [POSIX] (ENOSR): Likewise.
15396         [POSIX] (ENOSTR): Likewise.
15397         [POSIX] (ENOTCONN): Likewise.
15398         [POSIX] (ENOTSOCK): Likewise.
15399         [POSIX] (EOPNOTSUPP): Likewise.
15400         [POSIX] (EOVERFLOW): Likewise.
15401         [POSIX] (EPROTO): Likewise.
15402         [POSIX] (EPROTONOSUPPORT): Likewise.
15403         [POSIX] (EPROTOTYPE): Likewise.
15404         [POSIX] (ESTALE): Likewise.
15405         [POSIX] (ETIME): Likewise.
15406         [POSIX] (ETXTBSY): Likewise.
15407         [POSIX] (EWOULDBLOCK): Likewise.
15408         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
15409         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
15410         [POSIX] (SEEK_CUR): Likewise.
15411         [POSIX] (SEEK_END): Likewise.
15412         [POSIX || UNIX98] (mode_t): Do not require.
15413         [POSIX] (off_t): Likewise.
15414         [POSIX] (pid_t): Likewise.
15415         [POSIX] (sys/stat.h): Do not allow header.
15416         [POSIX] (unistd.h): Likewise.
15417         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
15418         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
15419         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
15420         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
15421         require.
15422         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
15423         sigevent): Specify elements.
15424         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
15425         entry.
15426         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
15427         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
15429         * conform/data/cpio.h-data [POSIX]: Disable whole file.
15430         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
15431         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
15432         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
15433         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
15434         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
15435         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
15436         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
15437         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
15438         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
15439         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
15440         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
15441         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
15442         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
15443         Likewise.
15444         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
15445         Likewise.
15446         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
15447         Likewise.
15448         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
15449         Likewise.
15450         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
15451         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
15452         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
15453         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
15454         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
15455         Specify lower bound on value.
15456         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
15457         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
15458         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
15459         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
15460         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
15461         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
15462         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
15463         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
15464         value.
15465         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
15466         as optional.
15467         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
15468         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
15469         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
15470         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
15471         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
15472         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
15473         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
15474         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
15475         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
15476         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
15477         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
15478         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
15479         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
15480         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
15481         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
15482         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
15483         entry.
15484         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
15485         optional.
15486         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
15487         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
15488         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
15489         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
15490         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
15491         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
15492         Likewise.
15493         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
15494         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
15495         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
15496         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
15497         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
15498         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
15499         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
15500         as optional.
15501         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
15502         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
15503         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
15504         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
15505         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
15506         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
15507         specify as optional.
15508         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
15509         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
15510         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
15511         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
15512         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
15513         [XPG3] (NL_LANGMAX): Likewise.
15514         [POSIX || XPG3] (NL_MSGMAX): Likewise.
15515         [POSIX || XPG3] (NL_NMAX): Likewise.
15516         [POSIX || XPG3] (NL_SETMAX): Likewise.
15517         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
15518         [XPG3] (NZERO): Likewise.
15519         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
15520         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
15521         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
15522         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
15523         (REG_ERANGE): Expect.
15524         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
15525         optional-constant.
15526         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
15527         Use (void) in prototype.
15528         [POSIX] (*_t): Allow.
15529         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
15530         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
15531         (WRDE_BADVAL): Expect.
15533         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
15534         expect.
15535         [XPG3 || XPG4] (O_RSYNC): Likewise.
15536         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
15537         Likewise.
15538         [XPG3 || XPG4] (pthread_sigmask): Likewise.
15539         [XPG3 || XPG4] (sigqueue): Likewise.
15540         [XPG3 || XPG4] (sigtimedwait): Likewise.
15541         [XPG3 || XPG4] (sigwaitinfo): Likewise.
15542         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
15543         [XPG3 || XPG4] (vsnprintf): Likewise.
15544         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
15545         Likewise.
15546         [XPG3 || XPG4] (blksize_t): Likewise.
15547         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
15548         Likewise.
15549         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
15550         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
15551         [XPG3 || XPG4] (struct itimerspec): Likewise.
15552         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
15553         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
15554         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
15555         [XPG3 || XPG4] (clockid_t): Likewise.
15556         [XPG3 || XPG4] (timer_t): Likewise.
15557         [XPG3 || XPG4] (clock_getres): Likewise.
15558         [XPG3 || XPG4] (clock_gettime): Likewise.
15559         [XPG3 || XPG4] (clock_settime): Likewise.
15560         [XPG3 || XPG4] (nanosleep): Likewise.
15561         [XPG3 || XPG4] (timer_create): Likewise.
15562         [XPG3 || XPG4] (timer_delete): Likewise.
15563         [XPG3 || XPG4] (timer_gettime): Likewise.
15564         [XPG3 || XPG4] (timer_getoverrun): Likewise.
15565         [XPG3 || XPG4] (timer_settime): Likewise.
15566         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
15567         [XPG3 || XPG4] (getlogin_r): Likewise.
15568         [XPG3 || XPG4] (pread): Likewise.
15569         [XPG3 || XPG4] (pthread_atfork): Likewise.
15570         [XPG3 || XPG4] (pwrite): Likewise.
15572         [BZ #14835]
15573         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
15574         <bits/siginfo.h>.
15576 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
15578         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
15579         finalizing MALLSTREAM.
15581         * sysdeps/mach/hurd/syncfs.c: New file.
15583 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
15585         [BZ #14719]
15586         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
15587         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
15588         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
15589         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
15590         (_nss_dns_gethostbyname4_r): Likewise.
15591         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
15592         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
15594 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
15596         [BZ #13763]
15597         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
15599 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
15601         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
15602         * elf/cache.c (print_entry): Print ",AArch64" for
15603         FLAG_AARCH64_LIB64
15605         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
15606         * elf/cache.c (print_entry): Print ",hard-float" for
15607         FLAG_ARM_LIBHF.
15609 2012-11-18  David S. Miller  <davem@davemloft.net>
15611         With help from Joseph Myers.
15612         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
15613         cutoff to 2**-13.
15614         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
15615         cutoff to 2**-25.
15616         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
15617         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
15618         small.
15619         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
15620         * math/libm-test.inc (y0_test): New tests.
15621         (y1_test): New tests.
15622         * sysdeps/i386/fpu/libm-test-ulps: Update.
15623         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15624         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15626 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
15628         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
15629         64-bit targets.
15630         * configure: Regenerated.
15632 2012-11-17  David S. Miller  <davem@davemloft.net>
15634         [BZ #14811]
15635         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
15636         nonzero exponents with absolute value below 0x1p-128 to +/-
15637         0x1p-128.
15639 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
15641         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
15643         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
15645         * posix/getconf-speclist.c: New file.
15646         * posix/posix-envs.def: Likewise.
15647         * posix/confstr.c (START_ENV_GROUP): New macro.
15648         (END_ENV_GROUP): Likewise.
15649         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
15650         (KNOWN_PRESENT_ENV_STRING): Likewise.
15651         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
15652         (UNKNOWN_ENVIRONMENT): Likewise.
15653         (confstr): Include posix-envs.def instead of handling
15654         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
15655         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
15656         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
15657         (END_ENV_GROUP): Likewise.
15658         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
15659         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
15660         (UNKNOWN_ENVIRONMENT): Likewise.
15661         (__sysconf): Include posix-envs.def instead of handling associated
15662         cases directly here.
15663         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
15664         preprocessing getconf-speclist.c rather than running getconf or
15665         generating empty file.
15667 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
15669         * scripts/check-local-headers.sh: Ignore 'mach' headers.
15671 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
15673         [BZ #14672]
15674         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
15676 2012-11-16  David S. Miller  <davem@davemloft.net>
15678         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
15679         smaller than LDBL_EPSILON/2.0L, just return xm1.
15681 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
15683         * elf/tst-array1.c (init): Set constructor priority to 1000.
15684         (fini): Set destructor priority to 1000.
15685         * elf/tst-array2dep.c: Likewise.
15687 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
15689         [BZ #11741]
15690         * libio/fileops.c (_IO_new_file_write): Correctly return error.
15691         (_IO_new_file_xsputn): Also return EOF if none of the input
15692         data was written when overflow failed.
15693         * libio/iopadn.c (_IO_padn): Likewise.
15694         * libio/iowpadn.c (_IO_wpadn): Likewise.
15695         * stdio-common/tst-put-error.c: Add copyright notice.
15696         (do_test): Add case for printing padded string.
15697         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
15698         _IO_padn returned error.
15699         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
15700         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
15701         return EOF.
15703 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
15705         * libio/libioP.h: Add comment note that the references to C++
15706         bits are now obsolete.
15708 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15710         * math/libm-test.inc (check_complex): Use asprintf.
15712 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
15714         * debug/pcprofiledump.c (print_version): Update copyright year.
15715         * malloc/memusagestat.c (print_version): Likewise.
15717 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
15719         [BZ #14831]
15720         * elf/Makefile (tests): Add tst-audit8.
15721         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
15722         ($(objpfx)tst-audit8.out): New target.
15723         (tst-audit8-ENV): New variable.
15724         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
15725         audit if l_reloc_result is NULL.
15726         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
15727         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
15728         * elf/tst-audit8.c: New file.
15730 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15732         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
15733         * misc/Makefile (CFLAGS-select.c): Define.
15734         * posix/Makefile (CFLAGS-pause.c): Define.
15736 2012-11-13  David S. Miller  <davem@davemloft.net>
15738         * crypt/Makefile: Move test targets after toplevel Rules
15739         inclusion.  Grab any necessary sysdep routines when linking.
15740         * crypt/md5.c (md5_process_block): Remove define, we will always
15741         name it __md5_process_block.
15742         (md5_finish_ctx): Update md5_process_block call.
15743         (md5_stream): Likewise.
15744         (md5_process_bytes): Likewise.
15745         (md5_process_block): Rename to __md5_process_block and move to ...
15746         * crypt/md5-block.c: ... here.
15747         * crypt/sha256.c (sha256_process_block): Move to ...
15748         * crypt/sha256-block.c: ... here.
15749         * crypt/sha512.c (sha512_process_block): Move to ...
15750         * crypt/sha512-block.c: ... here.
15751         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
15752         path.
15753         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
15754         * sysdeps/sparc/sparc64/multiarch/Makefile
15755         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
15756         crypt subdir.
15757         (localedef-aux): Add md5 crypto assembler when in locale subdir.
15758         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
15759         multiarch changes.
15760         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
15761         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
15762         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
15763         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
15764         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
15765         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
15766         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
15767         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
15768         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
15769         file.
15770         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
15771         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
15772         file.
15773         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
15775 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
15777         * timezone/tzselect.ksh: Update from tzcode git revision
15778         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
15779         * timezone/zdump.c: Likewise.
15780         * timezone/zic.c: Likewise.
15781         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
15782         in TZVERSION setting, not $(PKGVERSION).
15783         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
15784         REPORT_BUGS_TO settings.
15786         [BZ #14838]
15787         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
15788         macro.
15790 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15792         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
15793         detection to immediately after _FP_ROUND().
15794         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
15795         bits are 0.
15797 2012-11-11  David S. Miller  <davem@davemloft.net>
15799         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
15800         inttypes.h
15801         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
15802         __close rather than their public counterparts.
15804 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
15806         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
15807         file.
15808         [UNIX98] (sem_timedwait): Do not expect.
15809         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
15810         [XPG4 || UNIX98] (sockatmark): Do not expect.
15811         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
15812         (clock_getcpuclockid): Do not expect.
15813         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
15814         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
15815         Do not expect.
15816         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
15817         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
15818         [UNIX98] (vwscanf): Likewise.
15819         [UNIX98] (vswscanf): Likewise.
15821 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
15823         * timezone/version.h: Remove file.
15824         * timezone/README: Do not refer to version.h.
15825         * timezone/Makefile ($(objpfx)zic.o): New dependency on
15826         $(objpfx)version.h.
15827         ($(objpfx)zdump.o): Likewise.
15828         ($(objpfx)version.h): New target.
15830         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
15831         2012i.
15832         * timezone/README: Don't mention modification to tzselect.ksh.
15833         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
15834         work on unmodified tzselect.ksh.  Substitute version numbers in
15835         tzselect.ksh.
15837         * Makefile (format-me): Remove.
15838         (INSTALL): Adjust indentation.  Use commands directly instead of
15839         using $(format-me).
15841         * aclocal.m4 (ACX_PKGVERSION): New macro.
15842         (ACX_BUGURL): Likewise.
15843         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
15844         (PKGVERSION): New AC_DEFINE_UNQUOTED.
15845         (REPORT_BUGS_TO): Likewise.
15846         * configure: Regenerated.
15847         * config.h.in (PKGVERSION): New macro.
15848         (REPORT_BUGS_TO): Likewise.
15849         * config.make.in (PKGVERSION): New variable.
15850         (PKGVERSION_TEXI): Likewise.
15851         (REPORT_BUGS_TO): Likewise.
15852         (REPORT_BUGS_TEXI): Likewise.
15853         * Makefile (format-me): Use -I$(common-objpfx)manual.
15854         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
15855         ($(common-objpfx)manual/%): New target.
15856         (manual/%): Remove target.
15857         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
15858         (print_version): Use PKGVERSION.
15859         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
15860         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
15861         and REPORT_BUGS_TO.
15862         ($(objpfx)xtrace): Likewise.
15863         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
15864         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
15865         (print_version): Use PKGVERSION.
15866         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
15867         (do_version): Use PKGVERSION.
15868         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
15869         REPORT_BUGS_TO.
15870         (common-ldd-rewrite): Likewise.
15871         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
15872         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
15873         (print_version): Use PKGVERSION.
15874         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
15875         * elf/pldd.c (argp_program_bug_address): Remove variable.
15876         (more_help): New function.
15877         (argp): Use more_help.
15878         (print_version): Use PKGVERSION.
15879         * elf/sln.c (main): Use PKGVERSION.
15880         (usage): Use REPORT_BUGS_TO.
15881         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
15882         (top level): Use PKGVERSION.
15883         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
15884         (print_version): Use PKGVERSION.
15885         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
15886         (print_version): Use PKGVERSION.
15887         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
15888         (print_version): Use PKGVERSION.
15889         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
15890         (print_version): Use PKGVERSION.
15891         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
15892         (print_version): Use PKGVERSION.
15893         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
15894         (print_version): Use PKGVERSION.
15895         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
15896         and BUGURL.
15897         ($(objpfx)memusage): Likewise.
15898         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
15899         (do_version): Use PKGVERSION.
15900         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
15901         (print_version): Use PKGVERSION.
15902         * malloc/mtrace.pl ($PACKAGE): Remove variable.
15903         ($PKGVERSION): New variable.
15904         ($REPORT_BUGS_TO): Likewise.
15905         (usage): Use $REPORT_BUGS_TO.
15906         (top level): Use $PKGVERSION.
15907         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
15908         ($(objpfx)pkgvers.texi): New rule.
15909         ($(objpfx)stamp-pkgvers): Likewise.
15910         * manual/install.texi: Include pkgvers.texi.
15911         (--with-pkgversion): Document new configure option.
15912         (--with-bugurl): Likewise.
15913         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
15914         than necessarily for this particular distribution.  Use
15915         REPORT_BUGS_TO for where to report bugs.
15916         * INSTALL: Regenerated.
15917         * manual/libc.texinfo: Include pkgvers.texi.
15918         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
15919         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
15920         (print_version): Use PKGVERSION.
15921         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
15922         (print_version): Use PKGVERSION.
15923         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
15924         (print_version): Use PKGVERSION.
15925         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
15926         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
15927         macro.
15928         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
15929         (print_version): Use PKGVERSION.
15930         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
15931         (print_version): Use PKGVERSION.
15932         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
15933         and PKGVERSION.
15935         * timezone/checktab.awk: Update from tzcode 2012i.
15936         * timezone/ialloc.c: Likewise.
15937         * timezone/private.h: Likewise.
15938         * timezone/scheck.c: Likewise.
15939         * timezone/tzfile.h: Likewise.
15940         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
15941         (TZVERSION): Hardcode tzcode version number.
15942         * timezone/zdump.c: Update from tzcode 2012i.
15943         * timezone/zic.c: Likewise.
15944         * timezone/version.h: New file.
15945         * timezone/README: Describe version.h.  Update upstream location.
15947         [BZ #14824]
15948         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
15949         (mktemp): Enable declaration.
15950         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
15951         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
15952         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
15953         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
15954         Likewise.
15955         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
15956         Likewise.
15957         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
15958         Likewise.
15959         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
15960         Likewise.
15961         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
15962         Likewise.
15963         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
15964         Likewise.
15966         [BZ #14821]
15967         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
15968         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
15969         for copies of such integer values.
15970         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
15971         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
15973 2012-11-09  Andreas Jaeger  <aj@suse.de>
15975         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
15976         definitions and declarations that are provided by
15977         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
15979 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15981         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
15982         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
15983         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
15984         definition.
15986 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15988         * elf/elf.h: Update comment before AArch64 relocations.
15990 2012-11-07  David S. Miller  <davem@davemloft.net>
15992         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
15993         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
15994         (__start_context): Declare.
15995         (__makecontext_ret): Delete.
15996         (__makecontext): Hook up __start_context instead of
15997         __makecontext_ret.
15998         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
15999         (sysdep_routines): Add __start_context when in stdlib.
16001 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
16003         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
16004         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
16005         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
16006         hardcoded "nm".
16007         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
16008         (READELF): New variable.  Use it instead of hardcoded "readelf".
16010 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
16012         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
16013         * sysdeps/x86/Makefile: Here.
16014         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
16015         * sysdeps/x86/tst-xmmymm.sh: This.
16017 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
16019         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
16020         expectations.
16021         [UNIX98] (pthread_barrier_t): Do not expect.
16022         [UNIX98] (pthread_barrierattr_t): Likewise.
16023         [UNIX98] (pthread_spinlock_t): Likewise.
16024         [UNIX98] (pthread_barrier_destroy): Likewise.
16025         [UNIX98] (pthread_barrier_init): Likewise.
16026         [UNIX98] (pthread_barrier_wait): Likewise.
16027         [UNIX98] (pthread_barrierattr_destroy): Likewise.
16028         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
16029         [UNIX98] (pthread_barrierattr_init): Likewise.
16030         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
16031         [UNIX98] (pthread_getcpuclockid): Likewise.
16032         [UNIX98] (pthread_mutex_timedlock): Likewise.
16033         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
16034         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
16035         [UNIX98] (pthread_sigmask): Likewise.
16036         [UNIX98] (pthread_spin_destroy): Likewise.
16037         [UNIX98] (pthread_spin_init): Likewise.
16038         [UNIX98] (pthread_spin_lock): Likewise.
16039         [UNIX98] (pthread_spin_trylock): Likewise.
16040         [UNIX98] (pthread_spin_unlock): Likewise.
16041         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
16042         Do not expect.
16043         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
16044         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
16045         [XPG3 || XPG4] (pthread_cond_t): Likewise.
16046         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
16047         [XPG3 || XPG4] (pthread_key_t): Likewise.
16048         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
16049         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
16050         [XPG3 || XPG4] (pthread_once_t): Likewise.
16051         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
16052         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
16053         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
16054         [XPG3 || XPG4] (pthread_t): Likewise.
16056         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
16057         not expect.
16058         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
16060         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
16061         Change function return type to int.
16063         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
16064         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
16065         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
16066         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
16067         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
16068         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
16069         [!POSIX] (posix_madvise): Likewise.
16070         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
16071         && !UNIX98].
16072         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
16073         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
16074         (mode_t): Likewise.
16075         (posix_mem_offset): Likewise.
16076         (posix_typed_mem_get_info): Likewise.
16077         (posix_typed_mem_open): Likewise.
16079         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
16080         Change condition to [XOPEN2K8].
16082         * conform/conformtest.pl: Preprocess allow-header data with -x c
16083         instead of from stdin.
16084         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
16085         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
16086         [C99-based standards] (cerfc): Likewise.
16087         [C99-based standards] (cexp2): Likewise.
16088         [C99-based standards] (cexpm1): Likewise.
16089         [C99-based standards] (clog10): Likewise.
16090         [C99-based standards] (clog1p): Likewise.
16091         [C99-based standards] (clog2): Likewise.
16092         [C99-based standards] (clgamma): Likewise.
16093         [C99-based standards] (ctgamma): Likewise.
16094         [C99-based standards] (cerff): Likewise.
16095         [C99-based standards] (cerfcf): Likewise.
16096         [C99-based standards] (cexp2f): Likewise.
16097         [C99-based standards] (cexpm1f): Likewise.
16098         [C99-based standards] (clog10f): Likewise.
16099         [C99-based standards] (clog1pf): Likewise.
16100         [C99-based standards] (clog2f): Likewise.
16101         [C99-based standards] (clgammaf): Likewise.
16102         [C99-based standards] (ctgammaf): Likewise.
16103         [C99-based standards] (cerfl): Likewise.
16104         [C99-based standards] (cerfcl): Likewise.
16105         [C99-based standards] (cexp2l): Likewise.
16106         [C99-based standards] (cexpm1l): Likewise.
16107         [C99-based standards] (clog10l): Likewise.
16108         [C99-based standards] (clog1pl): Likewise.
16109         [C99-based standards] (clog2l): Likewise.
16110         [C99-based standards] (clgammal): Likewise.
16111         [C99-based standards] (ctgammal): Likewise.
16112         * conform/data/inttypes.h-data [C99-based standards]: Include
16113         stdint.h-data.  Remove all expectations for stdint.h contents.
16114         [C99-based standards] (PRI*): Do not allow.
16115         [C99-based standards] (SCN*): Likewise.
16116         [C99-based standards] (*_t): Likewise.
16117         [C99-based-standards] (PRId8): Expect macro.
16118         [C99-based-standards] (PRIi8): Likewise.
16119         [C99-based-standards] (PRIo8): Likewise.
16120         [C99-based-standards] (PRIu8): Likewise.
16121         [C99-based-standards] (PRIx8): Likewise.
16122         [C99-based-standards] (PRIX8): Likewise.
16123         [C99-based-standards] (SCNd8): Likewise.
16124         [C99-based-standards] (SCNi8): Likewise.
16125         [C99-based-standards] (SCNo8): Likewise.
16126         [C99-based-standards] (SCNu8): Likewise.
16127         [C99-based-standards] (SCNx8): Likewise.
16128         [C99-based-standards] (PRIdLEAST8): Likewise.
16129         [C99-based-standards] (PRIiLEAST8): Likewise.
16130         [C99-based-standards] (PRIoLEAST8): Likewise.
16131         [C99-based-standards] (PRIuLEAST8): Likewise.
16132         [C99-based-standards] (PRIxLEAST8): Likewise.
16133         [C99-based-standards] (PRIXLEAST8): Likewise.
16134         [C99-based-standards] (SCNdLEAST8): Likewise.
16135         [C99-based-standards] (SCNiLEAST8): Likewise.
16136         [C99-based-standards] (SCNoLEAST8): Likewise.
16137         [C99-based-standards] (SCNuLEAST8): Likewise.
16138         [C99-based-standards] (SCNxLEAST8): Likewise.
16139         [C99-based-standards] (PRIdFAST8): Likewise.
16140         [C99-based-standards] (PRIiFAST8): Likewise.
16141         [C99-based-standards] (PRIoFAST8): Likewise.
16142         [C99-based-standards] (PRIuFAST8): Likewise.
16143         [C99-based-standards] (PRIxFAST8): Likewise.
16144         [C99-based-standards] (PRIXFAST8): Likewise.
16145         [C99-based-standards] (SCNdFAST8): Likewise.
16146         [C99-based-standards] (SCNiFAST8): Likewise.
16147         [C99-based-standards] (SCNoFAST8): Likewise.
16148         [C99-based-standards] (SCNuFAST8): Likewise.
16149         [C99-based-standards] (SCNxFAST8): Likewise.
16150         [C99-based-standards] (PRId16): Likewise.
16151         [C99-based-standards] (PRIi16): Likewise.
16152         [C99-based-standards] (PRIo16): Likewise.
16153         [C99-based-standards] (PRIu16): Likewise.
16154         [C99-based-standards] (PRIx16): Likewise.
16155         [C99-based-standards] (PRIX16): Likewise.
16156         [C99-based-standards] (SCNd16): Likewise.
16157         [C99-based-standards] (SCNi16): Likewise.
16158         [C99-based-standards] (SCNo16): Likewise.
16159         [C99-based-standards] (SCNu16): Likewise.
16160         [C99-based-standards] (SCNx16): Likewise.
16161         [C99-based-standards] (PRIdLEAST16): Likewise.
16162         [C99-based-standards] (PRIiLEAST16): Likewise.
16163         [C99-based-standards] (PRIoLEAST16): Likewise.
16164         [C99-based-standards] (PRIuLEAST16): Likewise.
16165         [C99-based-standards] (PRIxLEAST16): Likewise.
16166         [C99-based-standards] (PRIXLEAST16): Likewise.
16167         [C99-based-standards] (SCNdLEAST16): Likewise.
16168         [C99-based-standards] (SCNiLEAST16): Likewise.
16169         [C99-based-standards] (SCNoLEAST16): Likewise.
16170         [C99-based-standards] (SCNuLEAST16): Likewise.
16171         [C99-based-standards] (SCNxLEAST16): Likewise.
16172         [C99-based-standards] (PRIdFAST16): Likewise.
16173         [C99-based-standards] (PRIiFAST16): Likewise.
16174         [C99-based-standards] (PRIoFAST16): Likewise.
16175         [C99-based-standards] (PRIuFAST16): Likewise.
16176         [C99-based-standards] (PRIxFAST16): Likewise.
16177         [C99-based-standards] (PRIXFAST16): Likewise.
16178         [C99-based-standards] (SCNdFAST16): Likewise.
16179         [C99-based-standards] (SCNiFAST16): Likewise.
16180         [C99-based-standards] (SCNoFAST16): Likewise.
16181         [C99-based-standards] (SCNuFAST16): Likewise.
16182         [C99-based-standards] (SCNxFAST16): Likewise.
16183         [C99-based-standards] (PRId32): Likewise.
16184         [C99-based-standards] (PRIi32): Likewise.
16185         [C99-based-standards] (PRIo32): Likewise.
16186         [C99-based-standards] (PRIu32): Likewise.
16187         [C99-based-standards] (PRIx32): Likewise.
16188         [C99-based-standards] (PRIX32): Likewise.
16189         [C99-based-standards] (SCNd32): Likewise.
16190         [C99-based-standards] (SCNi32): Likewise.
16191         [C99-based-standards] (SCNo32): Likewise.
16192         [C99-based-standards] (SCNu32): Likewise.
16193         [C99-based-standards] (SCNx32): Likewise.
16194         [C99-based-standards] (PRIdLEAST32): Likewise.
16195         [C99-based-standards] (PRIiLEAST32): Likewise.
16196         [C99-based-standards] (PRIoLEAST32): Likewise.
16197         [C99-based-standards] (PRIuLEAST32): Likewise.
16198         [C99-based-standards] (PRIxLEAST32): Likewise.
16199         [C99-based-standards] (PRIXLEAST32): Likewise.
16200         [C99-based-standards] (SCNdLEAST32): Likewise.
16201         [C99-based-standards] (SCNiLEAST32): Likewise.
16202         [C99-based-standards] (SCNoLEAST32): Likewise.
16203         [C99-based-standards] (SCNuLEAST32): Likewise.
16204         [C99-based-standards] (SCNxLEAST32): Likewise.
16205         [C99-based-standards] (PRIdFAST32): Likewise.
16206         [C99-based-standards] (PRIiFAST32): Likewise.
16207         [C99-based-standards] (PRIoFAST32): Likewise.
16208         [C99-based-standards] (PRIuFAST32): Likewise.
16209         [C99-based-standards] (PRIxFAST32): Likewise.
16210         [C99-based-standards] (PRIXFAST32): Likewise.
16211         [C99-based-standards] (SCNdFAST32): Likewise.
16212         [C99-based-standards] (SCNiFAST32): Likewise.
16213         [C99-based-standards] (SCNoFAST32): Likewise.
16214         [C99-based-standards] (SCNuFAST32): Likewise.
16215         [C99-based-standards] (SCNxFAST32): Likewise.
16216         [C99-based-standards] (PRId64): Likewise.
16217         [C99-based-standards] (PRIi64): Likewise.
16218         [C99-based-standards] (PRIo64): Likewise.
16219         [C99-based-standards] (PRIu64): Likewise.
16220         [C99-based-standards] (PRIx64): Likewise.
16221         [C99-based-standards] (PRIX64): Likewise.
16222         [C99-based-standards] (SCNd64): Likewise.
16223         [C99-based-standards] (SCNi64): Likewise.
16224         [C99-based-standards] (SCNo64): Likewise.
16225         [C99-based-standards] (SCNu64): Likewise.
16226         [C99-based-standards] (SCNx64): Likewise.
16227         [C99-based-standards] (PRIdLEAST64): Likewise.
16228         [C99-based-standards] (PRIiLEAST64): Likewise.
16229         [C99-based-standards] (PRIoLEAST64): Likewise.
16230         [C99-based-standards] (PRIuLEAST64): Likewise.
16231         [C99-based-standards] (PRIxLEAST64): Likewise.
16232         [C99-based-standards] (PRIXLEAST64): Likewise.
16233         [C99-based-standards] (SCNdLEAST64): Likewise.
16234         [C99-based-standards] (SCNiLEAST64): Likewise.
16235         [C99-based-standards] (SCNoLEAST64): Likewise.
16236         [C99-based-standards] (SCNuLEAST64): Likewise.
16237         [C99-based-standards] (SCNxLEAST64): Likewise.
16238         [C99-based-standards] (PRIdFAST64): Likewise.
16239         [C99-based-standards] (PRIiFAST64): Likewise.
16240         [C99-based-standards] (PRIoFAST64): Likewise.
16241         [C99-based-standards] (PRIuFAST64): Likewise.
16242         [C99-based-standards] (PRIxFAST64): Likewise.
16243         [C99-based-standards] (PRIXFAST64): Likewise.
16244         [C99-based-standards] (SCNdFAST64): Likewise.
16245         [C99-based-standards] (SCNiFAST64): Likewise.
16246         [C99-based-standards] (SCNoFAST64): Likewise.
16247         [C99-based-standards] (SCNuFAST64): Likewise.
16248         [C99-based-standards] (SCNxFAST64): Likewise.
16249         [C99-based-standards] (PRIdMAX): Likewise.
16250         [C99-based-standards] (PRIiMAX): Likewise.
16251         [C99-based-standards] (PRIoMAX): Likewise.
16252         [C99-based-standards] (PRIuMAX): Likewise.
16253         [C99-based-standards] (PRIxMAX): Likewise.
16254         [C99-based-standards] (PRIXMAX): Likewise.
16255         [C99-based-standards] (SCNdMAX): Likewise.
16256         [C99-based-standards] (SCNiMAX): Likewise.
16257         [C99-based-standards] (SCNoMAX): Likewise.
16258         [C99-based-standards] (SCNuMAX): Likewise.
16259         [C99-based-standards] (SCNxMAX): Likewise.
16260         [C99-based-standards] (PRIdPTR): Likewise.
16261         [C99-based-standards] (PRIiPTR): Likewise.
16262         [C99-based-standards] (PRIoPTR): Likewise.
16263         [C99-based-standards] (PRIuPTR): Likewise.
16264         [C99-based-standards] (PRIxPTR): Likewise.
16265         [C99-based-standards] (PRIXPTR): Likewise.
16266         [C99-based-standards] (SCNdPTR): Likewise.
16267         [C99-based-standards] (SCNiPTR): Likewise.
16268         [C99-based-standards] (SCNoPTR): Likewise.
16269         [C99-based-standards] (SCNuPTR): Likewise.
16270         [C99-based-standards] (SCNxPTR): Likewise.
16271         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
16272         allow.
16273         * conform/data/stdint.h-data: Update comments to clarify
16274         requirements.
16275         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
16276         type.
16277         [C99-based standards] (INT8_MAX): Likewise.
16278         [C99-based standards] (INT16_MIN): Likewise.
16279         [C99-based standards] (INT16_MAX): Likewise.
16280         [C99-based standards] (INT32_MIN): Likewise.
16281         [C99-based standards] (INT32_MAX): Likewise.
16282         [C99-based standards] (INT64_MIN): Likewise.
16283         [C99-based standards] (INT64_MAX): Likewise.
16284         [C99-based standards] (UINT8_MAX): Likewise.
16285         [C99-based standards] (UINT16_MAX): Likewise.
16286         [C99-based standards] (UINT32_MAX): Likewise.
16287         [C99-based standards] (UINT64_MAX): Likewise.
16288         [C99-based standards] (INT_LEAST8_MIN): Likewise.
16289         [C99-based standards] (INT_LEAST8_MAX): Likewise.
16290         [C99-based standards] (INT_LEAST16_MIN): Likewise.
16291         [C99-based standards] (INT_LEAST16_MAX): Likewise.
16292         [C99-based standards] (INT_LEAST32_MIN): Likewise.
16293         [C99-based standards] (INT_LEAST32_MAX): Likewise.
16294         [C99-based standards] (INT_LEAST64_MIN): Likewise.
16295         [C99-based standards] (INT_LEAST64_MAX): Likewise.
16296         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
16297         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
16298         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
16299         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
16300         [C99-based standards] (INT_FAST8_MIN): Likewise.
16301         [C99-based standards] (INT_FAST8_MAX): Likewise.
16302         [C99-based standards] (INT_FAST16_MIN): Likewise.
16303         [C99-based standards] (INT_FAST16_MAX): Likewise.
16304         [C99-based standards] (INT_FAST32_MIN): Likewise.
16305         [C99-based standards] (INT_FAST32_MAX): Likewise.
16306         [C99-based standards] (INT_FAST64_MIN): Likewise.
16307         [C99-based standards] (INT_FAST64_MAX): Likewise.
16308         [C99-based standards] (UINT_FAST8_MAX): Likewise.
16309         [C99-based standards] (UINT_FAST16_MAX): Likewise.
16310         [C99-based standards] (UINT_FAST32_MAX): Likewise.
16311         [C99-based standards] (UINT_FAST64_MAX): Likewise.
16312         [C99-based standards] (INTPTR_MIN): Likewise.
16313         [C99-based standards] (INTPTR_MAX): Likewise.
16314         [C99-based standards] (UINTPTR_MAX): Likewise.
16315         [C99-based standards] (INTMAX_MIN): Likewise.
16316         [C99-based standards] (INTMAX_MAX): Likewise.
16317         [C99-based standards] (UINTMAX_MAX): Likewise.
16318         [C99-based standards] (PTRDIFF_MIN): Likewise.
16319         [C99-based standards] (PTRDIFF_MAX): Likewise.
16320         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
16321         [C99-based standards] (SIZE_MAX): Likewise.
16322         [C99-based standards] (WCHAR_MAX): Likewise.
16323         [C99-based standards] (WINT_MAX): Likewise.
16324         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
16325         constraint on value.
16326         [C99-based standards] (WCHAR_MIN): Likewise.
16327         [C99-based standards] (WINT_MIN): Likewise.
16328         [C99-based standards] (*_t): Allow.
16329         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
16330         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
16331         Include math.h-data and complex.h-data.  Remove all expectations
16332         of math.h and complex.h contents.
16333         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
16334         at end of line.
16335         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
16336         (struct tm): Expect tag.
16337         [C99-based-standards] (wcstof): Expect function.
16338         [C99-based-standards] (wcstold): Likewise.
16339         [C99-based-standards] (wcstoll): Likewise.
16340         [C99-based-standards] (wcstoull): Likewise.
16341         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
16342         macro-int-constant.  Specify type.
16343         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
16344         constraint on value.
16345         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16346         Specify type.
16347         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
16348         Specify value.
16349         [ISO C standards]: Do not allow headers.
16350         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
16351         wcs[abcdefghijklmnopqrstuvwxyz]*.
16352         [ISO C standards] (*_t): Do not allow.
16353         * conform/data/wctype.h-data [C99-based standards] (iswblank):
16354         Expect function.
16355         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
16356         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16357         Specify type.
16358         [ISO C standards]: Do not allow headers.
16359         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
16360         is[abcdefghijklmnopqrstuvwxyz]*.
16361         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
16362         to[abcdefghijklmnopqrstuvwxyz]*.
16363         [ISO C standards] (*_t): Do not allow.
16364         * conform/data/stdalign.h-data: New file.
16365         * conform/data/stdbool.h-data: Likewise.
16366         * conform/data/stdnoreturn.h-data: Likewise.
16368 2012-11-07  Roland McGrath  <roland@hack.frob.com>
16370         [BZ #14815]
16371         * manual/filesys.texi (Directory Entries): Typo fix.
16372         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
16374 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16376         * elf/elf.h (EM_AARCH64): New macro.
16377         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
16378         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
16379         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
16380         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
16381         (R_AARCH64_TLSDESC): Likewise.
16382         (NT_ARM_TLS): Likewise.
16383         (NT_ARM_HW_BREAK): Likewise.
16384         (NT_ARM_HW_WATCH): Likewise.
16386 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
16388         [BZ #14811]
16389         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
16390         (__ieee754_powl): Saturate nonzero exponents with absolute value
16391         below 0x1p-79 to +/- 0x1p-79.
16392         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
16393         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
16394         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
16395         nonzero exponents with absolute value below 0x1p-32 to +/-
16396         0x1p-32.
16397         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
16398         (__ieee754_powl): Saturate nonzero exponents with absolute value
16399         below 0x1p-79 to +/- 0x1p-79.
16400         * math/libm-test.inc (pow_test): Add more tests.
16402 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16404         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
16405         _dl_s390_cap_flags with kernel. Increase string length.
16406         (_dl_s390_platforms): Add z196 and zEC12.
16408 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
16410         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
16411         Change XOPEN21K to XOPEN2K.
16413 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
16415         * string/memmove.c: Use memcpy when possible.
16417 2012-11-06  Andreas Jaeger  <aj@suse.de>
16419         * po/eo.po: Update from translation team.
16421 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
16423         [BZ #14793]
16424         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
16425         exponent and small x and y exponents, scale x or y up.  Increase
16426         by 2 the exponent used in scaling up.
16427         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16428         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16429         * math/libm-test.inc (fma_test): Add more tests.
16430         (fma_test_towardzero): Likewise.
16431         (fma_test_downward): Likewise.
16432         (fma_test_upward): Likewise.
16434 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
16436         [BZ #14805]
16437         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
16438         fenv_t *.
16440         [BZ #14801]
16441         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
16442         namespace for names of struct fields.
16443         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
16444         fenv_t fields.
16445         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
16446         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
16448 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16450         [BZ #3665]
16451         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
16453 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
16455         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
16456         PTR_DEMANGLE.
16458         [BZ #5246]
16459         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
16460         PTR_DEMANGLE.
16462 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
16464         [BZ #14797]
16465         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
16466         definitely overflow as x * y not x * y + z.
16467         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16468         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16469         * math/libm-test.inc (fma_test): Add more tests.
16470         (fma_test_towardzero): Likewise.
16471         (fma_test_downward): Likewise.
16472         (fma_test_upward): Likewise.
16474 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
16476         [BZ #157]
16478         * include/stub-tag.h: Remove file.
16479         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
16480         '#include' of it.
16481         * manual/maint.texi (Porting): Don't reference it.
16482         * Makerules ($(objpfx)stubs): Likewise.
16483         * dirent/closedir.c: Don't include <stub-tag.h>.
16484         * dirent/dirfd.c: Likewise.
16485         * dirent/fdopendir.c: Likewise.
16486         * dirent/getdents.c: Likewise.
16487         * dirent/getdents64.c: Likewise.
16488         * dirent/opendir.c: Likewise.
16489         * dirent/readdir.c: Likewise.
16490         * dirent/readdir64.c: Likewise.
16491         * dirent/readdir64_r.c: Likewise.
16492         * dirent/readdir_r.c: Likewise.
16493         * dirent/rewinddir.c: Likewise.
16494         * dirent/seekdir.c: Likewise.
16495         * dirent/telldir.c: Likewise.
16496         * gmon/profil.c: Likewise.
16497         * grp/setgroups.c: Likewise.
16498         * inet/if_index.c: Likewise.
16499         * io/access.c: Likewise.
16500         * io/chdir.c: Likewise.
16501         * io/chmod.c: Likewise.
16502         * io/chown.c: Likewise.
16503         * io/close.c: Likewise.
16504         * io/dup.c: Likewise.
16505         * io/dup2.c: Likewise.
16506         * io/dup3.c: Likewise.
16507         * io/euidaccess.c: Likewise.
16508         * io/faccessat.c: Likewise.
16509         * io/fchdir.c: Likewise.
16510         * io/fchmod.c: Likewise.
16511         * io/fchmodat.c: Likewise.
16512         * io/fchown.c: Likewise.
16513         * io/fchownat.c: Likewise.
16514         * io/fcntl.c: Likewise.
16515         * io/flock.c: Likewise.
16516         * io/fstatfs.c: Likewise.
16517         * io/fstatfs64.c: Likewise.
16518         * io/fstatvfs.c: Likewise.
16519         * io/fstatvfs64.c: Likewise.
16520         * io/futimens.c: Likewise.
16521         * io/fxstat.c: Likewise.
16522         * io/fxstat64.c: Likewise.
16523         * io/fxstatat.c: Likewise.
16524         * io/fxstatat64.c: Likewise.
16525         * io/getcwd.c: Likewise.
16526         * io/isatty.c: Likewise.
16527         * io/lchmod.c: Likewise.
16528         * io/lchown.c: Likewise.
16529         * io/link.c: Likewise.
16530         * io/linkat.c: Likewise.
16531         * io/lseek.c: Likewise.
16532         * io/lseek64.c: Likewise.
16533         * io/lxstat64.c: Likewise.
16534         * io/mkdir.c: Likewise.
16535         * io/mkdirat.c: Likewise.
16536         * io/mkfifo.c: Likewise.
16537         * io/mkfifoat.c: Likewise.
16538         * io/open.c: Likewise.
16539         * io/open64.c: Likewise.
16540         * io/openat.c: Likewise.
16541         * io/openat64.c: Likewise.
16542         * io/pipe.c: Likewise.
16543         * io/pipe2.c: Likewise.
16544         * io/poll.c: Likewise.
16545         * io/posix_fadvise.c: Likewise.
16546         * io/posix_fadvise64.c: Likewise.
16547         * io/posix_fallocate.c: Likewise.
16548         * io/posix_fallocate64.c: Likewise.
16549         * io/read.c: Likewise.
16550         * io/readlink.c: Likewise.
16551         * io/readlinkat.c: Likewise.
16552         * io/rmdir.c: Likewise.
16553         * io/sendfile.c: Likewise.
16554         * io/sendfile64.c: Likewise.
16555         * io/statfs.c: Likewise.
16556         * io/statfs64.c: Likewise.
16557         * io/statvfs.c: Likewise.
16558         * io/statvfs64.c: Likewise.
16559         * io/symlink.c: Likewise.
16560         * io/symlinkat.c: Likewise.
16561         * io/ttyname.c: Likewise.
16562         * io/ttyname_r.c: Likewise.
16563         * io/umask.c: Likewise.
16564         * io/unlink.c: Likewise.
16565         * io/unlinkat.c: Likewise.
16566         * io/utime.c: Likewise.
16567         * io/utimensat.c: Likewise.
16568         * io/write.c: Likewise.
16569         * io/xmknod.c: Likewise.
16570         * io/xmknodat.c: Likewise.
16571         * io/xstat.c: Likewise.
16572         * io/xstat64.c: Likewise.
16573         * login/getpt.c: Likewise.
16574         * login/grantpt.c: Likewise.
16575         * login/unlockpt.c: Likewise.
16576         * math/e_acoshl.c: Likewise.
16577         * math/e_acosl.c: Likewise.
16578         * math/e_asinl.c: Likewise.
16579         * math/e_atan2l.c: Likewise.
16580         * math/e_atanhl.c: Likewise.
16581         * math/e_coshl.c: Likewise.
16582         * math/e_expl.c: Likewise.
16583         * math/e_fmodl.c: Likewise.
16584         * math/e_gammal_r.c: Likewise.
16585         * math/e_hypotl.c: Likewise.
16586         * math/e_j0l.c: Likewise.
16587         * math/e_j1l.c: Likewise.
16588         * math/e_jnl.c: Likewise.
16589         * math/e_lgammal_r.c: Likewise.
16590         * math/e_log10l.c: Likewise.
16591         * math/e_log2l.c: Likewise.
16592         * math/e_logl.c: Likewise.
16593         * math/e_powl.c: Likewise.
16594         * math/e_rem_pio2l.c: Likewise.
16595         * math/e_sinhl.c: Likewise.
16596         * math/e_sqrtl.c: Likewise.
16597         * math/fclrexcpt.c: Likewise.
16598         * math/fedisblxcpt.c: Likewise.
16599         * math/feenablxcpt.c: Likewise.
16600         * math/fegetenv.c: Likewise.
16601         * math/fegetexcept.c: Likewise.
16602         * math/fegetround.c: Likewise.
16603         * math/feholdexcpt.c: Likewise.
16604         * math/fesetenv.c: Likewise.
16605         * math/fesetround.c: Likewise.
16606         * math/feupdateenv.c: Likewise.
16607         * math/fgetexcptflg.c: Likewise.
16608         * math/fraiseexcpt.c: Likewise.
16609         * math/fsetexcptflg.c: Likewise.
16610         * math/ftestexcept.c: Likewise.
16611         * math/k_cosl.c: Likewise.
16612         * math/k_rem_pio2l.c: Likewise.
16613         * math/k_sinl.c: Likewise.
16614         * math/k_tanl.c: Likewise.
16615         * math/s_asinhl.c: Likewise.
16616         * math/s_atanl.c: Likewise.
16617         * math/s_cbrtl.c: Likewise.
16618         * math/s_erfl.c: Likewise.
16619         * math/s_expm1l.c: Likewise.
16620         * math/s_log1pl.c: Likewise.
16621         * math/s_tanhl.c: Likewise.
16622         * misc/acct.c: Likewise.
16623         * misc/brk.c: Likewise.
16624         * misc/chflags.c: Likewise.
16625         * misc/chroot.c: Likewise.
16626         * misc/fchflags.c: Likewise.
16627         * misc/fgetxattr.c: Likewise.
16628         * misc/flistxattr.c: Likewise.
16629         * misc/fremovexattr.c: Likewise.
16630         * misc/fsetxattr.c: Likewise.
16631         * misc/fsync.c: Likewise.
16632         * misc/ftruncate.c: Likewise.
16633         * misc/futimes.c: Likewise.
16634         * misc/futimesat.c: Likewise.
16635         * misc/getdomain.c: Likewise.
16636         * misc/getdtsz.c: Likewise.
16637         * misc/gethostid.c: Likewise.
16638         * misc/gethostname.c: Likewise.
16639         * misc/getloadavg.c: Likewise.
16640         * misc/getpagesize.c: Likewise.
16641         * misc/getsysstats.c: Likewise.
16642         * misc/getxattr.c: Likewise.
16643         * misc/gtty.c: Likewise.
16644         * misc/ioctl.c: Likewise.
16645         * misc/lgetxattr.c: Likewise.
16646         * misc/listxattr.c: Likewise.
16647         * misc/llistxattr.c: Likewise.
16648         * misc/lremovexattr.c: Likewise.
16649         * misc/lsetxattr.c: Likewise.
16650         * misc/lutimes.c: Likewise.
16651         * misc/madvise.c: Likewise.
16652         * misc/mincore.c: Likewise.
16653         * misc/mlock.c: Likewise.
16654         * misc/mlockall.c: Likewise.
16655         * misc/mmap.c: Likewise.
16656         * misc/mprotect.c: Likewise.
16657         * misc/msync.c: Likewise.
16658         * misc/munlock.c: Likewise.
16659         * misc/munlockall.c: Likewise.
16660         * misc/munmap.c: Likewise.
16661         * misc/preadv.c: Likewise.
16662         * misc/preadv64.c: Likewise.
16663         * misc/ptrace.c: Likewise.
16664         * misc/pwritev.c: Likewise.
16665         * misc/pwritev64.c: Likewise.
16666         * misc/readv.c: Likewise.
16667         * misc/reboot.c: Likewise.
16668         * misc/remap_file_pages.c: Likewise.
16669         * misc/removexattr.c: Likewise.
16670         * misc/revoke.c: Likewise.
16671         * misc/select.c: Likewise.
16672         * misc/setdomain.c: Likewise.
16673         * misc/setegid.c: Likewise.
16674         * misc/seteuid.c: Likewise.
16675         * misc/sethostid.c: Likewise.
16676         * misc/sethostname.c: Likewise.
16677         * misc/setregid.c: Likewise.
16678         * misc/setreuid.c: Likewise.
16679         * misc/setxattr.c: Likewise.
16680         * misc/sstk.c: Likewise.
16681         * misc/stty.c: Likewise.
16682         * misc/swapoff.c: Likewise.
16683         * misc/swapon.c: Likewise.
16684         * misc/sync.c: Likewise.
16685         * misc/syncfs.c: Likewise.
16686         * misc/syscall.c: Likewise.
16687         * misc/truncate.c: Likewise.
16688         * misc/ualarm.c: Likewise.
16689         * misc/usleep.c: Likewise.
16690         * misc/ustat.c: Likewise.
16691         * misc/utimes.c: Likewise.
16692         * misc/vhangup.c: Likewise.
16693         * misc/writev.c: Likewise.
16694         * posix/_exit.c: Likewise.
16695         * posix/alarm.c: Likewise.
16696         * posix/execve.c: Likewise.
16697         * posix/fexecve.c: Likewise.
16698         * posix/fork.c: Likewise.
16699         * posix/fpathconf.c: Likewise.
16700         * posix/getaddrinfo.c: Likewise.
16701         * posix/getegid.c: Likewise.
16702         * posix/geteuid.c: Likewise.
16703         * posix/getgid.c: Likewise.
16704         * posix/getgroups.c: Likewise.
16705         * posix/getlogin.c: Likewise.
16706         * posix/getlogin_r.c: Likewise.
16707         * posix/getpgid.c: Likewise.
16708         * posix/getpid.c: Likewise.
16709         * posix/getppid.c: Likewise.
16710         * posix/getresgid.c: Likewise.
16711         * posix/getresuid.c: Likewise.
16712         * posix/getsid.c: Likewise.
16713         * posix/getuid.c: Likewise.
16714         * posix/glob64.c: Likewise.
16715         * posix/nanosleep.c: Likewise.
16716         * posix/pathconf.c: Likewise.
16717         * posix/pause.c: Likewise.
16718         * posix/posix_madvise.c: Likewise.
16719         * posix/pread.c: Likewise.
16720         * posix/pread64.c: Likewise.
16721         * posix/pwrite.c: Likewise.
16722         * posix/pwrite64.c: Likewise.
16723         * posix/sched_getaffinity.c: Likewise.
16724         * posix/sched_getp.c: Likewise.
16725         * posix/sched_gets.c: Likewise.
16726         * posix/sched_primax.c: Likewise.
16727         * posix/sched_primin.c: Likewise.
16728         * posix/sched_rr_gi.c: Likewise.
16729         * posix/sched_setaffinity.c: Likewise.
16730         * posix/sched_setp.c: Likewise.
16731         * posix/sched_sets.c: Likewise.
16732         * posix/sched_yield.c: Likewise.
16733         * posix/setgid.c: Likewise.
16734         * posix/setlogin.c: Likewise.
16735         * posix/setpgid.c: Likewise.
16736         * posix/setresgid.c: Likewise.
16737         * posix/setresuid.c: Likewise.
16738         * posix/setsid.c: Likewise.
16739         * posix/setuid.c: Likewise.
16740         * posix/sleep.c: Likewise.
16741         * posix/spawni.c: Likewise.
16742         * posix/sysconf.c: Likewise.
16743         * posix/times.c: Likewise.
16744         * posix/wait.c: Likewise.
16745         * posix/wait3.c: Likewise.
16746         * posix/wait4.c: Likewise.
16747         * posix/waitpid.c: Likewise.
16748         * resolv/gai_sigqueue.c: Likewise.
16749         * resource/getpriority.c: Likewise.
16750         * resource/getrlimit.c: Likewise.
16751         * resource/getrusage.c: Likewise.
16752         * resource/nice.c: Likewise.
16753         * resource/setpriority.c: Likewise.
16754         * resource/setrlimit.c: Likewise.
16755         * resource/ulimit.c: Likewise.
16756         * rt/aio_cancel.c: Likewise.
16757         * rt/aio_fsync.c: Likewise.
16758         * rt/aio_read.c: Likewise.
16759         * rt/aio_sigqueue.c: Likewise.
16760         * rt/aio_suspend.c: Likewise.
16761         * rt/aio_write.c: Likewise.
16762         * rt/clock_getres.c: Likewise.
16763         * rt/clock_gettime.c: Likewise.
16764         * rt/clock_nanosleep.c: Likewise.
16765         * rt/clock_settime.c: Likewise.
16766         * rt/lio_listio.c: Likewise.
16767         * rt/mq_close.c: Likewise.
16768         * rt/mq_getattr.c: Likewise.
16769         * rt/mq_notify.c: Likewise.
16770         * rt/mq_open.c: Likewise.
16771         * rt/mq_receive.c: Likewise.
16772         * rt/mq_send.c: Likewise.
16773         * rt/mq_setattr.c: Likewise.
16774         * rt/mq_timedreceive.c: Likewise.
16775         * rt/mq_timedsend.c: Likewise.
16776         * rt/mq_unlink.c: Likewise.
16777         * rt/shm_open.c: Likewise.
16778         * rt/shm_unlink.c: Likewise.
16779         * rt/timer_create.c: Likewise.
16780         * rt/timer_delete.c: Likewise.
16781         * rt/timer_getoverr.c: Likewise.
16782         * rt/timer_gettime.c: Likewise.
16783         * rt/timer_settime.c: Likewise.
16784         * setjmp/__longjmp.c: Likewise.
16785         * setjmp/setjmp.c: Likewise.
16786         * signal/kill.c: Likewise.
16787         * signal/killpg.c: Likewise.
16788         * signal/raise.c: Likewise.
16789         * signal/sigaction.c: Likewise.
16790         * signal/sigaltstack.c: Likewise.
16791         * signal/sigblock.c: Likewise.
16792         * signal/sigignore.c: Likewise.
16793         * signal/sigintr.c: Likewise.
16794         * signal/signal.c: Likewise.
16795         * signal/sigpause.c: Likewise.
16796         * signal/sigpending.c: Likewise.
16797         * signal/sigqueue.c: Likewise.
16798         * signal/sigreturn.c: Likewise.
16799         * signal/sigset.c: Likewise.
16800         * signal/sigsetmask.c: Likewise.
16801         * signal/sigstack.c: Likewise.
16802         * signal/sigsuspend.c: Likewise.
16803         * signal/sigtimedwait.c: Likewise.
16804         * signal/sigvec.c: Likewise.
16805         * signal/sigwait.c: Likewise.
16806         * signal/sigwaitinfo.c: Likewise.
16807         * signal/sysv_signal.c: Likewise.
16808         * socket/accept.c: Likewise.
16809         * socket/accept4.c: Likewise.
16810         * socket/bind.c: Likewise.
16811         * socket/connect.c: Likewise.
16812         * socket/getpeername.c: Likewise.
16813         * socket/getsockname.c: Likewise.
16814         * socket/getsockopt.c: Likewise.
16815         * socket/isfdtype.c: Likewise.
16816         * socket/listen.c: Likewise.
16817         * socket/recv.c: Likewise.
16818         * socket/recvfrom.c: Likewise.
16819         * socket/recvmsg.c: Likewise.
16820         * socket/send.c: Likewise.
16821         * socket/sendmsg.c: Likewise.
16822         * socket/sendto.c: Likewise.
16823         * socket/setsockopt.c: Likewise.
16824         * socket/shutdown.c: Likewise.
16825         * socket/sockatmark.c: Likewise.
16826         * socket/socket.c: Likewise.
16827         * socket/socketpair.c: Likewise.
16828         * stdio-common/ctermid.c: Likewise.
16829         * stdio-common/cuserid.c: Likewise.
16830         * stdio-common/remove.c: Likewise.
16831         * stdio-common/rename.c: Likewise.
16832         * stdio-common/renameat.c: Likewise.
16833         * stdio-common/tempname.c: Likewise.
16834         * stdlib/getcontext.c: Likewise.
16835         * stdlib/makecontext.c: Likewise.
16836         * stdlib/setcontext.c: Likewise.
16837         * stdlib/swapcontext.c: Likewise.
16838         * stdlib/system.c: Likewise.
16839         * streams/fattach.c: Likewise.
16840         * streams/fdetach.c: Likewise.
16841         * streams/getmsg.c: Likewise.
16842         * streams/getpmsg.c: Likewise.
16843         * streams/putmsg.c: Likewise.
16844         * streams/putpmsg.c: Likewise.
16845         * sysdeps/unix/bsd/getpt.c: Likewise.
16846         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
16847         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
16848         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
16849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
16850         Likewise.
16851         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
16852         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
16853         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
16854         * sysvipc/msgctl.c: Likewise.
16855         * sysvipc/msgget.c: Likewise.
16856         * sysvipc/msgrcv.c: Likewise.
16857         * sysvipc/msgsnd.c: Likewise.
16858         * sysvipc/semctl.c: Likewise.
16859         * sysvipc/semget.c: Likewise.
16860         * sysvipc/semop.c: Likewise.
16861         * sysvipc/semtimedop.c: Likewise.
16862         * sysvipc/shmat.c: Likewise.
16863         * sysvipc/shmctl.c: Likewise.
16864         * sysvipc/shmdt.c: Likewise.
16865         * sysvipc/shmget.c: Likewise.
16866         * termios/tcdrain.c: Likewise.
16867         * termios/tcflow.c: Likewise.
16868         * termios/tcflush.c: Likewise.
16869         * termios/tcgetattr.c: Likewise.
16870         * termios/tcgetpgrp.c: Likewise.
16871         * termios/tcsendbrk.c: Likewise.
16872         * termios/tcsetattr.c: Likewise.
16873         * termios/tcsetpgrp.c: Likewise.
16874         * time/adjtime.c: Likewise.
16875         * time/clock.c: Likewise.
16876         * time/getitimer.c: Likewise.
16877         * time/gettimeofday.c: Likewise.
16878         * time/setitimer.c: Likewise.
16879         * time/settimeofday.c: Likewise.
16880         * time/stime.c: Likewise.
16881         * time/time.c: Likewise.
16883 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
16885         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
16886         /usr/old/bin.
16888         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
16889         instead of spaces.
16890         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
16892 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
16894         [BZ #14796]
16895         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
16896         FE_TONEAREST before applying Dekker multiplication and Knuth
16897         addition.  Clear inexact exceptions and check for exact zero
16898         results afterwards.
16899         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16900         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16901         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16902         * math/libm-test.inc (fma_test): Add more tests.
16903         (fma_test_towardzero): Likewise.
16904         (fma_test_downward): Likewise.
16905         (fma_test_upward): Likewise.
16906         * sysdeps/generic/math_private.h (default_libc_fesetround): New
16907         function.
16908         (libc_fesetround): New macro.
16909         (libc_fesetroundf): Likewise.
16910         (libc_fesetroundl): Likewise.
16911         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
16912         function.
16913         (libc_fesetround_387): Likewise.
16914         (libc_fesetroundf): New macro.
16915         (libc_fesetround): Likewise.
16916         (libc_fesetroundl): Likewise.
16917         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
16918         function.
16919         (libc_fesetroundf): New macro.
16920         (libc_fesetround): Likewise.
16921         (libc_fesetroundl): Likewise.
16922         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
16923         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
16924         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
16925         libm_hidden_ver.
16926         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
16927         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
16928         libm_hidden_def.
16929         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
16930         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
16931         libm_hidden_ver.
16932         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
16933         libm_hidden_def.
16935         [BZ #3439]
16936         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
16937         integer constant usable in #if and use that to give value to enum
16938         constant.
16939         (FE_DIVBYZERO): Likewise.
16940         (FE_UNDERFLOW): Likewise.
16941         (FE_OVERFLOW): Likewise.
16942         (FE_INVALID): Likewise.
16943         (FE_INVALID_SNAN): Likewise.
16944         (FE_INVALID_ISI): Likewise.
16945         (FE_INVALID_IDI): Likewise.
16946         (FE_INVALID_ZDZ): Likewise.
16947         (FE_INVALID_IMZ): Likewise.
16948         (FE_INVALID_COMPARE): Likewise.
16949         (FE_INVALID_SOFTWARE): Likewise.
16950         (FE_INVALID_SQRT): Likewise.
16951         (FE_INVALID_INTEGER_CONVERSION): Likewise.
16952         (FE_TONEAREST): Likewise.
16953         (FE_TOWARDZERO): Likewise.
16954         (FE_UPWARD): Likewise.
16955         (FE_DOWNWARD): Likewise.
16956         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
16957         (FE_DIVBYZERO): Likewise.
16958         (FE_OVERFLOW): Likewise.
16959         (FE_UNDERFLOW): Likewise.
16960         (FE_INEXACT): Likewise.
16961         (FE_TONEAREST): Likewise.
16962         (FE_DOWNWARD): Likewise.
16963         (FE_UPWARD): Likewise.
16964         (FE_TOWARDZERO): Likewise.
16965         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
16966         (FE_UNDERFLOW): Likewise.
16967         (FE_OVERFLOW): Likewise.
16968         (FE_DIVBYZERO): Likewise.
16969         (FE_INVALID): Likewise.
16970         (FE_TONEAREST): Likewise.
16971         (FE_TOWARDZERO): Likewise.
16972         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
16973         (FE_OVERFLOW): Likewise.
16974         (FE_UNDERFLOW): Likewise.
16975         (FE_DIVBYZERO): Likewise.
16976         (FE_INEXACT): Likewise.
16977         (FE_TONEAREST): Likewise.
16978         (FE_TOWARDZERO): Likewise.
16979         (FE_UPWARD): Likewise.
16980         (FE_DOWNWARD): Likewise.
16981         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
16982         (FE_DIVBYZERO): Likewise.
16983         (FE_OVERFLOW): Likewise.
16984         (FE_UNDERFLOW): Likewise.
16985         (FE_INEXACT): Likewise.
16986         (FE_TONEAREST): Likewise.
16987         (FE_DOWNWARD): Likewise.
16988         (FE_UPWARD): Likewise.
16989         (FE_TOWARDZERO): Likewise.
16991 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
16993         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
16995 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
16997         * scripts/cross-test-ssh.sh (command): Use newlines to separate
16998         commands.  Quote $PWD.
16999         (blacklist_exports): Don't use remove_newlines.  Replace "declare
17000         -x" by "export".
17001         (remove_newlines): Remove.
17003 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
17005         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
17006         * stdlib/stdlib.h (atof): Moved to ...
17007         * include/bits/stdlib-float.h: Here.  New file.
17008         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
17009         * stdlib/bits/stdlib-float.h: New file.
17010         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
17011         -mno-sse -mno-mmx.
17012         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
17013         <xmmintrin.h>.
17015 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
17017         * conform/conformtest.pl (@headers): Add fenv.h.
17018         * conform/data/fenv.h-data: New file.
17019         * include/fenv.h [_ISOMAC]: Disable all contents of file except
17020         include of <math/fenv.h>.
17022         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
17023         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
17024         && !UNIX98].  Enables tests for XOPEN2K8.
17025         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
17026         POSIX2008]: Likewise.
17028         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
17029         (struct rusage): Do not expect type or its members.
17031         [BZ #3439]
17032         * math/math.h (FP_NAN): Define macro to integer constant usable in
17033         #if and use that to give value to enum constant.
17034         (FP_INFINITE): Likewise.
17035         (FP_ZERO): Likewise.
17036         (FP_SUBNORMAL): Likewise.
17037         (FP_NORMAL): Likewise.
17039 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
17041         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
17042         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
17043         arguments.
17045 2012-11-02  Roland McGrath  <roland@hack.frob.com>
17047         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
17048         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
17049         autoconf-time if not.
17050         * configure.in: Remove AC_PREREQ.
17052 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17054         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
17055         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
17056         of the internal implementation.
17058 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
17060         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
17061         except include of <misc/sys/syslog.h>.
17063 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
17065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
17066         function returns with a NULL context exit with zero.
17068 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17070         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
17072 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
17074         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
17075         (run_program_cmd): This.
17076         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
17077         (tst_langinfo): New variable.  Use it.
17079 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
17081         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
17082         floating point opcodes.
17084 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
17086         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
17087         variable.
17089         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
17091         * sysdeps/mach/hurd/powerpc: Remove directory.
17092         * sysdeps/mach/powerpc: Likewise.
17094 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
17096         * scripts/check-local-headers.sh: Ignore c++ headers.
17098 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
17100         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
17101         __libc_cleanup_region_start argument.
17103 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
17105         [BZ #14784]
17106         [BZ #14785]
17107         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
17108         x * y using scaling, not as x * y + z.
17109         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17110         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17111         * math/libm-test.inc (fma_test): Add more tests.
17112         (fma_test_towardzero): Likewise.
17113         (fma_test_downward): Likewise.
17114         (fma_test_upward): Likewise.
17116 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
17118         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
17120 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
17122         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
17123         New variable.
17125 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
17127         * rt/tst-shm.c (worker): Correct checking for mmap failure.
17129 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
17131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17132         Fix sort order.
17133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17134         Likewise.
17136 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17139         Fix the order of the list for glibc 2.17.
17140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17141         Likewise.
17143 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
17145         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17147 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
17149         [BZ #14610]
17150         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
17151         for low part of x being zero before using __atanl (y).
17152         * math/libm-test.inc (atan2_test): Add another test.
17154         * manual/install.texi (Configuring and compiling): Document
17155         general use of test-wrapper and test-wrapper-env.
17156         * INSTALL: Regenerated.
17158         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
17159         (__fma): Do not extract and scale down low bits on after-rounding
17160         systems when result rounded to normal precision would have normal
17161         exponent.
17162         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
17163         (__fmal): Do not extract and scale down low bits on after-rounding
17164         systems when result rounded to normal precision would have normal
17165         exponent.
17166         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
17167         (__fmal): Do not extract and scale down low bits on after-rounding
17168         systems when result rounded to normal precision would have normal
17169         exponent.
17170         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
17171         macro.
17172         (fma_test): Add more tests.
17173         (fma_test_towardzero): Likewise.
17174         (fma_test_downward): Likewise.
17175         (fma_test_upward): Likewise.
17177 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
17179         * sysdeps/i386/tininess.h: Renamed to ...
17180         * sysdeps/x86/tininess.h: This.
17181         * sysdeps/x86_64/tininess.h: Removed.
17183 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
17185         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
17186         input.  Use $(build-program-cmd).
17187         ($(objpfx)tst-array1-static.out): Likewise.
17188         ($(objpfx)tst-array2.out): Likewise.
17189         ($(objpfx)tst-array3.out): Likewise.
17190         ($(objpfx)tst-array4.out): Likewise.
17191         ($(objpfx)tst-array5.out): Likewise.
17192         ($(objpfx)tst-array5-static.out): Likewise.
17194 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
17196         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
17197         if defined.
17199         * nss/nsswitch.h (nss_interface_function): Provide new
17200         macro for use with NSS functions.
17201         * grp/initgroups.c: Use new macro.
17202         * nss/getXXbyYY.c: Likewise.
17203         * nss/getXXbyYY_r.c: Likewise.
17204         * nss/getXXent.c: Likewise.
17205         * nss/getXXent_r.c: Likewise.
17206         * sysdeps/posix/getaddrinfo.c: Likewise.
17208 2012-10-30  Andreas Jaeger  <aj@suse.de>
17210         * po/ru.po: Update Russion translation from translation project.
17212 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
17214         [BZ #14152]
17215         [BZ #14783]
17216         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
17217         result and shift together with sticky bit instead of replicating
17218         round-to-nearest rounding.
17219         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17220         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17221         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
17222         missing underflow exceptions.
17223         (fma_test_towardzero): Add more tests.
17224         (fma_test_downward): Likewise.
17225         (fma_test_upward): Likewise.
17227         [BZ #14047]
17228         * sysdeps/generic/tininess.h: New file.
17229         * sysdeps/i386/tininess.h: Likewise.
17230         * sysdeps/sh/tininess.h: Likewise.
17231         * sysdeps/x86_64/tininess.h: Likewise.
17232         * stdlib/tst-strtod-underflow.c: Likewise.
17233         * stdlib/tst-tininess.c: Likewise.
17234         * stdlib/strtod_l.c: Include <tininess.h>.
17235         (round_and_return): Do not set errno for exact underflow cases.
17236         Force an underflow exception when setting errno for underflow.
17237         Determine underflow based on rounding to normal precision if
17238         TININESS_AFTER_ROUNDING.
17239         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
17240         ERANGE for exact underflow cases.
17241         * stdlib/Makefile (tests): Add tst-tininess and
17242         tst-strtod-underflow.
17243         ($(objpfx)tst-tininess): Use $(link-libm).
17244         ($(objpfx)tst-strtod-underflow): Likewise.
17246 2012-10-30  Andreas Jaeger  <aj@suse.de>
17248         [BZ#14767]
17249         * elf/Makefile (tests): Remove conditional for have-initfini-array
17250         since this is now always required and the variable does not exist
17251         anymore.
17252         (tests-static): Likewise.
17253         (modules-names): Likewise.
17255         * po/eo.po: Add Esperanto translation from translation project.
17257         * elf/tst-array1.c (fini_array): Make writeable so that it can be
17258         merged with constructor/destructor.
17259         (init_array): Likewise.
17260         * elf/tst-array2dep.c (fini_array): Likewise.
17261         (init_array): Likewise.
17263 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
17265         * manual/message.texi: Delete @cartouche tags.
17267 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
17269         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
17270         EOPNOTSUPP.
17271         * sysdeps/mach/hurd/fsync.c: Likewise.
17273         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
17274         [_POSIX_REALTIME_SIGNALS]: Change condition to
17275         [_POSIX_REALTIME_SIGNALS > 0].
17277 2012-10-27  Andreas Jaeger  <aj@suse.de>
17279         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
17280         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
17281         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
17282         [__WORDSIZE != 64]: Likewise.
17284 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
17286         *  iconvdata/tst-table.sh: Remove ${SHELL}.
17287         *  iconvdata/tst-tables.sh: Likewise.
17289 2012-10-25  David S. Miller  <davem@davemloft.net>
17291         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17292         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
17293         of strtoull.
17295         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
17296         ifunc-impl-list.c
17297         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17298         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
17299         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
17300         file.
17302 2012-10-25  Roland McGrath  <roland@hack.frob.com>
17304         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17305         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
17306         __getdirentries.
17308 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
17309             Jim Blandy  <jimb@codesourcery.com>
17311         * scripts/cross-test-ssh.sh: New file.
17312         * manual/install.texi (Configuring and compiling): Document use of
17313         cross-test-ssh.sh.
17314         * INSTALL: Regenerated.
17316 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
17318         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
17319         EOPNOTSUPP.
17321 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
17323         * Makeconfig (run-program-prefix): Fix comment.
17325 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
17326             Jim Blandy  <jimb@codesourcery.com>
17328         * Makeconfig (test-wrapper): New variable,
17329         (test-wrapper-env): Likewise.
17330         [$(cross-compiling) = yes && $(test-wrapper) != ""]
17331         (run-built-tests): Define to yes.
17332         (run-program-prefix): Use $(test-wrapper).
17333         (built-program-cmd): Likewise.
17334         * Rules (make-test-out): Use $(test-wrapper-env) and
17335         $(host-built-program-cmd).
17336         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
17337         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
17338         tst-pathopt.sh.
17339         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
17340         $(test-wrapper-env) to tst-rtld-load-self.sh.
17341         ($(objpfx)order2.out): Use $(test-wrapper).
17342         ($(objpfx)tst-initorder.out): Likewise.
17343         ($(objpfx)tst-initorder2.out): Likewise.
17344         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
17345         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
17346         (test_wrapper_env): New variable.  Use it to run ld.so.
17347         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
17348         Use it to run ld.so.
17349         (test_wrapper_env): Likewise.
17350         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
17351         $(test-wrapper) to run-iconv-test.sh.
17352         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
17353         (ICONV): Use $test_wrapper.
17354         * posix/Makefile ($(objpfx)globtest.out): Pass
17355         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
17356         globtest.sh, not $(run-program-prefix).
17357         * posix/globtest.sh (run_via_rtld_prefix): New variable.
17358         (test_wrapper): Likewise.
17359         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
17360         set together with run_via_rtld_prefix.
17361         (run_program_prefix): Define in terms of test_wrapper and
17362         run_via_rtld_prefix.
17364 2012-10-24  Roland McGrath  <roland@hack.frob.com>
17366         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
17367         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
17368         Targets removed.
17370         [BZ #14743]
17371         * include/time.h: Remove librt_hidden_proto (clock_gettime).
17372         Declare __clock_getres, __clock_gettime, __clock_settime,
17373         __clock_nanosleep, and __clock_getcpuclockid.
17374         * rt/clock_gettime.c: Define __clock_gettime as an alias.
17375         Remove librt_hidden_def (clock_gettime).
17376         * sysdeps/unix/clock_gettime.c: Likewise.
17377         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
17378         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
17379         * rt/clock_getres.c: Define __clock_getres as an alias.
17380         * sysdeps/posix/clock_getres.c: Likewise.
17381         * rt/clock_settime.c: Define __clock_settime as an alias.
17382         * sysdeps/unix/clock_settime.c: Likewise.
17383         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
17384         * sysdeps/unix/clock_nanosleep.c: Likewise.
17385         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
17386         * rt/clock-compat.c: New file.
17387         * rt/Makefile (librt-routines): Add clock-compat and move
17388         $(clock-routines) to ...
17389         (routines): ... here, new variable.
17390         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
17391         Don't add get_clockfreq here.
17392         * rt/Versions (libc: GLIBC_2.17): New version set.
17393         Add clock_* symbols here.
17394         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
17395         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
17396         (GLIBC_2.17): Add clock_* symbols.
17397         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
17398         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
17399         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17401         Likewise.
17402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17403         Likewise.
17404         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17405         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
17406         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
17407         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
17408         * NEWS: Mention the move.
17410         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
17411         Use __open, __read, __close rather than their public counterparts.
17412         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17413         (__get_clockfreq_via_cpuinfo): Likewise.
17414         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
17415         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
17417         * config.h.in (HAVE_IFUNC): New #undef.
17418         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
17419         was successful.
17420         * configure: Regenerated.
17422 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
17424         * configure.in: Move READELF check to start of file.
17425         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
17426         libc_cv_asm_gnu_indirect_function in the process.
17427         * configure: Regenerated.
17429 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
17431         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
17432         send the output to /dev/null.
17433         (libc_cv_cc_with_libunwind): Likewise.
17434         (libc_cv_as_noexecstack): Likewise.
17435         * configure: Regenerate.
17437 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
17439         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
17441         * posix/globtest.sh (TMPDIR): Do not set.
17442         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
17443         (testout): Likewise.
17445 2012-10-24  Andreas Jaeger  <aj@suse.de>
17447         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
17448         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
17449         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
17450         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
17451         posix_fadvise64, posix_fallocate64.
17453         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
17454         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
17455         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
17456         Likewise.
17457         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
17458         Likewise.
17459         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
17461         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
17462         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
17463         <bits/fcntl-linux.h>.
17464         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
17466         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
17467         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
17468         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
17469         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
17470         [__WORDSIZE != 64]: Likewise.
17472 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
17474         * Makeconfig (run-built-tests): New variable.
17475         * Rules [$(cross-compiling) = yes]: Change condition to
17476         [$(run-built-tests) = no].
17477         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
17478         to [$(run-built-tests) = yes].
17479         * elf/Makefile [$(cross-compiling) = no]: Likewise
17480         * grp/Makefile [$(cross-compiling) = no]: Likewise.
17481         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
17482         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
17483         * intl/Makefile [$(cross-compiling) = no]: Likewise.
17484         * io/Makefile [$(cross-compiling) = no]: Likewise.
17485         * libio/Makefile [$(cross-compiling) = no]: Likewise.
17486         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
17487         * misc/Makefile [$(cross-compiling) = no]: Likewise.
17488         * posix/Makefile [$(cross-compiling) = no]: Likewise.
17489         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
17490         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
17491         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
17492         * string/Makefile [$(cross-compiling) = no]: Likewise.
17494         * posix/Makefile ($(objpfx)globtest.out): Pass
17495         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
17496         $(rtld-installed-name).
17497         * posix/globtest.sh (elf_objpfx): Remove variable.
17498         (rtld_installed_name): Likewise.
17499         (library_path): Likewise.
17500         (run_program_prefix): New variable.  Use for running globtest
17501         binary.
17503 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
17504             Joseph Myers  <joseph@codesourcery.com>
17506         * Makeconfig (host-built-program-cmd): New variable.
17507         * elf/Makefile (tst-stackguard1-ARGS): Use
17508         $(host-built-program-cmd).
17509         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
17510         (tst-spawn-ARGS): Likewise.
17511         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
17513 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
17514             Jim Blandy  <jimb@codesourcery.com>
17516         * Makeconfig (run-via-rtld-prefix): New variable.
17517         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
17518         (built-program-cmd): Likewise.
17520 2012-10-22  Andreas Jaeger  <aj@suse.de>
17522         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
17523         __O_RSYNC if it exists, otherwise to O_SYNC.
17525 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
17526             Joseph Myers  <joseph@codesourcery.com>
17528         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
17529         /dev/null.
17530         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
17531         from /dev/null
17532         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
17533         /dev/null.
17535 2012-10-22  Andreas Jaeger  <aj@suse.de>
17537         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
17538         Define always.
17539         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
17541         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17542         bits/fcntl-linux.h.
17544         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
17545         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
17547         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
17548         to __O_LARGEFILE.
17549         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
17550         to __O_LARGEFILE.
17552 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
17553             Joseph Myers  <joseph@codesourcery.com>
17555         * config.make.in (NM): New variable.
17557 2012-10-21  Andreas Jaeger  <aj@suse.de>
17559         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
17560         definitions and declarations that are provided by
17561         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
17563 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
17565         [BZ #14683]
17566         * elf/Makefile (tests-static): Add tst-leaks1-static.
17567         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
17568         ($(objpfx)tst-leaks1-static): New rule.
17569         ($(objpfx)tst-leaks1-static-mem): Likewise.
17570         (tst-leaks1-static-ENV): New macro.
17571         * elf/dl-open.c (dl_open_worker): Check the main application
17572         only if SHARED is defined.
17573         * elf/tst-leaks1-static.c: New file.
17575 2012-10-20  Andreas Jaeger  <aj@suse.de>
17577         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
17578         generic values for Linux.
17579         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
17580         and declarations that are provided by <bits/fcntl-linux.h> and
17581         include <bits/fcntl-linux.h>.
17582         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17583         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17585 2012-10-20  Roland McGrath  <roland@hack.frob.com>
17587         * io/fcntl.h: Move include of <bits/types.h> to the top and
17588         include it unconditionally.
17590 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
17592         * wcsmbs/Makefile (tests-ifunc): New variable.
17593         (tests): Add $(tests-ifunc).
17594         * wcsmbs/test-wcschr-ifunc.c: New file.
17595         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
17596         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
17597         * wcsmbs/test-wcslen-ifunc.c: Likewise.
17598         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
17599         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
17601         * string/Makefile (tests-ifunc): New variable.
17602         (tests): Add $(tests-ifunc).
17603         * string/test-memccpy.c (TEST_NAME): New macro.
17604         * string/test-memchr.c (TEST_NAME): Likewise.
17605         * string/test-memcmp.c (TEST_NAME): Likewise.
17606         * string/test-memcpy.c (TEST_NAME): Likewise.
17607         * string/test-memmem.c (TEST_NAME): Likewise.
17608         * string/test-memmove.c (TEST_NAME): Likewise.
17609         * string/test-memset.c (TEST_NAME): Likewise.
17610         * string/test-rawmemchr.c (TEST_NAME): Likewise.
17611         * string/test-stpcpy.c (TEST_NAME): Likewise.
17612         * string/test-stpncpy.c (TEST_NAME): Likewise.
17613         * string/test-strcasecmp.c (TEST_NAME): Likewise.
17614         * string/test-strcasestr.c (TEST_NAME): Likewise.
17615         * string/test-strcat.c (TEST_NAME): Likewise.
17616         * string/test-strchr.c (TEST_NAME): Likewise.
17617         * string/test-strcmp.c(TEST_NAME): Likewise.
17618         * string/test-strcpy.c (TEST_NAME): Likewise.
17619         * string/test-strcspn.c (TEST_NAME): Likewise.
17620         * string/test-strlen.c (TEST_NAME): Likewise.
17621         * string/test-strncasecmp.c (TEST_NAME): Likewise.
17622         * string/test-strncmp.c (TEST_NAME): Likewise.
17623         * string/test-strncpy.c (TEST_NAME): Likewise.
17624         * string/test-strnlen.c (TEST_NAME): Likewise.
17625         * string/test-strpbrk.c (TEST_NAME): Likewise.
17626         * string/test-strrchr.c (TEST_NAME): Likewise.
17627         * string/test-strspn.c (TEST_NAME): Likewise.
17628         * string/test-strstr.c (TEST_NAME): Likewise.
17629         * string/test-bcopy-ifunc.c: New file.
17630         * string/test-bzero-ifunc.c: Likewise.
17631         * string/test-memccpy-ifunc.c: Likewise.
17632         * string/test-memchr-ifunc.c: Likewise.
17633         * string/test-memcmp-ifunc.c: Likewise.
17634         * string/test-memcpy-ifunc.c: Likewise.
17635         * string/test-memmem-ifunc.c: Likewise.
17636         * string/test-memmove-ifunc.c: Likewise.
17637         * string/test-mempcpy-ifunc.c: Likewise.
17638         * string/test-memset-ifunc.c: Likewise.
17639         * string/test-rawmemchr-ifunc.c: Likewise.
17640         * string/test-stpcpy-ifunc.c: Likewise.
17641         * string/test-stpncpy-ifunc.c: Likewise.
17642         * string/test-strcasecmp-ifunc.c: Likewise.
17643         * string/test-strcasestr-ifunc.c: Likewise.
17644         * string/test-strcat-ifunc.c: Likewise.
17645         * string/test-strchr-ifunc.c: Likewise.
17646         * string/test-strchrnul-ifunc.c: Likewise.
17647         * string/test-strcmp-ifunc.c: Likewise.
17648         * string/test-strcpy-ifunc.c: Likewise.
17649         * string/test-strcspn-ifunc.c: Likewise.
17650         * string/test-strlen-ifunc.c: Likewise.
17651         * string/test-strncasecmp-ifunc.c: Likewise.
17652         * string/test-strncat-ifunc.c: Likewise.
17653         * string/test-strncmp-ifunc.c: Likewise.
17654         * string/test-strncpy-ifunc.c: Likewise.
17655         * string/test-strnlen-ifunc.c: Likewise.
17656         * string/test-strpbrk-ifunc.c: Likewise.
17657         * string/test-strrchr-ifunc.c: Likewise.
17658         * string/test-strspn-ifunc.c: Likewise.
17659         * string/test-strstr-ifunc.c: Likewise.
17661         * debug/Makefile (tests-ifunc): New variable.
17662         (tests): Add $(tests-ifunc).
17663         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
17664         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
17665         * debug/test-stpcpy_chk-ifunc.c: New file.
17666         * debug/test-strcpy_chk-ifunc.c: Likewise.
17668 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
17670         [BZ #13601]
17671         * elf/dl-load.c (open_verify): Retry read if the entire ELF
17672         header is not read in.
17674 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
17676         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
17677         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
17678         directly.  Pass built executable to script as
17679         $(built-program-cmd).
17680         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
17681         $testprogram without using LD_LIBRARY_PATH and $ldso.
17683         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
17684         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
17685         $(rtld-installed-name).
17686         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
17687         (rtld_installed_name): Likewise.
17688         (library_path): Likewise.
17689         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
17690         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
17691         $(run-program-prefix) to tst-tables.sh.
17692         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
17693         it to run tst-table-from and tst-table-to.
17694         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
17695         Pass it to tst-table.sh.
17696         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
17697         $(run-program-prefix) to tst-gettext.sh.
17698         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
17699         tst-translit.sh.
17700         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
17701         tst-gettext2.sh.
17702         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
17703         to run tst-gettext.
17704         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
17705         to run tst-gettext2.
17706         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
17707         to run tst-translit.
17708         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
17709         $(run-program-prefix) to tst-mtrace.sh.
17710         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
17711         to run tst-mtrace.
17712         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
17713         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
17714         $(rtld-installed-name).
17715         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
17716         (rtld_installed_name): Likewise.
17717         (run_program_prefix): New variable.  Use it to run wordexp-test.
17719         * Makeconfig (ARCH): Remove all definitions.
17720         (machine): Likewise.
17721         [ARCH]: Remove conditional code.
17722         [!objdir]: Give error.
17723         [!objdir] (objpfx): Remove.
17724         [!objdir] (common-objpfx): Likewise.
17725         [!objdir] (common-objdir): Likewise.
17726         * configure.in (config_makefile): Remove.  Hardcode Makefile in
17727         AC_CONFIG_FILES call.
17728         * configure: Regenerated.
17730         [BZ #13888]
17731         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
17732         or TMPDIR.
17733         (testout): Likewise.
17735         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
17736         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
17737         $(rtld-installed-name).
17738         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
17739         (rtld_installed_name): Likwise.
17740         (runit): Remove function.
17741         (run_getconf): New variable,  Use it for running getconf binary.
17743 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
17745         [BZ #14716]
17746         * string/test-memmem.c (check_result): New function.
17747         (do_one_test): Use it.
17748         (check1): New function.
17749         (test_main): Use it.
17751 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
17753         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
17755 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
17757         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
17758         (_G_LSEEK64): Likewise.
17759         (_G_MMAP64): Likewise.
17760         (_G_FSTAT64): Likewise.
17761         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
17762         (_G_LSEEK64): Likewise.
17763         (_G_MMAP64): Likewise.
17764         (_G_FSTAT64): Likewise.
17765         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
17766         unconditional.  Call __mmap64 directly.
17767         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
17768         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
17769         __lseek64 directly.
17770         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
17771         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
17772         __mmap64 directly.
17773         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
17774         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
17775         __lseek64 directly.
17776         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
17777         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
17778         __lseek64 directly.
17779         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
17780         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
17781         __lseek64 directly.
17782         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
17783         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
17784         __fxstat64 directly.
17785         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
17786         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
17787         unconditional.
17788         (freopen64) [!_G_OPEN64]: Remove conditional code.
17789         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
17790         unconditional.
17791         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
17792         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
17793         unconditional.
17794         (ftello64) [!_G_LSEEK64]: Remove conditional code.
17795         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
17796         unconditional.
17797         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
17798         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
17799         unconditional.
17800         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
17801         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
17802         unconditional.
17803         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
17804         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
17805         unconditional.
17806         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
17807         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
17808         unconditional.
17809         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
17811 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
17813         [BZ #12140]
17814         * manual/memory.texi (Malloc Tunable Parameters): Add note
17815         about free list pointers overwriting some perturb bytes.
17816         Wording suggested by Roland McGrath.
17818 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
17820         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
17821         (lgamma_test): Likewise.
17822         (tgamma_test): Likewise.
17824 2012-10-16  Florian Weimer  <fweimer@redhat.com>
17826         [BZ #14700]
17827         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
17828         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
17830 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
17832         * NEWS: Mention BZ #14716.
17833         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
17834         when removing AVAILABLE1_USES_J macro.
17836 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
17838         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
17839         (__bswap_64): __uint64_t for unsigned 64-bit int.
17841 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
17843         * include/string.h (memmem): Declare libc hidden alias.
17844         * string/memmem.c (memmem): Define libc hidden alias.
17845         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
17846         __read, __close instead of open, read, close.
17848 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
17850         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
17851         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
17852         global and hidden.
17853         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
17854         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
17855         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
17856         Likewise.
17857         (__rawmemchr_sse2): Likewise.
17858         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
17859         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
17860         (__strchr_sse2): Likewise.
17861         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
17862         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
17863         (__strcasecmp_sse2): Likewise.
17864         (__strncasecmp_sse2): Likewise.
17865         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
17866         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
17867         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
17868         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
17869         (__strrchr_sse2): Likewise.
17870         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
17871         ifunc-impl-list.c.
17872         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
17873         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
17874         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
17875         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17876         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
17877         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
17878         * sysdeps/x86_64/multiarch/memset.S: Likewise.
17879         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17880         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
17881         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
17882         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
17883         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
17884         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
17885         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
17886         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
17887         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17888         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
17889         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
17890         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
17891         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
17892         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
17893         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
17894         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
17895         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
17896         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
17897         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17898         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
17899         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
17900         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
17901         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
17903         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
17904         global and hidden.
17905         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
17906         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
17907         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
17908         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
17909         Likewise.
17910         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
17911         Likewise.
17912         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
17913         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
17914         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
17915         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
17916         ifunc-impl-list.c.
17917         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
17918         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
17919         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
17920         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
17921         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
17922         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
17923         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
17924         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
17925         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
17926         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
17927         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
17928         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
17929         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
17930         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
17931         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
17932         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17933         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
17934         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
17935         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
17936         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
17937         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17938         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
17939         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
17940         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
17941         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17942         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
17943         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
17944         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
17945         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
17946         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
17947         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
17948         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
17949         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
17950         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
17951         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
17952         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
17953         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
17954         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
17955         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
17956         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
17957         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
17959         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
17960         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
17961         * include/ifunc-impl-list.h: New file.
17962         * misc/ifunc-impl-list.c: Likewise.
17963         * misc/Makefile (routines): Add ifunc-impl-list.
17964         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
17965         * string/test-string.h: Include <ifunc-impl-list.h>.
17966         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
17967         impl_array): New variables.
17968         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
17969         are defined.
17970         (test_init): Call __libc_ifunc_impl_list to initialize
17971         func_list if TEST_IFUNC and TEST_NAME are defined.
17973         * string/Makefile (strop-tests): Add bcopy and bzero.
17974         * string/test-bcopy.c: New file.
17975         * string/test-bzero.c: Likewise.
17976         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
17977         defined.
17978         * string/test-memset.c: Support bzero test if TEST_BZERO is
17979         defined.
17980         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
17981         __libc_memmove.
17982         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
17983         __libc_memset.
17984         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
17985         of memset.
17987 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
17989         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
17990         * configure: Regenerated.
17992         * Makeconfig (+link-static-before-libc): Don't include
17993         $(link-static-libc).
17995         * libio/libio.h (_IO_pos_t): Remove.
17997 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
17999         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
18000         McGrath.
18002 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
18004         * crypt/crypt-entry.c: Include fips-private.h.
18005         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
18006         * crypt/md5c-test.c (main): Tolerate disabled MD5.
18007         * sysdeps/unix/sysv/linux/fips-private.h: New file.
18008         * sysdeps/generic/fips-private.h: New file, dummy fallback.
18010 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
18012         * crypt/crypt-private.h: Include stdbool.h.
18013         (_ufc_setup_salt_r): Return bool.
18014         * crypt/crypt-entry.c: Include errno.h.
18015         (__crypt_r): Return NULL with EINVAL for bad salt.
18016         * crypt/crypt_util.c (bad_for_salt): New.
18017         (_ufc_setup_salt_r): Check that salt is long enough and within
18018         the specified alphabet.
18019         * crypt/badsalttest.c: New file.
18020         * crypt/Makefile (tests): Add it.
18021         ($(objpfx)badsalttest): New.
18023 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
18025         * NEWS: Add entry for BZ #14602.
18027 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
18029         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
18030         type-generic.
18031         * math/libm-test.inc: Update comment listing what functions and
18032         macros are tested.
18033         (isgreater_test): New function.
18034         (isgreaterequal_test): Likewise.
18035         (isless_test): Likewise.
18036         (islessequal_test): Likewise.
18037         (islessgreater_test): Likewise.
18038         (isunordered_test): Likewise.
18039         (main): Call the new functions.
18041 2012-10-09  Roland McGrath  <roland@hack.frob.com>
18043         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
18044         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
18045         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
18046         * sysdeps/i386/configure: Regenerated.
18047         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
18048         * sysdeps/mach/configure: Regenerated.
18049         * sysdeps/mach/hurd/configure: Regenerated.
18050         * sysdeps/powerpc/configure: Regenerated.
18051         * sysdeps/powerpc/powerpc32/configure: Regenerated.
18052         * sysdeps/powerpc/powerpc64/configure: Regenerated.
18053         * sysdeps/s390/s390-32/configure: Regenerated.
18054         * sysdeps/s390/s390-64/configure: Regenerated.
18055         * sysdeps/sh/configure: Regenerated.
18056         * sysdeps/sparc/configure: Regenerated.
18057         * sysdeps/unix/sysv/linux/configure: Regenerated.
18058         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
18059         * sysdeps/x86_64/configure: Regenerated.
18061         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
18062         defined.  Don't check if MAP is NULL.
18064 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
18066         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
18067         (_G_stat64): Likewise.
18068         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
18069         (_G_stat64): Likewise.
18070         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
18071         instead of struct _G_stat64.
18072         * libio/fileops.c (mmap_remap_check): Likewise.
18073         (decide_maybe_mmap): Likewise.
18074         (_IO_new_file_seekoff): Likewise.
18075         (_IO_file_stat): Likewise.
18076         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
18077         _G_off64_t.
18078         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
18079         instead of struct _G_stat64.
18080         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18082 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
18084         [BZ #14602]
18085         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18086         Replace with ...
18087         (CHECK_EOL): New macro.
18088         (two_way_short_needle): Check beginning of haystack for EOL.  Use
18089         CHECK_EOL.
18090         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18091         Replace with CHECK_EOL.
18092         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18093         Replace with CHECK_EOL.
18095 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
18097         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
18098         type-generic.
18099         * math/libm-test.inc: Update comment listing what functions and
18100         macros are tested.
18101         (finite_test): New function.
18102         (isinf_test): Likewise.
18103         (isnan_test): Likewise.
18104         (fpclassify_test): Test subnormal input.
18105         (isfinite_test): Likewise.
18106         (isnormal_test): Likewise.
18107         (main): Call the new functions.
18109 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
18111         [BZ #14660]
18112         * Makerules (%.dynsym): Force C locale when running
18113         $(OBJDUMP) --dynamic-syms.
18115 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
18117         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
18118         <stdint.h>.
18120 2012-10-06  David S. Miller  <davem@davemloft.net>
18122         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
18123         upper 32-bits of the length value in %o2 since we use branch-on-register
18124         tests which consider the entire 64-bit register.
18126 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
18128         * string/test-strstr.c (check2): Add a test for page boundary.
18130 2012-10-05  David S. Miller  <davem@davemloft.net>
18132         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
18133         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
18134         file.
18135         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18136         sysdep_routines.
18137         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18138         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
18139         and bzero when HWCAP_SPARC_CRYPTO is present.
18141 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
18143         [BZ #14602]
18144         * string/test-strstr.c (check2): New function.
18145         (test_main): Call check2.
18147         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
18148         and bug-strchr1.
18149         * string/bug-strcasestr1.c (do_test): Moved to ...
18150         * string/test-strcasestr.c (check1): Here.  New function.
18151         (do_one_test): Break out result checking code into ...
18152         (check_result): This.  New function.
18153         (do_one_test): Call check_result.
18154         (test_main): Call check1.
18155         * string/bug-strchr1.c (do_test): Moved to ...
18156         * string/test-strchr.c (check1): Here.  New function.
18157         (do_one_test): Break out result checking code into ...
18158         (check_result): This.  New function.
18159         (do_one_test): Call check_result.
18160         (test_main): Call check1.
18161         * string/bug-strstr1.c (main): Moved to ...
18162         * string/test-strstr.c (check1): Here.  New function.
18163         (do_one_test): Break out result checking code into ...
18164         (check_result): This.  New function.
18165         (do_one_test): Call check_result.
18166         (test_main): Call check1.
18167         * string/bug-strcasestr1.c: Removed.
18168         * string/bug-strchr1.c: Likewise.
18169         * string/bug-strstr1.c: Likewise.
18171         * elf/Makefile (dl-routines): Add hwcaps.
18172         * elf/dl-support.c (_dl_important_hwcaps): Removed.
18173         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
18174         (_dl_important_hwcaps): Moved to ...
18175         * elf/dl-hwcaps.c: Here.  New file.
18176         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
18178         [BZ #14557]
18179         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
18180         if IS_IN_rtld isn't defined.
18182         * elf/dl-support.c (_dl_sysinfo_map): New.
18183         Include "get-dynamic-info.h" and "setup-vdso.h".
18184         (_dl_non_dynamic_init): Call setup_vdso.
18185         * elf/dynamic-link.h: Don't include <assert.h>.
18186         (elf_get_dynamic_info): Moved to ...
18187         * elf/get-dynamic-info.h: Here.  New file.
18188         * elf/dynamic-link.h: Include "get-dynamic-info.h".
18189         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
18190         * elf/setup-vdso.h: Here.  New file.
18191         * elf/rtld.c: Include "setup-vdso.h".
18192         (dl_main): Call setup_vdso.
18194 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
18196         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
18197         creal in comment listing functions tested.  List finite, isinf,
18198         isnan, isless, islessequal, isgreater, isgreaterequal,
18199         islessgreater, isunordered, lgamma_r and pow10 as functions and
18200         macros not tested.  Mention which functions not tested are aliases
18201         for other functions.  Fix typo.  Note that signs of NaNs are not
18202         tested.
18204         * scripts/config.guess: Update from config.git.
18205         * scripts/config.sub: Likewise.
18207 2012-10-04  Roland McGrath  <roland@hack.frob.com>
18209         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
18210         * misc/madvise.c (madvise): Renamed to __madvise.
18211         Make madvise a weak alias.
18212         * include/sys/mman.h: Declare __madvise.
18213         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
18214         * sysdeps/unix/syscalls.list
18215         (madvise): Make __madvise the strong name, and madvise a weak alias.
18216         * sysdeps/unix/sysv/linux/syscalls.list
18217         (madvise, mmap): Remove redundant entries.
18218         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
18219         * malloc/malloc.c (mtrim): Likewise.
18220         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
18222 2012-10-03  Roland McGrath  <roland@hack.frob.com>
18224         * sysdeps/mach/hurd/dl-cache.c: File removed.
18225         * config.h.in (USE_LDCONFIG): New #undef.
18226         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
18227         * configure: Regenerated.
18228         * elf/Makefile (dl-routines): Add dl-cache only under
18229         [$(use-ldconfig) = yes].
18230         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
18231         cache on [USE_LDCONFIG].
18232         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
18233         [USE_LDCONFIG].
18234         * elf/rtld.c (dl_main): Likewise.
18236 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
18238         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
18239         _SC_LEVEL4_CACHE_LINESIZE.
18241 2012-10-03  Roland McGrath  <roland@hack.frob.com>
18243         * sysdeps/unix/bsd/confstr.h: File removed.
18245 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
18247         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
18248         sys/sdt-config.h.
18250 2012-10-02  Roland McGrath  <roland@hack.frob.com>
18252         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
18253         Make 'mapoff' field ElfW(Off) rather than off_t.
18255 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
18257         * nscd/Makefile: Remove nscd-cflags and all its users.
18258         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
18259         (CFLAGS-nonlib): Add compiler flags for nscd modules.
18261         [BZ #10631]
18262         * malloc.c (malloc_printerr): Clarify error message.
18264 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
18266         [BZ #14648]
18267         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18268         Set bit_FMA_Usable if FMA is supported.
18269         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
18270         macro.
18271         (bit_FMA4_Usable): Updated.
18272         (index_FMA_Usable): New macro.
18273         (CPUID_FMA): Likewise
18274         (HAS_FMA): Defined with bit_FMA_Usable.
18276 2012-10-01  Roland McGrath  <roland@hack.frob.com>
18278         * bits/types.h (__swblk_t): Type removed.
18279         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
18280         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
18281         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18282         (__SWBLK_T_TYPE): Likewise.
18283         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18284         (__SWBLK_T_TYPE): Likewise.
18285         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18286         (__SWBLK_T_TYPE): Likewise.
18287         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18288         (__SWBLK_T_TYPE): Likewise.
18290 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
18291             Honza Horak <hhorak@redhat.com>
18293         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
18294         (xdr_mapname): Use YPMAXMAP as maxsize.
18295         (xdr_peername): Use YPMAXPEER as maxsize.
18296         (xdr_keydat): Use YPAXRECORD as maxsize.
18297         (xdr_valdat): Use YPMAXRECORD as maxsize.
18299 2012-10-01  Roland McGrath  <roland@hack.frob.com>
18301         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
18303         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
18304         * csu/init-first.c: ... here.
18305         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
18306         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
18307         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
18308         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
18309         * sysdeps/i386/init-first.c: File removed.
18310         * sysdeps/sh/init-first.c: File removed.
18312 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
18314         [BZ #14645]
18315         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
18316         if x * y might underflow to zero and z is zero.
18317         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18318         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18319         * math/libm-test.inc (min_subnorm_value): New variable.
18320         (fma_test): Add more tests.
18321         (fma_test_towardzero): Likewise.
18322         (fma_test_downward): Likewise
18323         (fma_test_upward): Likewise.
18324         (initialize): Set min_subnorm_value.
18326 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
18328         [BZ #14638]
18329         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
18330         0 + 0.
18331         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
18332         mode for addition resulting in exact zero.
18333         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
18334         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
18335         exact 0 + 0.
18336         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18337         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18338         * math/libm-test.inc (fma_test): Add more tests.
18339         (fma_test_towardzero): New function.
18340         (fma_test_downward): Likewise.
18341         (fma_test_upward): Likewise.
18342         (main): Call the new functions.
18344 2012-09-28  David S. Miller  <davem@davemloft.net>
18346         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
18348 2012-09-28  Roland McGrath  <roland@hack.frob.com>
18350         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
18351         instead of SIGALRM.
18353         * sysdeps/gnu/_G_config.h: Moved to ...
18354         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
18355         * sysdeps/mach/hurd/_G_config.h: Moved to ...
18356         * sysdeps/generic/_G_config.h: ... here.
18358         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
18360         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
18362         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
18363         Conditionalize target on [libnss_test1.so-version].
18365         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
18367         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
18368         (elfobjdir): Move out of conditionals.
18370         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
18371         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
18372         (__nss_lookup_function): Conditionalize label remove_from_tree on
18373         [!DO_STATIC_NSS || SHARED], matching its only use.
18375 2012-09-28  David S. Miller  <davem@davemloft.net>
18377         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
18378         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
18379         file.
18380         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18381         sysdep_routines.
18382         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18383         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
18384         when HWCAP_SPARC_CRYPTO is present.
18386 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
18388         * io/tst-mknodat.c: Create a FIFO instead of a socket.
18390 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
18392         [BZ #6530]
18393         * stdio-common/vfprintf.c (process_string_arg): Revert
18394         2000-07-22 change.
18396 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
18398         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
18399         for testcase.
18400         * stdio-common/tst-sprintf.c: Include <locale.h>
18401         (main): Test sprintf's handling of incomplete multibyte
18402         characters.
18404 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
18406         * elf/dl-runtime.c (VERSYMIDX): Removed.
18407         * elf/dl-version.c (VERSYMIDX): Likewise.
18408         * elf/do-rel.h (VERSYMIDX): Likewise.
18409         (VALIDX): Likewise.
18410         * elf/dynamic-link.h (VERSYMIDX): Likewise.
18411         * elf/rtld.c (VALIDX): Likewise.
18412         (ADDRIDX): Likewise.
18413         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
18414         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
18415         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
18416         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
18417         (VALIDX): Likewise.
18418         (ADDRIDX): Likewise.
18420 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
18422         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
18424 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
18426         [BZ #11438]
18427         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
18428         to global scope.
18429         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
18430         addresses are in the same scope as 192.0.2/24.
18431         * posix/gai.conf: Document new scope table defaults.
18433 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
18435         [BZ #5298]
18436         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
18437         for ftell.  Compute offsets from write pointers instead.
18438         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18440 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
18442         [BZ #14543]
18443         * libio/Makefile (tests): New test case tst-fseek.
18444         * libio/tst-fseek.c: New test case to verify that fseek/ftell
18445         combination works in wide mode.
18446         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
18447         state when the external buffer state changes.
18449 2012-09-27  David S. Miller  <davem@davemloft.net>
18451         [BZ #14376]
18452         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
18453         pass reloc->r_addend in as the 'high' argument to
18454         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
18456         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18458 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
18460         * rt/tst-aio2.c: Include <pthread.h>.
18461         * rt/tst-aio3.c: Likewise.
18463 2012-09-27  Steve Ellcey  <sellcey@mips.com>
18465         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
18467 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
18469         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
18470         contents on [SHARED].
18472 2012-09-26  Marek Polacek  <polacek@redhat.com>
18474         [BZ #14530]
18475         [BZ #13741]
18476         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
18477         for C++ and GCC <4.3 as well as for non GCC compilers.
18479 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
18481         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18483 2012-09-25  Roland McGrath  <roland@hack.frob.com>
18485         * Makefile.in (all, install): Declare with .PHONY.
18486         Reported by Michael Hope <michael.hope@linaro.org>.
18488 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18490         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
18491         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
18492         system header.
18493         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
18494         Likewise.
18495         (sydep_routines): Add the new and the internal functions.
18496         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
18497         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
18498         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
18499         (GLIBC_2.17): Add the new function.
18500         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
18501         (GLIBC_2.17): Likewise.
18502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
18503         (GLIBC_2.17): Likewise.
18504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
18505         (GLIBC_2.17): Likewise.
18506         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
18508 2012-09-25  Alan Modra  <amodra@gmail.com>
18510         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
18511         Add release barrier before setting once_control to say
18512         initialisation is done.  Add hints on lwarx.  Use macro in
18513         place of isync.
18514         (clear_once_control): Add release barrier.
18516 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
18518         [BZ #13629]
18519         * math/s_clog.c (__clog): Handle more values close to |z| = 1
18520         specially.
18521         * math/s_clog10.c (__clog10): Likewise.
18522         * math/s_clog10f.c (__clog10f): Likewise.
18523         * math/s_clog10l.c (__clog10l): Likewise.
18524         * math/s_clogf.c (__clogf): Likewise.
18525         * math/s_clogl.c (__clogl): Likewise.
18526         * math/Makefile (libm-calls): Add x2y2m1.
18527         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
18528         (__x2y2m1): Likewise.
18529         (__x2y2m1l): Likewise.
18530         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
18531         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
18532         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
18533         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
18534         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
18535         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
18536         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
18537         * sysdeps/i386/fpu/libm-test-ulps: Update.
18538         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18540         [BZ #14621]
18541         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
18542         int as type of variable DEPTH.
18543         (glob): Use size_t instead of int as type of variables NEWCOUNT
18544         and OLD_PATHC.
18546 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18548         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
18549         Add s_sincosf-sse2.
18550         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
18551         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
18552         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
18553         macros for using routine as __sincosf_ia32.
18554         Use macro for function declaration and weak_alias.
18555         * sysdeps/i386/fpu/libm-test-ulps: Update.
18557         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
18558         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18560         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
18561         subnormal argument.
18562         * math/s_cexpf.c (__cexpf): Likewise.
18563         * math/s_csinf.c (__csinf): Likewise.
18564         * math/s_csinhf.c (__csinhf): Likewise.
18565         * math/s_ctanf.c (__ctanf): Likewise.
18566         * math/s_ctanhf.c (__ctanhf): Likewise.
18567         * math/s_ccosh.c (__ccoshf): Likewise.
18568         * math/s_cexp.c (__cexpl): Likewise.
18569         * math/s_csin.c (__csin): Likewise.
18570         * math/s_csinh.c (__csinh): Likewise.
18571         * math/s_ctan.c (__ctan): Likewise.
18572         * math/s_ctanh.c (ctanh): Likewise.
18573         * math/s_ccoshl.c (__ccoshl): Likewise.
18574         * math/s_cexpl.c (__cexpl): Likewise.
18575         * math/s_csinl.c (__csinl): Likewise.
18576         * math/s_csinhl.c (__csinhl): Likewise.
18577         * math/s_ctanl.c (__ctanl): Likewise.
18578         * math/s_ctanhl.c (__ctanhl): Likewise.
18580 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
18582         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
18583         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
18584         (_IO_off_t): Define to __off_t, not _G_off_t.
18585         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
18586         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
18587         (_IO_wint_t): Define to wint_t, not _G_wint_t.
18588         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
18589         type of __dummy and __dummy2 fields.
18590         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
18591         (_G_ssize_t): Likewise.
18592         (_G_off_t): Likewise.
18593         (_G_pid_t): Likewise.
18594         (_G_uid_t): Likewise.
18595         (_G_wchar_t): Likewise.
18596         (_G_wint_t): Likewise.
18597         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
18598         (_G_ssize_t): Likewise.
18599         (_G_off_t): Likewise.
18600         (_G_pid_t): Likewise.
18601         (_G_uid_t): Likewise.
18602         (_G_wchar_t): Likewise.
18603         (_G_wint_t): Likewise.
18604         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
18605         (_G_ssize_t): Likewise.
18606         (_G_off_t): Likewise.
18607         (_G_pid_t): Likewise.
18608         (_G_uid_t): Likewise.
18609         (_G_wchar_t): Likewise.
18610         (_G_wint_t): Likewise.
18612 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
18614         * malloc/arena.c: Include malloc-sysdep.h.
18615         (shrink_heap): Use check_may_shrink_heap to decide if madvise
18616         is sufficient to shrink the heap or an unmap is needed.
18617         * sysdeps/generic/malloc-sysdep.h: New file.  Define
18618         new function check_may_shrink_heap.
18619         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
18620         new function check_may_shrink_heap.
18622 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
18624         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
18625         comments.
18627 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
18629         * catgets/test-gencat.sh: Add "set -e".
18630         * elf/tst-pathopt.sh: Likewise.
18631         * grp/tst_fgetgrent.sh: Likewise.
18632         * iconvdata/run-iconv-test.sh: Likewise.
18633         * intl/tst-gettext.sh: Likewise.
18634         * intl/tst-gettext2.sh: Likewise.
18635         * intl/tst-gettext4.sh: Likewise.
18636         * intl/tst-gettext6.sh: Likewise.
18637         * intl/tst-translit.sh: Likewise.
18638         * io/ftwtest-sh: Likewise.
18639         * libio/test-freopen.sh: Likewise.
18640         * malloc/tst-mtrace.sh: Likewise.
18641         * posix/globtest.sh: Likewise.
18642         * posix/tst-getconf.sh: Likewise.
18643         * posix/wordexp-tst.sh: Likewise.
18644         * stdio-common/tst-printf.sh: Likewise.
18645         * stdio-common/tst-unbputc.sh: Likewise.
18646         * stdlib/tst-fmtmsg.sh: Likewise.
18647         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
18648         * catgets/Makefile: Do not specify -e option when running
18649         testsuite shell scripts.
18650         * elf/Makefile: Likewise.
18651         * grp/Makefile: Likewise.
18652         * iconvdata/Makefile: Likewise.
18653         * intl/Makefile: Likewise.
18654         * io/Makefile: Likewise.
18655         * libio/Makefile: Likewise.
18656         * malloc/Makefile: Likewise.
18657         * posix/Makefile: Likewise.
18658         * stdio-common/Makefile: Likewise.
18659         * stdlib/Makefile: Likewise.
18660         * sysdeps/x86_64/Makefile: Likewise.
18662         * io/ftwtest-sh: Add copyright header.
18663         * posix/globtest.sh: Likewise.
18664         * posix/tst-getconf.sh: Likewise.
18665         * posix/wordexp-tst.sh: Likewise.
18666         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
18668 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
18670         [BZ #13679]
18671         * Makeconfig (+link): Defined as $(+link-static) if
18672         $(build-shared) isn't yes.
18673         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
18674         isn't yes.
18675         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
18677         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
18679         [BZ #14562]
18680         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
18681         new chunk size with MALLOC_ALIGN_MASK.
18683 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
18685         [BZ #5044]
18686         * stdio-common/printf_fphex.c: Include <stdbool.h> and
18687         <rounding-mode.h>.
18688         (__printf_fphex): Determine rounding using get_rounding_mode and
18689         round_away.
18690         * stdio-common/tst-printf-round.c (struct hex_test): New
18691         structure.
18692         (hex_tests): New variable.
18693         (test_hex_in_one_mode): New function.
18694         (do_test): Also run tests for hex float output.
18696 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
18698         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
18699         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
18700         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
18701         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
18702         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
18703         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
18704         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
18705         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
18707 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
18709         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
18710         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
18711         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
18712         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
18714 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
18716         [BZ #14579]
18717         * elf/rtld.c (dl_main): Limit the check for self loading to normal
18718         mode only.
18719         * elf/tst-rtld-load-self.sh: New test.
18720         * elf/Makefile: Run it.
18722 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
18724         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
18725         (tst-writev-ENV): Remove.
18726         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
18728 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
18730         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
18732 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
18734         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
18735         unconditional.
18736         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
18737         Likewise.
18738         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
18739         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
18740         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
18741         Likewise.
18743 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
18745         [BZ #14587]
18746         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
18747         * config.make.in (have-cpp-asm-debuginfo): Removed.
18748         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
18749         * configure: Regenerated.
18751 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
18753         [BZ #5044]
18754         * stdio-common/printf_fp.c: Include <stdbool.h> and
18755         <rounding-mode.h>.
18756         (___printf_fp): Determine rounding using get_rounding_mode and
18757         round_away.
18758         * stdio-common/tst-printf-round.c: New file.
18759         * stdio-common/Makefile (tests): Add tst-printf-round.
18760         (link-libm): New variable.
18761         ($(objpfx)tst-printf-round): Depend in $(link-libm).
18763 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
18765         [BZ #14576]
18766         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
18767         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
18768         Likewise.
18769         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
18770         Likewise.
18772 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
18774         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
18775         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18776         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18777         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18779 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
18781         [BZ #14518]
18782         * include/rounding-mode.h: New file.
18783         * sysdeps/generic/get-rounding-mode.h: Likewise.
18784         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
18785         * stdlib/strtod_l.c: Include <rounding-mode.h>.
18786         (MAX_VALUE): New macro.
18787         (MIN_VALUE): Likewise.
18788         (overflow_value): New function.
18789         (underflow_value): Likewise.
18790         (round_and_return): Use overflow_value and underflow_value to
18791         determine return values in overflow and underflow cases.  Use
18792         round_away to determine rounding depending on rounding mode.
18793         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
18794         determine return values in overflow and underflow cases.
18795         * stdlib/tst-strtod-round.c: Include <fenv.h>.
18796         (struct test_results): New structure.
18797         (struct test): Use struct test_results to store expected results
18798         for all rounding modes.
18799         (TEST): Include expected results for all rounding modes.
18800         (test_in_one_mode): New function.
18801         (do_test): Use test_in_one_mode to compute and check results.
18802         Check results for all rounding modes.
18803         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
18804         $(link-libm).
18806 2012-12-09  Allan McRae  <allan@archlinux.org>
18808         * sysdeps/i386/fpu/libm-test-ulps: Update
18810 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
18812         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
18813         (_G_int32_t): Likewise.
18814         (_G_uint16_t): Likewise.
18815         (_G_uint32_t): Likewise.
18816         (_G_HAVE_BOOL): Likewise.
18817         (_G_HAVE_ATEXIT): Likewise.
18818         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18819         (_G_HAVE_IO_FILE_OPEN): Likewise.
18820         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
18821         (_G_int32_t): Likewise.
18822         (_G_uint16_t): Likewise.
18823         (_G_uint32_t): Likewise.
18824         (_G_HAVE_BOOL): Likewise.
18825         (_G_HAVE_ATEXIT): Likewise.
18826         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18827         (_G_HAVE_IO_FILE_OPEN): Likewise.
18828         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
18829         (_G_int32_t): Likewise.
18830         (_G_uint16_t): Likewise.
18831         (_G_uint32_t): Likewise.
18832         (_G_HAVE_BOOL): Likewise.
18833         (_G_HAVE_ATEXIT): Likewise.
18834         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18835         (_G_HAVE_IO_FILE_OPEN): Likewise.
18837 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
18839         * csu/libc-tls.c: Update copyright years.
18841 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
18843         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
18844         [!_G_USING_THUNKS]: Remove conditional code.
18845         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
18846         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
18848         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
18849         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
18850         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18851         (_G_VTABLE_LABEL_PREFIX): Likewise.
18852         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18853         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18854         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18855         (_G_VTABLE_LABEL_PREFIX): Likewise.
18856         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
18857         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18858         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18859         (_G_VTABLE_LABEL_PREFIX): Likewise.
18860         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
18862 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
18864         * libio/Makefile: Include ../Makeconfig before tests.
18865         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
18866         only if $(build-shared) is yes.
18868         * iconv/gconv_db.c: Update copyright years.
18870 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18872         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
18873         unwind info if defined PIC. Fix special cases description.
18874         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
18876         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
18877         DP_HI_MASK entry.
18878         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
18880 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
18882         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
18884         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
18885         is NULL.
18887         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
18888         (LDLIBS-tst-chk4): This.
18889         (LDFLAGS-tst-chk5): Renamed to ...
18890         (LDLIBS-tst-chk5): This.
18891         (LDFLAGS-tst-chk6): Renamed to ...
18892         (LDLIBS-tst-chk6): This.
18893         (LDFLAGS-tst-lfschk4): Renamed to ...
18894         (LDLIBS-tst-lfschk4): This.
18895         (LDFLAGS-tst-lfschk5): Renamed to ...
18896         (LDLIBS-tst-lfschk5): This.
18897         (LDFLAGS-tst-lfschk6): Renamed to ...
18898         (LDLIBS-tst-lfschk6): This.
18900         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
18901         on $(common-objpfx)soversions.mk.
18903 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
18905         [BZ #10014]
18906         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
18907         example host name.
18909 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
18911         * malloc/arena.c (arena_get_retry): New function that gets
18912         another arena for the caller to try its request on.
18913         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
18914         current arena cannot fulfill the request.
18915         (__libc_memalign): Likewise.
18916         (__libc_memalign): Likewise.
18917         (__libc_pvalloc): Likewise.
18918         (__libc_calloc): Likewise.
18920 2012-09-05  John Tobey  <john.tobey@gmail.com>
18922         [BZ #13542]
18923         * manual/arith.texi (Operations on Complex): Fix description
18924         of carg branch cut.
18926 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
18928         [BZ #10014]
18929         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
18930         host name.
18932         [BZ #10038]
18933         * manual/memory.texi (Memory): Make order of menu items match
18934         order of sections.
18936 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
18938         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
18939         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
18940         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
18942 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
18944         * csu/libc-tls.c (static_dtv): Renamed to ...
18945         (_dl_static_dtv): This.  Make it global.
18946         (_dl_initial_dtv): Removed.
18947         (__libc_setup_tls): Updated.
18948         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
18949         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
18950         DL_INITIAL_DTV.
18952 2012-09-06  Petr Machata  <pmachata@redhat.com>
18954         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
18955         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
18956         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
18957         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
18959 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
18961         [BZ #14545]
18962         * csu/libc-tls.c (_dl_initial_dtv): New variable.
18963         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
18964         freeing dtv[-1].
18966 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
18968         [BZ #14544]
18969         * Makeconfig (link-static-before-libc): Replace $(+prector)
18970         with $(+prectorT).
18971         (link-static-after-libc): Replace $(+postctor) with
18972         $(+postctorT).
18973         (link-bounded): Replace $(+prector)/$(+postctor) with
18974         $(+prectorT)/$(+postctorT).
18975         (+prectorT): New macro.
18976         (+postctorT): Likewise.
18978 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
18980         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
18981         (round_str): Handle values above the maximum for IBM long double
18982         as inexact.
18983         * stdlib/tst-strtod-round.c (tests): Regenerated.
18985 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18987         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
18988         assembler flag.
18989         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
18990         zarch_nohighgprs around the zarch optimized routines.
18991         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
18992         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
18993         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
18994         for zarch.
18996 2012-09-05  David S. Miller  <davem@davemloft.net>
18998         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19000         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
19001         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
19002         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
19003         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
19004         entries.
19006 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
19008         * malloc/arena.c: Fold copyright years.
19009         * malloc/mcheck.c, malloc/memusage.c: Likewise.
19011 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
19013         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
19015 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
19017         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
19019 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
19021         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
19022         change internal state upon failure.
19024 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
19026         * malloc/mcheck.c (mcheck_check_all): Fix typo.
19027         * malloc/memusage.c (mmap): Likewise.
19028         (mmap64, mremap): Likewise.  Adjust name in comment.
19030 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
19032         * libio/fileops.c: Fix typos in comments.
19033         * libio/oldfileops.c: Likewise.
19034         * libio/wfileops.c: Likewise.
19036 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
19038         [BZ #1349]
19039         * malloc/Makefile (tests): Add tst-malloc-usable test case.
19040         (tst-malloc-usable-ENV): Set environment for test case.
19041         * malloc/hooks.c (malloc_check_get_size): New function to get
19042         requested size.
19043         * malloc/malloc.c (musable): Use malloc_check_get_size.
19044         * malloc/tst-malloc-usable.c: New test case.
19046 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
19048         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
19050 2012-09-05  Allan McRae  <allan@archlinux.org>
19052         [BZ #13966]
19053         * configure.in (CXX_SYSINCLUDES): Use compiler output to
19054         determine header location.
19055         * configure: Regenerated.
19057 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
19059         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
19060         float format.
19061         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
19062         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
19063         format.
19064         (test): Regenerate.
19066 2012-09-04  David S. Miller  <davem@davemloft.net>
19068         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
19069         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
19070         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
19072 2012-09-04  Florian Weimer  <fweimer@redhat.com>
19074         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
19075         failures.
19077         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
19079 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
19081         [BZ #9914]
19082         * libio/iogetdelim.c: Include <limits.h>.
19083         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
19084         + len + 1 would overflow.
19086 2012-09-03  Andreas Jaeger  <aj@suse.de>
19088         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19089         * sysdeps/i386/fpu/libm-test-ulps: Update.
19091 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19093         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
19094         Add s_sinf-sse2, s_conf-sse2.
19096         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
19097         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
19098         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
19099         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
19101         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
19102         for using routine as __sinf_ia32.
19103         Use macro for function declaration and weak_alias.
19104         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
19105         for using routine as __cosf_ia32.
19106         Use macro for function declaration and weak_alias.
19108         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
19109         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
19111         * sysdeps/x86_64/fpu/s_sinf.S: New file.
19112         * sysdeps/x86_64/fpu/s_cosf.S: New file.
19113         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19115         * math/libm-test.inc (cos_test): Add more test cases.
19116         (sin_test): Likewise.
19117         (sincos_test): Likewise.
19119 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19121         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
19122         (IFUNC_RESOLVE): Make pointers to the specialized implementations
19123         hidden.
19124         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19126 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
19128         [BZ #14538]
19129         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
19130         first element of the GOT.
19131         (elf_machine_load_address): Return the difference between
19132         the runtime address of _DYNAMIC and elf_machine_dynamic ().
19134 2012-09-01  Allan McRae  <allan@archlinux.org>
19136         [BZ #13412]
19137         * configure.in (AWK): Require gawk version 3.0 or later.
19138         * configure: Regenerated.
19140 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
19142         * sysdeps/unix/sysv/linux/kernel-features.h
19143         (__ASSUME_POSIX_CPU_TIMERS): Remove.
19144         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19145         [__NR_clock_getres]: Make code unconditional.
19146         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
19147         (clock_getcpuclockid): Remove code left unreachable by removal of
19148         conditionals.
19149         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
19150         code unconditional.
19151         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19152         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19153         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
19154         Make code unconditional.
19155         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19156         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19157         * sysdeps/unix/sysv/linux/clock_settime.c
19158         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
19159         conditional code.
19160         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
19161         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19163 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
19165         [BZ #14476]
19166         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
19167         scripts/test-installation.pl.
19169         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
19170         and $ld_so_version if it is set.
19172 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
19174         [BZ #14516]
19175         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
19176         failure if reading from procfs failed.
19177         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
19179 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
19181         * sysdeps/unix/sysv/linux/kernel-features.h
19182         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
19183         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19184         Remove conditional code.
19185         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19186         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
19187         Remove conditional code.
19188         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19189         * sysdeps/unix/sysv/linux/i386/fxstat.c
19190         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19191         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19192         * sysdeps/unix/sysv/linux/i386/fxstatat.c
19193         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19194         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19195         * sysdeps/unix/sysv/linux/i386/lxstat.c
19196         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19197         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19198         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
19199         Remove conditional code.
19200         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19201         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19202         Remove conditional code.
19203         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19204         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
19205         <kernel-features.h>.
19206         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
19207         Remove.
19208         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
19209         Remove conditional code.
19210         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19211         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
19212         Remove conditional.
19214 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
19216         [BZ #5400]
19217         * NEWS: Add fixed bug number.
19219 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
19221         [BZ #14519]
19222         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
19223         underflowing exponent in case of negative sign.
19224         * stdlib/tst-strtod-round-data: Add more tests.
19225         * stdlib/tst-strtod-round.c (tests): Regenerated.
19227         [BZ #3479]
19228         * stdlib/strtod_l.c (NDIG): Remove.
19229         (HEXNDIG): Likewise.
19230         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
19231         smallest representable value.
19232         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
19233         lie within an exact representation of 1/2 ulp of the result.
19234         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
19235         unconditionally.
19236         (TENS_P9_IDX): Define unconditionally.
19237         (TENS_P9_SIZE): Likewise.
19238         (TENS_P10_IDX): Likewise.
19239         (TENS_P10_SIZE): Likewise.
19240         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
19241         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
19242         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
19243         entries for 10^2^13 and 10^2^14.
19244         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
19245         (TENS_P13_IDX): Define.
19246         (TENS_P13_SIZE): Likewise.
19247         (TENS_P14_IDX): Likewise.
19248         (TENS_P14_SIZE): Likewise.
19249         (_fpioconst_pow10): Change array size to
19250         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
19251         unconditional.
19252         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
19253         1024]: Add entries for 10^2^13 and 10^2^14.
19254         [LAST_POW10 > _LAST_POW10]: Remove #error.
19255         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
19256         (_fpioconst_pow10): Change array size to
19257         FPIOCONST_POW10_ARRAY_SIZE.
19258         * stdlib/gen-fpioconst.c: New file.
19259         * stdlib/gen-tst-strtod-round.c: Likewise.
19260         * stdlib/tst-strtod-round-data: Likewise.
19261         * stdlib/tst-strtod-round.c: Likewise.
19262         * stdlib/Makefile (tests): Add tst-strtod-round.
19264         [BZ #14459]
19265         * stdlib/strtod_l.c: Include <stdint.h>.
19266         (NDEBUG): Do not define.
19267         (round_and_return): Change EXPONENT parameter to type intmax_t.
19268         Rearrange calculations to avoid internal overflow possibilities.
19269         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
19270         Rearrange calculations to avoid internal overflow possibilities.
19271         Assert that number fits inside MPNSIZE limbs.
19272         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
19273         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
19274         calculations and add assertions to avoid internal overflow
19275         possibilities.  Add casts to avoid signed/unsigned operations.
19276         * stdlib/tst-strtod-overflow.c: New file.
19277         * stdlib/Makefile (tests): Add tst-strtod-overflow.
19279 2012-08-25  Marek Polacek  <polacek@redhat.com>
19281         * time/time.h: Fix some typos in comments.
19283 2012-08-23  Roland McGrath  <roland@hack.frob.com>
19285         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
19286         * posix/tst-rfc3484-2.c: Likewise.
19287         * posix/tst-rfc3484-3.c: Likewise.
19289 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
19291         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
19292         (EF_ARM_ABI_FLOAT_HARD): Likewise.
19294 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
19296         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
19297         #include of fxstatat64.c.
19299 2012-08-22  Roland McGrath  <roland@hack.frob.com>
19301         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
19302         * shadow/getspent_r.c: Likewise.
19303         * shadow/getspnam.c: Likewise.
19304         * shadow/getspnam_r.c: Likewise.
19305         * gshadow/getsgent.c: Likewise.
19306         * gshadow/getsgent_r.c: Likewise.
19307         * gshadow/getsgnam.c: Likewise.
19308         * gshadow/getsgnam_r.c: Likewise.
19309         * inet/getnetbyad.c: Likewise.
19310         * inet/getnetbyad_r.c: Likewise.
19311         * inet/getnetbynm.c: Likewise.
19312         * inet/getnetbynm_r.c: Likewise.
19313         * inet/getnetent.c: Likewise.
19314         * inet/getnetent_r.c: Likewise.
19315         * inet/getproto.c: Likewise.
19316         * inet/getproto_r.c: Likewise.
19317         * inet/getprtent.c: Likewise.
19318         * inet/getprtent_r.c: Likewise.
19319         * inet/getprtname.c: Likewise.
19320         * inet/getprtname_r.c: Likewise.
19321         * inet/getrpcbyname.c: Likewise.
19322         * inet/getrpcbyname_r.c: Likewise.
19323         * inet/getrpcbynumber.c: Likewise.
19324         * inet/getrpcbynumber_r.c: Likewise.
19325         * inet/getrpcent.c: Likewise.
19326         * inet/getrpcent_r.c: Likewise.
19327         * inet/getaliasent.c: Likewise.
19328         * inet/getaliasent_r.c: Likewise.
19329         * inet/getaliasname.c: Likewise.
19330         * inet/getaliasname_r.c: Likewise.
19331         * nscd/getgrgid_r.c: Likewise.
19332         * nscd/getgrnam_r.c: Likewise.
19333         * nscd/gethstbyad_r.c: Likewise.
19334         * nscd/gethstbynm3_r.c: Likewise.
19335         * nscd/getpwnam_r.c: Likewise.
19336         * nscd/getpwuid_r.c: Likewise.
19337         * nscd/getsrvbynm_r.c: Likewise.
19338         * nscd/getsrvbypt_r.c: Likewise.
19339         * nscd/gai.c: Likewise.
19341         * configure.in (build_nscd): New substituted variable, set
19342         by --disable-build-nscd and defaults to $use_nscd.
19343         * configure: Regenerated.
19344         * config.make.in (build-nscd): New substituted variable.
19345         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
19346         Change conditional to require [$(build-nscd) = yes] as well.
19347         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
19349         [BZ# 13696]
19350         * configure.in (use_nscd): New substituted variable, set by
19351         --disable-nscd.  If enabled, define USE_NSCD.
19352         * configure: Regenerated.
19353         * config.h.in: Add USE_NSCD.
19354         * config.make.in (use-nscd): New substituted variable.
19355         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
19356         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
19357         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
19358         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
19359         (CFLAGS-getgrnam_r.c): Likewise.
19360         (CFLAGS-initgroups.c): Likewise.
19361         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
19362         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
19363         Variables removed.
19364         * inet/getnetgrent_r.c
19365         (nscd_setnetgrent): New function, broken out of ...
19366         (setnetgrent): ... here.  Call it.
19367         (innetgr): Conditionalize nscd bits on [USE_NSCD].
19368         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
19369         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
19370         * nscd/Makefile (routines, aux): Move definitions after include of
19371         Makeconfig.  Conditionalize on [$(use-nscd) != no].
19372         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
19373         Conditionalize on [USE_NSCD].
19374         (is_nscd, nscd_init_cb): Likewise.
19375         (nss_load_library): Conditionalize init callback on [USE_NSCD].
19376         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
19377         * nss/nss_db/db-init.c: Likewise.
19378         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
19379         [USE_NSCD].
19380         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
19381         (make_request): Use it.
19382         (cache_valid_p): New function.
19383         (__check_pf): Use it.
19384         * NEWS: Add item for --disable-nscd.
19386 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
19388         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
19389         to support sed >= 4.2.1-20-ga9bf076.
19390         * configure: Regenerated.
19392 2012-08-22  Roland McGrath  <roland@hack.frob.com>
19394         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
19395         Conditionalize whole body on [IREL].
19397 2012-08-22  Jeff Law <law@redhat.com>
19399         [BZ #14505]
19400         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
19401         if the family is PF_UNSPEC.
19403 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
19405         * Makerules (lib-version): Rename from V.
19406         (install-lib-nosubdir): Change V to lib-version.
19408 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
19410         [BZ #14252]
19411         * powerpc32/power6/wcschr.c: New file.
19412         * powerpc32/power6/wcscpy.c: New file.
19413         * powerpc32/power6/wcsrchr.c: New file.
19414         * powerpc64/power6/wcschr.c: New file.
19415         * powerpc64/power6/wcscpy.c: New file.
19416         * powerpc64/power6/wcsrchr.c: New file.
19418 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
19420         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
19421         (two_way_short_needle): Use it.
19422         * string/strstr.c (AVAILABLE1_USES_J): Define.
19423         * string/strcasestr.c: Likewise.
19425         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
19426         array references.
19427         * string/strcasestr.c (TOLOWER): Make side-effect safe.
19429         [BZ #11607]
19430         * NEWS: Add an entry.
19431         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
19432         define their defaults.
19433         (two_way_short_needle): Detect end-of-string on-the-fly.
19434         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
19435         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
19436         * string/bug-strcasestr1.c: New test.
19437         * string/Makefile: Run it.
19439 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
19441         [BZ #11607]
19442         * string/str-two-way.h (two_way_short_needle): Optimize matching of
19443         the first character.
19445 2012-08-21  Roland McGrath  <roland@hack.frob.com>
19447         * csu/elf-init.c (__libc_csu_irel): Function removed.
19448         * csu/libc-start.c (apply_irel): New function.
19449         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
19451 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
19453         * sysdeps/unix/sysv/linux/kernel-features.h
19454         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
19455         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
19456         <kernel-features.h>.
19457         [__NR_fadvise64_64]: Make code unconditional.
19458         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
19459         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
19460         !__NR_fadvise64_64)]: Likewise.
19461         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
19462         !__NR_fadvise64_64))]: Likewise.
19463         [__NR_fadvise64]: Make code unconditional.
19464         [!__NR_fadvise64]: Remove conditional code.
19465         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
19466         <kernel-features.h>.
19467         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19468         unconditional.
19469         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19470         conditional code.
19471         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
19472         not include <kernel-features.h>.
19473         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19474         unconditional.
19475         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19476         conditional code.
19477         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
19478         include <kernel-features.h>.
19479         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19480         unconditional.
19481         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19482         conditional code.
19484 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
19486         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
19487         slight instruction rearrangements per scrollpipe analysis.
19488         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
19490 2012-08-20  Roland McGrath  <roland@hack.frob.com>
19492         * manual/syslog.texi (syslog; vsyslog, closelog):
19493         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
19494         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
19496         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
19497         DSOCAPS to match condition on defining it.
19499 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
19501         * sysdeps/unix/sysv/linux/kernel-features.h
19502         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
19503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
19504         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19505         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
19507         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19508         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19509         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
19510         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19511         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19513         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
19514         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
19516         * sysdeps/unix/sysv/linux/kernel-features.h
19517         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
19518         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
19519         unconditional.
19520         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19521         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
19522         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
19523         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19524         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
19525         Make code unconditional.
19526         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19527         (__mmap64) [!__NR_mmap2]: Likewise.
19528         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
19529         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
19530         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19531         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
19532         [__NR_mmap2]: Make code unconditional.
19533         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19534         (__mmap64) [!__NR_mmap2]: Likewise.
19536 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19538         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
19540 2012-08-18  Andreas Jaeger  <aj@suse.de>
19542         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
19544 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
19546         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
19547         * include/unistd.h (__have_sock_cloexec): Likewise.
19548         (__have_pipe2): Likewise.
19549         (__have_dup3): Likewise.
19551 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
19553         [BZ #9685]
19554         * include/unistd.h (__have_pipe2): Change define into an extern int.
19555         (__have_dup3): Likewise.
19556         * socket/have_sock_cloexec.c: Include fcntl.h.
19557         (__have_pipe2): New variable.
19558         (__have_dup3): Likewise.
19560 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
19562         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
19564 2012-08-17  Marek Polacek  <polacek@redhat.com>
19566         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
19567         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
19569 2012-08-17  Roland McGrath  <roland@hack.frob.com>
19571         * configure.in: Add AC_SUBST for sysheaders.
19572         * configure: Regenerated.
19573         * config.make.in (sysheaders): New substituted variable.
19575         * sysdeps/unix/mkfifo.c: Moved ...
19576         * sysdeps/posix/mkfifo.c: ... here.
19577         * sysdeps/unix/mkfifoat.c: Moved ...
19578         * sysdeps/posix/mkfifoat.c: ... here.
19580         * sysdeps/unix/utime.c: Moved ...
19581         * sysdeps/posix/utime.c: ... here.
19583         * sysdeps/unix/time.c: Moved ...
19584         * sysdeps/posix/time.c: ... here.
19585         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
19586         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
19588         * sysdeps/unix/nice.c: Moved ...
19589         * sysdeps/posix/nice.c: ... here.
19591         * sysdeps/unix/alarm.c: Moved ...
19592         * sysdeps/posix/alarm.c: ... here.
19594         * intl/Makefile ($(codeset_mo)): Depend on the input file.
19596 2012-08-17  Jeff Law <law@redhat.com>
19598         * intl/Makefile (codeset_mo): New variable.
19599         ($(codeset_mo)): New target.
19600         (tst-codeset.out): Depend on that.  Remove explicit rule.
19601         (tst-gettext3.out, tst-gettext5.out): Likewise.
19602         (LOCPATH-ENV, tst-codeset-ENV): New variables.
19603         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
19604         * intl/tst-codeset.sh: Remove.
19605         * intl/tst-gettext3.sh: Likewise.
19606         * intl/tst-gettext5.sh: Likewise.
19608 2012-08-17  Roland McGrath  <roland@hack.frob.com>
19610         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
19611         * sysdeps/unix/syscalls.list: ... here.
19613         * sysdeps/posix/getaddrinfo.c
19614         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
19615         (gaiconf_init, gaiconf_reload): Use them.
19616         [!_STATBUF_ST_NSEC]
19617         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
19618         Define using time_t rather than struct timespec.
19620         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
19621         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
19622         Macros removed.
19623         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
19624         [!NO_THREADS].
19625         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
19626         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
19627         Likewise.
19629         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
19630         __libc_cleanup_push argument.
19632         * bits/param.h: New file.
19633         * misc/sys/param.h: New file.
19634         * include/sys/param.h: New file.
19635         * misc/Makefile (headers): Add bits/param.h.
19636         * sysdeps/generic/sys/param.h: File removed.
19637         * sysdeps/unix/sysv/linux/bits/param.h: New file.
19638         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
19639         * sysdeps/mach/hurd/bits/param.h: New file.
19640         * sysdeps/mach/hurd/sys/param.h: File removed.
19642         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
19643         last change.
19645         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
19646         [_IO_MTSAFE_IO].
19647         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
19648         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
19649         New macros.
19651         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
19652         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
19653         rather than -D_IO_MTSAFE_IO conditionally.
19654         * stdio-common/Makefile (CPPFLAGS): Likewise.
19655         * wcsmbs/Makefile (CPPFLAGS): Likewise.
19656         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
19657         Use $(libio-mtsafe).
19658         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
19659         of -D_IO_MTSAFE_IO.
19660         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
19661         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
19662         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
19663         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
19664         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
19665         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
19666         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
19667         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
19668         (CFLAGS-fread_u_chk.c): Likewise.
19669         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
19670         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
19671         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
19672         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
19673         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
19674         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
19675         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
19676         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
19677         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
19679         * libio/Makefile: Test [$(libc-reentrant) = yes]
19680         instead of [$(filter %REENTRANT, $(defines)) nonempty].
19682         * Makeconfig
19683         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
19684         * sysdeps/pthread/configure: File removed.
19685         * sysdeps/pthread/Makeconfig: New file.
19686         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
19687         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
19689 2012-08-16  Gary Benson  <gbenson@redhat.com>
19691         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
19692         unmapping the first object in a namespace.
19694 2012-08-16  Roland McGrath  <roland@hack.frob.com>
19696         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
19697         (__internal_setnetgrent): ... this.  Add internal_function to
19698         definition.  Add libc_hidden_def.
19699         (setnetgrent): Update caller.
19700         (internal_endnetgrent): Renamed to ...
19701         (__internal_endnetgrent): ... this.  Add internal_function to
19702         definition.  Add libc_hidden_def.
19703         (endnetgrent): Update caller.
19704         (internal_getnetgrent_r): Renamed to ...
19705         (__internal_getnetgrent_r): ... this.  Add internal_function to
19706         definition.  Add libc_hidden_def.
19707         (__getnetgrent_r): Update caller.
19708         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
19710 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
19712         * stdlib/longlong.h: Update from GCC.
19714 2012-08-16  Roland McGrath  <roland@hack.frob.com>
19716         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
19717         on _QL, which is set by umul_ppmm but never used.
19718         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
19719         variables, which are set by GMP macros but never used.
19720         * stdio-common/_itowa.c (_itowa): Likewise.
19721         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
19722         * stdlib/mod_1.c (mpn_mod_1): Likewise.
19724 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
19726         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
19727         struct La_sh_regs is not constant.
19728         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
19729         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
19730         and struct La_sparc64_regs are not constant.
19732 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
19734         * sysdeps/unix/sysv/linux/kernel-features.h
19735         (__ASSUME_POSIX_TIMERS): Remove.
19736         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19737         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19738         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
19739         Make code unconditional.
19740         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19741         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
19742         Make code unconditional.
19743         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19744         * sysdeps/unix/sysv/linux/clock_nanosleep.c
19745         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
19746         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19747         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
19748         Make code unconditional.
19749         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19750         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
19751         (__libc_missing_posix_timers): Remove.
19753 2012-08-15  Roland McGrath  <roland@hack.frob.com>
19755         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
19756         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
19758         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
19760         * elf/dl-sym.c: Include <stdlib.h>.
19762         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
19763         constants, which avoids warnings in 32-bit builds.
19765         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
19766         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
19768         * misc/lseek.c: File moved to ...
19769         * io/lseek.c: ... here.
19771         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
19773         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
19774         shifting LEN more than 31 bits at once.
19776 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19778         [BZ #14195]
19779         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
19780         segmentation fault for a case of two empty input strings.
19781         * string/test-strncasecmp.c (check1): Renamed to...
19782         (bz12205): ...this.
19783         (bz14195): Add new testcase for two empty input strings and N > 0.
19784         (test_main): Call new testcase, adapt for renamed function.
19786 2012-08-15  Andreas Jaeger  <aj@suse.de>
19788         [BZ #14090]
19789         * crypt/md5test2.c: New test, based on test supplied by Serge
19790         Belyshev <belyshev@depni.sinp.msu.ru>.
19791         * crypt/Makefile (xtests): Add md5test-giant..
19792         * crypt/Makefile ($(objpfx)md5test-giant): Add.
19794 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
19796         [BZ #14090]
19797         * crypt/md5.c (md5_process_block): Don't assume the buffer
19798         length is less than 2**32.
19799         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
19800         length is less than 2**64.
19802 2012-08-15  Roland McGrath  <roland@hack.frob.com>
19804         * string/str-two-way.h: Include <sys/param.h>.
19805         (MAX): Macro removed.
19807         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
19808         Move #define and #undef of memmove to just before and after
19809         including <string.h>.
19811         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
19812         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
19813         and after including <string.h>.  Move declarations of
19814         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
19815         to before #include "string/memmove.c".
19817         * include/dirent.h: Declare __getdirentries.
19819         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
19820         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
19822 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
19824         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
19825         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
19826         * sysdeps/i386/configure: Regenerated.
19827         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
19828         STABS_CURRENT_FILE, and STABS_FUN.
19829         (END): Remove call to STABS_FUN_END.
19830         (STABS_CURRENT_FILE1): Delete.
19831         (STABS_CURRENT_FILE): Likewise.
19832         (STABS_FUN): Likewise.
19833         (STABS_FUN_END): Likewise.
19834         (STABS_FUN2): Likewise.
19835         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
19836         * sysdeps/x86_64/configure: Regenerated.
19838 2012-08-14  Roland McGrath  <roland@hack.frob.com>
19840         * elf/dl-open.c: Include <atomic.h>.
19841         * elf/dl-lookup.c: Likewise.
19843 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
19845         * sysdeps/unix/sysv/linux/kernel-features.h
19846         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
19847         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
19848         unconditionally.
19849         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
19850         unconditionally.
19851         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
19852         condition on __ASSUME_CLONE_THREAD_FLAGS.
19854 2012-08-14  Andreas Jaeger  <aj@suse.de>
19856         * sysdeps/i386/fpu/libm-test-ulps: Update.
19858 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
19860         * include/atomic.h (atomic_exchange_and_add): Split into ...
19861         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
19862         New atomic macros.
19864 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
19866         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19868 2012-08-13  Jeff Law <law@redhat.com>
19870         * manual/stdio.texi (snprintf): Clarify handling of the trailing
19871         null byte in the output string.
19873 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
19875         * sysdeps/unix/sysv/linux/kernel-features.h
19876         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
19877         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
19878         (__ASSUME_ARG_MAX_STACK_BASED): Define.
19879         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
19880         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
19881         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
19882         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
19884 2012-08-09  Jeff Law <law@redhat.com>
19886         [BZ #13939]
19887         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
19888         When avoid_arena is set, don't retry in the that arena.  Pick the
19889         next one, whatever it might be.
19890         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
19891         (arena_lock): Pass in new parameter to arena_get2.
19892         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
19893         arena_get2.
19894         (__libc_malloc): Unify retrying after main arena failure with
19895         __libc_memalign version.
19896         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
19898 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
19900         [BZ #14166]
19901         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
19902         to __redirect_strstr.
19903         (__strstr_sse42): Use typeof __redirect_strstr.
19904         (__strstr_ia32): Likewise.
19905         (__libc_strstr): New prototype.
19906         (strstr): Renamed to ...
19907         (__libc_strstr): This.
19908         (strstr): New strong alias of __libc_strstr.
19909         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
19910         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
19911         __redirect_time.
19912         Include <time.h>.
19913         (__libc_time): New prototype.
19914         (time_ifunc): Replace time with __libc_time.
19915         (time): New strong alias and hidden definition of __libc_time.
19916         (__GI_time): Remove strong alias.
19917         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
19918         Include <stddef.h>.
19919         (memmove): Redefined to __redirect_memmove.
19920         (__memmove_sse2): Use typeof __redirect_memmove.
19921         (__memmove_ssse3): Likewise.
19922         (__memmove_ssse3_back): Likewise.
19923         (__libc_memmove): New prototype.
19924         (memmove): Renamed to ...
19925         (__libc_memmove): This.
19926         (memmove): New strong alias of __libc_memmove.
19928 2012-08-08  Mark Salter  <msalter@redhat.com>
19930         * elf/elf.h
19931         (R_MN10300_TLS_GD): Define.
19932         (R_MN10300_TLS_LD): Likewise.
19933         (R_MN10300_TLS_LDO): Likewise.
19934         (R_MN10300_TLS_GOTIE): Likewise.
19935         (R_MN10300_TLS_IE): Likewise.
19936         (R_MN10300_TLS_LE): Likewise.
19937         (R_MN10300_TLS_DTPMOD): Likewise.
19938         (R_MN10300_TLS_DTPOFF): Likewise.
19939         (R_MN10300_TLS_TPOFF): Likewise.
19940         (R_MN10300_SYM_DIFF): Likewise.
19941         (R_MN10300_ALIGN): Likewise.
19942         (R_MN10300_NUM): Update.
19944 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
19946         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
19947         Remove.
19949 2012-08-08  Roland McGrath  <roland@hack.frob.com>
19951         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
19953         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
19954         sysdeps/unix -> sysdeps/posix move.
19955         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
19957 2012-08-07      Allan McRae     <allan@archlinux.org>
19959         [BZ #14303]
19960         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
19961         (SUNOS_CPP): Likewise.
19962         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
19963         not found.
19964         (open_input): Call CPP using execvp.
19966 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
19968         * sysdeps/unix/sysv/linux/kernel-features.h
19969         (__ASSUME_PROT_GROWSUPDOWN): Remove.
19970         (__ASSUME_NO_CLONE_DETACHED): Likewise.
19971         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
19972         (__ASSUME_WAITID_SYSCALL): Likewise.
19973         * sysdeps/unix/sysv/linux/dl-execstack.c
19974         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
19975         code unconditional.
19976         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
19977         conditional code.
19978         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
19979         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
19980         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
19981         code.
19982         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
19983         unconditional.
19984         [__ASSUME_WAITID_SYSCALL]: Likewise.
19985         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
19987 2012-08-07  Roland McGrath  <roland@hack.frob.com>
19989         * sysdeps/unix/closedir.c: Renamed to ...
19990         * sysdeps/posix/closedir.c: ... here.
19991         * sysdeps/unix/dirfd.c: Renamed to ...
19992         * sysdeps/posix/dirfd.c: ... here.
19993         * sysdeps/unix/dirstream.h: Renamed to ...
19994         * sysdeps/posix/dirstream.h: ... here.
19995         * sysdeps/unix/fdopendir.c: Renamed to ...
19996         * sysdeps/posix/fdopendir.c: ... here.
19997         * sysdeps/unix/opendir.c: Renamed to ...
19998         * sysdeps/posix/opendir.c: ... here.
19999         * sysdeps/unix/readdir.c: Renamed to ...
20000         * sysdeps/posix/readdir.c: ... here.
20001         * sysdeps/unix/readdir_r.c: Renamed to ...
20002         * sysdeps/posix/readdir_r.c: ... here.
20003         * sysdeps/unix/rewinddir.c: Renamed to ...
20004         * sysdeps/posix/rewinddir.c: ... here.
20005         * sysdeps/unix/seekdir.c: Renamed to ...
20006         * sysdeps/posix/seekdir.c: ... here.
20007         * sysdeps/unix/telldir.c: Renamed to ...
20008         * sysdeps/posix/telldir.c: ... here.
20009         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
20010         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
20011         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
20012         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
20014         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
20015         * bits/fcntl.h: ... here.
20017         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
20018         not 0.
20019         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
20020         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
20021         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
20022         (struct flock): Move l_start, l_len to the beginning.
20023         Use __pid_t for l_pid.
20024         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
20025         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
20026         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
20027         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
20028         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
20029         [__USE_LARGEFILE64] (struct flock64): New type.
20030         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
20032         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
20033         * bits/dirent.h: ... here.
20035         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
20036         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
20038 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
20040         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20041         Change from 2.6.0 to 2.6.16.
20042         * sysdeps/unix/sysv/linux/configure: Regenerated.
20043         * sysdeps/unix/sysv/linux/kernel-features.h
20044         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
20045         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
20046         version.
20047         (__ASSUME_UTIMES): Likewise.
20048         (__ASSUME_CLONE_STOPPED): Remove.
20049         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
20050         architectures, not kernel version.
20051         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
20052         (__ASSUME_NO_CLONE_DETACHED): Likewise.
20053         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20054         (__ASSUME_WAITID_SYSCALL): Likewise.
20055         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
20056         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
20057         * README: State 2.6.16 as minimum Linux kernel version.  Do not
20058         refer to older versions.
20060 2012-08-06  Roland McGrath  <roland@hack.frob.com>
20062         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
20063         Define alphasort64 as an alias.
20064         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
20065         Define versionsort64 as an alias.
20066         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
20067         Define scandir64 as an alias.
20068         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
20069         Define scandirat64 as an alias.
20070         * dirent/alphasort64.c (alphasort64):
20071         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
20072         * dirent/versionsort64.c: Likewise.
20073         * dirent/scandir64.c: Likewise.
20074         * dirent/scandirat64.c: Likewise.
20075         * sysdeps/wordsize-64/alphasort.c: File removed.
20076         * sysdeps/wordsize-64/alphasort64.c: File removed.
20077         * sysdeps/wordsize-64/scandir.c: File removed.
20078         * sysdeps/wordsize-64/scandir64.c: File removed.
20079         * sysdeps/wordsize-64/scandirat.c: File removed.
20080         * sysdeps/wordsize-64/scandirat64.c: File removed.
20081         * sysdeps/wordsize-64/versionsort.c: File removed.
20082         * sysdeps/wordsize-64/versionsort64.c: File removed.
20083         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
20084         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
20085         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
20086         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
20087         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
20088         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
20089         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
20090         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
20092         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
20093         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20094         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
20095         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20096         [defined __arch64__ || defined __sparcv9]
20097         (__INO_T_MATCHES_INO64_T): New macro.
20098         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20099         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
20100         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
20101         * sysdeps/unix/sysv/linux/bits/dirent.h
20102         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
20103         (_DIRENT_MATCHES_DIRENT64): New macro.
20105         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
20106         Define lockf64 as an alias.
20107         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
20108         Define fseeko64 as an alias.
20109         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
20110         Define ftello64 as an alias.
20111         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
20112         Define _IO_fgetpos64 and fgetpos64 as aliases.
20113         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
20114         Define _IO_fsetpos64 and fsetpos64 as aliases.
20115         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
20116         Conditionalize body on this.
20117         * libio/fseeko64.c: Likewise.
20118         * libio/ftello64.c: Likewise.
20119         * libio/iofgetpos64.c: Likewise.
20120         * libio/iofsetpos64.c: Likewise.
20121         * sysdeps/wordsize-64/lockf.c: File removed.
20122         * sysdeps/wordsize-64/lockf64.c: File removed.
20123         * sysdeps/wordsize-64/fseeko.c: File removed.
20124         * sysdeps/wordsize-64/fseeko64.c: File removed.
20125         * sysdeps/wordsize-64/ftello.c: File removed.
20126         * sysdeps/wordsize-64/ftello64.c: File removed.
20127         * sysdeps/wordsize-64/iofgetpos.c: File removed.
20128         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
20129         * sysdeps/wordsize-64/iofsetpos.c: File removed.
20130         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
20131         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
20132         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
20133         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
20134         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
20135         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
20136         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
20137         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
20138         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
20139         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
20140         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
20142         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20143         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20144         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
20145         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20146         [defined __arch64__ || defined __sparcv9]
20147         (__OFF_T_MATCHES_OFF64_T): New macro.
20148         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20149         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20150         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20151         (__OFF_T_MATCHES_OFF64_T): New macro.
20153 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
20155         * stdlib/secure-getenv.c (__secure_getenv): Replace
20156         GLIBC_2_16 with GLIBC_2_17.
20158 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
20160         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
20161         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
20163 2012-08-03  David S. Miller  <davem@davemloft.net>
20165         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20167 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
20169         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
20170         Remove.
20171         (__ASSUME_CORRECT_SI_PID): Likewise.
20172         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
20173         (__ASSUME_TMPFS_NAME): Likewise.
20174         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
20175         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
20176         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
20177         (HAVE_AUX_SECURE): Make definition unconditional.
20178         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
20179         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
20181 2012-08-03  Roland McGrath  <roland@hack.frob.com>
20183         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
20184         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
20185         * sysdeps/mach/hurd/eloop-threshold.h: New file.
20186         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
20187         __eloop_threshold instead of SYMLOOP_MAX.
20189         * sysdeps/generic/eloop-threshold.h: New file.
20190         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
20191         of MAXSYMLINKS.
20192         * elf/chroot_canon.c (chroot_canon): Likewise.
20194 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
20196         [BZ #13717]
20197         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20198         Change to 2.6.0 everywhere.
20199         * sysdeps/unix/sysv/linux/configure: Regenerated.
20200         * sysdeps/unix/sysv/linux/kernel-features.h
20201         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
20202         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
20203         kernel versions.
20204         (__ASSUME_POSIX_TIMERS): Define unconditionally.
20205         (__ASSUME_FUTEX_REQUEUE): Remove.
20206         (__ASSUME_STATFS64): Define unconditionally.
20207         (__ASSUME_AT_SECURE): Likewise.
20208         (__ASSUME_CORRECT_SI_PID): Likewise.
20209         (__ASSUME_TGKILL): Define without depending on kernel version for
20210         i386.
20211         (__ASSUME_UTIMES): Likewise.
20212         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
20213         kernel version.
20214         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
20215         (__ASSUME_TMPFS_NAME): Likewise.
20216         * README: Update reference to Linux kernel versions.
20218 2012-08-02  Marek Polacek  <polacek@redhat.com>
20220         [BZ# 14150]
20221         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
20222         libc_cv_asm_type_prefix with %.
20223         * configure: Regenerated.
20224         * include/libc-symbols.h: Remove comment about
20225         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
20226         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
20227         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
20228         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
20229         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
20230         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
20231         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
20232         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
20233         * elf/tst-unique2mod1.c: Likewise.
20234         * elf/tst-unique1mod2.c: Likewise.
20235         * elf/tst-unique1mod1.c: Likewise.
20236         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
20237         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
20238         Replace ASM_TYPE_DIRECTIVE with .type.
20239         * sysdeps/s390/s390-64/sysdep.h: Likewise.
20240         * sysdeps/i386/sysdep.h: Likewise.
20241         * sysdeps/x86_64/sysdep.h: Likewise.
20242         * sysdeps/sh/sysdep.h: Likewise.
20243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
20244         Do not define ASM_TYPE_DIRECTIVE.
20245         * sysdeps/powerpc/sysdep.h: Likewise.
20246         * sysdeps/powerpc/powerpc32/sysdep.h:
20247         Replace ASM_TYPE_DIRECTIVE with .type.
20248         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
20249         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20250         * sysdeps/i386/fpu/e_powf.S: Likewise.
20251         * sysdeps/i386/fpu/e_expl.S: Likewise.
20252         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20253         * sysdeps/i386/fpu/e_acosh.S: Likewise.
20254         * sysdeps/i386/fpu/e_pow.S: Likewise.
20255         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
20256         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20257         * sysdeps/i386/fpu/s_expm1.S: Likewise.
20258         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
20259         * sysdeps/i386/fpu/e_log2.S: Likewise.
20260         * sysdeps/i386/fpu/e_log2l.S: Likewise.
20261         * sysdeps/i386/fpu/e_scalb.S: Likewise.
20262         * sysdeps/i386/fpu/e_powl.S: Likewise.
20263         * sysdeps/i386/fpu/e_log10f.S: Likewise.
20264         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
20265         * sysdeps/i386/fpu/e_logl.S: Likewise.
20266         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
20267         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
20268         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
20269         * sysdeps/i386/fpu/e_log2f.S: Likewise.
20270         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20271         * sysdeps/i386/fpu/e_log.S: Likewise.
20272         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20273         * sysdeps/i386/fpu/e_logf.S: Likewise.
20274         * sysdeps/i386/fpu/e_log10l.S: Likewise.
20275         * sysdeps/i386/fpu/e_atanh.S: Likewise.
20276         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
20277         * sysdeps/i386/fpu/e_log10.S: Likewise.
20278         * sysdeps/i386/fpu/s_frexp.S: Likewise.
20279         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20280         * sysdeps/i386/fpu/s_asinh.S: Likewise.
20281         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
20282         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20283         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
20284         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
20285         * sysdeps/i386/i686/strtok.S: Likewise.
20286         * sysdeps/i386/i386-mcount.S: Likewise.
20287         * sysdeps/i386/strtok.S: Likewise.
20288         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
20289         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20290         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20291         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20292         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
20293         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20294         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
20295         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
20296         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20297         * sysdeps/x86_64/_mcount.S: Likewise.
20298         * sysdeps/x86_64/strtok.S: Likewise.
20299         * sysdeps/sh/_mcount.S: Likewise.
20301 2012-08-01  Roland McGrath  <roland@hack.frob.com>
20303         * libio/iofopen.c: Include <fcntl.h>.
20304         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
20305         (_IO_fopen64, fopen64): Define as aliases.
20306         * libio/iofopen64.c: Include <fcntl.h>.
20307         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
20308         Conditionalize body on this.
20309         * sysdeps/wordsize-64/iofopen.c: File removed.
20310         * sysdeps/wordsize-64/iofopen64.c: File removed.
20312 2012-08-01  Marek Polacek  <polacek@redhat.com>
20314         * libc/Makeconfig: Use elf in place of binfmt-subdir.
20315         Use dlfcn directly instead of a variable.
20316         (binfmt-subdir): Do not define.
20317         (dlfcn): Likewise.
20319 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
20321         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
20322         Remove all definitions.
20323         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
20324         <kernel-features.h>.
20325         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20326         (miss_F_GETOWN_EX): Remove all definitions.
20327         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
20328         macro definition.
20329         [!__ASSUME_FCNTL64]: Remove conditional code.
20330         [__ASSUME_FCNTL64]: Make code unconditional.
20331         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
20332         <kernel-features.h>.
20333         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20334         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
20335         (lockf64) [__NR_fcntl64]: Make code unconditional.
20336         (lockf64) [__ASSUME_FCNTL64]: Likewise.
20338         * sysdeps/unix/sysv/linux/kernel-features.h
20339         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
20340         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
20341         Make code unconditional.
20342         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20343         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
20345         [__NR_vfork]: Make code unconditional.
20346         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20347         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
20349         [__NR_vfork]: Make code unconditional.
20350         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20351         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20353 2012-08-01  Roland McGrath  <roland@hack.frob.com>
20355         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
20356         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
20358         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20359         Define mkstemp64 as an alias.
20360         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20361         Define mkstemps64 as an alias.
20362         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20363         Define mkostemp64 as an alias.
20364         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20365         Define mkostemps64 as an alias.
20366         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
20367         Conditionalize body on this.
20368         * misc/mkostemp64.c: Likewise.
20369         * misc/mkostemps64.c: Likewise.
20370         * misc/mkstemps64.c: Likewise.
20371         * sysdeps/wordsize-64/mkstemp64.c: File removed.
20372         * sysdeps/wordsize-64/mkostemp64.c: File removed.
20373         * sysdeps/wordsize-64/mkostemp.c: File removed.
20374         * sysdeps/wordsize-64/mkstemp.c: File removed.
20375         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
20376         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
20377         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
20378         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
20380         [BZ #14138]
20381         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
20382         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
20383         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
20384         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
20386         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
20387         compat_symbol macros from <shlib-compat.h> rather than the underlying
20388         default_symbol_version and symbol_version macros, so that DEFAULT
20389         lines in shlib-versions are respected.
20390         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
20392 2012-08-01  Florian Weimer  <fweimer@redhat.com>
20394         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
20395         Declare with warn_unused_result.
20396         (setgid, setregid, setegid, setresgid): Likewise.
20397         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
20398         Likewise.
20399         * WUR-REPORT: Remove set*id functions.
20401 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
20403         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
20405 2012-07-31  Roland McGrath  <roland@hack.frob.com>
20407         [BZ #10191]
20408         * include/sys/socket.h (__libc_accept, __libc_accept4):
20409         Add attribute_hidden.
20410         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
20412         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
20413         use of PTR_MANGLE.
20414         * inet/getnetgrent_r.c (setup): Likewise.
20416         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
20418 2012-07-31  David S. Miller  <davem@davemloft.net>
20420         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20422 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
20424         [BZ #13629]
20425         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
20426         value between 1.0 and 2.0 and smaller part has absolute value less
20427         than 1.0.
20428         * math/s_clog10.c (__clog10): Likewise.
20429         * math/s_clog10f.c (__clog10f): Likewise.
20430         * math/s_clog10l.c (__clog10l): Likewise.
20431         * math/s_clogf.c (__clogf): Likewise.
20432         * math/s_clogl.c (__clogl): Likewise.
20433         * math/libm-test.inc (clog_test): Add more tests.
20434         (clog10_test): Likewise.
20435         * sysdeps/i386/fpu/libm-test-ulps: Update.
20436         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20438 2012-07-31  Florian Weimer  <fweimer@redhat.com>
20440         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
20441         Exit with zero in case no suitable GID is found, and write a
20442         message to standard error.
20444 2012-07-30  Roland McGrath  <roland@hack.frob.com>
20446         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
20447         rather than to 1.
20448         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
20449         (MAXPATHLEN): Removed.
20450         (NOGROUP, NODEV): New macros.
20451         (setbit, clrbit, isset, isclr): New macros.
20452         (howmany, roundup, powerof2): New macros.
20453         (DEV_BSIZE): New macro.
20455         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
20456         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
20458         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
20459         definition on [!__NO_LONG_DOUBLE_MATH].
20461         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
20462         PTR_MANGLE and PTR_DEMANGLE.
20464         * socket/accept4.c (accept4): Rename to __libc_accept4.
20465         Define accept4 as a weak alias.
20467         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
20468         on [_DIRENT_HAVE_D_TYPE].
20469         * io/ftw.c (ftw_dir): Likewise.
20471         * io/xmknod.c (__xmknod): Don't check PATH for being null.
20473         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
20475         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
20476         Use the BSD numbers rather than the arbitrary ones we had.
20477         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
20478         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
20479         (SIGXCPU, SIGXFSZ): New macros.
20480         (_NSIG): Now 32.
20482         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
20483         initializer on [_LIBC_REENTRANT].
20485         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
20486         definitions inside [_POSIX_MAPPED_FILES].
20488         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
20490         * dirent/opendir.c: Include <fcntl.h>.
20492         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
20493         (__libc_getspecific): Likewise.
20494         (__libc_key_create): Likewise.
20496         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
20497         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
20498         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
20499         (tmpfile64): Define as alias.
20500         * sysdeps/wordsize-64/tmpfile.c: File removed.
20501         * sysdeps/wordsize-64/tmpfile64.c: File removed.
20502         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
20503         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
20505         * stdio-common/vfscanf.c: Include <stdbool.h>.
20506         * nss/makedb.c: Likewise.
20507         * stdio-common/_i18n_number.h: Likewise.
20508         * argp/argp-help.c: Likewise.
20509         * posix/wordexp.c: Likewise.
20510         * sysdeps/posix/spawni.c: Likewise.
20511         * nss/nss_files/files-initgroups.c: Likewise.
20512         * stdio-common/reg-modifier.c: Include <stdlib.h>.
20513         * nss/nss_files/files-initgroups.c: Likewise.
20514         * nss/nss_db/db-netgrp.c: Likewise.
20515         * nss/nss_db/db-initgroups.c: Likewise.
20516         * io/fchmodat.c: Include <sys/stat.h>.
20518         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
20519         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
20521         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
20522         [HAVE_MMAP].
20524         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
20525         Add multiple inclusion protection.
20527 2012-07-27  David S. Miller  <davem@davemloft.net>
20529         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20531 2012-07-27  Gary Benson  <gbenson@redhat.com>
20533         [BZ #14298]
20534         * elf/rtld.c: Include <stap-probe.h>.
20535         (dl_main): Added static probes "init_start" and "init_complete".
20536         * elf/dl-load.c: Include <stap-probe.h>.
20537         (lose): Take new parameter "nsid".
20538         Added static probe "map_failed".
20539         (_dl_map_object_from_fd): Pass namespace id to lose.
20540         Added static probe "map_start".
20541         (open_verify): Pass namespace id to lose.
20542         * elf/dl-open.c: Include <stap-probe.h>.
20543         (dl_open_worker) Added static probes "map_complete", "reloc_start"
20544         and "reloc_complete".
20545         * elf/dl-close.c: Include <stap-probe.h>.
20546         (_dl_close_worker): Added static probes "unmap_start" and
20547         "unmap_complete".
20548         * elf/rtld-debugger-interface.txt: New file documenting the above.
20550 2012-07-26  Roland McGrath  <roland@hack.frob.com>
20552         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
20553         rather than a string variable.
20554         * sunrpc/rpc_main.c (h_output): Likewise.
20555         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
20557 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
20559         * inet/check_native.c: New file.
20561 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
20563         [BZ #13629]
20564         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
20565         if larger part has absolute value 1.0.
20566         * math/s_clog10.c (__clog10): Likewise.
20567         * math/s_clog10f.c (__clog10f): Likewise.
20568         * math/s_clog10l.c (__clog10l): Likewise.
20569         * math/s_clogf.c (__clogf): Likewise.
20570         * math/s_clogl.c (__clogl): Likewise.
20571         * math/libm-test.inc (clog_test): Add more tests.
20572         (clog10_test): Likewise.
20573         * sysdeps/i386/fpu/libm-test-ulps: Update.
20574         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20576         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
20577         (pltexit): Likewise.
20578         (La_regs): Likewise.
20579         (La_retval): Likewise.
20580         (int_retval): Likewise.
20581         Update #error for removed macros to refer only to definitions in
20582         tst-audit.h.
20583         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
20584         macro.
20585         (pltexit): Likewise.
20586         (La_regs): Likewise.
20587         (La_retval): Likewise.
20588         (int_retval): Likewise.
20589         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
20590         macro.
20591         (pltexit): Likewise.
20592         (La_regs): Likewise.
20593         (La_retval): Likewise.
20594         (int_retval): Likewise.
20595         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
20596         macro.
20597         (pltexit): Likewise.
20598         (La_regs): Likewise.
20599         (La_retval): Likewise.
20600         (int_retval): Likewise.
20601         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
20602         macro.
20603         (pltexit): Likewise.
20604         (La_regs): Likewise.
20605         (La_retval): Likewise.
20606         (int_retval): Likewise.
20607         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
20608         macro.
20609         (pltexit): Likewise.
20610         (La_regs): Likewise.
20611         (La_retval): Likewise.
20612         (int_retval): Likewise.
20613         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
20614         macro.
20615         (pltexit): Likewise.
20616         (La_regs): Likewise.
20617         (La_retval): Likewise.
20618         (int_retval): Likewise.
20619         * sysdeps/generic/tst-audit.h: Update comment to refer only to
20620         macro definitions in tst-audit.h.
20621         * sysdeps/i386/tst-audit.h: New file.
20622         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
20623         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
20624         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
20625         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
20626         * sysdeps/sh/tst-audit.h: Likewise.
20627         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
20628         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
20629         * sysdeps/x86_64/tst-audit.h: Likewise.
20631 2012-07-26  Andreas Jaeger  <aj@suse.de>
20633         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
20634         ptrace.
20636         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
20637         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
20638         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
20639         PTRACE_O_MASK.
20640         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
20641         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
20642         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
20644         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
20645         value.
20647         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
20648         _sigsys.
20649         (si_call_addr, si_syscall, si_arch): Define new macro.
20650         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
20651         _sigsys.
20652         (si_call_addr, si_syscall, si_arch): Define new marcro.
20653         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
20654         _sigsys.
20655         (si_call_addr, si_syscall, si_arch): Define new macro.
20656         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
20657         _sigsys.
20658         (si_call_addr, si_syscall, si_arch): Define new macro.
20660 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
20662         [BZ #13717]
20663         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20664         Change to 2.4.21 where previously 2.4.1.
20665         * sysdeps/unix/sysv/linux/configure: Regenerated.
20666         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
20667         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
20668         Linux kernel version.
20669         (__ASSUME_STD_AUXV): Remove.
20670         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
20671         kernel version.
20672         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
20673         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
20674         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
20675         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
20676         (__ASSUME_NETLINK_SUPPORT): Likewise.
20677         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
20678         (__no_netlink_support): Remove conditional definition.
20679         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
20680         Remove.
20681         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
20682         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
20683         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
20684         (if_nameindex_ioctl): Remove.
20685         (if_nameindex_netlink): Do not handle __no_netlink_support.
20686         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
20687         code.
20688         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
20689         Remove conditional code.
20690         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
20691         code.
20692         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
20693         unconditional.
20694         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
20695         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
20696         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
20697         Remove.
20698         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
20699         [!__ASSUME_STD_AUXV]: Remove conditional code.
20700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
20701         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
20702         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
20703         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
20704         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
20705         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
20706         code.
20707         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
20708         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20709         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
20710         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
20711         conditional code.
20712         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
20713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
20714         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
20715         code.
20716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20717         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
20718         conditional code.
20719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
20720         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20721         code unconditional.
20722         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20723         conditional code.
20724         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20725         unconditional.
20726         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20727         conditional code.
20728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20729         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20730         unconditional.
20731         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20732         conditional code.
20733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
20734         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20735         code unconditional.
20736         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20737         conditional code.
20738         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20739         unconditional.
20740         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20741         conditional code.
20742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
20743         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20744         code unconditional.
20745         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20746         conditional code.
20747         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20748         unconditional.
20749         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20750         conditional code.
20752 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
20754         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
20755         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
20756         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
20757         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
20758         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
20759         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
20760         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
20761         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
20762         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
20763         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
20764         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
20765         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
20766         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
20767         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
20768         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
20769         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
20770         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
20771         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
20772         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
20773         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
20774         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
20775         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
20776         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
20778 2012-07-25  Florian Weimer  <fweimer@redhat.com>
20780         * Versions.def: Add GLIBC_2.17.
20781         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
20782         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
20783         Introduce __libc_secure_getenv.
20784         * stdlib/Versions (2.17): Add secure_getenv
20785         (GLIBC_PRIVATE): Add __libc_secure_getenv.
20786         * stdlib/secure-getenv.c: Rename __secure_getenv to
20787         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
20788         symbol __secure_getenv for GLIBC_2.0.
20789         * stdlib/tst-secure-getenv.c: New.
20790         * stdlib/Makefile (tests): Add testcase.
20791         * manual/startup.texi (Environment Access): Document
20792         secure_getenv.
20793         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
20794         __libc_secure_getenv.
20795         * inet/ruserpass.c (ruserpass): Likewise.
20796         * malloc/mtrace.c (mtrace): Likewise.
20797         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
20798         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
20799         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
20800         * sysdeps/posix/tempname.c: Likewise.  Evaluate
20801         HAVE_SECURE_GETENV.
20802         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
20803         __secure_getenv to __libc_secure_getenv.
20804         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
20805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20806         Likewise.
20807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20808         Likewise.
20809         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
20810         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
20811         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
20812         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
20813         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
20814         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
20815         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
20817 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
20819         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
20820         (struct La_i86_retval): Likewise.
20821         (struct La_x86_64_regs): Likewise.
20822         (struct La_x86_64_retval): Likewise.
20823         (struct La_x32_regs): Likewise.
20824         (struct La_x32_retval): Likewise.
20825         (struct La_ppc32_regs): Likewise.
20826         (struct La_ppc32_retval): Likewise.
20827         (struct La_ppc64_regs): Likewise.
20828         (struct La_ppc64_retval): Likewise.
20829         (struct La_sh_regs): Likewise.
20830         (struct La_sh_retval): Likewise.
20831         (struct La_s390_32_regs): Likewise.
20832         (struct La_s390_32_retval): Likewise.
20833         (struct La_s390_64_regs): Likewise.
20834         (struct La_s390_64_retval): Likewise.
20835         (struct La_sparc32_regs): Likewise.
20836         (struct La_sparc32_retval): Likewise.
20837         (struct La_sparc64_regs): Likewise.
20838         (struct La_sparc64_retval): Likewise.
20839         (struct audit_ifaces): Remove architecture-specific pltenter and
20840         pltexit members.
20841         * sysdeps/i386/ldsodefs.h: New file.
20842         * sysdeps/powerpc/ldsodefs.h: Likewise.
20843         * sysdeps/s390/ldsodefs.h: Likewise.
20844         * sysdeps/sh/ldsodefs.h: Likewise.
20845         * sysdeps/sparc/ldsodefs.h: Likewise.
20846         * sysdeps/x86_64/ldsodefs.h: Likewise.
20848 2012-07-25  Marek Polacek  <polacek@redhat.com>
20850         [BZ #6808]
20851         * math/libm-test.inc (yn_test): Add another test.
20852         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
20853         to ERANGE when the result is +-Inf.
20854         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
20855         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
20856         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
20857         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
20859 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
20861         * conform/data/time.h-data (NULL): Use macro-constant.  Require
20862         equal to 0.
20863         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
20864         clock_t.
20865         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
20867 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
20869         * configure.in <sysdeps resolving>: Correct printing
20870         Implies_before.
20871         * configure: Regenerate.
20873 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
20875         * math/w_ilogb.c: Include <limits.h>.
20876         * math/w_ilogbl.c: Likewise.
20878 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
20880         * manual/lang.texi (__va_copy): Document primarily as ISO C99
20881         va_copy.  Document allowing for unavailable va_copy only as
20882         pre-C99 compatibility.
20883         * manual/string.texi (Copying and Concatenation): Use va_copy
20884         instead of __va_copy in concat example.
20886 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
20888         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
20889         (__sendto): Use create_address_port.  Initialize APORT and deallocate
20890         it if not null.
20892         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
20893         with O_NOLINK passed to __file_name_lookup.
20895         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
20896         with O_NOLINK passed to __file_name_lookup.
20898         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
20899         negative N or less than NGIDS.
20901         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
20902         type to string_t.  Set ERANGE as errno and return it if NAME is not big
20903         enough.  Use memcpy instead of strncpy.
20905 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
20907         * elf/Makefile (check-data): Remove.
20908         (localplt.data): New vpath directive.
20909         ($(objpfx)check-localplt.out): Use localplt.data from vpath
20910         instead of $(check-data).
20911         * scripts/data/localplt-generic.data: Move to ...
20912         * sysdeps/generic/localplt.data: ... here.
20913         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
20914         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
20915         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
20916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
20917         ... here.
20918         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
20919         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
20920         ... here.
20921         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
20922         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
20923         ... here.
20924         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
20925         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
20926         ... here.
20927         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
20928         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
20929         ... here.
20930         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
20931         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
20932         ... here.
20934 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20936         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
20937         PPC32 and PPC64 files.
20938         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
20939         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
20941 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20943         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
20944         __makecontext_ret to ...
20945         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
20946         ... here and call exit if uc_link is NULL.  New file.
20947         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
20948         __makecontext_ret.S.
20949         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
20950         __makecontext_ret to ...
20951         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
20952         ... here and call exit if uc_link is NULL.  New file.
20953         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
20954         __makecontext_ret.S.
20956 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20958         * elf/elf.h (R_390_IRELATIVE): New definition.
20959         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
20960         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
20961         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
20962         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
20963         (elf_machine_lazy_rel): Likewise.
20964         * sysdeps/s390/dl-irel.h: New file.
20965         * sysdeps/s390/s390-64/memcpy.S: New asm code.
20966         * sysdeps/s390/s390-64/memset.S: New asm code.
20967         * sysdeps/s390/s390-64/memcmp.S: New asm code.
20968         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
20969         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
20970         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
20971         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
20972         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
20973         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
20974         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
20975         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
20976         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
20977         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
20978         * sysdeps/s390/s390-32/memcpy.S: New asm code.
20979         * sysdeps/s390/s390-32/memset.S: New asm code.
20980         * sysdeps/s390/s390-32/memcmp.S: New asm code.
20982 2012-07-17  Marek Polacek  <polacek@redhat.com>
20984         [BZ #14349]
20985         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
20986         * sysdeps/s390/s390-64/configure.in: Likewise.
20987         * sysdeps/sparc/configure.in: Likewise.
20988         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
20989         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
20990         * sysdeps/i386/configure.in: Likewise.
20991         * sysdeps/x86_64/configure.in: Likewise.
20992         * sysdeps/sh/configure.in: Likewise.
20993         * sysdeps/s390/s390-32/configure: Regenerated.
20994         * sysdeps/s390/s390-64/configure: Likewise.
20995         * sysdeps/x86_64/configure: Likewise.
20996         * sysdeps/sh/configure: Likewise.
20997         * sysdeps/powerpc/powerpc64/configure: Likewise.
20998         * sysdeps/powerpc/powerpc32/configure: Likewise.
20999         * sysdeps/sparc/configure: Likwise.
21000         * sysdeps/i386/configure: Likewise.
21002         * elf/dl-open.c: Comment fixes.
21004 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
21006         * Makefile [CXX] (check-data): Remove.
21007         [CXX] (c++-types.data): New vpath directive.
21008         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
21009         vpath.  Do not allow for C++ type data being missing.
21010         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
21011         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
21012         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
21013         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
21014         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
21015         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
21016         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
21017         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
21018         ... here.
21019         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
21020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
21021         ... here.
21022         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
21023         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
21024         ... here.
21025         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
21026         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
21027         ... here.
21028         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
21029         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
21030         ... here.
21031         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
21032         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
21033         ... here.
21034         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
21035         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
21036         ... here.
21037         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
21038         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
21040         * elf/tls-macros.h (TLS_LE): Move architecture-specific
21041         definitions to architecture-specific files.
21042         (TLS_IE): Likewise.
21043         (TLS_LD): Likewise.
21044         (TLS_GD): Likewise.
21045         * sysdeps/i386/tls-macros.h: New file.
21046         * sysdeps/powerpc/tls-macros.h: Likewise.
21047         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
21048         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
21049         * sysdeps/sh/tls-macros.h: Likewise.
21050         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
21051         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
21052         * sysdeps/x86_64/tls-macros.h: Likewise.
21054 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
21056         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
21057         zero value for regular exit case.
21059         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
21060         (__start_context): Preserve zero value for regular exit case.
21062 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
21063             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21065         * manual/setjmp.texi (setcontext): Clarify normal process
21066         termination when uc_link is the null pointer.
21067         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
21068         exit call.
21070 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
21072         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
21073         preprocessor.  Test for each exception mask separately.
21075 2012-07-16  Andreas Jaeger  <aj@suse.de>
21077         * po/ru.po: Update from translation team.
21079 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
21081         * conform/data/string.h-data (NULL): Use macro-constant.  Require
21082         equal to 0.
21083         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
21084         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
21085         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
21086         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
21087         [ISO || ISO99 || ISO11] (*_t): Do not allow.
21089 2012-07-13  Andreas Jaeger  <aj@suse.de>
21091         * po/fr.po: Update from translation team.
21093 2012-07-12  Marek Polacek  <polacek@redhat.com>
21095         [BZ #14173]
21096         * math/libm-test.inc (yn_test): Add test for BZ #14173.
21097         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
21098         loop condition.
21100 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
21102         [BZ #13717]
21103         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21104         Change to 2.4.1 where previously 2.4.0.
21105         * sysdeps/unix/sysv/linux/configure: Regenerated.
21106         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
21107         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
21108         version.
21109         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
21110         (__ASSUME_AT_CLKTCK): Remove.
21111         (__ASSUME_AT_PAGESIZE): Likewise.
21112         (__ASSUME_AT_XID): Likewise.
21113         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
21114         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
21115         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
21116         unconditionally.
21117         (HAVE_AUX_PAGESIZE): Likewise.
21118         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
21119         [__ASSUME_AT_CLKTCK]: Make code unconditional.
21120         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
21122 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
21124         [BZ #14307]
21125         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
21126         the temporary buffer used to invoke __gethostbyname2_r,
21127         __gethostbyaddr_r and gethostbyname4_r to make room for struct
21128         host_data / struct gaih_addrtuple.
21129         * resolv/nss_dns/dns-host.c (global scope): Move definition of
21130         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
21131         header file nss/nsswitch.h.
21132         * nss/nsswitch.h (global scope): Add definition of implementation
21133         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
21134         resolv/nss_dns/dns-host.c).
21136 2012-07-11  Andreas Jaeger  <aj@suse.de>
21138         * po/fr.po: Update from translation team.
21140         * po/sv.po: Update from translation team
21141         * po/fr.po: Another update from translation team.
21143 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21145         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
21146         for subnormals or multiply small sinh result by itself.
21147         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21148         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21150 2012-07-11  David S. Miller  <davem@davemloft.net>
21152         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21154 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
21156         [BZ #14347]
21157         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
21158         (INTERNAL_MARK): Shift it here.
21160 2012-07-10  Marek Polacek  <polacek@redhat.com>
21162         [BZ #14151]
21163         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
21164         libc_cv_asm_global_directive with .globl.
21165         * configure: Regenerated.
21166         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
21167         with .globl.
21168         * sysdeps/i386/configure: Regenerated.
21169         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
21170         with .globl.
21171         * sysdeps/x86_64/configure: Regenerated.
21172         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
21173         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
21174         * elf/tst-unique2mod2.c: Likewise.
21175         * elf/tst-unique2mod1.c: Likewise.
21176         * elf/tst-unique1mod2.c: Likewise.
21177         * elf/tst-unique1mod1.c: Likewise.
21178         * sysdeps/s390/s390-32/sysdep.h: Likewise.
21179         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
21180         * sysdeps/s390/s390-64/sysdep.h: Likewise.
21181         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21182         * sysdeps/mach/sysdep.h: Likewise.
21183         * sysdeps/i386/sysdep.h: Likewise.
21184         * sysdeps/i386/i386-mcount.S: Likewise.
21185         * sysdeps/x86_64/_mcount.S: Likewise.
21186         * sysdeps/x86_64/sysdep.h: Likewise.
21187         * sysdeps/sh/_mcount.S: Likewise.
21188         * sysdeps/sh/sysdep.h: Likewise.
21189         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
21190         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
21191         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
21192         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21193         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
21194         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
21195         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
21196         * locale/localeinfo.h: Likewise.
21197         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
21198         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
21200 2012-07-09  Roland McGrath  <roland@hack.frob.com>
21202         [BZ #14336]
21203         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
21204         system".
21205         * manual/message.texi (The Uniforum approach): Likewise.
21206         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
21207         (glibc iconv Implementation): Likewise.
21209 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
21211         [BZ #14337]
21212         * math/s_clog.c (__clog): Avoid scaling a value down where that
21213         could result in underflow.
21214         * math/s_clog10.c (__clog10): Likewise.
21215         * math/s_clog10f.c (__clog10f): Likewise.
21216         * math/s_clog10l.c (__clog10l): Likewise.
21217         * math/s_clogf.c (__clogf): Likewise.
21218         * math/s_clogl.c (__clogl): Likewise.
21219         * math/libm-test.inc (clog_test): Add more tests.
21220         (clog10_test): Likewise.
21221         * sysdeps/i386/fpu/libm-test-ulps: Update.
21222         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21224 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
21226         [BZ #14283]
21227         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
21228         by 7 not 8 to examine high bit of fractional part.
21230         [BZ #14042]
21231         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
21232         for call to __mcount_internal.
21233         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
21234         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
21235         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
21237 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
21239         [BZ #14154]
21240         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
21241         approximation for values within 0x1p-13f of an odd multiple of
21242         pi/4.
21243         * math/libm-test.inc (tan_test): Do not allow spurious underflow
21244         exception.  Add more tests.
21245         * sysdeps/i386/fpu/libm-test-ulps: Update.
21247         [BZ #6778]
21248         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
21249         inputs and return -1 for them.  Do not check for +Inf in case not
21250         reachable for +Inf.
21251         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
21252         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
21253         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21254         and return -1 for them.  Do not check for +Inf in case not
21255         reachable for +Inf.
21256         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
21257         define.
21258         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21259         and return -1 for them.  Do not check for +Inf in case not
21260         reachable for +Inf.
21261         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
21262         spurious underflow.
21263         * sysdeps/i386/fpu/libm-test-ulps: Update.
21264         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21266 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
21268         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
21270 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
21272         [BZ #14157]
21273         [BZ #14331]
21274         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
21275         could result in spurious underflow.  Scale down values above
21276         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
21277         * math/s_csqrtf.c (__csqrtf): Likewise.
21278         * math/s_csqrtl.c (__csqrtl): Likewise.
21279         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
21280         spurious underflow.
21281         * sysdeps/i386/fpu/libm-test-ulps: Update.
21282         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21284 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
21286         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
21287         xopen-msg.sed.
21288         * catgets/xopen-msg.awk: New file.
21289         * catgets/xopen-msg.sed: Removed.
21291         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
21292         po2text.sed.
21293         * intl/po2test.awk: New file.
21294         * intl/po2test.sed: Removed.
21296 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
21298         [BZ #14328]
21299         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
21300         or multiply small sinh result by itself.
21301         * math/s_ctanf.c (__ctanf): Likewise.
21302         * math/s_ctanh.c (__ctanh): Likewise.
21303         * math/s_ctanhf.c (__ctanhf): Likewise.
21304         * math/s_ctanhl.c (__ctanhl): Likewise.
21305         * math/s_ctanl.c (__ctanl): Likewise.
21306         * math/libm-test.inc (ctan_test_tonearest): New function.
21307         (ctan_test_towardzero): Likewise.
21308         (ctan_test_downward): Likewise.
21309         (ctan_test_upward): Likewise.
21310         (ctanh_test_tonearest): Likewise.
21311         (ctanh_test_towardzero): Likewise.
21312         (ctanh_test_downward): Likewise.
21313         (ctanh_test_upward): Likewise.
21314         (main): Call these new functions.
21315         * sysdeps/i386/fpu/libm-test-ulps: Update.
21316         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21318 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
21320         * .gitignore: Delete /ports entry.
21322 2012-07-03  Andreas Jaeger  <aj@suse.de>
21324         * po/bg.po: Update from translation team.
21325         * po/cs.po: Likewise.
21326         * po/de.po: Likewise.
21327         * po/hr.po: Likewise.
21328         * po/nl.pl: Likewise.
21329         * po/pl.po: Likewise.
21330         * po/vi.po: Likewise.
21332 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
21334         * Makeconfig [!+link] (+link-before-libc): New variable.
21335         [!+link] (+link-after-libc): Likewise.
21336         [!+link] (+link-tests): Likewise.
21337         [!+link] (+link): Define in terms of $(+link-before-libc) and
21338         $(+link-after-libc).
21339         [!+link-static] (+link-static-before-libc): New variable.
21340         [!+link-static] (+link-static-after-libc): Likewise.
21341         [!+link-static] (+link-static-tests): Likewise.
21342         [!+link-static] (+link-static): Define in terms of
21343         $(+link-static-before-libc) and $(+link-static-after-libc).
21344         [build-shared] (link-libc-before-gnulib): New variable.
21345         [build-shared] (link-libc-tests): Likewise.
21346         [build-shared] (link-libc): Define in terms of
21347         $(link-libc-before-gnulib).
21348         [!build-shared] (link-libc-tests): New variable.
21349         (link-libc-static-tests): New variable.
21350         [!gnulib] (gnulib-arch): New variable.
21351         [!gnulib] (gnulib-tests): Likewise.
21352         [!gnulib] (static-gnulib-arch): Likewise.
21353         [!gnulib] (static-gnulib-tests): Likewise.
21354         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
21355         Define with "=" instead of ":=".
21356         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
21357         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
21358         * Rules (binaries-all-notests): New variable.
21359         (binaries-all-tests): Likewise.
21360         (binaries-static-notests): Likewise.
21361         (binaries-static-tests): Likewise.
21362         (binaries-all): Define using $(binaries-all-notests) and
21363         $(binaries-all-tests).
21364         (binaries-static): Define using $(binaries-static-notests) and
21365         $(binaries-static-tests).
21366         (binaries-shared-tests): New variable.
21367         (binaries-shared-notests): Likewise.
21368         (binaries-shared): Remove variable.
21369         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
21370         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
21371         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
21372         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
21373         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
21374         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
21375         * elf/Makefile (sln-modules): New variable.
21376         (extra-objs): Add $(sln-modules:=.o).
21377         (ldconfig-modules): Add static-stubs.
21378         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
21379         * elf/static-stubs.c: New file.
21381         [BZ #14283]
21382         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
21383         by 7 not 8 to examine high bit of fractional part.  Use volatile
21384         variables when splitting into final array of floats if
21385         __FLT_EVAL_METHOD__ != 0.
21386         * math/libm-test.inc (cos_test): Add another test.
21387         (sin_test): Likewise.
21388         * sysdeps/i386/fpu/libm-test-ulps: Update.
21390         [BZ #14273]
21391         * math/libm-test.inc (cosh_test): Add more tests.
21393         * version.h (RELEASE): Set to "development".
21394         (VERSION): Set to "2.16.90".
21396 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
21398         * NEWS: Update copyright. Remove last-updated date.
21399         Mention math library bug fixes and timezone data changes.
21400         * README: Mention GNU/Hurd, x32, and HPPA support status.
21402 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
21404         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
21406 2012-06-27  Andreas Jaeger  <aj@suse.de>
21408         * manual/contrib.texi (Contributors): Add Samuel Thibault.
21410 2012-06-25  Andreas Jaeger  <aj@suse.de>
21412         * sysdeps/s390/fpu/libm-test-ulps: Update.
21414 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
21415             Thomas Schwinge  <thomas@codesourcery.com>
21417         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
21418         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
21419         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
21420         fanotify_mark.
21422 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
21424         * sysdeps/mach/start.c: Remove file.
21425         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
21426         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
21427         * sysdeps/sh/init-first.c: Likewise.
21429         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
21430         registers for frame unwinding purposes, add CFI directives.
21431         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
21432         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
21433         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
21434         Likewise.
21436         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
21437         __fortify_fail returning.
21438         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
21440         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
21441         sysdeps/sh/____longjmp_chk.S.
21442         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
21443         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
21444         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
21445         (gen-as-const-headers): Append sigaltstack-offsets.sym.
21447         * sysdeps/sh/abort-instr.h: New file.
21448         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
21449         process in case exit returns.
21451         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
21452         initialize the GOT register before use.
21454         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
21455         calculation of ARGC > 4.
21457         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
21458         meaningful names to some local labels.
21460 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
21461             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21463         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
21464         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
21465         (__arch_compare_and_exchange_val_16_acq): Likewise.
21466         (__arch_compare_and_exchange_val_32_acq): Likewise.
21467         (atomic_exchange_and_add): Fix gUSA sequence.
21468         (atomic_add): Likewise.
21469         (atomic_add_negative): Likewise.
21470         (atomic_add_zero): Likewise.
21471         (atomic_bit_test_set): Likewise.
21473 2012-06-22  Andreas Schwab  <schwab@redhat.com>
21475         [BZ #13579]
21476         * include/link.h (struct link_map): Add l_free_initfini.
21477         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
21478         l_initfini.
21479         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
21480         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
21481         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
21482         set.
21484 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
21486         * configure.in: Use AC_LANG_SOURCE.
21487         * configure: Regenerate.
21489 2012-06-22  Roland McGrath  <roland@hack.frob.com>
21491         * configure.in (libc_cv_localstatedir): New substituted variable.
21492         * configure: Regenerated.
21493         * config.make.in (localstatedir): New variable, substituted from
21494         libc_cv_localstatedir.
21495         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
21496         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
21497         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
21498         * sysdeps/gnu/configure: Regenerated.
21500 2012-06-21  Jeff Law  <law@redhat.com>
21502         [BZ #14277]
21503         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
21504         free.  Simplify list management for _LIBC case.
21506 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
21508         [BZ #14273]
21509         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
21510         Clear sign bit of 64-bit integer value before comparing against
21511         overflow value.
21513         * sysdeps/mach/configure: Regenerated.
21515 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
21517         [BZ #14278]
21518         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
21520 2012-06-21  Jeff Law  <law@redhat.com>
21522         [BZ #13882]
21523         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
21524         uint16_t for elements in the "seen" array to avoid char overflows.
21525         * elf/dl-fini.c (_dl_sort_fini): Likewise.
21526         * elf/dl-open.c (dl_open_worker): Likewise.
21528 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
21530         * scripts/list-sources.sh: Scan PORTS for translations.
21531         * po/libc.pot: Regenerated.
21533 2012-06-21  Andreas Jaeger  <aj@suse.de>
21535         [BZ #12194]
21536         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
21537         warning.
21538         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
21539         * bits/byteswap-16.h (__bswap_16): Likewise.
21540         * bits/byteswap.h (__bswap_constant_16): Likewise.
21542 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
21544         [BZ #14117]
21545         * sysdeps/i386/fpu_control.h: Removed.
21546         * sysdeps/x86_64/fpu_control.h: Moved to ...
21547         * sysdeps/x86/fpu_control.h: Here.
21549         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
21550         (_FPU_SETCW): Likewise.
21552 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
21554         [BZ #14117]
21555         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
21556         * sysdeps/x86/fpu/bits/mathinline.h: This.
21557         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
21559         [BZ #14050]
21560         [BZ #14117]
21561         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
21562         functions if __x86_64__ is defined.
21564 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
21566         * string/endian.h: Add !__ASSEMBLER__ condition for including
21567         conversion interfaces.
21569 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
21571         [BZ #14241]
21572         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
21573         of ABS(x) in calculating zero to negative powers other than odd
21574         integers.
21575         * math/libm-test.inc (pow_test): Add more tests.
21577 2012-06-15  Andreas Jaeger  <aj@suse.de>
21579         * manual/contrib.texi (Contributors): Update entry of Liubov
21580         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
21581         Machado Filho.
21583 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
21585         * string/string.h: Add __wur to GNU version of strerror_r.
21587 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
21589         [BZ #14229]
21590         * string/Makefile (tests): Add tst-strtok_r.
21591         * string/tst-strtok_r.c: New file.
21592         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
21593         RAX_LP/RDX_LP on SAVE_PTR.
21595 2012-06-14  Roland McGrath  <roland@hack.frob.com>
21597         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
21599 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
21601         * libm_test.inc (csqrt_test): Allow more spurious underflow
21602         exceptions.
21603         (j0_test): Likewise.
21604         (j1_test): Likewise.
21605         (y0_test): Likewise.
21606         (y1_test): Likewise.
21608 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
21610         * po/Makefile (libc.pot): Use UTF-8 charset.
21612 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
21614         [BZ #14210]
21615         Suppress sign-conversion warning from FD_SET.
21616         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
21617         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
21618         not unsigned long int.
21619         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
21621 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
21623         [BZ #14050]
21624         [BZ #14117]
21625         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
21626         __extern_always_inline instead of __extern_inline.
21627         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
21628         (__signbit): Likewise.
21629         (__signbitl): Support C++ namespace.
21630         (lrintf): New inline function.
21631         (lrint): Likewise.
21632         (llrintf): Likewise.
21633         (llrint): Likewise.
21634         (fmaxf): Likewise.
21635         (fmax): Likewise.
21636         (fminf): Likewise.
21637         (fmin): Likewise.
21638         (rint): Likewise.
21639         (rintf): Likewise.
21640         (ceil): Likewise.
21641         (ceilf): Likewise.
21642         (floor): Likewise.
21643         (floorf): Likewise.
21644         (nearbyint): Likewise.
21645         (nearbyintf): Likewise.
21647 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
21649         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
21650         non-default versions.
21652 2012-06-11  Roland McGrath  <roland@hack.frob.com>
21654         [BZ #14218]
21655         * manual/argp.texi (Argp): Reword argp_parse description slightly.
21657 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
21659         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
21660         (FE_UPWARD, FE_DOWNWARD): Don't define.
21661         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
21662         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
21664         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
21665         reading it.
21666         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
21667         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21669 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21671         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
21672         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
21673         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
21674         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
21676 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
21678         [BZ #14117]
21679         * sysdeps/i386/fpu/bits/fenv.h: Removed.
21680         * sysdeps/i386/fpu/Implies: New file.
21681         * sysdeps/x86_64/fpu/Implies: Likewise.
21682         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
21683         * sysdeps/x86/fpu/bits/fenv.h: This.
21685         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
21686         __SSE_MATH__.
21688 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
21690         [BZ #14134]
21691         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
21692         character 0xffff that matches the last element of the
21693         conversion table.
21695 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21697         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
21698         fmodl commit.
21700 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21702         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
21703         values higher than 25.6283.
21705 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21707         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
21708         subnormal exponent extraction and add some __builtin_expect.
21709         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
21710         Fix for subnormal mantissa calculation.
21712 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
21714         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
21715         cpu2 is -1 and errno is not ENOSYS.
21717 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
21719         [BZ #14117]
21720         * sysdeps/i386/i486/bits/string.h: Renamed to ...
21721         * sysdeps/x86/bits/string.h: This.
21722         * sysdeps/x86_64/bits/string.h: Removed.
21724         * sysdeps/i386/i486/bits/string.h: Define inline functions only
21725         if not compiling for x86-64, but compiling for >= i486.
21727         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
21728         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
21730         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
21731         New macro from Linux kernel 3.4.0.
21732         (FP_XSTATE_MAGIC2): Likewise.
21733         (FP_XSTATE_MAGIC2_SIZE): Likewise.
21734         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
21735         (struct _fpx_sw_bytes): New struct.
21736         (struct _xsave_hdr): Likewise.
21737         (struct _ymmh_state): Likewise.
21738         (struct _xstate): Likewise.
21740         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
21741         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
21742         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
21743         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
21744         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
21745         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
21747         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
21748         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
21749         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
21750         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
21751         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
21752         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
21754 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
21756         [BZ #13743]
21757         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
21758         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
21759         (sysdep_headers): Include sys/platform/ppc.h.
21760         * sysdeps/powerpc/test-gettimebase.c: Test for
21761         __ppc_get_timebase() to catch future ISA opcode/insn changes.
21762         * manual/Makefile (appendices): Include platform.texi.
21763         * manual/contrib.texi (Contributors): Update @node pointers.
21764         * manual/maint.texi (Maintenance): Likewise.
21765         (Platform): New node.
21766         * manual/platform.texi: New file.  Document the new features.
21768 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
21769             Jakub Jelinek  <jakub@redhat.com>
21771         [BZ #14188]
21772         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
21773         where __builtin_expect is unavailable.
21775 2012-06-03  David S. Miller  <davem@davemloft.net>
21777         * stdlib/longlong.h: Updated from GCC.
21779 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
21781         [BZ #14042]
21782         * sysdeps/powerpc/powerpc32/mcount.c: New file.
21783         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
21784         __mcount_internal.
21785         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
21786         (GLIBC_2.16): Likewise.
21788 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
21790         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
21792 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
21794         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
21795         (default-abi): New variable.
21796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
21797         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
21798         variable.
21799         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
21800         Likewise.
21801         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
21802         Likewise.
21803         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
21804         Likewise.
21806         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
21807         definition.  Document in comment.
21809 2012-06-01  David S. Miller  <davem@davemloft.net>
21811         * stdlib/longlong.h: Updated from GCC.
21813 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
21815         [BZ #14117]
21816         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
21817         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
21818         sys/debugreg.h sys/io.h here.
21819         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
21820         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
21821         sys/io.h.
21822         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
21823         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
21824         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
21825         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
21826         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
21827         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
21829         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
21830         Define only if __x86_64__ is defined.
21832 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
21834         [BZ #14048]
21835         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
21836         Use int64_t for variable i.
21837         * math/libm-test.inc (fmod_test): Add more tests.
21839         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
21840         z computation is not scheduled after fetestexcept.
21841         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
21842         Use math_force_eval instead of asm to ensure calculation scheduled
21843         before exception test.
21844         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
21845         Ensure a1 + u.d computation is not scheduled after fetestexcept.
21847 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
21849         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
21850         computation is not scheduled after fetestexcept.
21852 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
21854         [BZ #14117]
21855         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
21856         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
21858 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21860         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
21861         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
21863 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
21865         [BZ #14117]
21866         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
21867         <bits/wordsize.h>.
21868         (__WCHAR_MIN): Support __WORDSIZE == 64.
21869         (__WCHAR_MAX): Likewise.
21871         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
21872         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
21874         [BZ #14183]
21875         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
21876         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
21878         [BZ #14117]
21879         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
21880         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
21882         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
21883         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
21885         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
21886         Defined to 1 if __x86_64__ isn't defined.
21887         (_STAT_VER_LINUX_OLD): New.
21888         (st_atime): Remove duplicate.
21889         (st_mtime): Likewise.
21890         (st_ctime): Likewise.
21892 2012-05-31  David S. Miller  <davem@davemloft.net>
21894         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
21895         entries.
21897 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
21899         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
21900         gen-libm-test.pl.
21902         [BZ #14132]
21903         * elf/dl-reloc.c: Include <_itoa.h>.
21904         (_dl_reloc_bad_type): Remove use of INTUSE.
21905         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
21906         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
21907         * stdio-common/psiginfo.c (psiginfo): Likewise.
21908         * stdio-common/psignal.c (psignal): Likewise.
21909         * string/strsignal.c (strsignal): Likewise.
21910         * include/signal.h (_sys_siglist): Declare hidden proto.
21911         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
21912         INTVARDEF with libc_hidden_data_def.
21913         * stdio-common/itoa-udigits.c: Likewise.
21914         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
21915         (_itoa_lower_digits_internal): Remove declaration.
21916         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
21917         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
21918         (_sys_sigabbrev_internal): Remove aliases.
21919         (_sys_siglist): Define hidden alias.
21921 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
21923         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21924         bits/sysctl.h.
21926 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
21928         [BZ #14117]
21929         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
21930         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
21932         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
21933         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
21934         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
21935         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
21936         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
21937         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
21939         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
21940         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
21941         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
21943         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
21944         with __addr.
21945         (insw): Likewise.
21946         (insl): Likewise.
21947         (outsb): Likewise.
21948         (outsw): Likewise.
21949         (outsl): Likewise.
21951         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
21952         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
21953         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
21955         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
21956         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
21957         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
21958         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
21959         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
21960         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
21962         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
21963         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
21965         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
21966         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
21968         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
21969         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
21970         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
21972         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
21973         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
21974         to ...
21975         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
21977         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
21978         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
21979         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
21981         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
21982         for x86-64.
21983         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
21985 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
21987         * math/math.h (M_El): Use two more decimal places.
21988         (M_LOG2El): Likewise.
21989         (M_LOG10El): Likewise.
21990         (M_LN2l): Likewise.
21991         (M_LN10l): Likewise.
21992         (M_PIl): Likewise.
21993         (M_PI_2l): Likewise.
21994         (M_PI_4l): Likewise.
21995         (M_1_PIl): Likewise.
21996         (M_2_PIl): Likewise.
21997         (M_2_SQRTPIl): Likewise.
21998         (M_SQRT2l): Likewise.
21999         (M_SQRT1_2l): Likewise.
22001 2012-05-31  David S. Miller  <davem@davemloft.net>
22003         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
22004         values between float registers.
22005         * sysdeps/sparc/sparc64/memset.S: Likewise.
22006         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22008 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
22010         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
22011         -D_FORTIFY_SOURCE=1.
22012         (CPPFLAGS-tst-longjmp_chk.c): Define.
22013         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
22014         (CPPFLAGS-tst-longjmp_chk2.c): Define.
22015         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
22016         CFLAGS-tst-wchar-h.c.
22018 2012-05-31  Marek Polacek  <polacek@redhat.com>
22020         [BZ #14132]
22021         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
22022         __endmntent_internal): Remove declaration.
22023         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
22024         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
22025         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
22027 2012-05-30  David S. Miller  <davem@davemloft.net>
22029         * sysdeps/sparc/sparc32/soft-fp/q_util.c
22030         (___Q_simulate_exceptions): Use real FP ops rather than writing
22031         into the %fsr.
22032         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
22033         Likewise.
22035 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
22037         [BZ #14117]
22038         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
22039         * sysdeps/x86/bits/xtitypes.h: This.
22041         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
22042         * sysdeps/x86/bits/wordsize.h: This.
22044         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
22045         * sysdeps/x86/bits/huge_vall.h: This.
22047         * sysdeps/i386/bits/select.h: Removed.
22048         * sysdeps/x86_64/bits/select.h: Renamed to ...
22049         * sysdeps/x86/bits/select.h: This.
22051         * sysdeps/i386/bits/setjmp.h: Removed.
22052         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
22053         * sysdeps/x86/bits/setjmp.h: This.
22055         * sysdeps/i386/bits/mathdef.h: Removed.
22056         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
22057         * sysdeps/x86/bits/mathdef.h: This.
22059 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
22061         [BZ #14132]
22062         * include/sys/socket.h (__connect_internal)
22063         (__libc_sa_len_internal): Remove declaration.
22064         (__connect, __libc_sa_len): Declare hidden_proto.
22065         (SA_LEN): Remove use of INTUSE.
22066         * socket/connect.c: Add libc_hidden_def.
22067         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
22068         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
22069         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
22070         alias.
22071         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
22072         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
22073         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
22074         of adding _internal alias.
22076 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
22078         [BZ #14117]
22079         * sysdeps/i386/bits/link.h: Removed.
22080         * sysdeps/i386/bits/linkmap.h: Likewise.
22081         * sysdeps/x86_64/bits/link.h: Renamed to ...
22082         * sysdeps/x86/bits/link.h: This.
22083         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
22084         * sysdeps/x86/bits/linkmap.h: This.
22086         * sysdeps/i386/bits/endian.h: Removed.
22087         * sysdeps/x86_64/bits/endian.h: Renamed to ...
22088         * sysdeps/x86/bits/endian.h: This.
22090         * sysdeps/i386/bits/byteswap.h: Removed.
22091         * sysdeps/i386/bits/byteswap-16.h: Likewise.
22092         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
22093         * sysdeps/x86/bits/byteswap.h: This.
22094         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
22095         * sysdeps/x86/bits/byteswap-16.h: This.
22096         * sysdeps/i386/Implies: Add x86.
22097         * sysdeps/x86_64/Implies: Likewise.
22099 2012-05-30  David S. Miller  <davem@davemloft.net>
22101         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
22102         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
22103         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
22104         (FP_TRAPPING_EXCEPTIONS): Define.
22105         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
22106         (FP_TRAPPING_EXCEPTIONS): Define.
22107         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
22108         subnormals only when inexact has been signalled or underflow
22109         exceptions are enabled.
22110         (_FP_PACK_CANONICAL): Likewise.
22112 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
22114         [BZ #14183]
22115         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
22116         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
22118 2012-05-30  Richard Henderson  <rth@twiddle.net>
22120         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
22121         with #ifndef NOT_IN_libc.
22123         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
22124         marked to avoid plt entry.
22126 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
22128         [BZ #14112]
22129         * Makeconfig (default-abi): New macro.
22130         (abi-includes): Likewise.
22131         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
22132         $(abi-$(default-abi)-lib-soname) for soname if defined.
22133         ($(common-objpfx)gnu/lib-names.stmp): Generate from
22134         abi-variants.
22135         * Makefile (installed-stubs): Likewise.
22136         * include/stubs-biarch.h: Removed.
22137         * scripts/lib-names.awk: Only handle one library at a time.
22138         * scripts/soversions.awk: Remove WORDSIZE support.
22139         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
22140         entries.
22141         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
22142         Removed.
22143         (syscall-list-default-condition): Likewise.
22144         (syscall-list-default-condition): Likewise.
22145         (syscall-list-includes): Likewise.
22146         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
22147         syscall-list-* with abi-*.  Handle undefined abi-variants.
22148         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
22149         * sysdeps/unix/sysv/linux/i386/Implies: New file.
22150         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
22151         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
22152         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
22153         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
22154         Removed.
22155         (syscall-list-32-options): Likewise.
22156         (syscall-list-32-condition): Likewise.
22157         (syscall-list-64-options): Likewise.
22158         (syscall-list-64-condition): Likewise.
22159         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
22160         macro.
22161         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
22162         Renamed to ...
22163         (abi-*): This.
22164         (abi-64-ld-soname): New macro.
22165         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
22166         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
22167         Renamed to ...
22168         (abi-*): This.
22169         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
22170         * sysdeps/x86_64/x32/shlib-versions: Likewise.
22172 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
22174         * sysdeps/unix/sysv/linux/kernel-features.h
22175         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
22176         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
22177         include <kernel-features.h>.
22178         [!__NR_ftruncate64]: Remove conditional code.
22179         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22180         [__NR_ftruncate64]: Make code unconditional.
22181         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22182         * sysdeps/unix/sysv/linux/truncate64.c: Do not
22183         include <kernel-features.h>.
22184         [!__NR_ftruncate64]: Remove conditional code.
22185         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22186         [__NR_ftruncate64]: Make code unconditional.
22187         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22188         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
22189         include <kernel-features.h>.
22190         [!__NR_ftruncate64]: Remove conditional code.
22191         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22192         [__NR_ftruncate64]: Make code unconditional.
22193         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
22195         include <kernel-features.h>.
22196         [!__NR_ftruncate64]: Remove conditional code.
22197         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22198         [__NR_ftruncate64]: Make code unconditional.
22199         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22201         * configure.in (libc_cv_fpie): Weaken to a compile test using
22202         LIBC_TRY_CC_OPTION.
22203         * configure: Regenerated.
22205 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22207         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
22208         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
22209         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
22210         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22211         Refreshed.
22212         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
22213         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
22214         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
22215         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
22216         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
22217         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22218         Refreshed.
22220 2012-05-27  David S. Miller  <davem@davemloft.net>
22222         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
22223         (___Q_zero): New.
22224         (__Q_simulate_exceptions): Return void.  Change to simulate
22225         exceptions by writing into the %fsr.
22226         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
22227         (__Qp_handle_exceptions): Likewise.
22228         (numbers): Delete.
22229         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
22230         __Qp_handle_exceptions.
22231         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
22232         __Qp_handle_exceptions.
22233         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22234         as unused and give dummy FP_RND_NEAREST initializer.
22235         (FP_INHIBIT_RESULTS): Define.
22236         (___Q_simulate_exceptions): Update declaration.
22237         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
22238         formatting.
22239         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22240         as unused and give dummy FP_RND_NEAREST initializer.
22241         (__Qp_handle_exceptions): Update declaration.
22242         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
22243         formatting.
22245 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
22247         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
22248         the temporary FPU control word.
22249         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
22250         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
22251         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
22252         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
22253         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22254         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
22255         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
22256         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22257         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
22258         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
22259         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22261 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22263         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
22264         fields.
22266 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
22268         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
22269         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
22270         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
22271         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
22272         Likewise.
22273         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
22274         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
22275         Likewise.
22277 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
22279         * po/h.po: Update from translation team.
22281 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
22283         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
22285         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
22286         handling of denormals.
22287         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22288         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
22289         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
22290         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
22291         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22292         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
22293         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
22294         Likewise.
22296 2012-05-26  Marek Polacek  <polacek@redhat.com>
22298         [BZ #14152]
22299         * math/libm-test.inc (fma_test): Don't always expect underflow
22300         exception.
22302 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22304         [BZ #12416]
22305         * elf/tst-execstack.c: Include stackinfo.h.
22306         (do_test): Adjust test case to ensure that pthread_getattr_np
22307         behaviour remains the same after marking stack executable.
22309 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
22311         * sysdeps/unix/sysv/linux/kernel-features.h
22312         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
22313         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
22314         kernel-features.h.
22315         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22316         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22317         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
22318         kernel-features.h.
22319         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22320         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22322 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
22324         * configure.in: Define the default includes to being none.
22325         * configure: Regenerated.
22327 2012-05-25  Roland McGrath  <roland@hack.frob.com>
22329         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
22330         * sysdeps/x86_64/setjmp.S: Likewise.
22331         * sysdeps/i386/bsd-setjmp.S: Likewise.
22332         * sysdeps/i386/bsd-_setjmp.S: Likewise.
22333         * sysdeps/i386/setjmp.S: Likewise.
22334         * sysdeps/i386/__longjmp.S: Likewise.
22335         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
22336         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
22338         * include/stap-probe.h: New file.
22339         * configure.in: Handle --enable-systemtap.
22340         * configure: Regenerated.
22341         * config.h.in (USE_STAP_PROBE): New #undef.
22342         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
22343         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
22344         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
22346 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
22348         [BZ #13717]
22349         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
22350         to 2.4.0 where earlier.
22351         * sysdeps/unix/sysv/linux/configure: Regenerated.
22352         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
22353         <kernel-features.h>.
22354         [__ASSUME_32BITUIDS]: Make code unconditional.
22355         [!__ASSUME_32BITUIDS]: Remove conditional code.
22356         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
22357         <kernel-features.h>.
22358         [__ASSUME_32BITUIDS]: Make code unconditional.
22359         [!__ASSUME_32BITUIDS]: Remove conditional code.
22360         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
22361         [__ASSUME_32BITUIDS]: Make code unconditional.
22362         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
22363         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
22364         <kernel-features.h>.
22365         [__ASSUME_32BITUIDS]: Make code unconditional.
22366         [!__ASSUME_32BITUIDS]: Remove conditional code.
22367         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
22368         <kernel-features.h>.
22369         [__ASSUME_32BITUIDS]: Make code unconditional.
22370         [!__ASSUME_32BITUIDS]: Remove conditional code.
22371         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
22372         <kernel-features.h>.
22373         [__ASSUME_32BITUIDS]: Make code unconditional.
22374         [!__ASSUME_32BITUIDS]: Remove conditional code.
22375         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
22376         <kernel-features.h>.
22377         [__ASSUME_32BITUIDS]: Make code unconditional.
22378         [!__ASSUME_32BITUIDS]: Remove conditional code.
22379         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
22380         <kernel-features.h>.
22381         [__ASSUME_32BITUIDS]: Make code unconditional.
22382         [!__ASSUME_32BITUIDS]: Remove conditional code.
22383         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
22384         <kernel-features.h>.
22385         [__ASSUME_32BITUIDS]: Make code unconditional.
22386         [!__ASSUME_32BITUIDS]: Remove conditional code.
22387         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
22388         <kernel-features.h>.
22389         [__ASSUME_32BITUIDS]: Make code unconditional.
22390         [!__ASSUME_32BITUIDS]: Remove conditional code.
22391         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
22392         <kernel-features.h>.
22393         [__ASSUME_32BITUIDS]: Make code unconditional.
22394         [!__ASSUME_32BITUIDS]: Remove conditional code.
22395         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
22396         <kernel-features.h>.
22397         [__ASSUME_32BITUIDS]: Make code unconditional.
22398         [!__ASSUME_32BITUIDS]: Remove conditional code.
22399         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
22400         <kernel-features.h>.
22401         [__ASSUME_32BITUIDS]: Make code unconditional.
22402         [!__ASSUME_32BITUIDS]: Remove conditional code.
22403         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
22404         <kernel-features.h>.
22405         [__NR_setresgid] (__setresgid): Do not declare.
22406         [__ASSUME_32BITUIDS]: Make code unconditional.
22407         [!__ASSUME_32BITUIDS]: Remove conditional code.
22408         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
22409         <kernel-features.h>.
22410         [__NR_setresuid] (__setresuid): Do not declare.
22411         [__ASSUME_32BITUIDS]: Make code unconditional.
22412         [!__ASSUME_32BITUIDS]: Remove conditional code.
22413         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
22414         <kernel-features.h>.
22415         [__ASSUME_32BITUIDS]: Make code unconditional.
22416         [!__ASSUME_32BITUIDS]: Remove conditional code.
22417         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
22418         <kernel-features.h>.
22419         [__ASSUME_32BITUIDS]: Make code unconditional.
22420         [!__ASSUME_32BITUIDS]: Remove conditional code.
22421         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
22422         <kernel-features.h>.
22423         [__ASSUME_32BITUIDS]: Make code unconditional.
22424         [!__ASSUME_32BITUIDS]: Remove conditional code.
22425         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
22426         <kernel-features.h>.
22427         [__ASSUME_32BITUIDS]: Make code unconditional.
22428         [!__ASSUME_32BITUIDS]: Remove conditional code.
22429         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
22430         <kernel-features.h>.
22431         [__ASSUME_32BITUIDS]: Make code unconditional.
22432         [!__ASSUME_32BITUIDS]: Remove conditional code.
22433         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
22434         <kernel-features.h>.
22435         [__ASSUME_32BITUIDS]: Make code unconditional.
22436         [!__ASSUME_32BITUIDS]: Remove conditional code.
22437         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
22438         <kernel-features.h>.
22439         [__ASSUME_32BITUIDS]: Make code unconditional.
22440         [!__ASSUME_32BITUIDS]: Remove conditional code.
22441         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
22442         <kernel-features.h>.
22443         [__ASSUME_32BITUIDS]: Make code unconditional.
22444         [!__ASSUME_32BITUIDS]: Remove conditional code.
22445         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
22446         <kernel-features.h>.
22447         [__ASSUME_32BITUIDS]: Make code unconditional.
22448         [!__ASSUME_32BITUIDS]: Remove conditional code.
22449         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
22450         <kernel-features.h>.
22451         [__ASSUME_32BITUIDS]: Make code unconditional.
22452         [!__ASSUME_32BITUIDS]: Remove conditional code.
22453         * sysdeps/unix/sysv/linux/kernel-features.h
22454         (__ASSUME_SETRESUID_SYSCALL): Remove.
22455         (__ASSUME_SETRESGID_SYSCALL): Likewise.
22456         (__ASSUME_32BITUIDS): Likewise.
22457         (__ASSUME_LDT_WORKS): Likewise.
22458         (__ASSUME_O_DIRECTORY): Likewise.
22459         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
22460         architecture but not kernel version.
22461         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
22462         (__ASSUME_MMAP2_SYSCALL): Likewise.
22463         (__ASSUME_STAT64_SYSCALL): Likewise.
22464         (__ASSUME_IPC64): Likewise.
22465         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
22466         <kernel-features.h>.
22467         [__ASSUME_32BITUIDS]: Make code unconditional.
22468         [!__ASSUME_32BITUIDS]: Remove conditional code.
22469         * sysdeps/unix/sysv/linux/opendir.c: Do not include
22470         <kernel-features.h>.
22471         [__ASSUME_O_DIRECTORY]: Make code unconditional.
22472         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
22473         132096]: Remove conditional code.
22474         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
22475         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
22476         <kernel-features.h>.
22477         [__ASSUME_32BITUIDS]: Make code unconditional.
22478         [!__ASSUME_32BITUIDS]: Remove conditional code.
22479         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
22480         <kernel-features.h>.
22481         [__ASSUME_32BITUIDS]: Make code unconditional.
22482         [!__ASSUME_32BITUIDS]: Remove conditional code.
22483         * sysdeps/unix/sysv/linux/setegid.c: Do not include
22484         <kernel-features.h>.
22485         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
22486         unconditional.
22487         (__setresgid): Do not declare.
22488         [__ASSUME_32BITUIDS]: Make code unconditional.
22489         [!__ASSUME_32BITUIDS]: Remove conditional code.
22490         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
22491         <kernel-features.h>.
22492         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
22493         unconditional.
22494         (__setresuid): Do not declare.
22495         [__ASSUME_32BITUIDS]: Make code unconditional.
22496         [!__ASSUME_32BITUIDS]: Remove conditional code.
22497         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
22498         <kernel-features.h>.
22499         [__ASSUME_32BITUIDS]: Make code unconditional.
22500         [!__ASSUME_32BITUIDS]: Remove conditional code.
22501         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
22502         <kernel-features.h>.
22503         [__ASSUME_32BITUIDS]: Make code unconditional.
22504         [!__ASSUME_32BITUIDS]: Remove conditional code.
22506 2012-05-25  Richard Henderson  <rth@twiddle.net>
22508         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
22509         dl_hwcap to ifunc resolver.
22510         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
22511         elf_ifunc_invoke.
22512         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
22513         dl_hwcap to ifunc resolver.
22514         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
22516 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
22518         [BZ #14153]
22519         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
22520         for |x| <= 2**-26, not 2**-57.
22521         * math/libm-test.inc (acos_test): Do not allow spurious underflow
22522         exception.
22524 2012-05-24  Jeff Law  <law@redhat.com>
22526         * stdio-common/Makefile (tests): Add bug25.
22527         * stdio-common/bug25.c: New test.
22529 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
22531         [BZ #13576]
22532         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
22533         multiple of MALLOC_ALIGNMENT in size.
22534         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
22536 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
22538         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
22539         Require >= 256.
22540         (FILENAME_MAX): Use macro-int-constant.
22541         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
22542         (_IOFBF): Use macro-int-constant.
22543         (_IOLBF): Likewise.
22544         (_IONBF): Likewise.
22545         (SEEK_CUR): Likewise.
22546         (SEEK_END): Likewise.
22547         (SEEK_SET): Likewise.
22548         (TMP_MAX): Likewise.
22549         (EOF): Use macro-int-constant.  Require < 0.
22550         (NULL): Use macro-constant.  Require == 0.
22551         (stdin): Require type to be FILE *.
22552         (stdout): Likewise.
22553         (stderr): Likewise.
22554         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
22555         macro-int-constant.
22556         (EXIT_SUCCESS): Likewise.
22557         (NULL): Use macro-constant.  Require == 0.
22558         (RAND_MAX): Use macro-int-constant.
22559         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
22560         [C99-based standards] (strtof): Require function.
22561         [C99-based standards] (strtold): Likewise.
22562         [C99-based standards] (strtoll): Likewise.
22563         [C99-based standards] (strtoull): Likewise.
22564         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
22565         [ISO || ISO99 || ISO11] (limits.h): Likewise.
22566         [ISO || ISO99 || ISO11] (math.h): Likewise.
22567         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
22568         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
22569         [ISO || ISO99 || ISO11] (*_t): Do not allow.
22571 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
22573         [BZ #14132]
22574         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
22575         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
22576         * intl/dgettext.c (DCGETTEXT): Likewise.
22577         * intl/gettext.c (DCGETTEXT): Likewise.
22578         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
22579         * posix/regex_internal.h (gettext): Likewise.
22580         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
22581         Remove declaration.
22582         * include/argz.h (__argz_count_internal)
22583         (__argz_stringify_internal): Remove declaration.
22584         (__argz_count, __argz_stringify): Declare hidden proto.
22585         * intl/dcgettext.c: Remove use of INTDEF.
22586         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
22587         * string/argz-stringify.c: Likewise.
22588         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
22589         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
22590         Declare hidden proto.
22591         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
22592         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
22593         Declare hidden proto.
22594         * include/stdio.h (__asprintf_internal): Don't declare.
22595         (__asprintf): Don't define as macro.  Declare hidden proto.
22596         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
22597         (__fsetlocking): Declare hidden proto.
22598         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
22599         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
22600         hidden proto.
22601         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
22602         (_IO_setlinebuf): Remove use of INTUSE.
22603         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
22604         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
22605         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
22606         Remove declaration.
22607         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
22608         (_IO_do_flush): Remove use of INTUSE.
22609         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
22610         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
22611         (_IO_adjust_column, _IO_least_wmarker)
22612         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
22613         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
22614         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
22615         (_IO_default_doallocate, _IO_wdefault_doallocate)
22616         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
22617         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
22618         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
22619         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
22620         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
22621         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
22622         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
22623         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
22624         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
22625         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
22626         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
22627         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
22628         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
22629         proto.
22630         (_IO_flush_all_internal, _IO_adjust_column_internal)
22631         (_IO_default_uflow_internal, _IO_default_finish_internal)
22632         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
22633         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
22634         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
22635         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
22636         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
22637         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
22638         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
22639         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
22640         (_IO_file_close_internal, _IO_file_close_it_internal)
22641         (_IO_file_underflow_internal, _IO_file_overflow_internal)
22642         (_IO_file_init_internal, _IO_file_attach_internal)
22643         (_IO_file_fopen_internal, _IO_file_read_internal)
22644         (_IO_file_sync_internal, _IO_file_seek_internal)
22645         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
22646         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
22647         (_IO_str_underflow_internal, _IO_str_overflow_internal)
22648         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
22649         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
22650         (_IO_list_all_internal, _IO_link_in_internal)
22651         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
22652         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
22653         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
22654         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
22655         (_IO_do_write_internal, _IO_padn_internal)
22656         (_IO_getline_info_internal, _IO_getline_internal)
22657         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
22658         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
22659         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
22660         (_IO_vfscanf_internal, _IO_vfprintf_internal)
22661         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
22662         (_IO_init_internal, _IO_un_link_internal): Don't declare.
22663         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
22664         with libc_hidden_ver, remove use of INTUSE.
22665         * libio/genops.c: Likewise.
22666         * libio/freopen.c: Likewise.
22667         * libio/freopen64.c: Likewise.
22668         * libio/iofclose.c: Likewise.
22669         * libio/iofdopen.c: Likewise.
22670         * libio/iofflush.c: Likewise.
22671         * libio/iofflush_u.c: Likewise.
22672         * libio/iofgets.c: Likewise.
22673         * libio/iofgets_u.c: Likewise.
22674         * libio/iofopen.c: Likewise.
22675         * libio/iofopncook.c: Likewise.
22676         * libio/iofread.c: Likewise.
22677         * libio/iofread_u.c: Likewise.
22678         * libio/ioftell.c: Likewise.
22679         * libio/iofwrite.c: Likewise.
22680         * libio/iogetline.c: Likewise.
22681         * libio/iogets.c: Likewise.
22682         * libio/iogetwline.c: Likewise.
22683         * libio/iopadn.c: Likewise.
22684         * libio/iopopen.c: Likewise.
22685         * libio/ioseekoff.c: Likewise.
22686         * libio/ioseekpos.c: Likewise.
22687         * libio/iosetbuffer.c: Likewise.
22688         * libio/iosetvbuf.c: Likewise.
22689         * libio/ioungetc.c: Likewise.
22690         * libio/ioungetwc.c: Likewise.
22691         * libio/iovdprintf.c: Likewise.
22692         * libio/iovsprintf.c: Likewise.
22693         * libio/iovsscanf.c: Likewise.
22694         * libio/memstream.c: Likewise.
22695         * libio/obprintf.c: Likewise.
22696         * libio/oldfileops.c: Likewise.
22697         * libio/oldiofclose.c: Likewise.
22698         * libio/oldiofdopen.c: Likewise.
22699         * libio/oldiofopen.c: Likewise.
22700         * libio/oldiopopen.c: Likewise.
22701         * libio/oldstdfiles.c: Likewise.
22702         * libio/putc.c: Likewise.
22703         * libio/setbuf.c: Likewise.
22704         * libio/setlinebuf.c: Likewise.
22705         * libio/stdfiles.c: Likewise.
22706         * libio/strops.c: Likewise.
22707         * libio/vasprintf.c: Likewise.
22708         * libio/vscanf.c: Likewise.
22709         * libio/vsnprintf.c: Likewise.
22710         * libio/vswprintf.c: Likewise.
22711         * libio/wfiledoalloc.c: Likewise.
22712         * libio/wfileops.c: Likewise.
22713         * libio/wgenops.c: Likewise.
22714         * libio/wmemstream.c: Likewise.
22715         * libio/wstrops.c: Likewise.
22716         * libio/__fpurge.c: Likewise.
22717         * libio/__fsetlocking.c: Likewise.
22718         * assert/assert.c: Likewise.
22719         * debug/fgets_chk.c: Likewise.
22720         * debug/fgets_u_chk.c: Likewise.
22721         * debug/fread_chk.c: Likewise.
22722         * debug/fread_u_chk.c: Likewise.
22723         * debug/gets_chk.c: Likewise.
22724         * debug/obprintf_chk.c: Likewise.
22725         * debug/vasprintf_chk.c: Likewise.
22726         * debug/vdprintf_chk.c: Likewise.
22727         * debug/vsnprintf_chk.c: Likewise.
22728         * debug/vsprintf_chk.c: Likewise.
22729         * malloc/mtrace.c: Likewise.
22730         * misc/error.c: Likewise.
22731         * misc/syslog.c: Likewise.
22732         * stdio-common/asprintf.c: Likewise.
22733         * stdio-common/fxprintf.c: Likewise.
22734         * stdio-common/getw.c: Likewise.
22735         * stdio-common/isoc99_fscanf.c: Likewise.
22736         * stdio-common/isoc99_scanf.c: Likewise.
22737         * stdio-common/isoc99_vfscanf.c: Likewise.
22738         * stdio-common/isoc99_vscanf.c: Likewise.
22739         * stdio-common/isoc99_vsscanf.c: Likewise.
22740         * stdio-common/printf-prs.c: Likewise.
22741         * stdio-common/printf_fp.c: Likewise.
22742         * stdio-common/printf_fphex.c: Likewise.
22743         * stdio-common/printf_size.c: Likewise.
22744         * stdio-common/putw.c: Likewise.
22745         * stdio-common/scanf.c: Likewise.
22746         * stdio-common/sprintf.c: Likewise.
22747         * stdio-common/tmpfile.c: Likewise.
22748         * stdio-common/vfprintf.c: Likewise.
22749         * stdio-common/vfscanf.c: Likewise.
22750         * stdlib/strfmon_l.c: Likewise.
22751         * sunrpc/openchild.c: Likewise.
22752         * sunrpc/xdr_stdio.c: Likewise.
22753         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
22754         * sysdeps/mach/hurd/tmpfile.c: Likewise.
22756 2012-05-24  Roland McGrath  <roland@hack.frob.com>
22758         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
22760         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
22761         in the third column, to generate for the shared library an IFUNC
22762         that uses _dl_vdso_vsym.
22763         * Makerules (COMPILE.c, compile-stdin.c): New variables.
22764         * Makeconfig (object-suffixes-noshared): New variable.
22766         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
22767         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
22768         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
22769         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
22771         [BZ #14132]
22772         * include/sys/time.h (__gettimeofday): Remove macro.
22773         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
22774         * time/gettimeofday.c (__gettimeofday): Remove #undef.
22775         Remove INTDEF.
22776         (__gettimeofday): Add libc_hidden_def.
22777         (gettimeofday): Add libc_hidden_weak.
22778         * sysdeps/mach/gettimeofday.c: Likewise.
22779         * sysdeps/posix/gettimeofday.c: Likewise.
22780         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
22781         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
22782         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
22783         (__gettimeofday_internal): Remove strong_alias.
22784         (__gettimeofday): Add libc_hidden_def.
22785         (gettimeofday): Add libc_hidden_weak.
22786         * sysdeps/unix/syscalls.list (gettimeofday):
22787         Remove __gettimeofday_internal alias.
22789 2012-05-24  Daniel Jacobowitz  <drow@false.org>
22790             H.J. Lu  <hongjiu.lu@intel.com>
22792         [BZ #12495]
22793         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
22794         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
22795         (largebin_index_32_big): New.
22796         (largebin_index): Use it for 16-byte alignment.
22797         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
22798         correction with front_misalign.
22800 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
22802         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
22803         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
22804         Likewise.
22805         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
22806         Likewise.
22807         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
22808         Likewise.
22809         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
22810         Likewise.
22811         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
22812         Likewise.
22813         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
22814         Likewise.
22815         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
22816         Likewise.
22817         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
22818         Likewise.
22819         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
22820         Likewise.
22821         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
22822         Likewise.
22823         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
22824         Likewise.
22825         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
22826         Likewise.
22828         * scripts/data/c++-types-x32-linux-gnu.data: New file.
22829         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
22831 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
22833         [BZ #10846]
22834         [BZ #14036]
22835         * math/libm-test.inc (exp_test): Add test from bug 14036.
22836         (pow_test): Add test from bug 10846.
22838         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
22839         and other flags.
22840         (special_function): Do not include flags in test name.
22841         (parse_args): Likewise.
22842         * sysdeps/i386/fpu/libm-test-ulps: Update.
22843         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22844         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22845         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22846         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22848         * math/gen-libm-test.pl (%beautify): Add entries for underflow
22849         exceptions.
22850         * math/libm-test.inc ("Philosophy"): Update comment about
22851         exception testing.
22852         (UNDERFLOW_EXCEPTION): New macro.
22853         (UNDERFLOW_EXCEPTION_OK): Likewise.
22854         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
22855         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
22856         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
22857         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
22858         (INVALID_EXCEPTION_OK): Update value.
22859         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
22860         (OVERFLOW_EXCEPTION_OK): Likewise.
22861         (IGNORE_ZERO_INF_SIGN): Likewise.
22862         (test_exceptions): Handle underflow exceptions.
22863         (acos_test): Update for underflow exception expectations.
22864         (cexp_test): Likewise.
22865         (clog_test): Likewise.
22866         (clog10_test): Likewise.
22867         (csqrt_test): Likewise.
22868         (ctan_test): Likewise.
22869         (ctanh_test): Likewise.
22870         (exp_test): Likewise.
22871         (exp10_test): Likewise.
22872         (exp2_test): Likewise.
22873         (expm1_test): Likewise.
22874         (fma_test): Likewise.
22875         (j0_test): Likewise.
22876         (jn_test): Likewise.
22877         (nexttoward_test): Likewise.
22878         (pow_test): Likewise.
22879         (scalbn_test): Likewise.
22880         (scalbln_test): Likewise.
22881         (tan_test): Likewise.
22882         (y1_test): Likewise.
22883         * sysdeps/i386/fpu/libm-test-ulps: Update.
22884         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22886 2012-05-23  David S. Miller  <davem@davemloft.net>
22888         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
22889         (__libc_sigaction): Remove unused local variables.
22891 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
22893         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
22895 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
22897         mktime: avoid signed integer overflow
22898         * time/mktime.c (__mktime_internal): Do not mishandle the case
22899         where diff == INT_MIN.
22901         mktime: simplify computation of average
22902         * time/mktime.c (ranged_convert): Use new time_t_avg function
22903         instead of rolling our own (probably-slower) code.
22905         mktime: do not assume signed right shift propagates sign bit
22906         * time/mktime.c (isdst_differ): New static function.
22907         (__mktime_internal): No need to normalize tm_isdst now.
22908         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
22909         tm_isdst values.
22911         mktime: merge another wrapv change from gnulib
22912         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
22913         from some compilers.
22915         mktime: remove incorrect attempt at unusual arithmetics
22916         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
22917         The code didn't really work on such machines anyway.
22918         (TYPE_MINIMUM): Assume two's complement.
22919         (twos_complement_arithmetic): Verify that long_int and time_t
22920         are two's complement (or unsigned, in the latter case).
22922         mktime: check signed shifts on long_int and time_t, too
22923         * time/mktime.c (SHR): Check that shifts work as desired
22924         on the types long_int and time_t too, as SHR is used on
22925         such types.
22927         mktime: do not assume 'long' is wide enough
22928         * time/mktime.c (verify): Move decl up.
22929         (long_int): New type.
22930         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
22931         to remove assumption in the code that 'long' is wide enough to
22932         store year values.  This assumption is not true on x32 and on
22933         some non-glibc platforms.
22935         mktime: merge wrapv change from gnulib
22936         * time/mktime.c (WRAPV): New macro.
22937         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
22938         (guess_time_tm, __mktime_internal): Do not assume that signed
22939         integer overflow wraps around; modern compilers generate code
22940         where this assumption is no longer valid.
22942 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
22944         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
22945         Replace "jmp L(pseudo_end)" with "ret".
22946         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
22947         Likewise.
22949 2012-05-23  Andreas Jaeger  <aj@suse.de>
22951         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
22952         * sysdeps/unix/sysv/linux/poll.c: Remove file.
22954 2012-05-23  Andreas Jaeger  <aj@suse.de>
22955             Maximilian Attems  <max@stro.at>
22957         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
22958         New macros.
22960 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
22962         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
22963         code so that pseudo_end is just ret and the stack pointer is
22964         correct also for static library in error case.
22966 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
22968         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
22969         move to syscalls.list.
22970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
22971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
22972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
22973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
22975         * manual/install.texi (Running make install): Do not mention Linux
22976         kernel version for which pt_chown is not needed.
22977         (Linux): Do not mention problems with nscd with 2.0 kernels.
22978         * INSTALL: Regenerated.
22980 2012-05-23  Andreas Jaeger  <aj@suse.de>
22982         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
22983         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
22984         macro.
22985         * sysdeps/unix/sysv/linux/s390/bits/mman.h
22986         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22987         * sysdeps/unix/sysv/linux/sh/bits/mman.h
22988         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22989         * sysdeps/unix/sysv/linux/i386/bits/mman.h
22990         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22991         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
22992         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22993         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
22994         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22995         * sysdeps/unix/sysv/linux/bits/in.h
22996         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
22998 2012-05-22  Roland McGrath  <roland@hack.frob.com>
23000         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
23001         (PREPARE_VERSION): Just use assert instead, it will be elided
23002         under [NDEBUG] anyway.
23004 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
23006         * sysdeps/unix/sysv/linux/Makefile: Include
23007         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
23008         (sysdep_routines): Remove sysctl.
23009         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
23010         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
23011         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
23012         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
23013         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
23015 2012-05-22  Andreas Jaeger  <aj@suse.de>
23017         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
23018         that pseudo_end is just ret and the stack pointer is correct also
23019         for static library in error case.
23021 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
23023         [BZ #14122]
23024         * nss/nsswitch.c (defconfig_entries): New variable.
23025         (__nss_database_lookup): Don't leak defconfig entries.
23026         (nss_parse_service_list): Don't leak on error paths.
23027         (free_database_entries): New function.
23028         (free_defconfig): New function.
23029         (free_mem): Move common code to free_database_entries.
23031 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
23033         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
23034         Add arch_prctl.
23035         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
23037         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23038         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
23039         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
23040         New macro.
23041         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
23042         (INTERNAL_SYSCALL_TYPES): Likewise.
23043         (LOAD_ARGS_TYPES_[1-6]): Likewise.
23044         (LOAD_REGS_TYPES_[1-6]): Likewise.
23045         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
23046         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
23048 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23050         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
23051         copysignl for GLIBC_2_0.
23052         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
23053         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
23054         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
23055         logbl for GLIBC_2_0.
23056         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
23057         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
23059 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
23061         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
23062         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
23064         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23065         Use "neg %eax".
23067         * time/mktime.c: Update copyright years.
23069 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
23071         mktime: merge comment-quoting-style change from gnulib
23072         * time/mktime.c: Quote 'like this' in comments.
23073         The GNU coding standards suggest that we no longer quote `like this',
23074         as "`" and "'" are typically rendered asymmetrically nowadays.
23075         The typical gnulib style is to quote 'like this' when quoting
23076         code, and "like this" when quoting English.
23078         * time/mktime.c (compile-command): Add "-I.".
23080         mktime: merge mktime-internal.h change from gnulib
23081         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
23083         mktime: merge time_r change from gnulib
23084         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
23086         mktime: merge DEBUG change from gnulib
23087         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
23088         case system <time.h> has a #define.
23090         mktime: merge <sys/types.h> change from gnulib
23091         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
23092         since <time.t> is now guaranteed to define time_t.
23094         mktime: merge HAVE_CONFIG_H change from gnulib
23095         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
23097 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
23099         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23100         Use "neg %eax".
23102         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
23103         __rlim_t cast.
23104         (struct rusage): Use anonymous union to pad each field to
23105         __syscall_slong_t.
23107 2012-05-21  David S. Miller  <davem@davemloft.net>
23109         * Makefules (o-iterator): Remove .s cases.
23110         (compile-command.s): Delete.
23111         (COMPILE.s): Delete.
23112         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
23114 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
23116         * configure.in (libc_cv_predef_stack_protector): Only consider
23117         "foobar" and "__stack_chk_fail" lines in libc_undefs.
23118         * configure: Regenerated.
23120 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
23122         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23123         New macro.  Use R*LP on int and pointer.
23124         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
23125         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
23126         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
23127         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
23129         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
23130         [__WORDSIZE_TIME64_COMPAT32] instead of
23131         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
23132         (struct utmp): Likewise.
23133         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
23134         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
23135         Renamed to ...
23136         (__WORDSIZE_TIME64_COMPAT32): This.
23137         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
23138         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
23139         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
23140         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
23141         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
23142         (__WORDSIZE_TIME64_COMPAT32): New macro.
23144 2012-05-21  Andreas Jaeger  <aj@suse.de>
23146         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
23147         only if [SHARED]. Add prototype for __wcschr_ia32.
23149 2012-05-21  Roland McGrath  <roland@hack.frob.com>
23151         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
23152         of %rbp unmolested in the jmp_buf while mangling the low bits.
23153         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
23154         unmolested high bits of %rbp while demangling the low bits.
23155         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
23157 2012-05-21  Andreas Jaeger  <aj@suse.de>
23159         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
23160         * sunrpc/svc_simple.c: Use it for registerrpc.
23161         * sunrpc/xcrypt.c: Use it for passwd2des.
23163         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
23165 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
23167         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
23168         Don't define if [__SYSCALL_WORDSIZE != 32].
23169         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
23170         New macro.
23172 2012-05-21  Bruno Haible  <bruno@clisp.org>
23173             Andreas Jaeger  <aj@suse.de>
23175         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
23176         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
23177         inptr and inend for must_buffer_ch.
23178         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
23179         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
23180         * stdio-common/Makefile (tests): Remove bug15.
23181         (bug15-ENV): Remove macro.
23182         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
23183         anymore.
23185 2012-05-19  Andreas Jaeger  <aj@suse.de>
23186             Roland McGrath  <roland@hack.frob.com>
23188         * manual/contrib.texi: Completely rewritten. It contains now an
23189         alphabetical list of contributors and their contributions.
23191 2012-05-21  Richard Henderson  <rth@twiddle.net>
23193         * misc/getauxval.c (__getauxval): Use unsigned long int.
23194         * misc/sys/auxv.h: Include <sys/cdefs.h>.
23195         (getauxval): Use unsigned long int.
23197 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
23199         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
23201 2012-05-21  Roland McGrath  <roland@hack.frob.com>
23203         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
23204         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
23205         __alignof__ (long double).
23207 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23209         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23211 2012-05-20  Richard Henderson  <rth@twiddle.net>
23213         * misc/getauxval.c: New file.
23214         * misc/sys/auxv.h: New file.
23215         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
23216         (routines): Add getauxval.
23217         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
23218         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
23219         * elf/dl-sysdep.c (_dl_auxv): Remove.
23220         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
23221         * elf/dl-support.c (_dl_auxv): New variable.
23222         (_dl_aux_init): Initialize it.
23223         * manual/startup.texi (Auxiliary Vector): New node.
23224         * sysdeps/generic/bits/hwcap.h: New file.
23225         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
23226         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
23227         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
23228         * sysdeps/sparc/sysdep.h: ... here.  Include it.
23229         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
23230         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
23231         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23232         Update.
23233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
23234         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
23235         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
23236         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
23237         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23238         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23239         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
23240         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
23242 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23244         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23246 2012-05-19  David S. Miller  <davem@davemloft.net>
23248         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23250 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
23252         [BZ #14123]
23253         * math/s_ccosh.c: Include <float.h>
23254         (__ccosh): Avoid internal overflow calculating sinh and cosh
23255         values before multiplying by sin and cos values.
23256         * math/s_ccoshf.c: Likewise.
23257         * math/s_ccoshl.c: Likewise.
23258         * math/s_csin.c: Likewise.
23259         * math/s_csinf.c: Likewise.
23260         * math/s_csinl.c: Likewise.
23261         * math/s_csinh.c: Likewise.
23262         * math/s_csinhf.c: Likewise.
23263         * math/s_csinhl.c: Likewise.
23264         * math/libm-test.inc (ccos_test): Add more tests.
23265         (ccosh_test): Likewise.
23266         (csin_test): Likewise.
23267         (csinh_test): Likewise.
23268         * sysdeps/i386/fpu/libm-test-ulps: Update.
23269         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23271 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
23273         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
23274         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
23276         * sysdeps/x86_64/x32/_itoa.h: Add comment.
23278 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
23280         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
23281         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
23282         * sysdeps/powerpc/soft-fp/Versions: Likewise.
23283         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
23284         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
23285         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
23286         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
23287         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
23288         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
23289         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
23290         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
23291         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
23292         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
23293         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
23294         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
23295         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
23296         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
23297         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
23298         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
23299         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
23300         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
23301         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
23302         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
23303         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
23304         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
23305         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
23306         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
23307         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
23308         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
23309         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
23310         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
23312 2012-05-18  Andreas Jaeger  <aj@suse.de>
23314         * csu/.gitignore: Delete.
23316 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
23318         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
23319         (timex): Use __syscall_slong_t.
23321 2012-05-18  Andreas Jaeger  <aj@suse.de>
23322             Carlos O'Donell  <carlos_odonell@mentor.com>
23324         * manual/install.texi (Configuring and compiling): Update
23325         description about files modified in the source directory.
23326         * INSTALL: Regenerated.
23328 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
23330         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
23331         value.  Use "or" to set return value to -1.
23332         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
23333         negate return value.
23335 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23337         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
23338         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
23339         failure if the compiler has Graphite support disabled.
23340         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
23341         Likewise.
23342         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
23343         CFLAGS-memmove.c): Likewise.
23344         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
23345         Likewise.
23347 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
23349         * sysdeps/x86_64/x32/_itoa.h: New file.
23351         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
23352         getdents system call only if kernel and user dirents have the
23353         same d_ino and d_off.
23355         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
23356         LLONG_MAX != LONG_MAX.
23357         (_itoa_word): Use _ITOA_WORD_TYPE on value.
23358         (_fitoa_word): Likewise.
23360         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
23361         years.
23362         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
23363         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
23364         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
23366         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
23367         include <bits/wordsize.h>.  Check __x86_64__ instead of
23368         __WORDSIZE.
23369         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
23370         if __x86_64__ is defined.  Use anonymous union on fpstate.
23372         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
23373         anonymous union.
23375 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
23377         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
23378         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
23379         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
23380         Refer to _rtld_local_ro instead of _rtld_global_ro.
23381         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
23382         Likewise.
23383         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
23384         Likewise.
23385         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
23386         Likewise.
23387         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
23388         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
23389         of _rtld_global, and rtld_progname instead of _dl_argv[0].
23391         * sysdeps/powerpc/powerpc32/dl-machine.c
23392         (__elf_machine_runtime_setup) [PROF]: Don't reference
23393         _dl_prof_resolve.
23395 2012-05-18  Andreas Jaeger  <aj@suse.de>
23397         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
23398         function only available for GCCs before 3.4 since GCC 3.4
23399         introduced a builtin.
23400         (lrint): Likewise.
23401         (llrintf): Likewise.
23402         (llrint): Likewise.
23403         (fmaxf): Likewise.
23404         (fmax): Likewise.
23405         (fminf): Likewise.
23406         (fmin): Likewise.
23407         (rint): Likewise.
23408         (rintf): Likewise.
23409         (nearbyint): Likewise.
23410         (nearbyintf): Likewise.
23411         (ceil): Likewise.
23412         (ceilf): Likewise.
23413         (floor): Likewise.
23414         (floorf): Likewise.
23416 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
23418         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
23419         on both fields and cast pointer to __syscall_ulong_t.
23421         * bits/types.h (__fsword_t): New type.
23422         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
23423         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
23424         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23425         (__FSWORD_T_TYPE): Likewise.
23426         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23427         (__FSWORD_T_TYPE): Likewise.
23428         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23429         (__FSWORD_T_TYPE): Likewise.
23430         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
23431         (__FSWORD_T_TYPE): Likewise.
23432         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
23433         __SWORD_TYPE with __fsword_t.
23434         (statfs64): Likewise.
23436 2012-05-17  David S. Miller  <davem@davemloft.net>
23438         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
23440 2012-05-17  Andreas Jaeger  <aj@suse.de>
23442         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
23443         warning.
23445 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
23447         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
23449 2012-05-17  Andreas Jaeger  <aj@suse.de>
23451         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
23452         when it is used.
23454 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
23456         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
23458 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
23460         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
23461         * sysdeps/x86_64/tst-mallocalign1.c: New file.
23463 2012-05-17  Andreas Jaeger  <aj@suse.de>
23464             Carlos O'Donell  <carlos_odonell@mentor.com>
23466         [BZ #14059]
23467         * sysdeps/x86_64/multiarch/init-arch.h
23468         (bit_YMM_Usable): Rename to...
23469         (bit_AVX_Usable): ... this.
23470         (bit_FMA4_Usable): New macro.
23471         (bit_XMM_state): New macro.
23472         (bit_YMM_state): New macro.
23473         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
23474         [__ASSEMBLER__] (index_AVX_Usable): ... this.
23475         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
23476         (CPUID_OSXSAVE): New macro.
23477         (CPUID_AVX): New macro.
23478         (CPUID_FMA4): New macro.
23479         (index_YMM_Usable): Rename to...
23480         (index_AVX_Usable): ... this.
23481         (HAS_AVX): Use HAS_ARCH_FEATURE.
23482         (HAS_FMA4): Likewise.
23483         (HAS_YMM_USABLE): Remove.
23484         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23485         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
23486         are present.
23487         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
23488         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
23489         * sysdeps/x86_64/multiarch/Makefile: Likewise.
23490         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
23491         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
23493 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
23495         * math/libm-test.c: Support platforms without multiple rounding modes.
23496         * math/bug-nextafter.c: Support platforms without FP exceptions.
23497         * math/bug-nexttoward.c: Likewise.
23498         * math/test-fenv.c: Likewise.
23499         * math/test-misc.c: Likewise.
23500         * stdlib/bug-getcontext.c: Likewise.
23502 2012-05-17  Andreas Jaeger  <aj@suse.de>
23504         * manual/examples/search.c (critter_cmp): Change signature to
23505         avoid warnings.
23506         * manual/string.texi (Collation Functions): Likewise.
23508 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
23510         * bits/types.h: Fold copyright years.
23511         * bits/typesizes.h: Likewise.
23512         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
23513         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
23514         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
23515         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
23516         * time/time.h: Likewise.
23518 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
23520         [BZ #208]
23521         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
23522         in instead of returning them.  Return void.
23523         (__libc_mallinfo): Accumulate over all arenas.
23524         (__malloc_stats): Adjust for change in int_mallinfo interface.
23526 2012-05-16  Roland McGrath  <roland@hack.frob.com>
23528         [BZ #10375]
23529         * configure.in (NM): Add AC_CHECK_TOOL for it.
23530         (libc_extra_cflags): New substituted variable.
23531         Check for -fstack-protector being used implicitly.
23532         * configure: Regenerated.
23533         * config.make.in (config-extra-cflags): New variable,
23534         gets @libc_extra_cflags@.
23535         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
23537         [BZ #10375]
23538         * configure.in: Check for _FORTIFY_SOURCE being predefined.
23539         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
23540         * configure: Regenerated.
23541         * config.make.in (CPPUNDEFS): New substituted variable.
23542         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
23543         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
23544         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
23546 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
23548         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
23549         (mq_attr): Use __syscall_slong_t.
23551 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
23553         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
23554         Check __x86_64__ instead of __WORDSIZE.
23555         (_STAT_VER_LINUX): Likewise.
23556         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
23557         __syscall_ulong_t and __syscall_slong_t.
23558         (stat64): Likewise.
23560 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
23562         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
23564 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
23566         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
23568 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
23570         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
23571         __syscall_ulong_t.
23573         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
23574         include <bits/wordsize.h>.  Check __x86_64__ instead of
23575         __WORDSIZE.
23576         (greg_t): Use "__extension__ long long int" if __x86_64__ is
23577         defined.
23578         (mcontext_t): Replace "unsigned long" with "unsigned long long".
23580         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
23581         include <bits/wordsize.h>.  Check __x86_64__ instead of
23582         __WORDSIZE.
23583         (user_regs_struct): Use "__extension__ unsigned long long"
23584         instead of "unsigned long" if __x86_64__ is defined.
23585         (user): Likewise.  Pad after pointer field if __ILP32__ is
23586         defined.
23588 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
23590         * configure.in (makeinfo): Require version 4.5 or later.  Allow
23591         versions 5 to 9.
23592         * configure: Regenerated.
23593         * manual/install.texi (texinfo): Increase version requirement to
23594         4.5 or later.
23595         * INSTALL: Regenerated.
23597         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
23599 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
23601         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
23603         * sysdeps/x86_64/x32/ffs.c: New file.
23605         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
23606         __syscall_ulong_t.
23607         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
23608         defined.  Use __syscall_ulong_t.
23609         (shminfo): Use __syscall_ulong_t.
23610         (shm_info): Likewise.
23612         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
23613         __syscall_ulong_t.
23615         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
23616         <bits/wordsize.h>.
23617         (msgqnum_t): Use __syscall_ulong_t.
23618         (msglen_t): Likewise.
23619         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
23620         __syscall_ulong_t.
23622         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
23623         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
23625         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
23627         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
23628         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
23630         * sysvipc/sys/msg.h (msgbuf): Replace long int with
23631         __syscall_slong_t.
23633         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
23634         include <bits/wordsize.h>.  Check __x86_64__ instead of
23635         __WORDSIZE.
23637         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
23638         "unsigned long long int" if __x86_64__ is defined.
23639         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
23641         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
23642         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
23643         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
23645         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
23646         <stdint.h>.
23647         (GET_PC): Cast to uintptr_t first.
23648         (GET_FRAME): Likewise.
23649         (GET_STACK): Likewise.
23651         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
23652         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
23653         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
23654         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
23655         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
23656         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
23657         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
23658         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
23659         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
23660         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
23661         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
23662         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
23663         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
23664         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
23665         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
23666         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
23667         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
23668         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
23669         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
23670         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
23671         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
23672         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
23673         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
23674         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
23675         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
23676         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
23677         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
23678         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
23679         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
23681 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
23683         * Makerules (+depfiles): Also collect depfiles from .oS in
23684         $(extra-objs).
23685         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
23686         .oS, $(libnldbl-routines)).
23688         * Makerules (native-compile-mkdep-flags): Define.
23689         * sunrpc/Makefile (extra-objs): Add $(addprefix
23690         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
23691         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
23692         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
23693         calling $(make-target-directory).
23695 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23697         * bits/types.h (__snseconds_t): Removed.
23698         * time/time.h (struct timespec): Replace __snseconds_t with
23699         __syscall_slong_t.
23700         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
23701         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
23702         Likewise.
23703         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23704         (__SNSECONDS_T_TYPE): Likewise.
23705         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23706         (__SNSECONDS_T_TYPE): Likewise.
23707         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23708         (__SNSECONDS_T_TYPE): Likewise.
23710 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23712         * sysdeps/mach/hurd/bits/typesizes.h
23713         (__SYSCALL_SLONG_TYPE): New macro.
23714         (__SYSCALL_ULONG_TYPE): Likewise.
23716 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23718         * bits/types.h (__syscall_slong_t): New type.
23719         (__syscall_ulong_t): Likewise.
23721         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
23722         (__SYSCALL_ULONG_TYPE): Likewise.
23723         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23724         (__SYSCALL_SLONG_TYPE): Likewise.
23725         (__SYSCALL_ULONG_TYPE): Likewise.
23726         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23727         (__SYSCALL_SLONG_TYPE): Likewise.
23728         (__SYSCALL_ULONG_TYPE): Likewise.
23729         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23730         (__SYSCALL_SLONG_TYPE): Likewise.
23731         (__SYSCALL_ULONG_TYPE): Likewise.
23733 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23735         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
23736         Add sigaltstack-offsets.sym.
23737         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
23738         <sigaltstack-offsets.h>.
23739         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
23740         longjmp_msg pointer.
23741         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
23742         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
23743         signal stack.
23744         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
23746 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
23748         * elf/stackguard-macros.h: Remove file.
23749         * sysdeps/generic/stackguard-macros.h: New file.
23750         * sysdeps/i386/stackguard-macros.h: Likewise.
23751         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
23752         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
23753         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
23754         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
23755         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
23756         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
23757         * sysdeps/x86_64/stackguard-macros.h: Likewise.
23758         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
23759         <elf/stackguard-macros.h>.
23761         [BZ #14109]
23762         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
23763         __aligned__ in attribute.
23764         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
23765         (gregset_t): Likewise.
23767 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23769         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
23770         * sysdeps/x86_64/64/Implies-after: Here.  New file.
23771         * sysdeps/x86_64/x32/Implies-after: New file.
23773 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23775         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
23776         and access return value for _dl_profile_fixup.  Use R10_LP to
23777         load frame size.
23779 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23781         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
23783 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23785         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
23786         * sysdeps/x86_64/x32/sysdep.h: New file.
23788 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23790         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
23791         * sysdeps/x86_64/setjmp.S: Likewise.
23793 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23795         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
23796         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
23797         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
23798         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
23799         remove unused global constant.
23801 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
23803         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
23804         include of <not-cancel.h>.
23806 2012-05-15  Roland McGrath  <roland@hack.frob.com>
23808         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
23810 2012-05-15  Jeff Law  <law@redhat.com>
23811             Andreas Jaeger  <aj@suse.de>
23813         [BZ #13594]
23814         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
23815         out from...
23816         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
23817         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
23818         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
23819         code changing __hst_map_handle.map.
23821 2012-05-15  Roland McGrath  <roland@hack.frob.com>
23823         * configure.in (sysnames): Look for Implies-before and Implies-after
23824         files.
23825         * configure: Regenerated.
23827 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23829         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
23830         8-byte data alignment with LP_SIZE alignment.
23832 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23834         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
23835         into R10_LP.
23837 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23839         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
23841 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23843         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
23844         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
23845         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
23846         Likewise.
23847         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
23849 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23851         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
23852         (stackinfo_sub_sp): Likewise.
23854 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23856         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
23857         RAX_LP.
23859 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23861         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
23862         into R*_LP.
23864 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23866         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
23867         sizes into R*_LP.
23869 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23871         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
23873 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23875         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
23876         into R11_LP and load __x86_64_shared_cache_size_half into
23877         R8_LP.
23879 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23881         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
23882         R8_LP.
23884 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23886         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
23887         logb for POWER7.
23888         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
23889         logbf for POWER7.
23890         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
23891         logbl for POWER7.
23892         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
23893         powerpc32/power7/fpu/s_logb.c via #include.
23894         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
23895         powerpc32/power7/fpu/s_logbf.c via #include.
23896         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
23897         powerpc32/power7/fpu/s_logbl.c via #include.
23899 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
23901         * README.libm: Remove file.
23903 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
23905         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
23906         count for x32.  Use R*_LP and omit operand-size suffix.
23908 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
23910         * shlib-versions: Move x86_64-.*-linux.* entries to ...
23911         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
23912         * sysdeps/x86_64/x32/shlib-versions: New file.
23914 2012-05-14  Roland McGrath  <roland@hack.frob.com>
23916         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
23917         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
23918         Use _dl_fatal_printf instead.
23920 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
23922         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
23923         set if not set by the user.  Do not allow for being unset.
23924         * sysdeps/unix/sysv/linux/configure: Regenerated.
23926 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
23928         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
23929         the `q' suffix from lea and replace .quad with ASM_ADDR.
23931 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
23933         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
23934         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
23935         instead of $17.
23936         (PTR_DEMANGLE): Likewise.
23938 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
23940         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
23941         (LP_OP): Likewise.
23942         (ASM_ADDR): Likewise.
23943         (RAX_LP): Likewise.
23944         (RBP_LP): Likewise.
23945         (RBX_LP): Likewise.
23946         (RCX_LP): Likewise.
23947         (RDI_LP): Likewise.
23948         (RSI_LP): Likewise.
23949         (RSP_LP): Likewise.
23950         (R8_LP): Likewise.
23951         (R9_LP): Likewise.
23952         (R10_LP): Likewise.
23953         (R10_LP): Likewise.
23954         (R11_LP): Likewise.
23955         (R12_LP): Likewise.
23956         (R13_LP): Likewise.
23957         (R14_LP): Likewise.
23958         (R15_LP): Likewise.
23960 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
23962         * sysdeps/x86_64/x32/dl-machine.h: New file.
23964 2012-05-14  Andreas Jaeger  <aj@suse.de>
23966         * manual/Makefile (subdir): Remove export of subdir.
23967         (all): Remove target.
23968         (.PHONY): Remove all from list.
23969         (mkinstalldirs): Remove.
23970         (.PHONY): Remove installdirs from list.
23971         ($(inst_infodir)/libc.info): Use make-target-directory.
23972         (installdirs): Remove.
23973         (subdir_%): Remove.
23974         (glibc-targets): Remove.
23975         (lib): Remove.
23976         (stubs): Remove.
23977         ($(objpfx)stubs ../po/manual.pot): Remove.
23978         ($(objpfx)stamp%): Remove.
23979         (make-target-directory): Remove.
23980         (subdir_install): Remove.
23981         (routines): Remove.
23982         (aux): Remove.
23983         (sources): Remove.
23984         (objects): Remove.
23985         (headers): Remove.
23987         [BZ #13750]
23988         * manual/.gitignore: Remove, it's not needed anymore.
23989         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
23990         all files in it.
23991         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
23992         directory.
23993         (texis): Renamed to $(objpfx)texis.
23994         (texis-path): New, contains path to generated files.
23995         (chapters.%): Use texis-path for complete path, add extra argument
23996         libc-texinfo.sh.
23997         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
23998         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
23999         (summary,texi, stamp-summary): Use complete path of
24000         files. Generate files in build dir.
24001         (dir-add.texi): Build in build dir.
24002         (libm-err.texi,stamp-libm-err): Likewise.
24003         (version.texi, stamp-version): Likewise.
24004         (.%c.texi): Likewise.
24005         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
24006         (mostlyclean): Remove target.
24007         (realclean): Remove target.
24008         (generated): Add new variable with contents from mostlyclean and
24009         realclean, remove entries duplicated in common-mostlyclean, add
24010         stamp-libm-err and stamp-version.
24011         (generated-dirs): Add libc directory.
24012         ($(inst_infodir)/libc.info): Install files from build dir.
24014         * manual/install.texi (Configuring and compiling): Adjust since
24015         the info files are not part of the tar ball anymore.
24017 2012-05-14  Andreas Jaeger  <aj@suse.de>
24019         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
24020         variable.
24022 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
24024         [BZ #13717]
24025         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
24026         to 2.2.0 where earlier.
24027         * sysdeps/unix/sysv/linux/configure: Regenerated.
24028         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
24029         Remove conditional code.
24030         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
24031         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
24032         Remove conditional code.
24033         [!__NR_lchown]: Likewise.
24034         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24035         [__NR_lchown]: Likewise.
24036         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
24037         comment referencing __ASSUME_LCHOWN_SYSCALL.
24038         * sysdeps/unix/sysv/linux/i386/sigaction.c
24039         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24040         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24041         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
24042         Remove conditional code.
24043         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
24044         (__protocol_available): Remove #if 0 code.
24045         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
24046         conditional code.
24047         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
24048         * sysdeps/unix/sysv/linux/kernel-features.h
24049         (__ASSUME_GETCWD_SYSCALL): Don't define.
24050         (__ASSUME_REALTIME_SIGNALS): Likewise.
24051         (__ASSUME_PREAD_SYSCALL): Likewise.
24052         (__ASSUME_PWRITE_SYSCALL): Likewise.
24053         (__ASSUME_POLL_SYSCALL): Likewise.
24054         (__ASSUME_LCHOWN_SYSCALL): Likewise.
24055         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
24056         non-SPARC.
24057         (__ASSUME_SIOCGIFNAME): Don't define.
24058         (__ASSUME_MSG_NOSIGNAL): Likewise.
24059         (__ASSUME_SENDFILE): Define unconditionally.
24060         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
24061         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
24062         conditional code.
24063         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
24064         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
24065         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24066         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24067         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
24068         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24069         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
24071         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24072         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
24074         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24075         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
24077         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24078         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
24080         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24081         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
24083         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24084         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
24086         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24087         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
24089         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24090         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
24092         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24093         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24094         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
24095         Remove conditional code.
24096         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24097         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24098         Remove conditional code.
24099         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24100         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
24101         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
24102         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24103         Remove conditional code.
24104         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24105         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
24106         Remove conditional code.
24107         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24108         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
24109         Remove conditional code.
24110         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24111         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24112         Remove conditional code.
24113         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24114         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24115         Remove conditional code.
24116         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24117         * sysdeps/unix/sysv/linux/sh/pwrite64.c
24118         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24119         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24120         * sysdeps/unix/sysv/linux/sigaction.c
24121         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24122         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24123         * sysdeps/unix/sysv/linux/sigpending.c
24124         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24125         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24126         * sysdeps/unix/sysv/linux/sigprocmask.c
24127         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24128         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24129         * sysdeps/unix/sysv/linux/sigsuspend.c
24130         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24131         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24132         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
24133         (__libc_missing_rt_sigs): Remove.
24134         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
24135         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
24136         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
24137         Remove conditional code.
24138         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
24139         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
24140         return 1.
24141         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
24142         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
24143         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
24144         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
24146 2012-05-14  Andreas Jaeger  <aj@suse.de>
24148         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
24149         it's not used in glibc.
24150         (__coshm1): Likewise.
24151         (__acosh1p): Likewise.
24152         (__sgn): Likewise.
24154         * manual/string.texi (Copying and Concatenation): Add missing
24155         variable in concat example.
24156         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
24158 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24160         [BZ #14103]
24161         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
24162         __builtin_clzl with __builtin_clzll.
24164 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24166         [BZ #14104]
24167         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
24168         libc_freeres_ptr.
24170 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24172         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
24173         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
24174         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
24175         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
24177 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
24179         * NEWS: Update ia64 info.
24181 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
24183         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
24184         used as bcopy.
24186 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
24188         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
24189         * sysdeps/unix/syscalls.list (dup3): Likewise.
24190         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
24191         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
24193 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
24195         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
24196         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
24198 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
24200         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
24201         thread pointer.
24202         (TLS_IE): Use mov/add instead of movq/addq to load thread
24203         pointer.
24204         (TLS_GD_PREFIX): New.
24205         (TLS_GD): Use it.
24207 2012-05-11  David S. Miller  <davem@davemloft.net>
24209         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
24210         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
24211         (_FPU_SETCW): Likewise.
24213 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
24215         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
24216         is 32-byte aligned.
24218 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
24220         [BZ #11837]
24221         * iconvdata/gb18030.c: Update tables.
24222         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
24223         characters specially.
24224         (BODY for TO_LOOP): Add encoding of missing ranges.
24226 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
24228         [BZ #13673]
24229         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
24230         * sysdeps/mach/hurd/dup3.c: Likewise.
24231         * sysdeps/mach/hurd/readlinkat.c: Likewise.
24232         * sysdeps/powerpc/memmove.c:: Likewise.
24234 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
24236         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
24237         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
24239 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
24241         * elf/elf.h (R_X86_64_RELATIVE64): New.
24242         (R_X86_64_NUM): Updated.
24243         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24244         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
24245         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
24246         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
24247         tst-quad1pie tst-quad2pie
24248         (modules-names): Add tst-quadmod1 tst-quadmod2.
24249         ($(objpfx)tst-quad1): New dependency.
24250         ($(objpfx)tst-quad2): Likewise.
24251         ($(objpfx)tst-quad1pie): Likewise.
24252         ($(objpfx)tst-quad2pie): Likewise.
24253         * sysdeps/x86_64/tst-quad1.c: New file.
24254         * sysdeps/x86_64/tst-quad1pie.c: New file.
24255         * sysdeps/x86_64/tst-quad2.c: Likewise.
24256         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
24257         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
24258         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
24259         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
24260         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
24262 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24264         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
24265         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
24266         * streams/stropts.h (t_scalar_t): Define type.
24268         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
24269         (_PATH_PRESERVE): Set to "/var/lib".
24270         (_PATH_RWHODIR): Set to "/var/spool/rwho".
24272         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
24273         instead of int.
24275         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
24276         if __dir_mkfile succeeded.
24278         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
24279         checking for _hurd_dtablesize.  Unlock it right after having
24280         finished _hurd_dtable allocation.
24282 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24284         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
24285         * sysdeps/mach/hurd/configure: Regenerated.
24286         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
24287         special-casing to...
24288         * sysdeps/gnu/configure.in: ... this new file.
24289         * sysdeps/unix/sysv/linux/configure: Regenerated.
24290         * sysdeps/gnu/configure: New generated file.
24292         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
24293         for Linux: use nsec instead of usec, as well as:
24294         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
24295         members of type struct timespec.
24296         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
24297         New macros.
24298         (struct stat64): Likewise.
24299         (_STATBUF_ST_NSEC): New macro.
24300         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
24302         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
24303         __strtoul_internal rather than strtoul.
24305 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
24307         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
24308         and reject them.
24310 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24312         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
24313         which preserves existing values.
24314         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
24316 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
24318         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
24319         TIMEOUT values.  Return EINVAL for NFDS values either negative or
24320         greater than FD_SETSIZE.
24322 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24324         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
24325         allocated, call __vm_protect to finish enabling the existing space, and
24326         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
24327         allocate the remainder.
24329 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
24331         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
24332         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
24334 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24336         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
24337         sysdeps/mach/hurd/readlink.c.
24339         * posix/tst-sysconf.c (posix_options): Only use
24340         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
24341         _POSIX_SYNCHRONIZED_IO when they are defined
24342         * sysdeps/mach/hurd/bits/posix_opt.h:
24343         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
24344         (_XOPEN_REALTIME): Undefine macro.
24345         (_XOPEN_REALTIME_THREADS): Undefine macro.
24346         (_XOPEN_SHM): Undefine macro.
24347         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
24348         macro to -1.
24349         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
24350         macro to -1.
24351         (_POSIX_ASYNC_IO): Undefine macro.
24352         (_POSIX_PRIORITIZED_IO): Undefine macro.
24353         (_POSIX_SPIN_LOCKS): Define macro to -1.
24355         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
24356         SA_NODEFER, SA_RESETHAND.
24357         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
24358         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
24359         F_DUPFD_CLOEXEC.
24361 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24363         * elf/Makefile (pldd-modules): Define unconditionally.
24365 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24367         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
24369 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24371         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
24372         Return ENOENT when name is empty.
24373         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
24375 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24377         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
24379         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
24381 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24383         Fix mlock in all cases except non-readable pages.
24384         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
24385         instead of VM_PROT_ALL as parameter to __vm_wire function.
24387         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
24388         (__mkdir): When path is `/', just fail with EEXIST.
24389         * sysdeps/mach/hurd/mkdirat.c: Likewise.
24391 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24393         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
24394         <sys/uio.h> (for writev).
24395         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
24396         and <sys/param.h> (for MIN).
24398 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
24400         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
24401         REQUESTED_TIME.  Properly set the remaining time and return EINTR
24402         if interrupted.
24404 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24406         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
24407         Depend on against $(link-rpcuserlibs).
24409 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24411         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
24412         (__libc_stack_end): Do not use attribute_relro.
24413         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
24414         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
24415         to libthread-provided value.
24416         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
24417         attribute_relro.
24419 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24421         [BZ #3748]
24422         * bits/libc-lock.h (__libc_once_get): New macro.
24423         * sysdeps/mach/bits/libc-lock.h: Likewise.
24424         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
24425         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
24426         instead of using implementation details.
24428         * libio/fileops.c: Unconditionally include <kernel-features.h>.
24429         * libio/freopen.c: Likewise.
24430         * libio/freopen64.c: Likewise.
24431         * misc/syslog.c: Likewise.
24432         * nscd/connections.c: Likewise.
24433         * nscd/netgroupcache.c: Likewise.
24434         * sysdeps/posix/getcwd.c: Likewise.
24436 2012-05-10  Roland McGrath  <roland@hack.frob.com>
24438         * math/w_ilogbf.c: Add #include <limits.h>.
24440 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24442         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
24443         path instead of returning without unlocking.
24445         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
24446         immediate-write ioctls.
24447         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
24449 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24451         * sysdeps/mach/hurd/i386/init-first.c (init): Use
24452         __builtin_frame_address instead of making assumptions about the
24453         location of the return address relative to DATA.  Force early load of
24454         the return address.
24455         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
24456         __builtin_frame_address.
24458         dup3 for GNU Hurd.
24459         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
24460         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
24461         implement dup3 and do some further code clean-ups.
24462         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
24463         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
24465 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24467         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
24469         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
24470         HURD_CRITICAL_END around holding _hurd_dtable_lock.
24471         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
24472         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
24473         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
24474         d->port.lock.
24476         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
24477         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
24478         when handler == SIG_ERR, not when handler != SIG_ERR.
24480 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24482         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
24483         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
24484         definitions.
24486         accept4 for GNU Hurd.
24487         * include/sys/socket.h (__libc_accept4): New prototype.
24488         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
24489         to implement __libc_accept4.
24490         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
24491         __libc_accept4.
24492         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
24494         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
24495         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
24496         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
24497         signal-defines.sym.
24499 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24501         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
24503 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24505         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
24506         assertion on O_CLOEXEC flag.
24507         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
24508         * hurd/intern-fd.c: Likewise.
24509         * hurd/port2fd.c: Likewise.
24511 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24513         [BZ #3906]
24514         * bits/in.h (IPV6_PKTINFO): Define new macro.
24515         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
24517 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24519         [BZ #13954]
24520         [BZ #13955]
24521         [BZ #13956]
24522         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
24523         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
24524         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
24525         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
24526         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24527         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
24528         * math/libm-test.inc (logb_test) : Additional logb tests.
24530 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
24531             Andreas Jaeger  <aj@suse.de>
24533         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
24534         * configure: Regenerated.
24535         * config.h.in (LINK_OBSOLETE_RPC): New macro.
24536         * config.make.in (link-obsolete-rpc): New substituted variable.
24537         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
24538         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
24539         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
24540         (shared-only-routines): Don't set it under [link-obsolete-rpc],
24541         so that libc.a contains the symbols.
24542         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
24543         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
24544         * sunrpc/auth_none.c: Likewise.
24545         * sunrpc/auth_unix.c: Likewise.
24546         * sunrpc/authdes_prot.c: Likewise.
24547         * sunrpc/authuxprot.c: Likewise.
24548         * sunrpc/clnt_gen.c: Likewise.
24549         * sunrpc/clnt_perr.c: Likewise.
24550         * sunrpc/clnt_raw.c: Likewise.
24551         * sunrpc/clnt_simp.c: Likewise.
24552         * sunrpc/clnt_tcp.c: Likewise.
24553         * sunrpc/clnt_udp.c: Likewise.
24554         * sunrpc/clnt_unix.c: Likewise.
24555         * sunrpc/des_crypt.c: Likewise.
24556         * sunrpc/des_soft.c: Likewise.
24557         * sunrpc/get_myaddr.c: Likewise.
24558         * sunrpc/key_call.c: Likewise.
24559         * sunrpc/key_prot.c: Likewise.
24560         * sunrpc/netname.c: Likewise.
24561         * sunrpc/pm_getmaps.c: Likewise.
24562         * sunrpc/pm_getport.c: Likewise.
24563         * sunrpc/pmap_clnt.c: Likewise.
24564         * sunrpc/pmap_prot.c: Likewise.
24565         * sunrpc/pmap_prot2.c: Likewise.
24566         * sunrpc/pmap_rmt.c: Likewise.
24567         * sunrpc/publickey.c: Likewise.
24568         * sunrpc/rpc_cmsg.c: Likewise.
24569         * sunrpc/rpc_common.c: Likewise.
24570         * sunrpc/rpc_dtable.c: Likewise.
24571         * sunrpc/rpc_prot.c: Likewise.
24572         * sunrpc/rpc_thread.c: Likewise.
24573         * sunrpc/rtime.c: Likewise.
24574         * sunrpc/svc.c: Likewise.
24575         * sunrpc/svc_auth.c: Likewise.
24576         * sunrpc/svc_raw.c: Likewise.
24577         * sunrpc/svc_run.c: Likewise.
24578         * sunrpc/svc_tcp.c: Likewise.
24579         * sunrpc/svc_udp.c: Likewise.
24580         * sunrpc/svc_unix.c: Likewise.
24581         * sunrpc/svcauth_des.c: Likewise.
24582         * sunrpc/xcrypt.c: Likewise.
24583         * sunrpc/xdr.c: Likewise.
24584         * sunrpc/xdr_array.c: Likewise.
24585         * sunrpc/xdr_float.c: Likewise.
24586         * sunrpc/xdr_intXX_t.c: Likewise.
24587         * sunrpc/xdr_mem.c: Likewise.
24588         * sunrpc/xdr_rec.c: Likewise.
24589         * sunrpc/xdr_ref.c: Likewise.
24590         * sunrpc/xdr_sizeof.c: Likewise.
24591         * sunrpc/xdr_stdio.c: Likewise.
24593 2012-05-10  Roland McGrath  <roland@hack.frob.com>
24595         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
24596         change.  Update copyright years.
24598 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
24600         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
24602 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
24603             Joseph Myers  <joseph@codesourcery.com>
24604             Paul Pluzhnikov  <ppluzhnikov@google.com>
24606         [BZ #14012]
24607         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
24608         requiring rpcgen.
24609         [cross-compiling] (extra-libs): Likewise.
24610         [cross-compiling] (extra-libs-others): Likewise.
24611         [cross-compiling] (librpcsvc-routines): Likewise.
24612         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
24613         [cross-compiling] (omit-deps): Likewise.
24614         (sunrpc-CPPFLAGS): New variable.
24615         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
24616         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
24617         (cross-rpcgen-objs): New variable.
24618         (extra-objs): Append $(cross-rpcgen-objs).
24619         ($(cross-rpcgen-objs)): New rule.
24620         ($(objpfx)cross-rpcgen): Likewise.
24621         (rpcgen-cmd): Define to use $(built-program-file).  Expand
24622         comment.
24623         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
24624         ($(objpfx)x%.stmp): Likewise.
24625         * sunrpc/proto.h [IS_IN_build] (_): Define.
24626         [IS_IN_build] (_libc_intl_domainname): Likewise.
24628 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
24630         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
24631         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
24632         and R_X86_64_TPOFF64.
24634 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
24636         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
24637         sysdeps/unix/sysv/syscalls.list.
24638         (stime): Likewise.
24639         (utime): Likewise.
24640         * sysdeps/unix/sysv/syscalls.list: Remove file.
24642 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
24644         [BZ #3440]
24645         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
24646         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
24647         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
24648         (__LC_IDENTIFICATION): Make these macros useful in #if
24649         expressions, as required by C99.
24651 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
24653         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
24654         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
24655         after this.
24657 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
24659         * stdlib/longlong.h: Updated from GCC.
24661 2012-05-09  Andreas Jaeger  <aj@suse.de>
24663         * nscd/nscd.c (run_modes): Make named enum, reorder so that
24664         default is first entry.
24665         (run_mode): Set type.
24666         (main): Remove informal message about syslog.
24667         (options): Fix typo.
24669         [BZ #14053]
24670         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
24671         to asm.
24672         (lrint): Likewise.
24673         (llrintf): Likewise.
24674         (llrint): Likewise.
24675         (rint): Likewise.
24676         (rintf): Likewise.
24677         (nearbyint): Likewise.
24678         (nearbyintf): Likewise.
24680 2012-05-09  Andreas Jaeger  <aj@suse.de>
24681             Pedro Alves  <palves@redhat.com>
24683         * nscd/nscd.c (run_mode): Use enum.
24684         (main): Cleanup coding style issue.
24686 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
24687             Andreas Jaeger  <aj@suse.de>
24689         * nscd/nscd.c (go_background): Replaced with...
24690         (run_mode): ... this.
24691         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
24692         (options): Add -F --foreground.
24693         (main): Implement it.
24694         (parse_opt): Parse it.
24696 2012-05-09  Andreas Jaeger  <aj@suse.de>
24698         [BZ #14083]
24699         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
24700         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
24701         -Wconversion warning.
24702         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
24703         Likewise.
24705 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
24707         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
24708         == 0.
24709         (LC_ALL): Use macro-int-constant.
24710         (LC_COLLATE): Likewise.
24711         (LC_CTYPE): Likewise.
24712         (LC_MESSAGES): Likewise.
24713         (LC_MONETARY): Likewise.
24714         (LC_NUMERIC): Likewise.
24715         (LC_TIME): Likewise.
24716         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
24717         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
24718         [ISO || ISO99 || ISO11] (*_t): Do not allow.
24719         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
24720         Specify type.
24721         [C99-based standards] (float_t): Expect type.
24722         [C99-based standards] (double_t): Expect type.
24723         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
24724         type.
24725         [C99-based standards] (HUGE_VALL): Likewise.
24726         [C99-based standards] (INFINITY): Likewise.
24727         [C99-based standards] (NAN): Likewise.
24728         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
24729         [C99-based standards] (FP_NAN): Likewise.
24730         [C99-based standards] (FP_NORMAL): Likewise.
24731         [C99-based standards] (FP_SUBNORMAL): Likewise.
24732         [C99-based standards] (FP_ZERO): Likewise.
24733         [C99-based standards] (FP_FAST_FMA): Use
24734         optional-macro-int-constant.  Specify type.  Require == 1.
24735         [C99-based standards] (FP_FAST_FMAF): Likewise.
24736         [C99-based standards] (FP_FAST_FMAL): Likewise.
24737         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
24738         [C99-based standards] (FP_ILOGBNAN): Likewise.
24739         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
24740         Specify type.
24741         [C99-based standards] (MATH_ERREXCEPT): Likewise.
24742         [C99-based standards] (math_errhandling): Specify type.
24743         [ISO99 || ISO11] (signgam): Do not allow.
24744         [non-C99-based standards] (copysignf): Do not allow.
24745         [non-C99-based standards] (exp2f): Likewise.
24746         [non-C99-based standards] (log2f): Likewise.
24747         [non-C99-based standards] (modff): Allow.
24748         [non-C99-based standards] (erff): Do not allow.
24749         [non-C99-based standards] (erfcf): Likewise.
24750         [non-C99-based standards] (gammaf): Likewise.
24751         [non-C99-based standards] (hypotf): Likewise.
24752         [non-C99-based standards] (j0f): Likewise.
24753         [non-C99-based standards] (j1f): Likewise.
24754         [non-C99-based standards] (jnf): Likewise.
24755         [non-C99-based standards] (lgammaf): Likewise.
24756         [non-C99-based standards] (tgammaf): Likewise.
24757         [non-C99-based standards] (y0f): Likewise.
24758         [non-C99-based standards] (y1f): Likewise.
24759         [non-C99-based standards] (ynf): Likewise.
24760         [non-C99-based standards] (isnanf): Likewise.
24761         [non-C99-based standards] (acoshf): Likewise.
24762         [non-C99-based standards] (asinhf): Likewise.
24763         [non-C99-based standards] (atanhf): Likewise.
24764         [non-C99-based standards] (cbrtf): Likewise.
24765         [non-C99-based standards] (expm1f): Likewise.
24766         [non-C99-based standards] (ilogbf): Likewise.
24767         [non-C99-based standards] (log1pf): Likewise.
24768         [non-C99-based standards] (logbf): Likewise.
24769         [non-C99-based standards] (nextafterf): Likewise.
24770         [non-C99-based standards] (remainderf): Likewise.
24771         [non-C99-based standards] (rintf): Likewise.
24772         [non-C99-based standards] (scalbf): Likewise.
24773         [non-C99-based standards] (copysignl): Likewise.
24774         [non-C99-based standards] (exp2l): Likewise.
24775         [non-C99-based standards] (log2l): Likewise.
24776         [non-C99-based standards] (modfl): Allow.
24777         [non-C99-based standards] (erfl): Do not allow.
24778         [non-C99-based standards] (erfcl): Likewise.
24779         [non-C99-based standards] (gammal): Likewise.
24780         [non-C99-based standards] (hypotl): Likewise.
24781         [non-C99-based standards] (j0l): Likewise.
24782         [non-C99-based standards] (j1l): Likewise.
24783         [non-C99-based standards] (jnl): Likewise.
24784         [non-C99-based standards] (lgammal): Likewise.
24785         [non-C99-based standards] (tgammal): Likewise.
24786         [non-C99-based standards] (y0l): Likewise.
24787         [non-C99-based standards] (y1l): Likewise.
24788         [non-C99-based standards] (ynl): Likewise.
24789         [non-C99-based standards] (isnanl): Likewise.
24790         [non-C99-based standards] (acoshl): Likewise.
24791         [non-C99-based standards] (asinhl): Likewise.
24792         [non-C99-based standards] (atanhl): Likewise.
24793         [non-C99-based standards] (cbrtl): Likewise.
24794         [non-C99-based standards] (expm1l): Likewise.
24795         [non-C99-based standards] (ilogbl): Likewise.
24796         [non-C99-based standards] (log1pl): Likewise.
24797         [non-C99-based standards] (logbl): Likewise.
24798         [non-C99-based standards] (nextafterl): Likewise.
24799         [non-C99-based standards] (remainderl): Likewise.
24800         [non-C99-based standards] (rintl): Likewise.
24801         [non-C99-based standards] (scalbl): Likewise.
24802         [ISO || ISO99 || ISO11] (*_t): Do not allow.
24803         [non-C99-based standards] (FP_*): Do not allow.
24804         [C99-based standards] (FP_*): Change to
24805         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
24806         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24807         allow.
24808         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
24809         (SIG_ERR): Likewise.
24810         [X/Open-based standards] (SIG_HOLD): Likewise.
24811         (SIG_IGN): Likewise.
24812         (SIGABRT): Use macro-int-constant.  Specify type.  Require
24813         positive value.
24814         (SIGFPE): Likewise.
24815         (SIGILL): Likewise.
24816         (SIGINT): Likewise.
24817         (SIGSEGV): Likewise.
24818         (SIGTER): Likewise.
24819         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
24820         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
24821         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
24822         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
24823         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
24824         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
24825         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
24826         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
24827         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
24828         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
24829         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
24830         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
24831         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
24832         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
24833         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
24834         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
24835         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
24836         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
24837         [X/Open-based standards] (SIGTRAP): Likewise.
24838         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
24839         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
24840         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
24841         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
24842         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24843         allow.
24845 2012-05-08  Ian Wienand  <ianw@vmware.com>
24847         [BZ #14080]
24848         * time/tzset.c (__tzset_parse_tz): Update default rules for
24849         daylight time changes in the Energy Policy Act of 2005.
24851 2012-05-09  Andreas Jaeger  <aj@suse.de>
24853         [BZ #13983]
24854         * elf/ldconfig.c (parse_conf): Change string to make clear that
24855         ldconfig only issued a warning if ld.so.conf does not exist.
24857 2012-05-08  David S. Miller  <davem@davemloft.net>
24859         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
24860         movxtod instead of popping the value on the stack.
24862         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24864 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
24866         * config.h.in: Add HAVE_ARM_PCS_VFP.
24868 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
24870         [BZ #13979]
24871         * include/features.h: Warn if user requests __FORTIFY_SOURCE
24872         checking but the checks are disabled for any reason.
24874 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
24876         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
24877         and ELF64_R_TYPE with ELFW(R_TYPE).
24879 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
24881         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
24882         (ulimit): Likewise.
24884         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
24885         (settimeofday): Likewise.
24887 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
24889         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
24890         a struct th_u2 inside the union, and move tu_block/tu_code into
24891         a new th_u3 union of tu_block/tu_code inside of that.  Move
24892         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
24893         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
24894         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
24895         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
24896         (th_stuff): Change to th_u1.tu_stuff.
24897         (th_data): Define.
24898         (th_msg): Change to th_u1.th_u2.tu_data.
24900 2012-05-07  David S. Miller  <davem@davemloft.net>
24902         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24904         [BZ #14074]
24905         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
24906         (SETUP_PIC_REG): Use it.
24907         (SETUP_PIC_REG_LEAF): Use it.
24909 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
24911         [BZ #13885]
24912         [BZ #13923]
24913         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24914         USE_AS_EXPM1L.
24915         (EXPL_FINITE): Likewise.
24916         (FLDLOG): Likewise.
24917         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
24918         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
24919         e_expl.S.
24920         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24921         USE_AS_EXPM1L.
24922         (EXPL_FINITE): Likewise.
24923         (FLDLOG): Likewise.
24924         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
24925         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
24926         e_expl.S.
24927         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
24928         test of -max_value argument for long double.
24929         * sysdeps/i386/fpu/libm-test-ulps: Update.
24930         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24932 2012-05-06  David S. Miller  <davem@davemloft.net>
24934         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
24935         quad soft-float symbols whose references which are compiler
24936         generated.
24937         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
24939 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
24941         [BZ #13884]
24942         [BZ #13914]
24943         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24944         USE_AS_EXP10L.
24945         (EXPL_FINITE): Likewise.
24946         (FLDLOG): Likewise.
24947         (c0): Likewise.
24948         (c1): Likewise.
24949         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
24950         Adjust comments for base varying.
24951         (__expl_finite): Change alias to EXPL_FINITE.
24952         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
24953         e_expl.S.
24954         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
24955         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
24956         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
24957         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
24958         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24959         USE_AS_EXP10L.
24960         (EXPL_FINITE): Likewise.
24961         (FLDLOG): Likewise.
24962         (c0): Likewise.
24963         (c1): Likewise.
24964         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
24965         Adjust comments for base varying.
24966         (__expl_finite): Change alias to EXPL_FINITE.
24967         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
24968         tests for bugs.
24969         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24971         [BZ #14064]
24972         * math/libm-test.inc (check_float_internal): Correct ulp
24973         calculation for subnormal expected results.
24975 2012-05-06  Andreas Jaeger  <aj@suse.de>
24977         * Makeconfig (+math-flags): New, set to -frounding-math.
24978         (+cflags): Add +math-flags so that all of glibc gets compiled with
24979         it.
24981         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
24983 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
24985         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
24986         Disable one test.
24988         [BZ #13787]
24989         [BZ #13922]
24990         [BZ #14036]
24991         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
24992         (__ieee754_expl): Allow for and saturate large arguments.
24993         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
24994         (u_threshold): Likewise.
24995         (__exp): Call __ieee754_exp before checking for overflow and
24996         underflow.
24997         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
24998         (u_threshold): Likewise.
24999         (__expf): Call __ieee754_expf before checking for overflow and
25000         underflow.
25001         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
25002         (u_threshold): Likewise.
25003         (__expl): Call __ieee754_expl before checking for overflow and
25004         underflow.
25005         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
25006         (__ieee754_expl): Allow for and saturate large arguments.
25007         * math/libm-test.inc (exp_test): Add another test.  Do not allow
25008         missing overflow exception on overflow.
25009         (expm1_test): Do not allow missing overflow exception on overflow.
25011         * sysdeps/i386/fpu/e_expl.c: Move to ...
25012         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
25013         rather than using inline asm.
25014         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
25015         * sysdeps/x86_64/fpu/e_expl.S: Copy from
25016         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
25018         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
25019         (nice): Likewise.
25020         (poll): Likewise.
25021         (signal): Likewise.
25022         (time): Likewise.
25023         (times): Likewise.
25025 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
25027         * sysdeps/unix/syscalls.list (adjtime): Add entry from
25028         sysdeps/unix/common/syscalls.list.
25029         (fchmod): Likewise.
25030         (fchown): Likewise.
25031         (ftruncate): Likewise.
25032         (getrusage): Likewise.
25033         (gettimeofday): Likewise.
25034         (setpgid): Likewise.
25035         (setregid): Likewise.
25036         (setreuid): Likewise.
25037         (sigaction): Likewise.
25038         (truncate): Likewise.
25039         (vhangup): Likewise.
25040         * sysdeps/unix/common/syscalls.list: Remove file.
25041         * sysdeps/unix/bsd/Implies: Don't include unix/common.
25042         * sysdeps/unix/sysv/linux/Implies: Likewise.
25044 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
25046         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
25047         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
25048         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
25049         Moved to ...
25050         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
25051         Here.
25052         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
25053         to ...
25054         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
25055         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
25056         to ...
25057         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
25058         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
25059         to ...
25060         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
25061         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
25062         to ...
25063         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
25064         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
25065         to ...
25066         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
25067         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
25068         to ...
25069         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
25070         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
25071         to ...
25072         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
25073         Here.
25074         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
25075         to ...
25076         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
25077         Here.
25078         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
25079         to ...
25080         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
25081         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
25082         Moved to ...
25083         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
25084         Here.
25085         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
25086         to ...
25087         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
25089 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
25091         * sysdeps/unix/common/bits/dirent.h: Remove file.
25092         * sysdeps/unix/common/bits/fcntl.h: Likewise.
25094         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
25095         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
25096         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
25097         * sysdeps/unix/bsd/isatty.c: Likewise.
25098         * sysdeps/unix/bsd/tcdrain.c: Likewise.
25099         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
25100         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
25102 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25104         [BZ #13563]
25105         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
25106         long double comparison inaccuracies.
25107         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
25108         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25110 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
25112         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
25113         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
25115 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
25117         [BZ #14049]
25118         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
25119         nonzero digits before rounding a hex value.
25120         * stdlib/tst-strtod.c (tests): Add another test.
25122 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25124         * sysdeps/s390/fpu/libm-test-ulps: Update.
25126 2012-05-03  Andreas Jaeger  <aj@suse.de>
25128         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
25129         does not get optimized out.
25130         (malloc_opt_barrier): New.
25132 2012-05-03  Andreas Jaeger  <aj@suse.de>
25133             Roland McGrath  <roland@hack.frob.com>
25135         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
25136         intermediate file deletion.
25137         (generated): Add .symlist files.
25139 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
25141         [BZ #13775]
25142         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
25143         Redirect under this condition.
25144         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25145         [__USE_GNU] (__dprintf_chk): Not under this condition.
25146         [__USE_GNU] (__vdprintf_chk): Likewise.
25147         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
25148         under this condition.
25149         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25150         [__USE_XOPEN2K8] (dprintf): Define under this condition.
25151         [__USE_XOPEN2K8] (vdprintf): Likewise.
25152         [__USE_GNU] (__dprintf_chk): Not under this condition.
25153         [__USE_GNU] (__vdprintf_chk): Likewise.
25154         [__USE_GNU] (dprintf): Likewise.
25155         [__USE_GNU] (vdprintf): Likewise.
25157 2012-05-03  Roland McGrath  <roland@hack.frob.com>
25159         * elf/Makefile (common-generated): Set this instead of generated for
25160         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
25161         $(all-built-dso)-derived lists.
25163 2012-05-03  Andreas Jaeger  <aj@suse.de>
25165         * sysdeps/i386/fpu/libm-test-ulps: Update.
25167         * FAQ: Removed.
25168         * FAQ.in: Likewise.
25169         * scripts/gen-FAQ.pl: Likewise.
25170         * manual/install.texi (Installation): Point to online location of
25171         FAQ.
25172         * Makefile (files-for-dist): Remove FAQ.
25173         (FAQ): Remove.
25175 2012-05-02  Allan McRae  <allan@archlinux.org>
25177         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
25178         (LDFLAGS-reldepmod5.so): Likewise.
25179         (LDFLAGS-reldep6mod1.so): Likewise.
25180         (LDFLAGS-reldep6mod4.so): Likewise.
25181         (LDFLAGS-reldep8mod3.so): Likewise.
25182         (LDFLAGS-unload4mod1.so): Likewise.
25183         (LDFLAGS-unload4mod2.so): Likewise.
25184         (LDFLAGS-tst-initorder): Likewise.
25185         (LDFLAGS-tst-initordera2.so): Likewise.
25186         (LDFLAGS-tst-initordera3.so): Likewise.
25187         (LDFLAGS-tst-initordera4.so): Likewise.
25188         (LDFLAGS-tst-initorderb2.so): Likewise.
25189         (LDFLAGS-noload): Likewise.
25190         (LDFLAGS-next): Likewise.
25191         (LDFLAGS-order2mod1.so): Likewise.
25192         (LDFLAGS-order2mod2.so): Likewise.
25193         (LDFLAGS-tst-initorder2): Likewise.
25194         (LDFLAGS-tst-initorder2a.so): Likewise.
25195         (LDFLAGS-tst-initorder2b.so): Likewise.
25196         (LDFLAGS-tst-initorder2c.so): Likewise.
25197         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
25199 2012-05-02  David S. Miller  <davem@davemloft.net>
25201         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25203 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
25205         [BZ #14055]
25206         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
25208 2012-05-02  Andreas Jaeger  <aj@suse.de>
25210         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
25211         since we manipulate rounding mode.
25212         (CPPFLAGS-test-idouble.c): Likewise.
25213         (CPPFLAGS-test-ifloat.c): Likewise.
25214         (CFLAGS-test-ldouble.c): Likewise.
25215         (CFLAGS-test-double.c): Likewise.
25216         (CFLAGS-test-float.c): Likewise.
25217         (CFLAGS-test-misc.c): Likewise.
25218         (CFLAGS-test-test-fenv.c): Likewise.
25220 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25222         [BZ #2550]
25223         [BZ #2570]
25224         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
25225         comparisons to determine direction to adjust input.
25227 2012-05-01  Roland McGrath  <roland@hack.frob.com>
25229         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
25230         output to the target.
25232         * scripts/localplt.awk: New file.
25233         * elf/Makefile ($(objpfx)check-localplt): Target removed.
25234         (check-localplt-CFLAGS): Variable removed.
25235         ($(all-built-dso:=.jmprel)): New static pattern rule.
25236         (generated): Add those targets.
25237         (localplt-built-dso): New variable.
25238         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
25240         * elf/check-localplt.c: File removed.
25242         * scripts/check-execstack.awk: New file.
25243         * elf/Makefile ($(objpfx)check-execstack): Target removed.
25244         (check-execstack-CFLAGS): Variable removed.
25245         ($(objpfx)check-execstack.h): Target removed.
25246         ($(objpfx)execstack-default): New target.
25247         (generated): Add that instead of check-execstack.h.
25248         ($(all-built-dso:=.phdr)): New static pattern rule.
25249         (generated): Add those targets.
25250         * elf/check-execstack.c: File removed.
25252         * scripts/check-textrel.awk: New file.
25253         * elf/Makefile ($(objpfx)check-textrel): Target removed.
25254         (check-textrel-CFLAGS): Variable removed.
25255         (all-built-dso): Use := to define.o
25256         ($(all-built-dso:=.dyn)): New static pattern rule.
25257         (generated): Add those targets.
25258         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
25259         * config.make.in (READELF): New substituted variable.
25260         * elf/check-textrel.c: File removed.
25262 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
25264         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25265         allow.
25266         * conform/data/ctype.h-data [C99-based standards] (isblank):
25267         Expect function.
25268         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
25269         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
25270         [ISO || ISO99 || ISO11] (*_t): Do not allow.
25271         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
25272         Specify type.  Require positive value.
25273         (EILSEQ): Likewise.
25274         (ERANGE): Likewise.
25275         [ISO || POSIX] (EILSEQ): Do not expect.
25276         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
25277         Specify type.  Require positive value.
25278         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
25279         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
25280         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
25281         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
25282         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
25283         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
25284         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
25285         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
25286         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
25287         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
25288         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
25289         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
25290         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
25291         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
25292         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
25293         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
25294         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
25295         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
25296         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
25297         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
25298         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
25299         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
25300         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
25301         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
25302         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
25303         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
25304         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
25305         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
25306         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
25307         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
25308         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
25309         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
25310         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
25311         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
25312         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
25313         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
25314         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
25315         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
25316         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
25317         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
25318         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
25319         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
25320         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
25321         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
25322         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
25323         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
25324         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
25325         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
25326         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
25327         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
25328         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
25329         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
25330         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
25331         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
25332         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
25333         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
25334         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
25335         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
25336         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
25337         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
25338         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
25339         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
25340         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
25341         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
25342         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
25343         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
25344         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
25345         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
25346         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
25347         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
25348         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
25349         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
25350         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
25351         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
25352         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
25353         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
25354         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
25355         Require >= 2.
25356         (FLT_ROUNDS): Expect as macro, not constant.
25357         (FLT_MANT_DIG): Use macro-int-constant.
25358         (DBL_MANT_DIG): Likewise.
25359         (LDBL_MANT_DIG): Likewise.
25360         (FLT_DIG): Likewise.
25361         (DBL_DIG): Likewise.
25362         (LDBL_DIG): Likewise.
25363         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
25364         (DBL_MIN_EXP): Likewise.
25365         (LDBL_MIN_EXP): Likewise.
25366         (FLT_MAX_EXP): Use macro-int-constant.
25367         (DBL_MAX_EXP): Likewise.
25368         (LDBL_MAX_EXP): Likewise.
25369         (FLT_MAX_10_EXP): Likewise.
25370         (DBL_MAX_10_EXP): Likewise.
25371         (LDBL_MAX_10_EXP): Likewise.
25372         (FLT_MAX): Use macro-constant.
25373         (DBL_MAX): Likewise.
25374         (LDBL_MAX): Likewise.
25375         (FLT_EPSILON): Use macro-constant.  Give upper bound.
25376         (DBL_EPSILON): Likewise.
25377         (LDBL_EPSILON): Likewise.
25378         (FLT_MIN): Likewise.
25379         (DBL_MIN): Likewise.
25380         (LDBL_MIN): Likewise.
25381         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
25382         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
25383         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
25384         [ISO11] (FLT_HAS_SUBNORM): Likewise.
25385         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
25386         [ISO11] (DBL_DECIMAL_DIG): Likewise.
25387         [ISO11] (FLT_DECIMAL_DIG): Likewise.
25388         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
25389         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
25390         [ISO11] (FLT_TRUE_MIN): Likewise.
25391         [ISO11] (LDBL_TRUE_MIN): Likewise.
25392         [ISO || ISO99 || ISO11] (*_t): Do not allow.
25393         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
25394         (SCHAR_MIN): Use macro-int-constant.  Specify type.
25395         (SCHAR_MAX): Likewise.
25396         (UCHAR_MAX): Likewise.
25397         (CHAR_MIN): Likewise.
25398         (CHAR_MAX): Likewise.
25399         (MB_LEN_MAX): Use macro-int-constant.
25400         (SHRT_MIN): Use macro-int-constant.  Specify type.
25401         (SHRT_MAX): Likewise.
25402         (USHRT_MAX): Likewise.
25403         (INT_MAX): Likewise.
25404         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
25405         bound negative.
25406         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
25407         bound with "U".
25408         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
25409         bound with "L".
25410         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
25411         bound negative.  Suffix upper bound with "L".
25412         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
25413         bound with "UL".
25414         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
25415         Specify type.
25416         [C99-based standards] (LLONG_MAX): Likewise.
25417         [C99-based standards] (ULLONG_MAX): Likewise.
25418         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
25419         == 0.
25420         [ISO11] (max_align_t): Require type.
25421         [ISO || ISO99 || ISO11] (*_t): Do not allow.
25423         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
25424         from $CFLAGS, without defining away __attribute__ calls.
25425         (checknamespace): Use $CFLAGS_namespace.
25427         * conform/conformtest.pl (@keywords): Only include C99 keywords
25428         for standards based on C99 or C11.
25430         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
25431         Disable tests.
25432         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
25433         UNIX98]: Likewise.
25435         * conform/conformtest.pl: Handle "macro-int-constant" and test for
25436         usability of symbols in #if.
25438         * conform/conformtest.pl: If macro or constant types start
25439         "promoted:", expect the symbol to be of the following type
25440         promoted by the integer promotions.
25442         * conform/conformtest.pl: Parse all "constant" and "macro" lines
25443         in one place.  Also handle "macro-constant".
25445         * conform/conformtest.pl: Only accept expected macro values with
25446         "==".  Parse all "macro" lines in one place.
25447         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
25449         * conform/conformtest.pl: Handle braced types on "constant" lines
25450         instead of handling "typed-constant".
25451         * conform/data/signal.h-data: Use "constant" instead of
25452         "typed-constant".
25454         * conform/conformtest.pl: Handle "optional-" at start of lines in
25455         one place rather than duplicating several cases.  Handle each
25456         format of "macro" line with initial "optional-".
25458         * conform/conformtest.pl: Only accept expected constant or
25459         optional-constant values with "==".  Parse all "constant" lines in
25460         one place.  Parse all "optional-constant" lines in one place.
25461         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
25462         * conform/data/fmtmsg.h-data: Likewise.
25463         * conform/data/netinet/in.h-data: Likewise.
25464         * conform/data/tar.h-data: Likewise.
25465         * conform/data/limits.h-data: Use "==" form on "constant" and
25466         "optional-constant" lines.
25468         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
25469         Use -std=c99 for XOPEN2K.
25470         (@knownproblems): Remove.
25471         (newtoken): Don't check %isknown.
25473         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
25474         Do not expect macro.
25475         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
25476         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
25477         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
25478         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
25479         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
25480         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
25481         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
25482         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
25483         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
25484         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
25485         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
25486         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
25487         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
25488         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
25489         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
25490         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
25491         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
25492         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
25493         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
25494         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
25495         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
25496         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
25497         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
25498         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
25499         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
25500         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
25501         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
25502         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
25503         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
25504         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
25505         [XPG3] (acosh): Likewise.
25506         [XPG3] (asinh): Likewise.
25507         [XPG3] (atanh): Likewise.
25508         [XPG3] (cbrt): Likewise.
25509         [XPG3] (expm1): Likewise.
25510         [XPG3] (ilogb): Likewise.
25511         [XPG3] (log1p): Likewise.
25512         [XPG3] (logb): Likewise.
25513         [XPG3] (nextafter): Likewise.
25514         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
25515         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
25516         [XPG3] (remainder): Likewise.
25517         [XPG3] (rint): Likewise.
25518         [XPG3 || XPG4 || UNIX98] (round): Likewise.
25519         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
25520         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
25521         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
25522         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
25523         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
25524         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
25525         [UNIX98 || XOPEN2K] (scalb): Expect.
25526         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
25527         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
25528         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
25529         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
25530         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
25531         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
25532         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
25533         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
25534         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
25535         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
25536         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
25537         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
25538         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
25539         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
25540         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
25541         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
25542         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
25543         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
25544         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
25545         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
25546         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
25547         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
25548         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
25549         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
25550         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
25551         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
25552         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
25553         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
25554         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
25555         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
25556         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
25557         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
25558         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
25559         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
25560         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
25561         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
25562         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
25563         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
25564         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
25565         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
25566         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
25567         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
25568         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
25569         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
25570         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
25571         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
25572         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
25573         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
25574         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
25575         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
25576         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
25577         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
25578         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
25579         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
25580         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
25581         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
25582         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
25583         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
25584         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
25585         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
25586         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
25587         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
25588         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
25589         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
25590         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
25591         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
25592         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
25593         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
25594         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
25595         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
25596         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
25597         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
25598         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
25599         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
25600         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
25601         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
25602         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
25603         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
25604         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
25605         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
25606         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
25607         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
25608         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
25609         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
25610         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
25611         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
25612         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
25613         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
25614         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
25615         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
25616         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
25617         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
25618         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
25619         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
25620         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
25621         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
25622         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
25623         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
25624         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
25625         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
25626         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
25627         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
25628         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
25629         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
25630         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
25631         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
25632         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
25633         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
25634         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
25635         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
25636         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
25637         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
25638         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
25639         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
25640         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
25641         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
25642         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
25643         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
25644         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
25645         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
25646         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
25647         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
25648         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
25649         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
25650         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
25651         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
25652         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
25653         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
25654         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
25655         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
25656         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
25657         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
25658         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
25659         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
25660         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
25661         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
25662         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
25664         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
25665         _XOPEN_SOURCE_EXTENDED for XPG4.
25667         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
25669         * Makeconfig (localtime): Remove variable.
25670         (inst_localtime-file): Likewise.
25672 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
25674         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
25675         Update.
25676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25677         Update.
25678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
25679         Update.
25680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
25681         Update.
25682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
25683         Update.
25684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
25685         Update.
25686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25687         Update.
25688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
25689         Update.
25690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25691         Update.
25693 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
25695         [BZ #2550]
25696         [BZ #2570]
25697         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
25698         comparisons to determine direction to adjust input.
25699         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
25700         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
25701         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
25702         Likewise.
25703         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
25704         Likewise.
25705         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
25706         Likewise.
25707         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
25708         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
25709         Likewise.
25710         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
25711         Likewise.
25712         * math/libm-test.inc (nexttoward_test): Add more tests.
25714 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
25716         [BZ #14040]
25717         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
25718         in version GLIBC_2.1, not GLIBC_2.0.
25719         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
25720         Likewise.
25722 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
25724         [BZ #13942]
25725         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
25726         (1 - x) * (1 + x).
25727         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
25728         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
25729         * math/libm-test.inc (acos_test): Add more tests.
25730         (asin_test): Likewise.
25731         * sysdeps/i386/fpu/libm-test-ulps: Update.
25732         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25734         [BZ #14034]
25735         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
25736         of square root.
25737         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
25738         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
25739         * math/libm-test.inc (acos_test_tonearest): New function.
25740         (acos_test_towardzero): Likewise.
25741         (acos_test_downward): Likewise.
25742         (acos_test_upward): Likewise.
25743         (asin_test_tonearest): Likewise.
25744         (asin_test_towardzero): Likewise.
25745         (asin_test_downward): Likewise.
25746         (asin_test_upward): Likewise.
25747         (main): Call the new functions.
25748         * sysdeps/i386/fpu/libm-test-ulps: Update.
25749         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25751         [BZ #13884]
25752         [BZ #13924]
25753         * math/e_exp10.c: Include <float.h>.
25754         (__ieee754_exp10): Handle underflow here rather than multiplying
25755         large negative argument by M_LN10.
25756         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
25757         of __ieee754_expf.
25758         * math/e_exp10l.c: Include <float.h>.
25759         (__ieee754_exp10l): Handle underflow here rather than multiplying
25760         large negative argument by M_LN10l.
25761         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
25762         spurious overflow exception on underflow.
25764 2012-04-29  Marek Polacek  <polacek@redhat.com>
25766         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
25767         (__fortify_function): New macro.
25768         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
25769         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
25770         __extern_always_inline.
25771         * libio/bits/stdio2.h: Likewise.
25772         * libio/bits/stdio.h: Likewise.
25773         * string/string.h: Likewise.
25774         * string/bits/string3.h: Likewise.
25775         * include/stdio.h: Likewise.
25776         * stdlib/bits/stdlib.h: Likewise.
25777         * stdlib/stdlib.h: Likewise.
25778         * rt/bits/mqueue2.h: Likewise.
25779         * rt/mqueue.h: Likewise.
25780         * posix/bits/unistd.h: Likewise.
25781         * posix/unistd.h: Likewise.
25782         * io/bits/poll2.h: Likewise.
25783         * io/bits/fcntl2.h: Likewise.
25784         * io/fcntl.h: Likewise.
25785         * io/sys/poll.h: Likewise.
25786         * misc/bits/syslog.h: Likewise.
25787         * misc/bits/syslog-ldbl.h: Likewise.
25788         * misc/sys/syslog.h: Likewise.
25789         * socket/bits/socket2.h: Likewise.
25790         * socket/sys/socket.h: Likewise.
25791         * debug/tst-chk1.c: Likewise.
25792         * wcsmbs/bits/wchar2.h: Likewise.
25793         * wcsmbs/bits/wchar-ldbl.h: Likewise.
25794         * wcsmbs/wchar.h: Likewise.
25796 2012-04-29  Andreas Jaeger  <aj@suse.de>
25798         * Makerules (tests): Remove enable-check-abi protection.
25799         (check-abi-warn): Remove.
25800         (check-abi-%): Remove check-abi-warn usage.
25802         * configure.in: Remove check-abi configure option.
25803         * configure: Regenerated.
25804         * config.make.in (enable-check-abi): Remove.
25806 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
25808         [BZ #14033]
25809         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
25810         double functions to double *_finite functions.
25812         [BZ #13941]
25813         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
25814         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
25815         LDBL_MIN_EXP.
25816         * stdio-common/Makefile (tests): Add tst-sprintf3.
25817         * stdio-common/tst-sprintf3.c: New file.
25819         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
25820         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
25822 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
25824         * conform/conformtest.pl: Remove duplicate typed-constant
25825         handling.
25827 2012-04-28  David S. Miller  <davem@davemloft.net>
25829         * Makerules (%.abilist): Add vpath on sysdep_dirs.
25830         (check-abi-%): Remove AWK script prerequisite and explicit
25831         abilist directory.
25832         (check-abi): Rewrite to just diff the symlist with the abilist.
25833         (config-tls, config-abi-config): Delete, no longer used.
25834         (update-abi-%): Remove AWK script and explicit abilist directory.
25835         (update-abi): Rewrite to simply compare and conditionally copy the
25836         symlist and the sysdep abilist file.  Remove update-abi-config
25837         checks.
25838         * abilist/ld.abilist: Remove.
25839         * abilist/libBrokenLocale.abilist: Remove.
25840         * abilist/libanl.abilist: Remove.
25841         * abilist/libcrypt.abilist: Remove.
25842         * abilist/libdl.abilist: Remove.
25843         * abilist/librt.abilist: Remove.
25844         * abilist/libthread_db.abilist: Remove.
25845         * abilist/libutil.abilist: Remove.
25846         * scripts/extract-abilist.awk: Remove.
25847         * scripts/merge-abilist.awk: Remove.
25848         * sysdeps/generic/libcidn.abilist: New file.
25849         * sysdeps/generic/libnss_compat.abilist: New file.
25850         * sysdeps/generic/libnss_db.abilist: New file.
25851         * sysdeps/generic/libnss_dns.abilist: New file.
25852         * sysdeps/generic/libnss_files.abilist: New file.
25853         * sysdeps/generic/libnss_hesiod.abilist: New file.
25854         * sysdeps/generic/libnss_nis.abilist: New file.
25855         * sysdeps/generic/libnss_nisplus.abilist: New file.
25856         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
25857         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
25858         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
25859         file.
25860         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
25861         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
25862         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
25863         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
25864         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
25865         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
25866         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
25867         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
25868         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
25869         file.
25870         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
25871         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
25872         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
25873         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
25874         file.
25875         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
25876         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
25877         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
25878         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
25879         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
25880         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
25881         file.
25882         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
25883         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
25884         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
25885         file.
25886         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
25887         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
25888         New file.
25889         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
25890         New file.
25891         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
25892         New file.
25893         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
25894         New file.
25895         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
25896         New file.
25897         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
25898         New file.
25899         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
25900         New file.
25901         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
25902         New file.
25903         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
25904         New file.
25905         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
25906         New file.
25907         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
25908         New file.
25909         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
25910         New file.
25911         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
25912         New file.
25913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
25914         file.
25915         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
25916         New file.
25917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
25918         New file.
25919         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
25920         file.
25921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
25922         New file.
25923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
25924         New file.
25925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
25926         file.
25927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
25928         New file.
25929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25930         New file.
25931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
25932         New file.
25933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
25934         New file.
25935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
25936         New file.
25937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
25938         New file.
25939         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
25940         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
25941         file.
25942         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
25943         New file.
25944         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
25945         file.
25946         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
25947         file.
25948         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
25949         file.
25950         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
25951         file.
25952         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
25953         file.
25954         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25955         New file.
25956         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
25957         file.
25958         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
25959         file.
25960         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
25961         New file.
25962         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
25963         file.
25964         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
25965         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
25966         file.
25967         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
25968         New file.
25969         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
25970         file.
25971         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
25972         file.
25973         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
25974         file.
25975         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
25976         file.
25977         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
25978         file.
25979         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25980         New file.
25981         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
25982         file.
25983         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
25984         file.
25985         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
25986         New file.
25987         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
25988         file.
25989         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
25990         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
25991         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
25992         file.
25993         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
25994         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
25995         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
25996         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
25997         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
25998         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
25999         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
26000         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
26001         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
26002         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
26003         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
26004         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
26005         file.
26006         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
26007         New file.
26008         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
26009         file.
26010         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
26011         file.
26012         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
26013         file.
26014         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
26015         file.
26016         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
26017         file.
26018         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
26019         New file.
26020         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
26021         New file.
26022         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
26023         file.
26024         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
26025         New file.
26026         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
26027         file.
26028         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
26029         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
26030         file.
26031         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
26032         New file.
26033         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
26034         file.
26035         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
26036         file.
26037         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
26038         file.
26039         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
26040         file.
26041         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
26042         file.
26043         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
26044         New file.
26045         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
26046         New file.
26047         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
26048         file.
26049         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
26050         New file.
26051         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
26052         file.
26054 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
26056         * conform/conformtest.pl: Fix typo in handling typed-constant from
26057         allow-header.
26059 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
26061         * README: Cut down references to pre-2.6 Linux kernels and
26062         Linuxthreads.  Update lists of configurations in libc and ports
26063         and sort alphabetically.  Say "or newer" with Linux kernel version
26064         requirements.
26066         * config.h.in [IS_IN_build]: Allow compiling without optimization.
26068 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
26070         [BZ #887]
26071         * math/libm-test.inc (logb_test_downward): New test to expose
26072         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
26073         rounding mode.
26075 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
26077         [BZ #14027]
26078         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
26079         to be done.
26080         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
26081         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
26083 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
26085         * sysdeps/unix/i386/brk.S: Remove file.
26086         * sysdeps/unix/i386/dl-brk.S: Likewise.
26087         * sysdeps/unix/i386/pipe.S: Likewise.
26088         * sysdeps/unix/i386/sigreturn.S: Likewise.
26089         * sysdeps/unix/i386/syscall.S: Likewise.
26090         * sysdeps/unix/i386/vfork.S: Likewise.
26091         * sysdeps/unix/i386/wait.S: Likewise.
26093         * sysdeps/unix/common/tcsendbrk.c: Move to ...
26094         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
26096         * configure.in (arm*-none*): Do not allow without
26097         --enable-hacker-mode.
26098         (netbsd*): Remove case setting base_os.
26099         (386bsd*): Likewise.
26100         (freebsd*): Likewise.
26101         (bsdi*): Likewise.
26102         (osf*): Likewise.
26103         (sunos*): Likewise.
26104         (ultrix*): Likewise.
26105         (newsos*): Likewise.
26106         (dynix*): Likewise.
26107         (*bsd*): Likewise.
26108         (sysv*): Likewise.
26109         (isc*): Likewise.
26110         (esix*): Likewise.
26111         (sco*): Likewise.
26112         (minix*): Likewise.
26113         (irix4*): Likewise.
26114         (irix6*): Likewise.
26115         (solaris[2-9]*): Likewise.
26116         (none): Likewise.
26117         * configure: Regenerated.
26119 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26121         [BZ #11521]
26122         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
26123         overflow or cancellation in calculating denominator.
26124         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
26125         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
26126         down expression to avoid unexpected rounding in newer GCCs.
26127         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
26129 2012-04-26  David S. Miller  <davem@davemloft.net>
26131         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
26132         long-double compat symbols.
26133         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
26134         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
26135         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
26136         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
26137         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
26138         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
26139         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
26140         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
26141         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
26142         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
26143         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
26144         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
26145         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
26147 2012-04-25  David S. Miller  <davem@davemloft.net>
26149         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
26150         HWCAP_* values only after the memory barriers have been defined.
26151         (atomic_full_barrier): Define.
26152         (atomic_read_barrier): Define.
26153         (atomic_write_barrier): Define.
26155 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
26157         * shlib-versions: Add libgcc_s version information.
26158         * sysdeps/generic/libgcc_s.h: Remove.
26159         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
26160         libgcc_s.h.
26161         * sysdeps/gnu/unwind-resume.c: Likewise.
26162         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
26164 2012-04-25  David S. Miller  <davem@davemloft.net>
26166         * sysdeps/unix/sparc/brk.S: Delete.
26167         * sysdeps/unix/sparc/dl-brk.S: Delete.
26168         * sysdeps/unix/sparc/pipe.S: Delete.
26169         * sysdeps/unix/sparc/sysdep.S: Delete.
26170         * sysdeps/unix/sparc/sysdep.h: Delete.
26171         * sysdeps/unix/sparc/vfork.S: Delete.
26172         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
26173         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
26174         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
26175         ret_ERRVAL, r0, r1, MOVE): Define.
26176         (JUMPTARGET): Remove.
26177         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
26178         sysdeps/unix/sparc/sysdep.h
26179         (ENTRY, END): Remove.
26180         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26182 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
26184         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
26185         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
26186         -DIS_IN_build.
26188         * timezone/README: Update upstream location and email address for
26189         tzcode and tzdata.
26190         * timezone/zdump.c: Update from tzcode 2012b.
26191         * timezone/zic.c: Likewise.
26193         * configure.in (libc_cv_as_needed): Remove test.
26194         * configure: Regenerated.
26195         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
26196         conditional definition.
26197         [$(have-as-needed) != yes] (no-as-needed): Likewise.
26198         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
26199         * config.make.in (have-as-needed): Remove variable.
26201 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
26202             Paul Pluzhnikov  <ppluzhnikov@google.com>
26204         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
26205         strings correctly.
26207 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
26209         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
26210         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
26211         * sysdeps/sh/strlen.S: Likewise.
26213 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
26215         * sysdeps/unix/fork.S: Remove file.
26216         * sysdeps/unix/i386/fork.S: Likewise.
26217         * sysdeps/unix/sparc/fork.S: Likewise.
26219         * sysdeps/unix/system.c: Remove file.
26220         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
26222         * sysdeps/unix/getegid.S: Remove file.
26223         * sysdeps/unix/geteuid.S: Likewise.
26225 2012-04-24  Roland McGrath  <roland@hack.frob.com>
26227         * scripts/check-localplt.awk: New file.
26228         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
26229         of diff.
26230         * scripts/data/localplt-generic.data: Add a comment.
26232         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
26233         NODE when __dir_mkfile failed.
26234         * sysdeps/mach/hurd/symlinkat.c: Likewise.
26235         Reported by Ludovic Courtès <ludo@gnu.org>.
26237 2012-04-24  Andreas Jaeger  <aj@suse.de>
26239         * Makerules (common-clean): Also remove gen-as-const-headers
26240         files.
26242 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
26244         * Makerules (native-compile): Do not change working directory for
26245         build.  Use $(OUTPUT_OPTION) in command.
26246         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
26248 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26250         [BZ #13886]
26251         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
26252         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
26253         * math/libm-test.inc (floor_test): Add more tests.
26254         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
26256 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
26258         * sysdeps/unix/getdents.c: Remove file.
26259         * sysdeps/unix/sysv/getdents.c: Likewise.
26260         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
26262         * sysdeps/unix/syscalls.list (madvise): Add syscall from
26263         sysdeps/unix/mman/syscalls.list.
26264         (mmap): Likewise.
26265         (mprotect): Likewise.
26266         (msync): Likewise.
26267         (munmap): Likewise.
26268         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
26269         * sysdeps/unix/mman/syscalls.list: Remove.
26270         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
26272         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
26273         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
26274         * configure: Regenerated.
26275         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
26276         $(libgcc_s_suffix).
26277         * config.make.in (libgcc_s_suffix): Remove variable.
26279 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
26281         * sysdeps/unix/sysv/gethostname.c: Move to ...
26282         * sysdeps/posix/gethostname.c: ... here.
26284         * sysdeps/unix/execve.S: Remove file.
26286         * sysdeps/unix/_exit.S: Remove file.
26288 2012-04-23  Andreas Jaeger  <aj@suse.de>
26290         [BZ #13739]
26291         * manual/Makefile: Remove make dist support, there's no
26292         need for a stand-alone documentation tar ball.
26293         (TEXI2DVI): Define always, it's not in Makeconfig.
26294         (dist): Removed.
26295         (tar-it): Removed.
26296         (edition): Removed.
26297         (glibc-doc-$(edition).tar): Removed
26298         (%.Z): Removed.
26299         (%.gz): Removed.
26300         (%.uu): Removed.
26301         (ETAGS): Remove, it's in Makeconfig.
26302         (move-if-change): Remove, it's in Makeconfig.
26304 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
26306         [BZ #13970]
26307         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
26308         (strtod, strtof, strtold, strtol, strtoul, strtoq)
26309         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
26310         (strtod_l, strtof_l, strtold_l): Remove __wur.
26311         It is not necessarily an error to ignore strtol's return value.
26312         One can reliably look at the stored endptr to decide whether
26313         the number had valid syntax.
26315 2012-04-21  Andreas Jaeger  <aj@suse.de>
26317         [BZ #13739]
26318         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
26320 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
26322         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
26323         * sysdeps/unix/sysv/Versions: Remove file.
26325 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
26327         [BZ #13927]
26328         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26330 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
26332         [BZ #7064]
26333         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
26334         version from __vm86.
26336 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
26338         * sysdeps/unix/common/lxstat.c: Remove file.
26339         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
26341         * sysdeps/unix/sysv/Makefile: Remove file.
26343         * sysdeps/unix/sysv/direct.h: Remove file.
26345         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
26346         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
26347         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
26348         * sysdeps/unix/sysv/bits/signum.h: Likewise.
26349         * sysdeps/unix/sysv/bits/stat.h: Likewise.
26350         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
26351         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
26353         * sysdeps/unix/sysv/setrlimit.c: Remove file.
26355         * sysdeps/unix/xmknod.c: Remove file.
26356         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
26358         * sysdeps/unix/sysv/settimeofday.c: Remove file.
26360         * sysdeps/unix/sysv/i386/time.S: Remove file.
26362         * sysdeps/unix/fxstat.c: Remove file.
26363         * sysdeps/unix/xstat.c: Likewise.
26364         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
26366         * sysdeps/unix/sysv/sigaction.c: Remove file.
26368         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
26369         (sysdep_headers): Remove variable.
26370         [termio.h not in sysdep_headers] (generated): Likewise.
26371         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
26372         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
26373         * sysdeps/unix/sysv/tcdrain.c: Likewise.
26374         * sysdeps/unix/sysv/tcflow.c: Likewise.
26375         * sysdeps/unix/sysv/tcflush.c: Likewise.
26376         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
26377         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
26378         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
26379         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
26380         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
26382         * sysdeps/unix/siglist.c: Remove file.
26384         * sysdeps/unix/getppid.S: Remove file.
26386         * sysdeps/unix/mkdir.c: Remove file.
26387         * sysdeps/unix/rmdir.c: Likewise.
26389 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
26391         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
26392         ERR_MAX value.
26393         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
26394         errlist-compat value.
26396 2012-04-18  David S. Miller  <davem@davemloft.net>
26398         * sysdeps/generic/memcopy.h (reg_char): Delete.
26399         * debug/strcat_chk.c: Use char, not reg_char.
26400         * debug/strcpy_chk.c: Likewise.
26401         * debug/strncat_chk.c: Likewise.
26402         * debug/strncpy_chk.c: Likewise.
26403         * string/memchr.c: Likewise.
26404         * string/memrchr.c: Likewise.
26405         * string/rawmemchr.c: Likewise.
26406         * string/strcat.c: Likewise.
26407         * string/strchr.c: Likewise.
26408         * string/strchrnul.c: Likewise.
26409         * string/strcmp.c: Likewise.
26410         * string/strcpy.c: Likewise.
26411         * string/strncat.c: Likewise.
26412         * string/strncmp.c: Likewise.
26413         * string/strncpy.c: Likewise.
26415 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
26417         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
26418         __builtin_memcopy is called when src and dest ranges are known to not
26419         overlap.
26421 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
26423         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
26424         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
26425         fwd_align_merge macro call.
26426         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
26427         bwd_align_merge macro call.
26428         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26430 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
26432         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
26433         bwd_align_merge macros.
26434         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
26435         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
26436         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26438 2012-04-18  David S. Miller  <davem@davemloft.net>
26440         * sysdeps/sparc/sparc64/memcopy.h: Delete.
26442 2012-04-18  Andreas Jaeger  <aj@suse.de>
26444         [BZ# 6794]
26445         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
26446         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
26447         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26449         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
26450         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
26451         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26453         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
26454         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
26455         Adjust for changed ldbl-128 files.
26457         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
26458         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
26459         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26461 2012-04-17  David S. Miller  <davem@davemloft.net>
26463         * sysdeps/sparc/sparc32/memcopy.h: Delete.
26465 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
26467         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
26468         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
26469         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
26470         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
26471         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
26472         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
26474 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26476         [BZ #6794]
26477         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
26478         * math/libm-test.inc: Add ilogb errno and exception tests.
26479         * math/w_ilogb.c: New file: ilogb wrapper.
26480         * math/w_ilogbf.c: New file: ilogbf wrapper.
26481         * math/w_ilogbl.c: New file: ilogbl wrapper.
26482         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
26483         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
26484         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
26485         exception being thrown with 0.0 as argument.
26486         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
26487         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
26488         exception being thrown with 0.0 as argument.
26489         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
26490         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
26491         exception being thrown with 0.0 as argument.
26492         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
26493         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
26494         exception being thrown with 0.0 as argument.
26495         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
26496         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
26497         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
26498         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
26499         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
26500         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
26501         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
26502         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
26503         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
26505 2012-04-17  Petr Baudis  <pasky@ucw.cz>
26507         * include/sys/uio.h: Change __vector to __iovec to avoid clash
26508         with altivec.
26510 2012-04-16  Marek Polacek  <polacek@redhat.com>
26512         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
26514 2012-04-16  Marek Polacek  <polacek@redhat.com>
26516         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
26517         operands of fdivp instruction.
26519 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
26521         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
26522         * elf/tst-auditmod3b.c: Likewise.
26523         * elf/tst-auditmod4b.c: Likewise.
26524         * elf/tst-auditmod5b.c: Likewise.
26525         * elf/tst-auditmod6b.c: Likewise.
26526         * elf/tst-auditmod6c.c: Likewise.
26527         * elf/tst-auditmod7b.c: Likewise.
26528         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
26529         * sysdeps/x86_64/preconfigure.in: Likewise.
26530         * sysdeps/x86_64/preconfigure: Regenerated.
26532 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
26534         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
26535         __ILP32__.
26537 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
26539         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26540         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
26542 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
26544         [BZ #13973]
26545         * locale/iso-639.def: Fix gl language name. Spotted by
26546         Yaron Shahrabani.
26548 2012-04-12  Roland McGrath  <roland@hack.frob.com>
26550         [BZ #2074]
26551         * libio/libio.h (__io_write_fn): Update comment.
26553 2012-04-12  Petr Baudis  <pasky@ucw.cz>
26555         [BZ #2074]
26556         * stdio.texi (Hook Functions): The user provided writer function
26557         is not allowed to return -1.
26559 2012-04-11  David S. Miller  <davem@davemloft.net>
26561         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26563 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
26565         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
26566         Add a leading slash to rtkaio.
26568 2012-04-11  Jim Meyering  <meyering@redhat.com>
26570         [BZ #11959]
26571         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
26572         It is not necessarily an error to ignore fwrite's return
26573         value.  One can reliably use ferror to test for errors after
26574         the fact.
26576 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
26578         * bits/types.h (__snseconds_t): New type.
26579         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
26581         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
26582         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26583         (__SNSECONDS_T_TYPE): Likewise.
26584         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26585         (__SNSECONDS_T_TYPE): Likewise.
26586         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26587         (__SNSECONDS_T_TYPE): Likewise.
26589 2012-04-10  Andreas Jaeger  <aj@suse.de>
26591         [BZ #2636]
26592         * manual/time.texi (Processor Time): Return type of times is
26593         elapsed real time since an arbitrary point in the past.
26594         (CPU Time): Move CLK_TCK from here...
26595         (Processor Time): ...to here.  Correct description.
26596         * manual/conf.texi (Constants for Sysconf): Correct description of
26597         _SC_CLK_TCK.
26599 2012-04-10  David S. Miller  <davem@davemloft.net>
26601         [BZ #13967]
26602         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
26603         where the is a gap between DT_REL(A) and DT_JMPREL.
26605 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
26607         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
26608         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
26609         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
26611 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
26613         * elf/dl-support.c (_dl_inhibit_cache): New variable.
26614         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
26615         (dl_main): Handle --inhibit-cache.
26616         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
26617         _dl_inhibit_cache.
26618         * elf/dl-load.c (_dl_map_object): Use it.
26619         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
26621 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
26623         [BZ #13872]
26624         * sysdeps/i386/fpu/e_powl.S (p78): New object.
26625         (__ieee754_powl): Saturate large exponents rather than testing for
26626         overflow of y*log2(x).
26627         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26628         * math/libm-test.inc (pow_test): Do not permit spurious overflow
26629         exceptions.
26631         [BZ #11521]
26632         * math/s_ctan.c: Include <float.h>.
26633         (__ctan): Avoid internal overflow or cancellation in calculating
26634         denominator.
26635         * math/s_ctanf.c: Likewise.
26636         * math/s_ctanl.c: Likewise.
26637         * math/s_ctanh.c: Likewise.
26638         * math/s_ctanhf.c: Likewise.
26639         * math/s_ctanhl.c: Likewise.
26640         * math/libm-test.inc (ctan_test): Add more tests.
26641         (ctanh_test): Likewise.
26642         * sysdeps/i386/fpu/libm-test-ulps: Update.
26643         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26645 2012-04-09  Andreas Jaeger  <aj@suse.de>
26647         [BZ #6894]
26648         * manual/filesys.texi (Directory Entries): Mention that d_namlen
26649         is an optional BSD extension.
26651         [BZ #10254]
26652         * manual/stdio.texi (Opening Streams): Document additional fopen
26653         parameters.
26655 2012-04-09  Roland McGrath  <roland@hack.frob.com>
26657         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
26658         %eax without telling the compiler.
26660 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
26662         [BZ # 13963]
26663         * manual/install.texi: Use sourceware.org.
26665 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
26667         [BZ #13873]
26668         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
26669         (__ieee754_pow): Generate overflow and underflow using huge*huge
26670         and tiny*tiny rather than just returning constant infinity or zero
26671         for large exponents.
26672         * math/libm-test.inc (pow_test): Require overflow exceptions for
26673         applicable cases of large exponents.
26675         [BZ #706]
26676         * sysdeps/i386/fpu/e_pow.S (p10): New object.
26677         (__ieee754_pow): Use iterative multiplication algorithm only for
26678         integer exponents with absolute value below 1024.  Check for odd
26679         integer exponents when using algorithm for real exponents.
26680         * math/libm-test.inc (pow_test): Add more tests.
26681         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26683 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
26685         [BZ #13705]
26686         * math/libm-test.inc (exp_test): Do not allow overflow exception
26687         on underflow test.
26689 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
26691         [BZ #13705]
26692         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
26693         instead of __kernel_standard_f.
26695 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
26697         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
26698         * sysdeps/x86_64/memset_chk.S: Likewise.
26700 2012-04-08  Andreas Jaeger  <aj@suse.de>
26702         [BZ #10153]
26703         * manual/startup.texi (Environment Access): Describe return value
26704         for putenv and setenv.
26706         [BZ #6895]
26707         * manual/filesys.texi (Directory Entries): Add description for
26708         DT_LNK.
26710         [BZ #6890]
26711         * manual/filesys.texi (Directory Entries): Clarify that it's file
26712         system not operating system in the description of DT_UNKNOWN.
26714         [BZ #6578]
26715         * manual/syslog.texi (closelog): Fix reference, it's openlog.
26717 2012-04-08  Stephen Compall  <s11@member.fsf.org>
26719         [BZ #6649]
26720         * manual/llio.texi (Opening and Closing Files): Add cross
26721         reference to explain mode argument.
26723 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
26725         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
26726         * sysdeps/x86_64/memset_chk.S: Likewise.
26728 2012-04-07  David S. Miller  <davem@davemloft.net>
26730         * elf/elf.h (R_SPARC_WDISP10): Define.
26731         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
26732         R_SPARC_SIZE32.
26733         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
26734         R_SPARC_SIZE64 and R_SPARC_H34.
26736 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
26738         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
26739         conditions and remove no longer applicable assertion.
26741 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
26743         * bits/byteswap.h: Include <features.h>.
26744         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
26745         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
26747 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
26749         * bits/byteswap.h (__bswap_16): Removed.
26750         Include <bits/byteswap-16.h> to get __bswap_16.
26751         * sysdeps/i386/bits/byteswap.h: Likewise.
26752         * sysdeps/s390/bits/byteswap.h: Likewise.
26753         * sysdeps/x86_64/bits/byteswap.h: Likewise.
26754         * bits/byteswap-16.h: New file.
26755         * sysdeps/i386/bits/byteswap-16.h: Likewise.
26756         * sysdeps/s390/bits/byteswap-16.h: Likewise.
26757         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
26758         * string/Makefile (headers): Add bits/byteswap-16.h.
26760 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
26762         [BZ #13895]
26763         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
26764         extra indirection.
26765         * nss/Makefile (tests-static, tests): Add tst-nss-static.
26766         * nss/tst-nss-static.c: New.
26768 2012-04-06  Robert Millan  <rmh@gnu.org>
26770         [BZ #6486]
26771         * manual/llio.texi (File Position Primitive): lseek
26772         refers to WHENCE when it really means OFFSET.
26774 2012-04-06  Andreas Jaeger  <aj@suse.de>
26776         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
26777         strncmp declarations.
26779         * abilist/libc.abilist: Add __poll and __ppoll.
26781 2012-04-05  David S. Miller  <davem@davemloft.net>
26783         * scripts/check-local-headers.sh: Accept a host triplet in the
26784         path matched by the exclude regexp.
26786         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
26787         definition.
26788         * sysdeps/powerpc/powerpc32/dl-machine.h
26789         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
26790         * sysdeps/s390/s390-32/dl-machine.h
26791         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26792         * sysdeps/sparc/sparc32/dl-machine.h
26793         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26794         * sysdeps/sparc/sparc64/dl-machine.h
26795         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26797         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
26798         lazy binding.
26799         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
26800         undefined symbol errors.
26802         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
26803         DT_NEEDED entries.
26805 2012-04-05  Michael Matz  <matz@suse.de>
26807         [BZ #13592]
26808         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
26810 2012-04-05  Andreas Jaeger  <aj@suse.de>
26812         [BZ #13908]
26813         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
26814         comment.
26816 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
26818         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
26819         which ROUND is no valid rounding mode.
26821 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
26823         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
26824         read again.
26825         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
26827 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
26829         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
26830         an exception using FPU order intentionally.
26832 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
26834         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
26835         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
26836         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
26837         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
26839 2012-04-05  Simon Josefsson  <simon@josefsson.org>
26841         [BZ #12340]
26842         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
26843         EINVAL when BUFLEN is too smal.
26845 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
26847         [BZ #13553]
26848         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
26849         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
26851 2012-04-03  Andreas Jaeger  <aj@suse.de>
26853         [BZ #13938]
26854         * manual/setjmp.texi (System V contexts): Fix sentence.
26856         [BZ #13926]
26857         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
26858         New macro for this case.
26859         [!__GNUC__] (__bswap_64): New inline function for this case.
26860         * sysdeps/x86_64/bits/byteswap.h: Likewise.
26861         * bits/byteswap.h: Likewise.
26862         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
26863         ull, guard with __GLIBC_HAVE_LONG_LONG.
26865         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
26866         __GLIBC_HAVE_LONG_LONG.
26868         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
26869         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
26871 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26873         [BZ #13691]
26874         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
26875         inptr and inend, rather than using last_ch.
26877 2012-04-02  David S. Miller  <davem@davemloft.net>
26879         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
26880         * stdio-common/printf-parse.h (read_int): Change return type to
26881         'int', return -1 on INT_MAX overflow.
26882         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
26883         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
26884         overflows INT_MAX.  Check for overflow of in-format-string precision
26885         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
26886         SIZE_MAX not INT_MAX for integer overflow test.
26887         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
26888         skip the construct in the format string but do not record anything.
26889         * stdio-common/bug22.c: Adjust to test both width/prevision
26890         INT_MAX overflow as well as total length INT_MAX overflow.  Check
26891         explicitly for proper errno values.
26893 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
26895         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
26896         CHAR_MAX.
26897         * string/test-strcmp.c [! WIDE]: Likewise.
26898         * time/tst-mktime2.c: Likewise for INT_MAX.
26899         * string/test-string.h: #include <sys/param.h> for MIN.
26901         * csu/init-first.c (__libc_init_first): Call __ctype_init.
26902         * sysdeps/i386/init-first.c (init): Likewise.
26903         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
26904         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
26905         * sysdeps/sh/init-first.c (init): Likewise.
26907 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
26909         * po/ru.po: Update from translation team.
26910         * po/vi.po: Likewise.
26912 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
26914         * resolv/nss_dns/dns-host.c: Merge copyright years.
26916 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26918         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
26919         Optimize memcpy with prefetch if
26920         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
26921         src, dst pointers have unequal 16 byte alignments.
26923 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
26925         [BZ #13928]
26926         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
26927         from a CNAME entry and return the minimum ttl for the query.
26928         (gaih_getanswer_slice): Likewise.
26930 2012-03-30  Jeff Law  <law@redhat.com>
26932         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
26933         due to long keys.
26934         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
26935         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
26937         * resolv/nss_dns/dns-host.c: Update copyright year.
26939 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
26941         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
26942         requests to save a system call.  Fix check that all bytes are sent.
26944         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
26945         comments for sendmmsg.
26947 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
26949         [BZ #13691]
26950         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
26951         with only 1 character between 0x0041 and 0x01b0.
26952         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
26953         * wcsmbs/tst-mbsnrtowcs.c: New file.
26955 2012-03-29  David S. Miller  <davem@davemloft.net>
26957         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
26958         small copies by hand.
26960 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26962         [BZ #13761]
26963         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
26964         _nss_compat_initgroups_dyn): Fall back to malloc/free
26965         for large group memberships.
26967 2012-03-28  David S. Miller  <davem@davemloft.net>
26969         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
26970         that branches into memcpy.
26971         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
26972         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
26973         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
26974         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
26975         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
26976         bits.
26977         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
26978         implementation too.
26979         * sysdeps/sparc/mempcpy.S: New file.
26981         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
26982         the IFUNC routine in the libc case.
26983         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
26985         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
26986         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
26987         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
26988         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
26989         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
26990         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
26991         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
26992         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
26994         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
26995         loop to 256 bytes instead of 64 bytes and fix test signedness.
26997         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
26998         * sysdeps/sparc/sparc32/Makefile: rather than here...
26999         * sysdeps/sparc/sparc64/Makefile: and here.
27001 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
27003         * malloc/mallocbug.c: Avoid warnings about unused variables.
27005 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
27007         [BZ #13760]
27008         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
27009         in the right place. Discard and retry query if response is
27010         larger than input buffer size.
27012 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
27014         [BZ #369]
27015         [BZ #2678]
27016         [BZ #3866]
27017         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
27018         x for large integer exponent.
27019         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
27020         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
27021         sign of result as needed afterwards.
27022         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
27023         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
27024         result for underflowing pow the same as for overflow.
27025         (__kernel_standard_l): Handle powl overflow and underflow here
27026         rather than calling __kernel_standard.
27027         * math/libm-test.inc (pow_test): Add more tests.
27029         [BZ #3868]
27030         [BZ #13879]
27031         [BZ #13910]
27032         [BZ #13911]
27033         [BZ #13912]
27034         [BZ #13913]
27035         [BZ #13915]
27036         [BZ #13916]
27037         [BZ #13917]
27038         [BZ #13918]
27039         [BZ #13919]
27040         [BZ #13920]
27041         [BZ #13921]
27042         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
27043         * sysdeps/ieee754/k_standard.c: Include <float.h>.
27044         (__kernel_standard_l): New function.
27045         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
27046         __kernel_standard.
27047         * math/w_acosl.c (__acosl): Likewise.
27048         * math/w_asinl.c (__asinl): Likewise.
27049         * math/w_atan2l.c (__atan2l): Likewise.
27050         * math/w_atanhl.c (__atanhl): Likewise.
27051         * math/w_coshl.c (__coshl): Likewise.
27052         * math/w_exp10l.c (__exp10l): Likewise.
27053         * math/w_exp2l.c (__exp2l): Likewise.
27054         * math/w_fmodl.c (__fmodl): Likewise.
27055         * math/w_hypotl.c (__hypotl): Likewise.
27056         * math/w_j0l.c (__j0l, __y0l): Likewise.
27057         * math/w_j1l.c (__j1l, __y1l): Likewise.
27058         * math/w_jnl.c (__jnl, __ynl): Likewise.
27059         * math/w_lgammal.c (__lgammal): Likewise.
27060         * math/w_log10l.c (__log10l): Likewise.
27061         * math/w_log2l.c (__log2l): Likewise.
27062         * math/w_logl.c (__logl): Likewise.
27063         * math/w_powl.c (__powl): Likewise.
27064         * math/w_remainderl.c (__remainderl): Likewise.
27065         * math/w_scalbl.c (sysv_scalbl): Likewise.
27066         * math/w_sinhl.c (__sinhl): Likewise.
27067         * math/w_sqrtl.c (__sqrtl): Likewise.
27068         * math/w_tgammal.c (__tgammal): Likewise.
27069         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
27070         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
27071         * math/libm-test.inc (acos_test): Add more tests.
27072         (acosh_test): Likewise.
27073         (asin_test): Likewise.
27074         (atanh_test): Likewise.
27075         (exp_test): Likewise.
27076         (exp10_test): Likewise.
27077         (exp2_test): Likewise.
27078         (expm1_test): Likewise.
27079         (lgamma_test): Likewise.
27080         (log_test): Likewise.
27081         (log10_test): Likewise.
27082         (log1p_test): Likewise.
27083         (log2_test): Likewise.
27084         (pow_test): Do not allow some spurious overflow exceptions.
27085         (sqrt_test): Add more tests.
27086         (tgamma_test): Likewise.
27087         (y0_test): Likewise.
27088         (y1_test): Likewise.
27089         (yn_test): Likewise.
27091 2012-03-27  Anton Blanchard  <anton@samba.org>
27093         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
27094         MAP_HUGETLB.
27095         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27096         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
27097         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27099 2012-03-27  David S. Miller  <davem@davemloft.net>
27101         * conform/Makefile: Run run-conformtest.sh using $(BASH).
27103         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
27104         have-as-vis3 check.
27106 2012-03-27  Andreas Jaeger  <aj@suse.de>
27108         * sysdeps/x86_64/elf/configure.in: Moved to ...
27109         * sysdeps/x86_64/configure.in: ... here.
27110         * sysdeps/x86_64/elf/start.S: Moved to ...
27111         * sysdeps/x86_64/start.S: ... here.
27112         * sysdeps/x86_64/elf/configure: Delete.
27114         * sysdeps/x86_64/configure.in: Merge contents from
27115         sysdeps/i386/configure.in (without i686 check).
27117         * sysdeps/i386/elf/Versions: Merge into ...
27118         * sysdeps/i386/Versions: ... this.
27119         * sysdeps/i386/elf/Versions: Delete file.
27120         * sysdeps/i386/elf/start.S: Moved to ...
27121         * sysdeps/i386/start.S: ...here.
27122         * sysdeps/i386/elf/configure.in: Merge into...
27123         * sysdeps/i386/configure.in: ...here.
27124         * sysdeps/i386/elf/configure.in: Delete file.
27125         * sysdeps/i386/elf/configure: Delete file.
27127         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
27128         * debug/backtracesyms.c: ... here.
27129         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
27130         * debug/backtracesymsfd.c: ... here.
27131         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
27132         * sysdeps/generic/ifunc-sel.h: ... here.
27134         * sysdeps/unix/i386/start.c: Delete file.
27135         * sysdeps/unix/sparc/start.c: Delete file.
27136         * sysdeps/unix/start.c: Delete file.
27138         * sysdeps/sh/elf/configure.in: Moved to ...
27139         * sysdeps/sh/configure.in: ... here.
27140         * sysdeps/sh/elf/start.S: Moved to ...
27141         * sysdeps/sh/start.S: ... here.
27142         * sysdeps/sh/elf/configure: Delete file.
27144         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
27145         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
27146         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
27147         * sysdeps/powerpc/powerpc64/entry.h: ... here.
27148         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
27149         * sysdeps/powerpc/powerpc64/start.S: here.
27150         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
27151         * sysdeps/powerpc/powerpc64/Makefile: ... this.
27152         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
27153         * sysdeps/powerpc/powerpc64/configure.in: ... this.
27154         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
27156         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
27157         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
27158         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
27159         * sysdeps/powerpc/powerpc32/start.S: ... here.
27160         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
27161         * sysdeps/powerpc/powerpc32/configure.in: ... this.
27162         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
27164         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
27165         * sysdeps/powerpc/ifunc-sel.h: ... here.
27166         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
27167         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
27169         * sysdeps/sparc/elf/configure.in: Moved to ...
27170         * sysdeps/sparc/configure.in: ... here.
27171         * sysdeps/sparc/elf/configure: Delete file.
27172         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
27173         * sysdeps/sparc/sparc32/start.S: ... here.
27174         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
27175         * sysdeps/sparc/sparc64/start.S: ... here.
27176         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
27177         * sysdeps/sparc/sparc32/Makefile: ... this.
27178         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
27179         * sysdeps/sparc/sparc64/Makefile: ... this.
27181         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
27182         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
27183         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
27184         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
27185         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
27186         * sysdeps/s390/s390-32/setjmp.S: ... here.
27187         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
27188         * sysdeps/s390/s390-32/configure.in: ... here.
27189         * sysdeps/s390/s390-32/elf/configure: Delete file.
27190         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
27191         * sysdeps/s390/s390-32/start.S: ... here.
27193         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
27194         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
27195         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
27196         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
27197         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
27198         * sysdeps/s390/s390-64/setjmp.S: ... here.
27199         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
27200         * sysdeps/s390/s390-64/configure.in: ... here
27201         * sysdeps/s390/s390-64/elf/configure: Delete file.
27202         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
27203         * sysdeps/s390/s390-64/start.S: ... here.
27204         * sysdeps/s390/s390-64/elf/configure: Delete.
27206         * configure.in: Remove support for elf directories in sysdeps.
27208         * configure: Regenerated.
27209         * sysdeps/i386/configure: Regenerated.
27210         * sysdeps/powerpc/powerpc32/configure: Regenerated.
27211         * sysdeps/powerpc/powerpc64/configure: Regenerated.
27212         * sysdeps/s390/s390-32/configure: Regenerated.
27213         * sysdeps/s390/s390-64/configure: Regenerated.
27214         * sysdeps/sh/configure: Regenerated.
27215         * sysdeps/sparc/configure: Regenerated.
27216         * sysdeps/x86_64/configure: Regenerated.
27218 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
27220         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27222         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
27223         denormal result into account.
27225 2012-03-25  Roland McGrath  <roland@hack.frob.com>
27227         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
27228         Reported by Allan McRae <allan@archlinux.org>.
27230 2012-03-23  Jeff Law  <law@redhat.com>
27232         * nss/getnssent.c (__nss_getent): Fix typo.
27234 2012-03-23  David S. Miller  <davem@davemloft.net>
27236         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27238 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
27240         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
27241         to pad to uint64_t for each field.
27242         (dl_tls_index): Replace unsigned long with uint64_t.
27244 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
27245         Paul Pluzhnikov  <ppluzhnikov@google.com>
27247         [BZ #6528]
27248         * grp/Makefile (otherlibs): Don't set it.
27249         * inet/Makefile (otherlibs): Likewise.
27250         * login/Makefile (otherlibs): Likewise.
27251         * nscd/Makefile (otherlibs): Likewise.
27252         * posix/Makefile (otherlibs): Likewise.
27253         * pwd/Makefile (otherlibs): Likewise.
27254         * rt/Makefile (otherlibs): Likewise.
27255         * sunrpc/Makefile (otherlibs): Likewise.
27256         * nss/Makefile (otherlibs): Likewise.
27257         Add libnss_files to routines and static-only-routines.
27258         ($(objpfx)getent): Remove rule.
27259         * resolv/Makefile: Add libnss_dns and libresolv to routines and
27260         static-only-routines.
27262 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
27264         [BZ #13892]
27265         * math/s_cexp.c: Include <float.h>.
27266         (__cexp): Handle exp result overflowing not necessarily
27267         overflowing both real and imaginary parts of result.
27268         * math/s_cexpf.c: Likewise.
27269         * math/s_cexpl.c: Likewise.
27270         * math/libm-test.inc (cexp_test): Add more tests.
27271         * sysdeps/i386/fpu/libm-test-ulps: Update.
27272         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27274 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
27276         * include/link.h (ELFW): New macro.
27277         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
27278         Replace ELF64_R_TYPE with ELFW(R_TYPE).
27280 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
27282         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
27283         with uint64_t.
27285 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
27287         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
27288         declaration.
27289         (struct La_x32_retval): Likewise.
27291 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
27293         * sysdeps/x86_64/preconfigure.in: New file.
27294         * sysdeps/x86_64/preconfigure: New generated file.
27296 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
27298         [BZ #13824]
27299         * math/e_exp2l.c: Include <float.h>.
27300         (__ieee754_exp2l): Handle overflow and underflow cases
27301         separately.  Only pass fractional part of argument to
27302         __ieee754_expl.
27303         * math/libm-test.inc (exp2_test): Add more tests.
27305         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
27306         negating x to take absolute value.
27307         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
27308         Likewise.
27309         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
27310         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
27311         Likewise.
27312         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
27313         computing low part if x was negated.
27314         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
27316 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
27318         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
27319         la_x32_gnu_pltexit.
27320         (pltexit): Cast int_retval to ptrdiff_t.
27321         * elf/tst-auditmod3b.c: Likewise.
27322         * elf/tst-auditmod4b.c: Likewise.
27323         * elf/tst-auditmod5b.c: Likewise.
27324         * elf/tst-auditmod6b.c: Likewise.
27325         * elf/tst-auditmod6c.c: Likewise.
27326         * elf/tst-auditmod7b.c: Likewise.
27328         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
27329         and x32_gnu_pltexit.
27331         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
27332         __ELF_NATIVE_CLASS.
27333         (La_x32_regs): New macro.
27334         (La_x32_retval): Likewise.
27335         (la_x32_gnu_pltenter): New function prototype.
27336         (la_x32_gnu_pltexit): Likewise.
27338 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
27340         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
27341         exponent.
27343         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27345         * configure.in (libc_cv_cc_nofma): Check for option to disable
27346         generation of FMA instructions.
27347         * configure: Regenerate.
27348         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
27349         * sysdeps/ieee754/dbl-64/Makefile: New file.
27350         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27351         Remove brandred-fma4.
27352         (CFLAGS-brandred-fma4.c): Remove.
27353         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
27354         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
27355         define.
27356         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
27357         define.
27359 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
27361         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
27362         LLONG_MAX != LONG_MAX.
27363         (_itoa_word): Use _ITOA_WORD_TYPE on value.
27364         (_fitoa_word): Likewise.
27365         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
27366         LLONG_MAX != LONG_MAX.
27367         * stdio-common/_itowa.h: Include <_itoa.h>.
27368         (_itowa_word): Use _ITOA_WORD_TYPE on value.
27369         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
27370         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
27371         only if not defined.
27372         (_ITOA_WORD_TYPE): Likewise.
27373         (_itoa_word): Use _ITOA_WORD_TYPE on value.
27374         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
27376 2012-03-21  David S. Miller  <davem@davemloft.net>
27378         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27380 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
27382         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
27383         of x86_64 when setting libc_cv_slibdir, libdir and
27384         libc_cv_localedir.
27385         * sysdeps/unix/sysv/linux/configure: Regenerated.
27387 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
27389         * manual/lang.texi (Old Varargs): Remove section.
27390         (How Variadic): Update menu.
27391         (va_start): Do not mention varargs.h.
27393 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
27394             Joseph Myers  <joseph@codesourcery.com>
27396         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
27397         link test.
27398         * configure: Regenerated.
27400 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
27402         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
27403         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
27404         conformtest.pl
27406 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
27408         * NOTES: Remove.
27409         * Makefile (files-for-dist): Remove NOTES.
27410         (NOTES): Remove rule.
27411         * README: Don't refer to NOTES.
27412         * manual/creature.texi: Don't include macros.texi.
27413         * manual/intro.texi (creature.texi): Remove comment referring to
27414         NOTES.
27416         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
27417         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
27418         * configure: Regenerated.
27419         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
27420         LIBC_TRY_CC_OPTION.
27421         (libc_cv_as_i686): Likewise.
27422         (libc_cv_cc_avx): Likewise.
27423         (libc_cv_cc_sse2avx): Likewise.
27424         (libc_cv_cc_fma4): Likewise.
27425         (libc_cv_cc_novzeroupper): Likewise.
27426         * sysdeps/i386/configure: Regenerated.
27428         [BZ #13883]
27429         * sysdeps/i386/fpu/s_cexp.S: Remove.
27430         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
27431         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
27432         * math/libm-test.inc (cexp_test): Add more tests.
27433         * sysdeps/i386/fpu/libm-test-ulps: Update.
27434         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27436 2012-03-21  Allan McRae  <allan@archlinux.org>
27438         * timezone/Makefile: Do not install iso3166.tab and zone.tab
27440 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
27442         [BZ #13871]
27443         * math/w_exp2.c: Do not include <float.h>.
27444         (o_threshold, u_threshold): Remove.
27445         (__exp2): Calculate result before checking finiteness and calling
27446         __kernel_standard.
27447         * math/w_exp2f.c: Likewise.
27448         * math/w_exp2l.c: Likewise.
27449         * math/libm-test.inc (exp2_test): Require overflow exception for
27450         1e6 input.
27452         [BZ #3866]
27453         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
27454         range of signed 64-bit integers before using fistpll.  Remove
27455         checks for whether integers fit in mantissa bits.
27456         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
27457         the range of signed 32-bit integers before using fistpl.  Remove
27458         checks for whether integers fit in mantissa bits.
27459         * sysdeps/i386/fpu/e_powl.S (p64): New object.
27460         (__ieee754_powl): Test for y outside the range of signed 64-bit
27461         integers before using fistpll.  Reduce 64-bit values to 63-bit
27462         ones as needed.
27463         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
27464         divide-by-zero is raised for zero to large negative powers.
27465         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
27466         (__ieee754_powl): Test for y outside the range of signed 64-bit
27467         integers before using fistpll.  Reduce 64-bit values to 63-bit
27468         ones as needed.
27469         * math/libm-test.inc (pow_test): Add more tests.
27471 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
27473         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
27474         <stdio-common/_itoa.h>.
27475         * debug/segfault.c: Likewise.
27476         * elf/dl-cache.c: Likewise.
27477         * elf/dl-minimal.c: Likewise.
27478         * elf/dl-misc.c: Likewise.
27479         * elf/dl-sysdep.c: Likewise.
27480         * elf/dl-version.c: Likewise.
27481         * elf/rtld.c: Likewise.
27482         * hurd/hurdsock.c: Likewise.
27483         * hurd/lookup-retry.c: Likewise.
27484         * malloc/malloc.c: Likewise.
27485         * malloc/mtrace.c: Likewise.
27486         * nscd/nscd_getgr_r.c: Likewise.
27487         * nscd/nscd_getpw_r.c: Likewise.
27488         * nscd/nscd_getserv_r.c: Likewise.
27489         * posix/getopt_init.c: Likewise.
27490         * posix/wordexp.c: Likewise.
27491         * stdio-common/_itoa.c: Likewise.
27492         * stdio-common/printf_fphex.c: Likewise.
27493         * stdio-common/vfprintf.c: Likewise.
27494         * string/_strerror.c: Likewise.
27495         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
27496         * sysdeps/i386/i686/hp-timing.h: Likewise.
27497         * sysdeps/mach/_strerror.c: Likewise.
27498         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
27499         * sysdeps/mach/hurd/sethostid.c: Likewise.
27500         * sysdeps/mach/hurd/xmknodat.c: Likewise.
27501         * sysdeps/mach/xpg-strerror.c: Likewise.
27502         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
27503         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
27504         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
27505         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
27506         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
27507         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
27508         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
27509         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
27510         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
27511         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
27512         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
27513         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
27514         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
27515         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
27516         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
27517         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
27518         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
27519         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
27520         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
27521         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
27522         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
27524         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
27526         * stdio-common/_itoa.h: Moved to ...
27527         * sysdeps/generic/_itoa.h: Here.
27529         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
27531         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
27532         instead of "_itoa.h" and "_itowa.h".
27533         * stdio-common/vfprintf.: Likewise.
27535 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
27537         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
27538         <bits/wordsize.h>.
27539         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
27540         (__signbit): Likwise.
27541         (llrintf): Likwise.
27542         (llrint): Likwise.
27544 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
27546         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
27547         __WORDSIZE != 64.
27549 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
27551         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
27552         OVERFLOW_EXCEPTION_OK.
27553         * math/libm-test.inc ("Philosophy"): Update comment about
27554         exception testing.
27555         (OVERFLOW_EXCEPTION): Define.
27556         (OVERFLOW_EXCEPTION_OK): Likewise.
27557         (INVALID_EXCEPTION_OK): Renumber.
27558         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27559         (IGNORE_ZERO_INF_SIGN): Likewise.
27560         (test_exceptions): Handle FE_OVERFLOW.
27561         (exp10_test): Expect overflow exceptions.
27562         (exp2_test): Likewise.
27563         (expm1_test): Likewise.
27564         (nextafter_test): Likewise.
27565         (pow_test): Likewise.
27566         (scalbn_test): Likewise.
27567         (scalbln_test): Likewise.
27569 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
27571         * sysdeps/x86_64/bits/atomic.h
27572         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
27573         64bit integer.
27574         (atomic_exchange_acq): Likewise.
27575         (__arch_exchange_and_add_body): Likewise.
27576         (__arch_add_body): Likewise.
27577         (atomic_add_negative): Likewise.
27578         (atomic_add_zero): Likewise.
27580 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
27582         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
27583         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
27585 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
27587         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
27588         Check __x86_64__ instead of __WORDSIZE.
27590 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
27592         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
27594 2012-03-19  David S. Miller  <davem@davemloft.net>
27596         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27598         * sysdeps/sparc/fpu/fenv_private.h: New file.
27599         * sysdeps/sparc/fpu/math_private.h: Use it.
27600         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
27601         Remove.
27602         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
27603         (libc_feholdexcept_setroundl): Remove.
27604         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
27605         Remove.
27606         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
27607         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
27609 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
27611         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
27612         int64_t instead of long int.
27613         (INSERT_WORDS64): Likwise.
27615 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
27617         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
27618         _Unwind_GetCFA return to _Unwind_Ptr first.
27620 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
27622         [BZ #13629]
27623         * math/s_clog.c: Include <float.h>.
27624         (__clog): Scale large or subnormal inputs.
27625         * math/s_clogf.c: Likewise.
27626         * math/s_clogl.c: Likewise.
27627         * math/s_clog10.c: Include <float.h>.
27628         (M_LOG10_2): Define.
27629         (__clog10): Scale large or subnormal inputs.
27630         * math/s_clog10f.c: Likewise.
27631         * math/s_clog10l.c: Likewise.
27632         * math/libm-test.inc (clog_test): Add more tests.
27633         (clog10_test): Likewise.
27634         * sysdeps/i386/fpu/libm-test-ulps: Update.
27635         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27637         [BZ #11451]
27638         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
27639         x and y.
27640         * math/libm-test.inc (atan2_test): Add another test.
27642         * Makerules (common-objdir-compile): Remove.
27643         * sysdeps/unix/Makefile (config-generated): Do not add
27644         $(unix-generated) to variable.
27645         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
27646         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
27647         Remove rule.
27648         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
27649         Likewise.
27650         [generic bits/local_lim.h] (before-compile): Do not append to
27651         variable.
27652         [generic bits/local_lim.h] (common-generated): Likewise.
27653         [generic sys/param.h] (before-compile): Do not append to variable.
27654         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
27655         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
27656         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
27657         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
27658         include.
27659         [generic sys/param.h] (sys/param.h-includes): Remove variable.
27660         [generic sys/param.h] (sys/param.h-includes): Remove rule.
27661         [generic sys/param.h] ($(addprefix
27662         $(common-objpfx),$(sys/param.h-includes))): Likewise.
27663         [generic sys/param.h] (common-generated): Do not append to
27664         variable.
27665         [generic sys/param.h] (sysdep_headers): Likewise.
27666         [generic bits/errno.h] (before-compile): Do not append to
27667         variable.
27668         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
27669         rule.
27670         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
27671         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
27672         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
27673         [generic bits/errno.h] (common-generated): Do not append to
27674         variable.
27675         [generic bits/ioctls.h] (before-compile): Do not append to
27676         variable.
27677         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
27678         rule.
27679         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
27680         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
27681         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
27682         rule.
27683         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
27684         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
27685         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
27686         [generic bits/ioctls.h] (common-generated): Do not append to
27687         variable.
27688         [generic sys/syscall.h] (syscall.h): Remove variable.
27689         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
27690         rule.
27691         [generic sys/syscall.h] (before-compile): Do not append to
27692         variable.
27693         [generic sys/syscall.h] (common-generated): Likewise.
27694         * sysdeps/unix/errnos-tmpl.c: Remove file.
27695         * sysdeps/unix/errnos.awk: Likewise.
27696         * sysdeps/unix/ioctls-tmpl.c: Likewise.
27697         * sysdeps/unix/ioctls.awk: Likewise.
27698         * sysdeps/unix/mk-local_lim.c: Likewise.
27699         * sysdeps/unix/snarf-ioctls: Likewise.
27701 2012-03-19  Richard Henderson  <rth@twiddle.net>
27703         * sysdeps/i386/fpu/fenv_private.h: New file.
27704         * sysdeps/i386/fpu/math_private.h: Use it.
27705         (math_opt_barrier, math_force_eval): Remove.
27706         (libc_feholdexcept_setround_53bit): Remove.
27707         (libc_feupdateenv_53bit): Remove.
27708         * sysdeps/x86_64/fpu/math_private.h: Likewise.
27709         (math_opt_barrier, math_force_eval): Remove.
27710         (libc_feholdexcept): Remove.
27711         (libc_feholdexcept_setround): Remove.
27712         (libc_fetestexcept, libc_fesetenv): Remove.
27713         (libc_feupdateenv_test): Remove.
27714         (libc_feupdateenv, libc_feholdsetround): Remove.
27715         (libc_feresetround): Remove.
27717         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
27718         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
27720         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
27721         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
27722         (libc_feupdateenv_testl): New.
27723         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
27724         (libc_feupdateenv_testf): New.
27725         (libc_feupdateenv): Use libc_feupdateenv_test.
27726         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
27727         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
27729         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
27730         (libc_feholdsetroundf, libc_feholdsetroundl): New.
27731         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
27732         (libc_feresetround_noex): New.
27733         (libc_feresetround_noexf): New.
27734         (libc_feresetround_noexl): New.
27735         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
27736         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
27737         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
27738         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
27739         SET_RESTORE_ROUND.
27740         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
27741         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
27742         (__cos): Likewise.
27743         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
27744         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
27745         SET_RESTORE_ROUND_NOEX.
27746         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
27747         SET_RESTORE_ROUND_NOEXF.
27748         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
27749         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
27750         (libc_feholdsetroundf): New.
27751         (libc_feresetround, libc_feresetroundf): New.
27753         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
27754         (libc_feholdexcept_setround_53bit): Convert from macro to function.
27755         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
27757         * sysdeps/generic/math_private.h: Include <fenv.h>.
27758         (default_libc_feholdexcept): New.
27759         (default_libc_feholdexcept_setround): New.
27760         (default_libc_fesetenv, default_libc_feupdateenv): New.
27761         (libc_feholdexcept): Only define if undefined.
27762         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
27763         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
27764         (libc_feholdexcept_setroundl): Likewise.
27765         (libc_feholdexcept_setround_53bit): Likewise.
27766         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
27767         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
27768         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
27769         (libc_feupdateenv_53bit): Likewise.
27770         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
27771         (libc_feholdexcept): Convert from macro to inline function.
27772         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
27773         (libc_fesetenv, libc_feupdateenv): Likewise.
27775         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
27776         not previously defined.
27777         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
27778         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
27779         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
27780         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
27781         * sysdeps/ieee754/flt-32/math_private.h: New file.
27782         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
27783         math_private.h below SET_FLOAT_WORD.
27784         (__isnan, __isinf_ns, __finite): Remove.
27785         (__isnanf, __isinf_nsf, __finitef): Remove.
27787 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
27789         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27791 2012-03-17  David S. Miller  <davem@davemloft.net>
27793         [BZ #6471]
27794         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
27795         for 2.16.
27797 2012-03-16  David S. Miller  <davem@davemloft.net>
27799         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
27800         warnings.
27802         [BZ #6471]
27803         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
27804         properly.
27805         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
27806         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
27807         sysdep_routines when subdir is sysvipc.
27808         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
27809         __getshmlba helper.
27811         * sysdeps/sparc/fpu/libm-test/ulps: Update.
27813 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
27815         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
27816         [__LP64__].
27818 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
27820         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
27821         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
27822         (__lround): Renamed to ...
27823         (__llround): This.  Replace long int with long long int.
27824         Define lround functions as aliases of llround functions.
27825         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
27827 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
27829         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
27830         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
27831         adresses to uintptr_t.  Replace "long int" and "unsigned long
27832         int" with "greg_t" on va_arg.
27834 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
27836         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
27837         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
27839         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
27840         Move e_machine check before EI_CLASS check.  Handle x32
27841         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
27842         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
27843         SKIP_EM_IA_64 and include
27844         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
27846         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
27847         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
27848         (add_system_dir): New macro.
27850         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
27851         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
27853 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
27855         [BZ #2551]
27856         [BZ #2552]
27857         [BZ #2553]
27858         [BZ #2554]
27859         [BZ #2562]
27860         [BZ #2563]
27861         [BZ #2565]
27862         [BZ #2566]
27863         [BZ #2576]
27864         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
27865         (y0): Likewise.
27866         * math/w_j0f.c (j0f): Likewise.
27867         (y0f): Likewise.
27868         * math/w_j0l.c (__j0l): Likewise.
27869         (__y0l): Likewise.
27870         * math/w_j1.c (j1): Likewise.
27871         (y1): Likewise.
27872         * math/w_j1f.c (j1f): Likewise.
27873         (y1f): Likewise.
27874         * math/w_j1l.c (__j1l): Likewise.
27875         (__y1l): Likewise.
27876         * math/w_jn.c (jn): Likewise.
27877         (yn): Likewise.
27878         * math/w_jnf.c (jnf): Likewise.
27879         (ynf): Likewise.
27880         * math/w_jnl.c (__jnl): Likewise.
27881         (__ynl): Likewise.
27882         * math/libm-test.inc (j0_test): Add more tests.
27883         (j1_test): Likewise.
27884         (jn_test): Likewise.  Add trailing semicolon to existing test.
27885         (y0_test): Likewise.
27886         (y1_test): Likewise.
27887         * sysdeps/i386/fpu/libm-test-ulps: Update.
27888         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27890         [BZ #13851]
27891         [BZ #13854]
27892         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
27893         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
27894         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
27895         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
27896         (__tanl): Set errno for infinite argument.
27897         * sysdeps/i386/fpu/mptan.c: Remove.
27898         * sysdeps/i386/fpu/s_tan.S: Likewise.
27899         * sysdeps/i386/fpu/s_tanl.S: Likewise.
27900         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
27901         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
27902         * math/libm-test.inc (tan_test): Add more tests and enable more
27903         tests for double and long double.
27904         * sysdeps/i386/fpu/libm-test-ulps: Update.
27905         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27907 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
27909         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
27910         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
27912 2012-03-16  Roland McGrath  <roland@hack.frob.com>
27914         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
27915         * configure.in: Use it for both main tree and add-ons.
27916         * configure: Regenerated.
27918 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
27920         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
27922 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
27924         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
27925         in comment.
27927         [BZ #13851]
27928         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
27929         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
27930         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
27931         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
27932         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
27933         infinite argument.
27934         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
27935         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
27936         != 0 for prec == 2.
27937         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
27938         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
27939         * sysdeps/i386/fpu/s_cosl.S: Likewise.
27940         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
27941         * sysdeps/i386/fpu/s_sinl.S: Likewise.
27942         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
27943         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
27944         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
27945         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
27946         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
27947         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
27948         * math/libm-test.inc (cos_test): Add more tests and enable more
27949         tests for long double.
27950         (sin_test): Likewise.
27951         (sincos_test): Likewise.
27952         * sysdeps/i386/fpu/libm-test-ulps: Update.
27953         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27955 2012-03-16  David S. Miller  <davem@davemloft.net>
27957         * sysdeps/sparc/fpu/math_private.h: New file.
27959 2012-03-15  David S. Miller  <davem@davemloft.net>
27961         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
27962         file.
27963         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
27964         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
27965         file.
27966         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
27967         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
27968         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
27969         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
27970         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
27971         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
27972         sysdep routines.
27973         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
27975         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
27976         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
27978         * sysdeps/sparc/sparc-ifunc.h: New file.
27979         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
27980         sparc-ifunc.h
27981         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
27982         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
27983         Likewise.
27984         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
27985         Likewise.
27986         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
27987         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
27988         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
27989         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
27990         Likewise.
27991         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
27992         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
27993         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
27994         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
27995         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
27996         Likewise.
27997         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
27998         Likewise.
27999         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
28000         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
28001         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
28002         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
28003         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
28004         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
28005         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
28006         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
28007         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
28008         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
28009         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
28010         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
28011         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
28012         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
28013         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
28014         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
28015         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
28016         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
28017         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
28018         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
28019         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
28020         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
28021         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
28022         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
28024 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
28026         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
28027         scaling.
28028         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28030 2012-03-15  Andreas Jaeger  <aj@suse.de>
28032         [BZ #13852]
28033         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
28034         ieee754/flt-32 implementation for sin, cos and sincos.
28035         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
28036         * sysdeps/i386/fpu/s_cosf.S: Likewise.
28037         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
28038         * sysdeps/i386/fpu/s_sinf.S: Likewise.
28039         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
28040         ieee754/flt-32 implementation for tan.
28042         * math/libm-test.inc (cos_test): Enable some large input tests for
28043         float as well
28044         (sin_test): Likewise.
28045         (sincos_test): Likewise.
28046         (tan_test): Add tests for large input.
28048         * sysdeps/i386/fpu/libm-test-ulps: Update.
28050 2012-03-15  Andreas Jaeger  <aj@suse.de>
28052         [BZ #13658]
28053         * math/libm-test.inc (cos_test): Add more test cases.
28054         (sin_test): Likewise.
28055         (sincos_test): Likewise.
28057 2012-03-15  Andreas Jaeger  <aj@suse.de>
28059         [BZ #13837]
28060         * math/libm-test.inc (cos_test): Add a test case for large input
28061         value.
28062         (sin_test): Likewise.
28063         (sincos_test): Likewise.
28065 2012-03-15  Andreas Jaeger  <aj@suse.de>,
28066         Joseph Myers  <joseph@codesourcery.com>
28068         [BZ #13658]
28069         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
28070         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
28071         * sysdeps/i386/fpu/branred.c: Likewise.
28072         * sysdeps/i386/fpu/dosincos.c: Likewise.
28073         * sysdeps/i386/fpu/mpa.c: Likewise.
28074         * sysdeps/i386/fpu/s_cos.S: Likewise.
28075         * sysdeps/i386/fpu/s_sin.S: Likewise.
28076         * sysdeps/i386/fpu/s_sincos.S: Likewise.
28077         * sysdeps/i386/fpu/sincos32.c: Likewise.
28079         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
28080         Define.
28081         (libc_feupdateenv_53bit): Define.
28082         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
28083         Define.
28084         (libc_feupdateenv_53bit): Define.
28086         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
28087         53 bit (without extend i386 double precision).
28089         * math/libm-test.inc (sincos_test): Add tests for large input.
28090         (sin): Likewise.
28091         (cos): Likewise.
28093         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
28095 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
28097         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28099 2012-03-15  David S. Miller  <davem@davemloft.net>
28101         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
28102         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
28103         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
28104         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
28105         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
28106         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
28107         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
28108         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
28109         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
28110         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
28111         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
28112         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
28113         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
28114         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
28115         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
28116         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
28117         file.
28118         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
28119         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
28120         file.
28121         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
28122         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
28123         file.
28124         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
28125         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
28126         file.
28127         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
28128         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
28129         fmin/fmax sysdep routines.
28130         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28132 2012-03-14  David S. Miller  <davem@davemloft.net>
28134         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
28135         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
28136         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
28137         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
28138         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
28139         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
28140         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
28141         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
28142         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
28143         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
28144         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
28145         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
28146         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
28147         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
28148         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
28149         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
28150         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
28151         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
28152         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
28153         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
28154         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
28155         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
28156         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
28157         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
28158         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
28159         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
28160         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
28161         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
28162         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
28163         routines.
28164         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
28165         file.
28166         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
28167         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
28168         file.
28169         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
28170         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
28171         file.
28172         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
28173         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
28174         file.
28175         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
28176         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
28177         file.
28178         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
28179         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
28180         file.
28181         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
28182         file.
28183         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
28184         file.
28185         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
28186         file.
28187         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
28188         New file.
28189         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
28190         file.
28191         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
28192         file.
28193         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
28194         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
28195         file.
28196         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
28197         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
28198         file.
28199         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
28200         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
28201         file.
28202         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
28203         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
28204         VIS3 routines.
28206         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
28207         New file.
28209         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28211         * sysdeps/sparc/configure.in: New file.
28212         * sysdeps/sparc/configure: Generate.
28213         * configure.in (libc_cv_sparc_as_vis3): Substitute.
28214         * configure: Regenerate.
28215         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
28216         * config.make.in (have-as-vis3): New.
28217         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
28218         available use -Av9d instead of -Av9a.
28219         * sysdeps/sparc/sparc64/Makefile: Likewise.
28220         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
28221         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
28222         New file.
28223         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
28224         file.
28225         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
28226         New file.
28227         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
28228         file.
28229         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
28230         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
28231         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
28232         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
28233         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
28235         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
28236         fzeros/fnegs to load 0x80000000 into a float register instead of
28237         using the stack.
28238         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
28240 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
28242         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28243         bits/syscall.h.
28244         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
28245         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
28246         ($(inst_includedir)/bits/syscall.h): Remove rule.
28247         ($(objpfx)bits/syscall.d): Include instead of
28248         $(objpfx)syscall-list.d.
28249         (generated): Change syscall-list.h and syscall-list.d to
28250         bits/syscall.h and bits/syscall.d.
28252 2012-03-14  Roland McGrath  <roland@hack.frob.com>
28254         [BZ #13846]
28255         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
28257 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
28259         [BZ #13841]
28260         * math/s_csqrt.c: Include <float.h>.
28261         (__csqrt): Scale large or subnormal inputs.
28262         * math/s_csqrtf.c: Likewise.
28263         * math/s_csqrtl.c: Likewise.
28264         * math/libm-test.inc (csqrt_test): Add more tests.
28265         * sysdeps/i386/fpu/libm-test-ulps: Update.
28266         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28268         [BZ #13840]
28269         * math/libm-test.inc (hypot_test): Add more tests.
28271 2012-03-13  David S. Miller  <davem@davemloft.net>
28273         [BZ #13840]
28274         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
28275         double-precision for the calculation instead of scaling.
28277 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
28279         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
28280         manipulate bits before adding and subtracting TWO52[sx].
28281         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
28282         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
28283         Likewise.
28284         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
28286 2012-03-13  David S. Miller  <davem@davemloft.net>
28288         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
28289         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
28290         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
28291         rtld-global-offsets.h
28292         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28294         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
28295         large parameters.
28297         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
28299         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
28300         'err' in the ifdef scope in which it is actually used.
28302         * nss/nss_db/db-init.c: Include string.h
28304 2012-03-12  David S. Miller  <davem@davemloft.net>
28306         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
28307         masking out of the most significant byte of random value used.
28308         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28309         Fix coding style in previous change.
28311         * sysdeps/unix/sysv/linux/kernel-features.h
28312         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
28313         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
28314         expression.
28315         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
28316         later.
28318 2012-03-11  David S. Miller  <davem@davemloft.net>
28320         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
28321         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
28322         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
28323         for 'resultvar' otherwise things get truncated on 64-bit.
28325         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28326         Fix masking out of the most significant byte of random value used.
28328         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28330 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
28332         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28334 2012-03-09  David S. Miller  <davem@davemloft.net>
28336         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
28337         variables with appropriate CPP guards.
28338         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
28339         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
28340         on resulting framesize and the management of the outregs buffer for pltexit.
28341         Preserve floating point return values across _dl_call_pltexit call.
28342         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
28343         framesize and the management of the outregs buffer for pltexit.
28344         Preserve floating point return values across _dl_call_pltexit
28345         call.
28346         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
28347         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
28348         (print_exit): Fix format string for return register value.
28350 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
28352         * sunrpc/Makefile (others): Add rpcgen.
28353         ($(objpfx)rpcgen): Remove special build rule and dependency on
28354         libc.
28355         * sunrpc/rpcgen.c: New file.
28357 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
28359         [BZ #13673]
28360         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
28361         * stdio-common/bug-vfprintf-nargs.c: Likewise.
28362         * sysdeps/i386/crti.S: Likewise.
28363         * sysdeps/i386/crtn.S: Likewise.
28364         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
28365         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
28366         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
28367         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
28368         * sysdeps/sh/crti.S: Likewise.
28369         * sysdeps/sh/crtn.S: Likewise.
28370         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
28372         [BZ #13673]
28373         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
28374         with URL.
28375         * locale/programs/locfile-kw.gperf: Likewise.
28376         * locale/programs/charmap-kw.h: Regenerated.
28377         * locale/programs/locfile-kw.h: Likewise.
28379         [BZ #13673]
28380         * intl/plural.y: Replace FSF snail mail address with URL.
28381         * intl/plural.c: Regenerated.
28383 2012-03-09  Richard Henderson  <rth@twiddle.net>
28385         * include/math_private.h: Remove file.
28386         * math/math_private.h: Move file ...
28387         * sysdeps/generic/math_private.h: ... here.
28389         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
28390         * sysdeps/powerpc/fpu/math_private.h: Likewise.
28391         * sysdeps/x86_64/fpu/math_private.h: Likewise.
28393         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
28394         and <math_private.h>.
28395         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
28396         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
28397         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
28398         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
28399         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
28400         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
28401         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28402         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28403         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28404         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28405         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28406         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28407         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28408         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28409         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28410         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28411         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28412         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28413         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28414         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
28415         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28416         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28417         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28418         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28419         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
28420         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28421         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28422         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28423         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28424         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28425         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
28426         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28427         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
28428         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
28429         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
28430         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28431         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28432         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
28433         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
28434         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28435         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
28436         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
28437         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
28438         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
28439         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
28440         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
28441         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
28442         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
28443         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28444         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
28445         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
28446         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
28447         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
28448         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
28449         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
28450         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
28451         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28452         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
28453         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
28454         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
28455         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28456         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
28457         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28458         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
28459         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
28460         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
28461         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
28462         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
28463         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
28464         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
28465         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
28466         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28467         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
28468         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28469         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
28470         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
28471         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
28472         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28473         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
28474         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
28475         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
28476         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
28477         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
28478         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
28479         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28480         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
28481         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
28482         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
28483         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
28484         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28485         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28486         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
28487         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28488         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
28489         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
28490         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
28491         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28492         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
28493         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28494         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
28495         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
28496         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
28497         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
28498         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
28499         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
28500         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
28501         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
28502         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
28503         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
28504         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
28505         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
28506         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
28507         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
28508         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
28509         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
28510         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28511         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
28512         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
28513         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
28514         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
28515         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
28516         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
28517         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28518         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
28519         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
28520         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
28521         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
28522         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
28523         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
28524         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
28525         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
28526         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
28527         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
28528         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
28529         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
28530         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
28531         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
28532         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
28533         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
28534         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
28535         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28536         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
28537         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
28538         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
28539         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
28540         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
28541         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
28542         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
28543         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
28544         * sysdeps/ieee754/k_standard.c: Likewise.
28545         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
28546         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
28547         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28548         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
28549         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
28550         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
28551         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
28552         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
28553         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
28554         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
28555         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28556         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
28557         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
28558         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
28559         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
28560         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
28561         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
28562         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
28563         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
28564         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
28565         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
28566         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
28567         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
28568         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
28569         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
28570         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
28571         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
28572         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
28573         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
28574         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
28575         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
28576         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
28577         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
28578         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
28579         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
28580         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
28581         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
28582         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
28583         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
28584         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
28585         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
28586         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
28587         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
28588         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
28589         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
28590         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
28591         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
28592         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
28593         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
28594         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
28595         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
28596         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
28597         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
28598         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
28599         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
28600         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
28601         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
28602         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
28603         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
28604         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
28605         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
28606         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
28607         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
28608         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
28609         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28610         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28611         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
28612         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
28613         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
28614         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
28615         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
28616         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28617         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
28618         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
28619         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
28620         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
28621         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
28622         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
28623         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28624         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
28625         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
28626         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
28627         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
28628         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
28629         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
28630         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
28631         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
28632         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
28633         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
28634         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
28635         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
28636         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
28637         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
28638         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
28639         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
28640         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
28641         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
28642         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
28643         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
28644         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
28645         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
28646         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
28647         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
28648         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
28649         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
28650         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
28651         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
28652         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
28653         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
28654         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
28655         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
28656         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
28657         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
28658         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28659         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
28660         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28661         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
28662         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28663         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28664         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
28665         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28666         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
28667         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28668         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
28669         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28670         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
28671         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
28672         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
28673         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
28674         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
28675         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
28676         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
28677         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
28678         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
28679         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
28680         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
28681         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
28682         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
28683         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
28684         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
28685         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
28686         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
28687         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
28688         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
28689         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
28690         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
28691         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
28692         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
28693         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
28694         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
28695         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
28696         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
28697         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
28698         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
28699         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
28700         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
28701         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
28702         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
28703         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
28704         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
28705         * sysdeps/ieee754/s_lib_version.c: Likewise.
28706         * sysdeps/ieee754/s_matherr.c: Likewise.
28707         * sysdeps/ieee754/s_signgam.c: Likewise.
28708         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28709         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28710         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
28711         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
28712         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
28713         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
28714         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
28715         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
28716         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
28717         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
28718         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
28719         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
28720         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
28721         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
28722         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
28723         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
28724         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28725         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
28726         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28727         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
28728         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
28730 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
28732         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
28733         * sunrpc/rpc_main.c: Likewise.
28734         * sunrpc/rpc_svcout.c: Likewise.
28736 2012-03-09  David S. Miller  <davem@davemloft.net>
28738         * include/math_private.h: New file.
28740 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
28742         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
28743         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
28744         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
28745         from <bits/socket_type.h>.
28746         (enum __socket_type): Don't define here.
28747         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
28748         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28749         bits/socket_type.h.
28751         [BZ #13566]
28752         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
28753         checking __USE_GNU.
28755         * Makerules ($(inst_includedir)/%.h): New rule.
28756         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
28757         (install-others): Remove variable setting.
28758         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
28760 2012-03-08  Richard Henderson  <rth@twiddle.net>
28762         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
28763         from macro to inline function; merge with the
28764         !__LIBC_INTERNAL_MATH_INLINES version.
28765         (__ieee754_sqrtf): Likewise.
28767         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
28768         to inline function.
28769         (__rintf, __floor, __floorf): Likewise.
28771         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
28772         macro to inline function.
28773         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
28775         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
28776         not <math/math_private.h>.
28778 2012-03-08  David S. Miller  <davem@davemloft.net>
28780         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
28781         copyright year.
28782         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
28784 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
28786         * resolv/gai_misc.c (handle_requests): Fix struct timespec
28787         normalization.
28788         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
28789         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
28791 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
28793         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
28794         be defined individually, they must be defined as a block.  Define
28795         S for printing a string instead of hidint the different by using a
28796         macro for adding the 'l'.
28797         * stdio-common/tst-fphex-wide.c: Adjust.
28799 2012-03-07  Marek Polacek  <polacek@redhat.com>
28801         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
28803 2012-03-08  Marek Polacek  <polacek@redhat.com>
28805         [BZ #13806]
28806         * stdio-common/Makefile (tests): Add tst-fphex-wide.
28807         * stdio-common/tst-fphex.c: Define a few macros to make the
28808         test reusable.  Use them.
28809         * stdio-common/tst-fphex-wide.c: New file.
28811 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
28813         [BZ #6911]
28814         * manual/macros.texi (gnusystems): New macro.
28815         (nongnusystems): Likewise.
28816         (gnulinuxhurdsystems): Likewise.
28817         (gnuhurdsystems): Likewise..
28818         (gnulinuxsystems): Likewise.
28819         * manual/charset.texi: Use new macros or @theglibc{} to refer to
28820         variants of the GNU system, not "GNU system".
28821         * manual/conf.texi: Likewise.
28822         * manual/errno.texi: Likewise.  Update example of errno macro
28823         expansion.
28824         * manual/filesys.texi: Likewise.
28825         (getumask): Document as specific to GNU/Hurd.
28826         * manual/install.texi: Likewise.  Reword some references to
28827         GNU/Linux.
28828         * manual/intro.texi: Likewise.
28829         * manual/io.texi: Likewise.
28830         (File Name Portability): Detail which constraints are inapplicable
28831         to all GNU systems and which are only inapplicable to GNU/Hurd.
28832         * manual/job.texi: Likewise.
28833         * manual/llio.texi: Likewise.
28834         (O_NOCTTY): Document as present on GNU/Linux.
28835         * manual/maint.texi: Likewise.
28836         * manual/memory.texi: Likewise.
28837         * manual/pattern.texi: Likewise.
28838         * manual/pipe.texi: Likewise.
28839         * manual/process.texi: Likewise.
28840         * manual/resource.texi: Likewise.
28841         (RUSAGE_CHILDREN): Remove statement about specifying a particular
28842         child on GNU/Hurd.
28843         * manual/setjmp.texi: Likewise.
28844         * manual/signal.texi: Likewise.
28845         * manual/startup.texi: Likewise.
28846         * manual/stdio.texi: Likewise.
28847         * manual/terminal.texi: Likewise.
28848         (ONLCR): Document as POSIX.
28849         (OXTABS): Document availability on GNU/Linux as XTABS.
28850         (ONOEOT): Document availability separately from other bits.
28851         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
28852         * manual/time.texi: Likewise.
28853         * manual/users.texi: Likewise.
28854         * INSTALL: Regenerated.
28855         * sysdeps/gnu/errlist.c: Regenerated.
28857         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
28858         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
28859         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
28860         puts.
28861         * configure: Regenerated.
28863 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
28865         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
28866         default includes instead of AC_HEADER_CHECK.
28867         * sysdeps/i386/configure: Regenerated.
28869         [BZ #10716]
28870         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
28871         * math/s_cacoshf.c (__cacoshf): Likewise.
28872         * math/s_cacoshl.c (__cacoshl): Likewise.
28873         * math/s_casinh.c (__casinh): Set signs of result from argument.
28874         * math/s_casinhf.c (__casinhf): Likewise.
28875         * math/s_casinhl.c (__casinhl): Likewise.
28876         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
28877         (casinh_test): Add more tests.
28878         * sysdeps/i386/fpu/libm-test-ulps: Update.
28879         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28881 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
28883         * po/zh_TW.po: Update from translation team.
28885         * login/Makefile (distribute): Remove variable.
28886         * catgets/Makefile: Likewise.
28887         * mach/Makefile: Likewise.
28888         * malloc/Makefile: Likewise.
28889         * misc/Makefile: Likewise.
28890         * iconv/Makefile: Likewise.
28891         * nscd/Makefile: Likewise.
28892         * hurd/Makefile: Likewise.
28893         * manual/Makefile: Likewise.
28894         * locale/Makefile: Likewise.
28895         * intl/Makefile: Likewise.
28896         * conform/Makefile: Likewise.
28897         * nss/Makefile: Likewise.
28898         * time/Makefile: Likewise.
28899         * soft-fp/Makefile: Likewise.
28900         * dirent/Makefile: Likewise.
28901         * gmon/Makefile: Likewise.
28902         * po/Makefile: Likewise.
28903         * rt/Makefile: Likewise.
28904         * socket/Makefile: Likewise.
28905         * math/Makefile: Likewise.
28906         * signal/Makefile: Likewise.
28907         * debug/Makefile: Likewise.
28908         * elf/Makefile: Likewise.
28909         * timezone/Makefile: Likewise.
28910         * stdlib/Makefile: Likewise.
28911         * iconvdata/Makefile: Likewise.
28912         * sunrpc/Makefile: Likewise.
28913         * io/Makefile: Likewise.
28914         * argp/Makefile: Likewise.
28915         * inet/Makefile: Likewise.
28916         * hesiod/Makefile: Likewise.
28917         * grp/Makefile: Likewise.
28918         * csu/Makefile: Likewise.
28919         * wctype/Makefile: Likewise.
28920         * crypt/Makefile: Likewise.
28921         * libio/Makefile: Likewise.
28922         * string/Makefile: Likewise.
28923         * nis/Makefile: Likewise.
28924         * resolv/Makefile: Likewise.
28925         * stdio-common/Makefile: Likewise.
28926         * wcsmbs/Makefile: Likewise.
28927         * dlfcn/Makefile: Likewise.
28928         * posix/Makefile: Likewise.
28930         [BZ #6959]
28931         * timezone/Makefile: Don't install timezone files, just the programs
28932         and scripts.
28934 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
28936         * nss/databases.def: Add missing gshadow entry.
28938         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
28940 2012-03-06  Marek Polacek  <polacek@redhat.com>
28942         [BZ #13726]
28943         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
28944         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
28945         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
28946         * stdio-common/tst-long-dbl-fphex.c: New file.
28948 2012-03-06  David S. Miller  <davem@davemloft.net>
28950         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28951         (set_obp_int): New function.
28952         (get_obp_int): New function.
28953         (__get_clockfreq_via_dev_openprom): Likewise.
28954         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
28955         Avoid unused variable warnings on 'val' and use builtin_expect.
28956         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
28957         __builtin_expect.
28958         (INLINE_CLONE_SYSCALL): Likewise.
28960 2012-03-05  David S. Miller  <davem@davemloft.net>
28962         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28964 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
28966         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28968         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
28969         only for |x| >= 40.
28970         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28972 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
28974         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
28975         Replace gettimeofday with __vdso_gettimeofday.
28977         * sysdeps/unix/sysv/linux/x86_64/init-first.c
28978         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
28979         __vdso_clock_gettime and __vdso_getcpu.
28981         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
28982         time with __vdso_time.
28984 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
28986         * manual/lang.texi (size_t): Note types to which size_t may be
28987         equivalent with the GNU C Library, but do not describe when
28988         differences between them are significant.
28990 2012-03-05  Andreas Jaeger  <aj@suse.de>
28992         * sysdeps/i386/fpu/libm-test-ulps: Update.
28994 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
28996         [BZ #3976]
28997         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
28998         (__ieee754_pow): Save and restore rounding mode and use
28999         round-to-nearest for main computations.
29000         * math/libm-test.inc (pow_test_tonearest): New function.
29001         (pow_test_towardzero): Likewise.
29002         (pow_test_downward): Likewise.
29003         (pow_test_upward): Likewise.
29004         (main): Call the new functions.
29005         * sysdeps/i386/fpu/libm-test-ulps: Update.
29006         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29008         [BZ #3976]
29009         * math/libm-test.inc (cosh_test_tonearest): New function.
29010         (cosh_test_towardzero): Likewise.
29011         (cosh_test_downward): Likewise.
29012         (cosh_test_upward): Likewise.
29013         (sinh_test_tonearest): Likewise.
29014         (sinh_test_towardzero): Likewise.
29015         (sinh_test_downward): Likewise.
29016         (sinh_test_upward): Likewise.
29017         (main): Call the new functions.
29018         * sysdeps/i386/fpu/libm-test-ulps: Update.
29019         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29021 2012-03-05  Tom de Vries  <tom@codesourcery.com>
29023         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
29024         default stack guard is set in last bytes.
29025         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
29027 2012-03-05  Kees Cook  <keescook@chromium.org>
29029         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
29031         [BZ #13656]
29032         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
29033         possibly allocate from heap instead of stack.
29034         * stdio-common/bug-vfprintf-nargs.c: New file.
29035         * stdio-common/Makefile (tests): Add nargs overflow test.
29037 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
29039         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29041 2012-03-03  Marek Polacek  <polacek@redhat.com>
29043         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
29044         * math/math_private.h: Likewise.
29045         * stdlib/tst-strtod.c: Likewise.
29046         * sysdeps/i386/i486/bits/atomic.h: Likewise.
29047         * sysdeps/x86_64/bits/atomic.h: Likewise.
29049 2012-03-02  David S. Miller  <davem@davemloft.net>
29051         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
29052         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
29053         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
29054         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
29055         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
29056         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
29057         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
29058         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
29060 2012-03-02  Roland McGrath  <roland@hack.frob.com>
29062         [BZ #13792]
29063         * manual/examples/README: New file, says the example source files
29064         can be used under GPL>=2.
29065         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
29066         line containing just "*/".
29067         * manual/examples/add.c: Add copyright header (GPL>=2).
29068         * manual/examples/argp-ex1.c: Likewise.
29069         * manual/examples/argp-ex2.c: Likewise.
29070         * manual/examples/argp-ex3.c: Likewise.
29071         * manual/examples/argp-ex4.c: Likewise.
29072         * manual/examples/atexit.c: Likewise.
29073         * manual/examples/db.c: Likewise.
29074         * manual/examples/dir.c: Likewise.
29075         * manual/examples/dir2.c: Likewise.
29076         * manual/examples/execinfo.c: Likewise.
29077         * manual/examples/filecli.c: Likewise.
29078         * manual/examples/filesrv.c: Likewise.
29079         * manual/examples/fmtmsgexpl.c: Likewise.
29080         * manual/examples/genpass.c: Likewise.
29081         * manual/examples/inetcli.c: Likewise.
29082         * manual/examples/inetsrv.c: Likewise.
29083         * manual/examples/isockad.c: Likewise.
29084         * manual/examples/longopt.c: Likewise.
29085         * manual/examples/memopen.c: Likewise.
29086         * manual/examples/memstrm.c: Likewise.
29087         * manual/examples/mkfsock.c: Likewise.
29088         * manual/examples/mkisock.c: Likewise.
29089         * manual/examples/mygetpass.c: Likewise.
29090         * manual/examples/pipe.c: Likewise.
29091         * manual/examples/popen.c: Likewise.
29092         * manual/examples/rprintf.c: Likewise.
29093         * manual/examples/search.c: Likewise.
29094         * manual/examples/select.c: Likewise.
29095         * manual/examples/setjmp.c: Likewise.
29096         * manual/examples/sigh1.c: Likewise.
29097         * manual/examples/sigusr.c: Likewise.
29098         * manual/examples/stpcpy.c: Likewise.
29099         * manual/examples/strdupa.c: Likewise.
29100         * manual/examples/strftim.c: Likewise.
29101         * manual/examples/strncat.c: Likewise.
29102         * manual/examples/subopt.c: Likewise.
29103         * manual/examples/swapcontext.c: Likewise.
29104         * manual/examples/termios.c: Likewise.
29105         * manual/examples/testopt.c: Likewise.
29106         * manual/examples/testpass.c: Likewise.
29107         * manual/examples/timeval_subtract.c: Likewise.
29109         [BZ #13792]
29110         * manual/time.texi (Elapsed Time): Move timeval_subtract example
29111         function to ...
29112         * manual/timeval_subtract.c.texi: ... here, new file.
29114 2012-03-02  David S. Miller  <davem@davemloft.net>
29116         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
29118 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
29120         [BZ #3976]
29121         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
29122         (__sin): Save and restore rounding mode and use round-to-nearest
29123         for all computations.
29124         (__cos): Save and restore rounding mode and use round-to-nearest
29125         for all computations.
29126         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
29127         <fenv.h>.
29128         (tan): Save and restore rounding mode and use round-to-nearest for
29129         all computations.
29130         * math/libm-test.inc (cos_test_tonearest): New function.
29131         (cos_test_towardzero): Likewise.
29132         (cos_test_downward): Likewise.
29133         (cos_test_upward): Likewise.
29134         (sin_test_tonearest): Likewise.
29135         (sin_test_towardzero): Likewise.
29136         (sin_test_downward): Likewise.
29137         (sin_test_upward): Likewise.
29138         (tan_test_tonearest): Likewise.
29139         (tan_test_towardzero): Likewise.
29140         (tan_test_downward): Likewise.
29141         (tan_test_upward): Likewise.
29142         (main): Call the new functions.
29143         * sysdeps/i386/fpu/libm-test-ulps: Update.
29144         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29146         [BZ #10135]
29147         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
29148         small n, then large n, before computing and testing k+n.
29149         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
29150         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
29151         Likewise.
29152         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
29153         Likewise.
29154         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
29155         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
29156         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
29157         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
29158         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
29159         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
29160         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
29161         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
29162         * math/libm-test.inc (scalbn_test): Add more tests.
29163         (scalbln_test): Likewise.
29165         * manual/filesys.texi (mode_t): Describe constraints on size and
29166         signedness, not exact equivalence to a particular type.
29167         (ino_t): Likewise.
29168         (ino64_t): Likewise.
29169         (dev_t): Likewise.
29170         (nlink_t): Likewise.
29171         (blkcnt_t): Likewise.
29172         (blkcnt64_t): Likewise.
29173         * manual/llio.texi (off_t): Likewise.
29175         [BZ #3976]
29176         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
29177         (__ieee754_exp): Save and restore rounding mode and use
29178         round-to-nearest for all computations.
29179         * math/libm-test.inc (exp_test_tonearest): New function.
29180         (exp_test_towardzero): Likewise.
29181         (exp_test_downward): Likewise.
29182         (exp_test_upward): Likewise.
29183         (main): Call the new functions.
29184         * sysdeps/i386/fpu/libm-test-ulps: Update.
29185         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29187 2012-03-01  Chris Demetriou  <cgd@google.com>
29189         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
29190         have predictable order.
29192 2012-03-01  David S. Miller  <davem@davemloft.net>
29194         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
29196         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
29197         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
29198         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
29199         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
29201         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
29202         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
29203         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
29204         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
29205         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
29206         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
29207         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
29208         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
29209         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
29211         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29213         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
29214         * sysdeps/sparc/fpu/libm-test-ulps: to here.
29215         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
29217         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
29218         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29219         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
29220         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
29221         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
29222         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
29223         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
29224         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29225         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
29226         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
29227         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
29228         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29229         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29230         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
29231         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29232         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29233         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
29234         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
29235         * sysdeps/sparc/elf/configure: Regenerated.
29237 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
29239         * configure.in (AS, LD): Require binutils 2.20 or later.
29240         * configure: Regenerated.
29241         * manual/install.texi (Tools for Compilation): Give binutils 2.20
29242         as required minimum version.
29243         * INSTALL: Regenerated.
29245         [BZ #2541]
29246         [BZ #4108]
29247         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
29248         before squaring exponent.
29249         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
29250         bottom long double and 27 bits of top long double before squaring
29251         exponent.
29252         * math/libm-test.inc (erfc_test): Add more tests.
29253         * sysdeps/i386/fpu/libm-test-ulps: Update.
29254         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29255         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29257 2012-03-01  Kai Tietz  <ktietz@redhat.com>
29259         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
29260         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
29261         containing bit-fields.
29262         * soft-fp/extended.h (_FP_UNION_E): Likewise.
29263         * soft-fp/single.h (_FP_UNION_S): Likewise.
29264         * soft-fp/double.h (_FP_UNION_D): Likewise.
29266 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
29268         [BZ #13786]
29269         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
29270         not include ../strcmp.S.
29271         [USE_AS_STRNCASECMP_L]: Likewise.
29272         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
29273         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
29274         * sysdeps/i386/i686/multiarch/strncase_l-c.c
29275         (__strncasecmp_l_ia32): Define as alias to
29276         __strncasecmp_l_nonascii.
29278         [BZ #5794]
29279         * math/libm-test.inc (expm1_test): Add test for bug 5794.
29280         * sysdeps/i386/fpu/libm-test-ulps: Update.
29281         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29283         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
29284         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29286 2012-02-29  Jeff Law  <law@redhat.com>
29288         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
29289         out of bounds read.
29291 2012-02-29  Marek Polacek  <polacek@redhat.com>
29293         [BZ #13706]
29294         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
29295         * elf/Makefile: Add rules to run tst-unused-dep.out.
29297 2012-02-28  David S. Miller  <davem@davemloft.net>
29299         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
29300         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
29301         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
29302         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
29303         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
29304         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
29306 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
29308         * math/libm-test.inc (llround_test): Move one test from
29309         lround_test.  Use TEST_f_L in moved test.
29310         (lround_test): Move misplaced test to llround_test.  Add testcase
29311         from bug 2561.
29313 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
29315         * sysdeps/x86_64/fpu/e_expf.S: New file.
29316         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
29318 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
29320         [BZ #13637]
29321         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
29322         of remain_len that may cause incomplete multi-byte character and
29323         false match.
29324         * posix/bug-regex33.c: New file.
29325         * posix/Makefile (tests): Add bug-regex33.
29327 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
29329         * manual/macros.texi: New file.
29330         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
29331         * manual/libc.texinfo: Include macros.texi.
29332         * manual/creatute.texi: Likewise.
29333         * manual/install.texi: Likewise.
29334         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
29335         @glibcadj{} in references to the GNU C Library.
29336         * manual/charset.texi: Likewise.
29337         * manual/conf.texi: Likewise.
29338         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
29339         when not using those macros.
29340         * manual/creature.texi: Likewise.
29341         * manual/crypt.texi: Likewise.
29342         * manual/errno.texi: Likewise.
29343         * manual/filesys.texi: Likewise.
29344         * manual/header.texi: Likewise.
29345         * manual/install.texi: Likewise.
29346         * manual/intro.texi: Likewise.
29347         * manual/io.texi: Likewise.
29348         * manual/job.texi: Likewise.
29349         * manual/lang.texi: Likewise.
29350         * manual/libc.texiinfo: Likewise.
29351         * manual/llio.texi: Likewise.
29352         * manual/locale.texi: Likewise.
29353         * manual/maint.texi: Likewise.
29354         * manual/math.texi: Likewise.
29355         * manual/memory.texi: Likewise.
29356         * manual/message.texi: Likewise.
29357         * manual/nss.texi: Likewise.
29358         * manual/pattern.texi: Likewise.
29359         * manual/process.texi: Likewise.
29360         * manual/resource.texi: Likewise.
29361         * manual/search.texi: Likewise.
29362         * manual/setjmp.texi: Likewise.
29363         * manual/signal.texi: Likewise.
29364         * manual/socket.texi: Likewise.
29365         * manual/startup.texi: Likewise.
29366         * manual/stdio.texi: Likewise.
29367         * manual/string.texi: Likewise.
29368         * manual/sysinfo.texi: Likewise.
29369         * manual/syslog.texi: Likewise.
29370         * manual/terminal.texi: Likewise.
29371         * manual/time.texi: Likewise.
29372         * manual/users.texi: Likewise.
29373         * INSTALL: Regenerated.
29374         * NOTES: Regenerated.
29375         * sysdeps/gnu/errlist.c: Regenerated.
29377 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
29379         * include/dirent.h: Include <dirstream.h> before
29380         <dirent/dirent.h>.
29382 2012-02-28  David S. Miller  <davem@davemloft.net>
29384         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
29385         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
29386         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
29387         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
29389 2012-02-27  David S. Miller  <davem@davemloft.net>
29391         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
29392         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
29393         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
29394         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
29396         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
29397         frame pointer instead of stack pointer relative arg slot.
29398         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
29399         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
29400         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
29402 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
29404         [BZ #3992]
29405         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
29407 2012-02-27  David S. Miller  <davem@davemloft.net>
29409         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
29410         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
29411         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
29412         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
29413         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
29414         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
29415         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
29416         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
29418 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
29420         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
29421         later.  Allow versions 5-9.
29422         * configure: Regenerated.
29423         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
29424         required minimum version and 4.6 as recommended version.  Do not
29425         mention bugs in GCC 2.7 and 2.8.
29426         * INSTALL: Regenerated.
29428 2012-02-27  David S. Miller  <davem@davemloft.net>
29430         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
29431         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
29432         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
29433         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
29434         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
29435         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
29436         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
29437         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
29439         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
29440         manipulate bits before adding and subtracting TWO112[sx].
29441         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
29443 2012-02-27  Roland McGrath  <roland@hack.frob.com>
29445         [BZ #13775]
29446         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
29447         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
29448         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
29449         being in POSIX, because they are in 1003.1-2008.
29451         * rt/tst-aio.c: Include <fcntl.h>.
29452         * rt/tst-aio7.c: Likewise.
29453         * rt/tst-aio64.c: Likewise.
29455         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
29457 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
29459         * manual/install.texi (--with-headers): Describe headers as
29460         interface headers, not private headers.
29461         (Specific advice for GNU/Linux systems): Describe use of headers
29462         from "make headers_install", not private headers from older
29463         kernels.
29464         * INSTALL: Regenerated.
29465         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
29466         Change to 2.6.19.
29467         * sysdeps/unix/sysv/linux/configure: Regenerated.
29469         * manual/llio.texi (fclean): Remove documentation.
29471         * manual/Makefile (libc-texi-generated): New variable.  Include
29472         version.texi.
29473         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
29474         $(libc-texi-generated), not duplicated list of files.
29475         (version.texi, stamp-version): New rules.
29476         (realclean): Remove $(libc-texi-generated), not individual files
29477         from that list.  Do not remove dir-add.texinfo.
29478         * manual/libc.texinfo: Comment out uses of edition numbers and
29479         references to printed manual.  Remove last-updated dates.
29480         (EDITION): Comment out.
29481         (ISBN): Likewise.
29482         (VERSION, UPDATED): Remove.
29483         (version.texi): Include.
29485 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
29487         * sysdeps/posix/spawni.c: Include <signal.h>.
29488         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
29489         * sysdeps/pthread/aio_fsync.c: Likewise.
29491 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
29493         * conform/Makefile (tests): Run only when not cross-compiling and
29494         when fast-check is not defined.
29496         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
29497         * conform/data/limits.h-data: Fixes for POSIX2008.
29498         * conform/run-conformtest.sh: Run all tests.
29499         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
29500         headers.
29501         * include/bits/dlfcn.h: Likewise.
29502         * include/langinfo.h: Likewise.
29503         * include/monetary.h: Likewise.
29504         * include/sys/poll.h: Likewise.
29506         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
29507         for __USE_GNU.
29508         * posix/spawn.h: Define __need_sigset_t.
29509         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
29510         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
29511         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
29512         to get sigevent_t only.
29513         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
29514         only for __USE_GNU.
29515         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29516         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
29517         process_vm_writev only for __USE_GNU.
29518         * termios/termios.h: Declare tcgetsid also for POSIX2008.
29520         * conform/Makefile: For now ignore errors from run-conformtest.
29521         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
29522         POSIX to avoid namespace pollution.  Don't prepend headers.
29523         * conform/data/aio.h-data: Fixes for POSIX testing.
29524         * conform/data/fcntl.h-data: Likewise.
29525         * conform/data/glob.h-data: Likewise.
29526         * conform/data/grp.h-data: Likewise.
29527         * conform/data/pthread.h-data: Likewise.
29528         * conform/data/pwd.h-data: Likewise.
29529         * conform/data/signal.h-data: Likewise.
29530         * conform/data/spawn.h-data: Likewise.
29531         * conform/data/stdio.h-data: Likewise.
29532         * conform/data/stdlib.h-data: Likewise.
29533         * conform/data/stropts.h-data: Likewise.
29534         * conform/data/sys/mman.h-data: Likewise.
29535         * conform/data/sys/stat.h-data: Likewise.
29536         * conform/data/sys/types.h-data: Likewise.
29537         * conform/data/sys/wait.h-data: Likewise.
29538         * conform/data/time.h-data: Likewise.
29539         * conform/data/unistd.h-data: Likewise.
29540         * conform/data/utime.h-data: Likewise.
29542         * io/sys/stat.h: fchmod was always in POSIX.
29543         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
29544         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
29545         * rt/aio.h: Define __need_timespec before including <time.h>.
29546         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
29547         struct.  Add forward declaration of pthread_attr_t and use it in
29548         sigevent.
29549         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
29550         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
29551         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
29552         always remove CLK_TCK definition.
29554 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
29556         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
29558 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
29560         * conform/run-conformtest.sh: New file.
29561         * conform/Makefile: Run run-conformtest for tests.
29562         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
29563         support.
29565         * conform/data/uchar.h-data: New file.
29566         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
29567         * conform/data/arpa/inet.h-data: Likewise.
29568         * conform/data/assert.h-data: Likewise.
29569         * conform/data/complex.h-data: Likewise.
29570         * conform/data/cpio.h-data: Likewise.
29571         * conform/data/ctype.h-data: Likewise.
29572         * conform/data/dirent.h-data: Likewise.
29573         * conform/data/dlfcn.h-data: Likewise.
29574         * conform/data/errno.h-data: Likewise.
29575         * conform/data/fcntl.h-data: Likewise.
29576         * conform/data/float.h-data: Likewise.
29577         * conform/data/fmtmsg.h-data: Likewise.
29578         * conform/data/fnmatch.h-data: Likewise.
29579         * conform/data/ftw.h-data: Likewise.
29580         * conform/data/glob.h-data: Likewise.
29581         * conform/data/grp.h-data: Likewise.
29582         * conform/data/iconv.h-data: Likewise.
29583         * conform/data/inttypes.h-data: Likewise.
29584         * conform/data/langinfo.h-data: Likewise.
29585         * conform/data/libgen.h-data: Likewise.
29586         * conform/data/limits.h-data: Likewise.
29587         * conform/data/locale.h-data: Likewise.
29588         * conform/data/math.h-data: Likewise.
29589         * conform/data/monetary.h-data: Likewise.
29590         * conform/data/mqueue.h-data: Likewise.
29591         * conform/data/ndbm.h-data: Likewise.
29592         * conform/data/net/if.h-data: Likewise.
29593         * conform/data/netdb.h-data: Likewise.
29594         * conform/data/netinet/in.h-data: Likewise.
29595         * conform/data/nl_types.h-data: Likewise.
29596         * conform/data/poll.h-data: Likewise.
29597         * conform/data/pthread.h-data: Likewise.
29598         * conform/data/pwd.h-data: Likewise.
29599         * conform/data/regex.h-data: Likewise.
29600         * conform/data/sched.h-data: Likewise.
29601         * conform/data/search.h-data: Likewise.
29602         * conform/data/semaphore.h-data: Likewise.
29603         * conform/data/setjmp.h-data: Likewise.
29604         * conform/data/signal.h-data: Likewise.
29605         * conform/data/spawn.h-data: Likewise.
29606         * conform/data/stdarg.h-data: Likewise.
29607         * conform/data/stdio.h-data: Likewise.
29608         * conform/data/stdlib.h-data: Likewise.
29609         * conform/data/string.h-data: Likewise.
29610         * conform/data/strings.h-data: Likewise.
29611         * conform/data/stropts.h-data: Likewise.
29612         * conform/data/sys/ipc.h-data: Likewise.
29613         * conform/data/sys/mman.h-data: Likewise.
29614         * conform/data/sys/msg.h-data: Likewise.
29615         * conform/data/sys/resource.h-data: Likewise.
29616         * conform/data/sys/select.h-data: Likewise.
29617         * conform/data/sys/sem.h-data: Likewise.
29618         * conform/data/sys/shm.h-data: Likewise.
29619         * conform/data/sys/socket.h-data: Likewise.
29620         * conform/data/sys/stat.h-data: Likewise.
29621         * conform/data/sys/statvfs.h-data: Likewise.
29622         * conform/data/sys/time.h-data: Likewise.
29623         * conform/data/sys/timeb.h-data: Likewise.
29624         * conform/data/sys/times.h-data: Likewise.
29625         * conform/data/sys/types.h-data: Likewise.
29626         * conform/data/sys/uio.h-data: Likewise.
29627         * conform/data/sys/un.h-data: Likewise.
29628         * conform/data/sys/utsname.h-data: Likewise.
29629         * conform/data/sys/wait.h-data: Likewise.
29630         * conform/data/syslog.h-data: Likewise.
29631         * conform/data/tar.h-data: Likewise.
29632         * conform/data/termios.h-data: Likewise.
29633         * conform/data/utime.h-data: Likewise.
29634         * conform/data/utmpx.h-data: Likewise.
29635         * conform/data/varargs.h-data: Likewise.
29636         * conform/data/wchar.h-data: Likewise.
29637         * conform/data/wctype.h-data: Likewise.
29638         * conform/data/wordexp.h-data: Likewise.
29640         * include/stropts.h: New file.
29641         * include/uchar.h: New file.
29642         * include/aio.h: Changes to allow conformtest.pl to use the headers.
29643         * include/assert.h: Likewise.
29644         * include/ctype.h: Likewise.
29645         * include/dirent.h: Likewise.
29646         * include/dlfcn.h: Likewise.
29647         * include/fcntl.h: Likewise.
29648         * include/fnmatch.h: Likewise.
29649         * include/glob.h: Likewise.
29650         * include/grp.h: Likewise.
29651         * include/libio.h: Likewise.
29652         * include/locale.h: Likewise.
29653         * include/math.h: Likewise.
29654         * include/net/if.h: Likewise.
29655         * include/netdb.h: Likewise.
29656         * include/netinet/in.h: Likewise.
29657         * include/pthread.h: Likewise.
29658         * include/pwd.h: Likewise.
29659         * include/regex.h: Likewise.
29660         * include/sched.h: Likewise.
29661         * include/search.h: Likewise.
29662         * include/setjmp.h: Likewise.
29663         * include/signal.h: Likewise.
29664         * include/stdio.h: Likewise.
29665         * include/stdlib.h: Likewise.
29666         * include/string.h: Likewise.
29667         * include/sys/cdefs.h: Likewise.
29668         * include/sys/mman.h: Likewise.
29669         * include/sys/msg.h: Likewise.
29670         * include/sys/resource.h: Likewise.
29671         * include/sys/select.h: Likewise.
29672         * include/sys/socket.h: Likewise.
29673         * include/sys/stat.h: Likewise.
29674         * include/sys/statvfs.h: Likewise.
29675         * include/sys/time.h: Likewise.
29676         * include/sys/times.h: Likewise.
29677         * include/sys/uio.h: Likewise.
29678         * include/sys/utsname.h: Likewise.
29679         * include/sys/wait.h: Likewise.
29680         * include/termios.h: Likewise.
29681         * include/time.h: Likewise.
29682         * include/ulimit.h: Likewise.
29683         * include/unistd.h: Likewise.
29684         * include/utime.h: Likewise.
29685         * include/wchar.h: Likewise.
29686         * include/wctype.h: Likewise.
29687         * include/wordexp.h: Likewise.
29689         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
29691         * time/time.h: TIME_UTC must be a macro.
29692         Make timespec_get available for ISO C11 only as well.
29694 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
29696         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
29697         Reported by Peng Haitao <penght@cn.fujitsu.com>.
29699 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
29701         * configure.in: Use -o not -a in test for unsupported multi-arch.
29703 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
29705         * manual/texinfo.tex: Update to version 2012-01-19.16.
29707 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
29709         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
29711 2012-02-24  Roland McGrath  <roland@hack.frob.com>
29713         [BZ #13738]
29714         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
29715         * manual/fdl-1.3.texi: New file.
29716         * manual/fdl-1.1.texi: File removed.
29718         [BZ #13738]
29719         * manual/libc.texinfo (FDL_VERSION): New @set.
29720         Use it for mention of FDL in cover text.
29721         (Documentation License): Use it in @include file name.
29723 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
29724             Roland McGrath  <roland@hack.frob.com>
29726         [BZ #5461]
29727         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
29728         not LONG_LONG_MAX and LONG_LONG_MIN.
29729         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
29730         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
29731         name.
29732         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
29734 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
29736         [BZ #2547]
29737         [BZ #11365]
29738         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
29739         manipulate bits before adding and subtracting TWO23[sx].
29740         * math/libm-test.inc (nearbyint_test): Add more tests.
29742 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
29744         [BZ #2548]
29745         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
29746         bits before adding and subtracting TWO23[sx].
29747         * math/libm-test.inc (rint_test): Add more tests.
29748         (rint_test_tonearest): Likewise.
29749         (rint_test_towardzero): Likewise.
29750         (rint_test_downward): Likewise.
29751         (rint_test_upward: Likewise.
29753 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
29755         [BZ #10110]
29756         * include/stdc-predef.h: New file.  Extracted from features.h.
29757         * include/features.h: Include stdc-predef.h.
29758         * Makefile (headers): Add stdc-predef.h.
29759         * CONFORMANCE (Compiler limitations): Update.
29761 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
29763         * manual/libc.texinfo (VERSION, UPDATED): Revert.
29765 2012-02-21  David S. Miller  <davem@davemloft.net>
29767         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
29768         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
29770 2012-02-20  David S. Miller  <davem@davemloft.net>
29772         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
29773         using a normal save/restore sequence, rather than allocating a
29774         dummy stack frame just to store a frame pointer and restore.
29775         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29777 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
29779         * manual/install.texi: Fix stray word in line-wrapped comment.
29781 2012-02-20  David S. Miller  <davem@davemloft.net>
29783         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
29784         both binutils and gcc support GOTDATA.
29786         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
29787         "rd %pc" in the PIC register setup sequences.
29789         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
29790         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
29791         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
29792         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
29793         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
29794         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
29795         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29796         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29797         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
29798         (SYSCALL_ERROR_HANDLER): Likewise.
29799         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
29800         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29801         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
29802         (SYSCALL_ERROR_HANDLER): Likewise.
29804         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
29805         (HAVE_GCC_GOTDATA): New.
29806         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
29807         relocation support in both binutils and gcc.
29808         * sysdeps/sparc/elf/configure: Regenerate.
29810         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
29811         * sysdeps/sparc/sparc32/elf/configure: Delete.
29812         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
29813         * sysdeps/sparc/sparc64/elf/configure: Delete.
29814         * sysdeps/sparc/elf/configure.in: New file.
29815         * sysdeps/sparc/elf/configure: Generate.
29817         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
29818         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
29819         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
29820         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
29821         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
29823 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
29825         * manual/install.texi: Do not mention specific glibc version
29826         numbers.
29827         * manual/libc.texinfo (VERSION, UPDATED): Update.
29828         (@copying): Use @copyright{} and range of years.
29830 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
29832         [BZ #13695]
29833         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
29834         [crti.S not in sysdirs] (generated): Do not append.
29835         [crti.S not in sysdirs] (omit-deps): Likewise.
29836         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
29837         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
29838         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
29839         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
29840         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
29841         Likewise.
29842         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
29843         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
29844         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
29845         * csu/defs.awk: Remove file.
29846         * sysdeps/generic/initfini.c: Likewise.
29847         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
29848         variable.
29849         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
29850         Likewise.
29852 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
29854         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
29855         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
29856         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
29857         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
29858         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
29859         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
29860         <bits/epoll.h>.
29861         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
29862         (__EPOLL_PACKED): Define to empty if not defined by
29863         <bits/epoll.h>.
29864         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
29865         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29866         bits/epoll.h.
29868 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
29870         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
29871         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
29872         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
29873         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
29874         <bits/timerfd.h>.
29875         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
29876         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29877         bits/timerfd.h.
29879 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
29881         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
29882         in C locale.
29883         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29884         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
29885         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
29886         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29888 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
29890         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29891         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
29893 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
29895         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
29896         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
29897         defined.
29898         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
29899         Likewise.
29900         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
29901         entry for 2.16.
29903 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
29905         * math/w_acos.c: Use non-signaling floating-point comparisons.
29906         * math/w_acosf.c: Likewise.
29907         * math/w_acosh.c: Likewise.
29908         * math/w_acoshf.c: Likewise.
29909         * math/w_acoshl.c: Likewise.
29910         * math/w_acosl.c: Likewise.
29911         * math/w_asin.c: Likewise.
29912         * math/w_asinf.c: Likewise.
29913         * math/w_asinl.c: Likewise.
29914         * math/w_atanh.c: Likewise.
29915         * math/w_atanhf.c: Likewise.
29916         * math/w_atanhl.c: Likewise.
29917         * math/w_exp2.c: Likewise.
29918         * math/w_exp2f.c: Likewise.
29919         * math/w_exp2l.c: Likewise.
29920         * math/w_j0.c: Likewise.
29921         * math/w_j0f.c: Likewise.
29922         * math/w_j0l.c: Likewise.
29923         * math/w_j1.c: Likewise.
29924         * math/w_j1f.c: Likewise.
29925         * math/w_j1l.c: Likewise.
29926         * math/w_jn.c: Likewise.
29927         * math/w_jnf.c: Likewise.
29928         * math/w_log.c: Likewise.
29929         * math/w_log10.c: Likewise.
29930         * math/w_log10f.c: Likewise.
29931         * math/w_log10l.c: Likewise.
29932         * math/w_log2.c: Likewise.
29933         * math/w_log2f.c: Likewise.
29934         * math/w_log2l.c: Likewise.
29935         * math/w_logf.c: Likewise.
29936         * math/w_logl.c: Likewise.
29937         * math/w_sqrt.c: Likewise.
29938         * math/w_sqrtf.c: Likewise.
29939         * math/w_sqrtl.c: Likewise.
29940         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
29941         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
29942         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29943         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
29944         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
29946 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
29948         [BZ #9739]
29949         * manual/string.texi (strnlen): Use correct parameter name in
29950         equivalent expression.
29952 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
29954         [BZ #11174]
29955         * manual/users.texi (seteuid): Consistently use neweuid for
29956         argument name.
29958 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
29960         [BZ #13704]
29961         * manual/nss.texi (Services in the NSS configuration): Correct
29962         list of services in example configuration file.
29964 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
29966         [BZ #11322]
29967         * manual/arith.texi: Remove statements about negative zero
29968         behaving identically to zero.
29970 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
29972         [BZ #5993]
29973         * manual/install.texi: Do not document upgrading from libc5.
29975 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
29977         [BZ #4596]
29978         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
29980 2012-02-18  David S. Miller  <davem@davemloft.net>
29982         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
29983         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
29984         %o7 across the call.
29985         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
29986         instead.
29987         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
29988         SETUP_PIC_REG_LEAF.
29989         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29990         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
29991         * sysdeps/sparc/crtn.S: Likewise.
29993 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
29995         * aout/Makefile: Remove.
29997 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
29999         [BZ #13058]
30000         * manual/examples/argp-ex1.c (main): Format definition in GNU
30001         style.
30002         * manual/examples/argp-ex2.c (main): Likewise.
30003         * manual/examples/argp-ex3.c (main): Likewise.
30004         * manual/examples/argp-ex4.c (main): Likewise.
30005         * manual/examples/longopt.c (main): Use new-style prototype
30006         definition.
30007         * manual/examples/strncat.c (main): Specify return type and use
30008         (void) for arguments.
30009         * manual/examples/subopt.c (main): Use char **argv argument.
30011 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
30013         [BZ #5077]
30014         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
30015         rounding modes.
30017 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
30019         [BZ #6907]
30020         * manual/string.texi (strchr): Change when strchrnul is
30021         recommended.
30023 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
30025         [BZ #174]
30026         * manual/locale.texi (setlocale): Document LOCPATH.
30028 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
30030         [BZ #10210]
30031         * manual/process.texi (execle): Move @dots{} before last argument.
30033 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
30035         [BZ #12047]
30036         * manual/charset.texi (Generic Charset Conversion): Fix typo
30037         (LC_TYPE -> LC_CTYPE).
30039 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
30041         [BZ #5805]
30042         * manual/arith.texi (scalbn): Use @var{} on parameter names.
30043         (scalbnf): Likewise.
30044         (scalbnl): Likewise.
30045         (scalbln): Likewise.
30046         (scalblnf): Likewise.
30047         (scalblnl): Likewise.
30048         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
30049         (vwarnx): Likewise.
30050         (verr): Likewise.
30051         (verrx): Likewise.
30052         * manual/filesys.texi (telldir): Use braces around return type.
30053         * manual/llio.texi (mmap): Add space after comma.
30054         (mmap64): Likewise.
30055         * manual/math.texi (jn): Use @var{} on parameter names.
30056         (jnf): Likewise.
30057         (jnl): Likewise.
30058         (yn): Likewise.
30059         (ynf): Likewise.
30060         (ynl): Likewise.
30061         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
30062         line.
30063         * manual/resource.texi (ulimit): Use @dots{} instead of literal
30064         "...".
30065         (sched_get_priority_min): Remove semicolon on @deftypefun line.
30066         (sched_get_priority_max): Likewise.
30067         * manual/signal.texi (sigvec): Add space after comma.
30068         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
30069         names.
30070         (if_indextoname): Likewise.
30071         (if_freenameindex): Likewise.
30072         (sendto): Use ',' instead of '.' in prototype.
30073         * manual/startup.texi (syscall): Use @dots{} instead of literal
30074         "...".
30075         * manual/stdio.texi (__fpending): Separate initial words of
30076         paragraph from @deftypefun line.
30077         * manual/syslog.texi (syslog): Use @dots{} instead of literal
30078         "...".
30079         (vsyslog): Use @var{} on parameter names.
30080         * manual/terminal.texi (stty): Use @var{} on parameter names.
30081         * manual/users.texi (getutmp): Use @var{} on parameter names.
30082         (getutmpx): Likewise.
30084 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
30086         [BZ #6884]
30087         * manual/stdio.texi (fopen): Fix typos in description of
30088         ",ccs=STRING".
30090 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
30092         [BZ #4026]
30093         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
30094         get clock_id definition.
30096 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
30098         [BZ #4822]
30099         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
30100         (madvise): Cast every argument to void on its own.
30102 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
30104         [BZ #9902]
30105         * manual/startup.texi (Exit Status): Fix typo.
30107 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
30109         [BZ #10140]
30110         * manual/examples/argp-ex1.c: Include <stdlib.h>.
30111         * manual/examples/argp-ex2.c: Likewise.
30112         * manual/examples/argp-ex3.c: Likewise.
30114 2012-02-16  Richard Henderson  <rth@redhat.com>
30116         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
30117         * sysdeps/s390/s390-32/initfini.c: Remove.
30118         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
30119         * sysdeps/s390/s390-64/initfini.c: Remove.
30121 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30123         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
30124         compiler output for sysdeps/generic/initfini.c.
30125         * sysdeps/sh/elf/initfini.c: Remove file.
30127 2012-02-16  David S. Miller  <davem@davemloft.net>
30129         [BZ #11494]
30130         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
30132         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
30133         * sysdeps/sparc/crti.S: New file.
30134         * sysdeps/sparc/crtn.S: New file.
30135         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
30136         * sysdeps/sparc/sparc64/Makefile: Likewise.
30138 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
30140         [BZ #3335]
30141         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
30143 2012-02-15  Roland McGrath  <roland@hack.frob.com>
30145         [BZ #4822]
30146         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
30148         * mach/devstream.c (cookie_io_functions_t): Macro removed.
30149         (write, read, close): Likewise.
30150         Patch by Aurelien Jarno <aurelien@aurel32.net>.
30152 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
30154         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
30155         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
30156         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
30157         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
30158         <bits/signalfd.h>.
30159         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
30160         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30161         bits/signalfd.h.
30163 2012-02-14  Marek Polacek  <polacek@redhat.com>
30165         * sysdeps/x86_64/crti.S: New file.
30166         * sysdeps/x86_64/crtn.S: New file.
30167         * sysdeps/x86_64/elf/initfini.c: Remove file.
30169 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
30171         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
30172         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
30173         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
30174         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
30175         <bits/inotify.h>.
30176         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
30177         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30178         bits/inotify.h.
30180 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
30182         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
30183         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
30184         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
30185         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
30186         <bits/eventfd.h>.
30187         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
30188         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30189         bits/eventfd.h.
30191 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
30193         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
30194         __feraiseexcept instead of feraiseexcept.
30196         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
30197         nanosleep invocations.
30198         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
30199         strings, and add error checking for a nanosleep invocations.
30201 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
30203         Replace FSF snail mail address with URLs, as per GNU coding standards.
30204         Most of the snail mail addresses were wrong anyway, and omitting
30205         them makes the source code easier to maintain.  Almost all of the
30206         changes are to license notices and to locale LC_IDENTIFICATION
30207         addresses, except for this one:
30208         * manual/libc.texinfo: In "Published by", give the FSF's URL,
30209         not its snail mail address.
30211 2012-02-09  Richard Henderson  <rth@twiddle.net>
30213         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
30214         of kernel-features.h.
30216         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
30218 2012-02-08  Marek Polacek  <polacek@redhat.com>
30220         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
30221         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
30222         * sysdeps/gnu/_G_config.h: Likewise.
30223         * sysdeps/generic/_G_config.h: Likewise.
30225 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
30227         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
30228         tests.
30229         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30231         * sysdeps/powerpc/powerpc32/crti.S: New file.
30232         * sysdeps/powerpc/powerpc32/crtn.S: New file.
30233         * sysdeps/powerpc/powerpc64/crti.S: New file.
30234         * sysdeps/powerpc/powerpc64/crtn.S: New file.
30236         * Makeconfig (have-initfini): Don't set.
30237         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
30238         * configure.in (nopic_initfini): Don't substitute.
30239         * config.h.in (HAVE_INITFINI): Don't #undef.
30240         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
30241         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
30243 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
30245         Support crti.S and crtn.S provided directly by architectures.
30246         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
30247         [crti.S in sysdirs] (omit-deps): Likewise.
30248         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
30249         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
30250         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
30251         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
30252         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
30253         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
30254         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
30255         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
30256         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
30257         compiler output for sysdeps/generic/initfini.c.
30258         * sysdeps/i386/elf/Makefile: Remove file.
30259         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
30261 2012-02-07  Marek Polacek  <polacek@redhat.com>
30263         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
30264         * sysdeps/gnu/_G_config.h: Likewise.
30265         * sysdeps/mach/hurd/_G_config.h: Likewise.
30267 2012-02-07  Marek Polacek  <polacek@redhat.com>
30269         * math/Makefile (tests): Add tst-CMPLX2.
30270         * math/tst-CMPLX2.c: New file.
30272 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
30274         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30276         * math/libm-test.inc (jn_test): Add missing L suffix.
30278 2012-02-06  Marek Polacek  <polacek@redhat.com>
30280         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
30281         * sysdeps/i386/fpu/e_powf.S: Likewise.
30282         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30283         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
30284         * sysdeps/i386/fpu/e_acosh.S: Likewise.
30285         * sysdeps/i386/fpu/e_pow.S: Likewise.
30286         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30287         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30288         * sysdeps/i386/fpu/s_expm1.S: Likewise.
30289         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
30290         * sysdeps/i386/fpu/e_log2.S: Likewise.
30291         * sysdeps/i386/fpu/e_log2l.S: Likewise.
30292         * sysdeps/i386/fpu/e_scalb.S: Likewise.
30293         * sysdeps/i386/fpu/e_powl.S: Likewise.
30294         * sysdeps/i386/fpu/s_log1p.S: Likewise.
30295         * sysdeps/i386/fpu/e_log10f.S: Likewise.
30296         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
30297         * sysdeps/i386/fpu/e_logl.S: Likewise.
30298         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
30299         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
30300         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
30301         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
30302         * sysdeps/i386/fpu/e_log2f.S: Likewise.
30303         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30304         * sysdeps/i386/fpu/e_log.S: Likewise.
30305         * sysdeps/i386/fpu/s_cexp.S: Likewise.
30306         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30307         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
30308         * sysdeps/i386/fpu/e_logf.S: Likewise.
30309         * sysdeps/i386/fpu/e_log10l.S: Likewise.
30310         * sysdeps/i386/fpu/e_atanh.S: Likewise.
30311         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
30312         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
30313         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
30314         * sysdeps/i386/fpu/e_log10.S: Likewise.
30315         * sysdeps/i386/fpu/s_frexp.S: Likewise.
30316         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30317         * sysdeps/i386/fpu/s_asinh.S: Likewise.
30318         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
30319         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30320         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
30321         * sysdeps/i386/asm-syntax.h: Likewise.
30322         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30323         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30324         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30325         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
30326         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
30327         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30328         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
30329         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
30330         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30331         * sysdeps/powerpc/sysdep.h: Likewise.
30332         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
30333         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30335 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
30337         [BZ #411]
30338         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
30340 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
30342         * sysdeps/i386/sysdep.h: Include <features.h>.
30343         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
30344         version.
30346 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
30348         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
30349         Define.
30350         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
30351         LOAD_PIC_REG_STR.
30353 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
30355         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
30356         (SETUP_PIC_REG): Use GET_PC_THUNK.
30357         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
30358         macro.
30360 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
30362         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
30363         for non-PIC compilation.
30364         (SETUP_PIC_REG): Add .p2align directive.
30365         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
30366         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
30367         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30368         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30369         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
30370         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30371         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
30372         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30373         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30374         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30375         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30376         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30377         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30378         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30379         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30380         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
30381         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
30382         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30383         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30384         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30385         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30386         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
30387         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30388         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
30389         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
30390         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
30391         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30392         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
30393         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30394         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30395         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30396         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30397         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30398         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30399         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30400         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30401         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30402         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30403         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30404         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30405         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30407 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
30409         * math/tst-CMPLX.c: Include <stdio.h>.
30411 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
30413         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
30414         float.
30415         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
30416         * sysdeps/sparc/bits/mathdef.h: Likewise.
30418 2012-01-31  Marek Polacek  <polacek@redhat.com>
30420         * libio/libio.h: Don't define _PARAMS.
30421         * locale/programs/config.h: Don't define PARAMS.
30422         * stdlib/strtol_l.c: Likewise.
30423         (__strtol_l): Remove PARAMS from the prototype.
30425 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
30427         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
30428         names.  Just use the correct names.  Remove unnecessary wrapper
30429         functions.
30430         * malloc/arena.c: Likewise.
30431         * malloc/hooks.c: Likewise.
30433         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
30434         ARENA_TEST says not to.  Simplify test for creation of a new arena.
30435         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
30437 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
30439         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
30440         into tail calls.
30441         (update_get_addr): New function.
30442         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
30443         GET_ADDR_MODULE parameter.
30445 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
30447         * crypt/cert.c: Remove __STDC__ conditionals.
30448         * crypt/crypt-entry.c: Likewise.
30449         * crypt/crypt_util.c: Likewise.
30450         * libio/filedoalloc.c: Likewise.
30451         * libio/fileops.c: Likewise.
30452         * libio/genops.c: Likewise.
30453         * libio/iofclose.c: Likewise.
30454         * libio/iofdopen.c: Likewise.
30455         * libio/iofopen.c: Likewise.
30456         * libio/iofopen64.c: Likewise.
30457         * libio/iogetdelim.c: Likewise.
30458         * libio/iopopen.c: Likewise.
30459         * libio/obprintf.c: Likewise.
30460         * libio/oldfileops.c: Likewise.
30461         * libio/oldiofclose.c: Likewise.
30462         * libio/oldiofdopen.c: Likewise.
30463         * libio/oldiofopen.c: Likewise.
30464         * libio/oldiopopen.c: Likewise.
30465         * libio/wfiledoalloc.c: Likewise.
30466         * libio/wgenops.c: Likewise.
30467         * locale/programs/xmalloc.c: Likewise.
30468         * misc/syslog.c: Likewise.
30469         * stdio-common/xbug.c: Likewise.
30470         * string/memchr.c: Likewise.
30471         * string/memcmp.c: Likewise.
30472         * string/memrchr.c: Likewise.
30473         * string/rawmemchr.c: Likewise.
30474         * sysdeps/posix/getcwd.c: Likewise.
30475         * time/strftime_l.c: Likewise.
30477 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
30479         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
30480         * config.make.in (config-cflags-sse2avx): Define.
30481         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
30482         Fix typo.
30484 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
30486         * scripts/config.guess: Update from upstream config git repository.
30487         * scripts/config.sub: Likewise.
30489 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
30491         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
30492         (EM_NUM): Update.
30493         (R_TILEPRO_*, R_TILEGX_*): New macros.
30495         * scripts/firstversions.awk: Fix bug in version range handling.
30497         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
30499         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
30501         * include/sys/epoll.h: New file.
30502         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
30503         libc_hidden_def.
30505 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
30507         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
30508         Avoid unnecessary __WORDSIZE == 64 test.
30509         (fmaxf): Use VEX format if possible.
30510         (fmax): Likewise.
30511         (fminf): Likewise.
30512         (fmin): Likewise.
30514         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
30515         * math/math_private.h: Remove libc_fegetround* and
30516         libc_fesetround*.
30517         * sysdeps/i386/configure.in: Check for -msse2avx.
30518         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
30519         also if SSE2AVX is defined.
30520         Remove libc_fegetround* and libc_fesetround*.
30521         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
30522         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
30523         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
30524         of HAS_YMM_USABLE.
30525         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30526         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30527         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30528         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30529         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30531         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
30533 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30535         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
30536         size is not set.
30537         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
30539 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
30541         [BZ #13618]
30542         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
30543         relocation.
30544         * Makeconfig (libm): Define.
30545         * elf/Makefile: Add rules to build and run tst-relsort1.
30546         * elf/tst-relsort1.c: New file.
30547         * elf/tst-relsort1mod1.c: New file.
30548         * elf/tst-relsort1mod2.c: New file.
30550 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
30552         * math/s_ldexp.c: Remove __STDC__ conditionals.
30553         * math/s_ldexpf.c: Likewise.
30554         * math/s_ldexpl.c: Likewise.
30555         * math/s_nextafter.c: Likewise.
30556         * math/s_nexttowardf.c: Likewise.
30557         * math/s_significand.c: Likewise.
30558         * math/s_significandf.c: Likewise.
30559         * math/s_significandl.c: Likewise.
30560         * math/w_jnl.c: Likewise.
30561         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
30562         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
30563         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
30564         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
30565         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
30566         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30567         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
30568         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
30569         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
30570         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
30571         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
30572         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30573         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
30574         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
30575         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
30576         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
30577         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
30578         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
30579         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
30580         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
30581         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
30582         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
30583         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
30584         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30585         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
30586         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
30587         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
30588         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
30589         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
30590         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
30591         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
30592         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
30593         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
30594         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
30595         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
30596         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
30597         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
30598         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
30599         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
30600         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
30601         * sysdeps/ieee754/k_standard.c: Likewise.
30602         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
30603         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
30604         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
30605         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
30606         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
30607         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
30608         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
30609         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
30610         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
30611         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
30612         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
30613         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
30614         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
30615         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
30616         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
30617         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
30618         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
30619         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
30620         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
30621         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
30622         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
30623         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
30624         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
30625         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
30626         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
30627         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
30628         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30629         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30630         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30631         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
30632         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
30633         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
30634         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
30635         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
30636         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
30637         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
30638         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
30639         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
30640         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
30641         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
30642         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
30643         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
30644         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
30645         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
30646         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
30647         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
30648         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
30649         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
30650         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
30651         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
30652         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
30653         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
30654         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
30655         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
30656         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
30657         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
30658         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
30659         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
30660         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
30661         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
30662         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
30663         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
30664         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
30665         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
30666         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
30667         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
30668         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
30669         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
30670         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
30671         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
30672         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
30673         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
30674         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
30675         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
30676         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
30677         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
30678         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
30679         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
30680         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
30681         * sysdeps/ieee754/s_matherr.c: Likewise.
30682         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
30683         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
30684         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
30685         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
30687 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
30689         * crypt/md5.h: Remove __STDC__ conditionals.
30690         * libio/libioP.h: Likewise.
30691         * locale/programs/config.h: Likewise.
30692         * sysdeps/generic/sysdep.h: Likewise.
30693         * sysdeps/i386/asm-syntax.h: Likewise.
30694         * sysdeps/s390/asm-syntax.h: Likewise.
30695         * sysdeps/unix/sysdep.h: Likewise.
30696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
30697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30699 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
30701         * libio/libio.h: Remove __STDC__ conditionals.
30702         * malloc/obstack.h: Likewise.
30703         * math/complex.h: Likewise.
30704         * math/math.h: Likewise.
30705         * sysdeps/generic/_G_config.h: Likewise.
30706         * sysdeps/gnu/_G_config.h: Likewise.
30707         * sysdeps/mach/hurd/_G_config.h: Likewise.
30708         * sysdeps/powerpc/bits/mathdef.h: Likewise.
30709         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
30710         * sysdeps/sparc/bits/mathdef.h: Likewise.
30712 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
30714         [BZ #13583]
30715         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
30716         Clean up HAS_* macros.
30717         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
30718         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
30719         possible.
30720         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
30721         HAS_AVX.
30722         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30723         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30724         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30725         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30726         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30728 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
30730         * elf/tst-unique3.cc (gets): Remove declaration.
30731         * elf/tst-unique3lib.cc (gets): Likewise.
30732         * elf/tst-unique3lib2.cc (gets): Likewise.
30733         * elf/tst-unique4.cc (gets): Likewise.
30735 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
30737         * include/stdio.h: Add C++ protection.  Add gets declarations and
30738         definitions.
30739         * debug/tst-chk1.c: Don't declare gets here.
30740         * stdio-common/tst-gets.c: Likewise.
30742 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
30744         * posix/glob: Remove directory.
30746 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
30748         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
30750 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
30752         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
30753         of the non-standard EPFNOSUPPORT.
30755 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30757         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
30758         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
30759         ANYWHERE set to 1 only on KERN_NO_SPACE error.
30761 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
30763         * wcsmbs/uchar.h: Test __STDC_VERSION__.
30765 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
30767         * nscd/aicache.c (addhstaiX): Do not cache negative results of
30768         transient errors.
30769         * nscd/grpcache.c (cache_addgr): Likewise.
30770         * nscd/hstcache.c (cache_addhst): Likewise.
30771         * nscd/initgrcache.c (addinitgroupsX): Likewise.
30772         * nscd/pwdcache.c (cache_addpw): Likewise.
30773         * nscd/servicescache.c (cache_addserv): Likewise.
30775 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
30777         * malloc/malloc.c: Various cleanups.
30778         * malloc/hooks.c: Likewise.
30780         * stdlib/Makefile (tests): Add bug-fmtmsg1.
30781         * stdlib/bug-fmtmsg1.c: New file.
30783         * stdlib/fmtmsg.c (init): Add missing unlock.
30784         Patch by Peng Haitao <penght@cn.fujitsu.com>.
30786 2012-01-12  Marek Polacek  <polacek@redhat.com>
30788         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
30789         and _GNU_SOURCE.
30791 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
30793         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
30794         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
30795         macro to ensure uniqueness of label name.
30796         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
30797         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
30799 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
30801         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
30803         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
30804         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
30805         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
30806         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
30808 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
30810         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
30812         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
30813         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
30814         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
30816         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
30818         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
30819         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
30820         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
30821         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
30823         * math/bits/math-finite.h: Add ldexp support.
30825 2012-01-10  Marek Polacek  <polacek@redhat.com>
30827         * locale/programs/localedef.h (show_archive_content): Add noreturn
30828         attribute.
30830 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
30832         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
30834 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
30836         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
30838         * io/Makefile (headers): Add bits/poll2.h.
30840 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
30842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
30843         typo #include statement.
30845 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
30847         * include/sys/cdefs.h: Define __attribute_alloc_size.
30848         * catgets/gencat.c: Add alloc_size attribute and apply consistently
30849         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
30850         * elf/pldd.c: Likewise.
30851         * iconv/iconv_charmap.c: Likewise.
30852         * iconv/iconvconfig.c: Likewise.
30853         * iconv/strtab.c: Likewise.
30854         * locale/programs/locale.c: Likewise.
30855         * locale/programs/localedef.h: Likewise.
30856         * locale/programs/simple-hash.c: Likewise.
30857         * nscd/nscd.h: Likewise.
30858         * nss/makedb.c: Likewise.
30859         * sysdeps/generic/ldconfig.h: Likewise.
30860         * locale/programs/localedef.c: Remove xmalloc prototype.
30861         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
30863 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
30865         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
30866         appropriate.
30868 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
30870         * math/Makefile (tests): Add tst-CMPLX.
30871         * math/tst-CMPLX.c: New file.
30873         * math/complex.h (CMPLXL): Fix typo.
30875         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
30876         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
30877         GLIBC_2.16.
30878         * debug/tst-chk1.c: Add poll and ppoll tests.
30879         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
30880         * include/sys/poll.h: Add hidden proto for ppoll.
30881         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
30882         * sysdeps/mach/hurd/ppoll.c: Likewise.
30883         * io/ppoll.c: Likewise.
30884         * debug/poll_chk.c: New file.
30885         * debug/ppoll_chk.c: New file.
30886         * include/bits/poll2.h: New file.
30887         * io/bits/poll2.h: New file.
30889         [BZ #1350]
30890         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
30892         * configure.in: static is always set to yes.  Remove.
30893         * config.make.in: Don't set build-static.
30894         * Makeconfig: Remove use of build-static.
30895         * dlfcn/Makefile: Likewise.
30896         * elf/Makefile: Likewise.
30897         * math/Makefile: Likewise.
30898         * misc/Makefile: Likewise.
30899         * nptl/Makefile: Likewise.
30900         * sysdeps/mach/hurd/Makefile: Likewise.
30902         * configure.in: PWD_P is not used anymore.
30903         * config.make.in: Remove PWD_P entry.
30905         * configure.in: Remove last remnants of RANLIB.
30906         No need to check for signed size_t anymore.
30907         Don't set libc_commonpagesize and libc_relro_required here for Alpha
30908         and IA-64.
30909         Remove __builtin_expect test because we require at least gcc 3.4.
30910         * aclocal.m4: Likewise.
30912         * wcsmbs/mbrtoc16.c: Implement using towc function.
30913         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
30914         * wcsmbs/wcsmbsload.c: Likewise.
30915         * iconv/gconv_simple.c: Likewise.
30916         * iconv/gconv_int.h: Likewise.
30917         * iconv/gconv_builtin.h: Likewise.
30918         * iconv/iconv_prog.c: Remove CHAR16 handling.
30920         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
30922         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
30924         * configure.in: Remove --with-elf and --enable-bounded options.
30925         Dont set base_machine for ia64.  More non-ELF conditions removed.
30926         Remove testing and setting of leading underscore information.
30927         * config.make.in (build-bounded): Set to no.
30928         * config.h.in: Remove NO_UNDERSCORES entry.
30929         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
30930         them.
30931         * csu/start.c: Remove !NO_UNDERSCORE code.
30932         * locale/localeinfo.h: Likewise.
30933         * sysdeps/generic/machine-gmon.h: Likewise.
30934         * sysdeps/generic/sysdep.h: Likewise.
30935         * sysdeps/i386/sysdep.h: Likewise.
30936         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
30937         * sysdeps/mach/sysdep.h: Likewise.
30938         * sysdeps/s390/s390-32/sysdep.h: Likewise.
30939         * sysdeps/s390/s390-64/sysdep.h: Likewise.
30940         * sysdeps/sh/sysdep.h: Likewise.
30941         * sysdeps/sparc/sparc32/alloca.S: Likewise.
30942         * sysdeps/unix/i386/sysdep.S: Likewise.
30943         * sysdeps/unix/sparc/start.c: Likewise.
30944         * sysdeps/unix/sparc/sysdep.S: Likewise.
30945         * sysdeps/unix/sparc/sysdep.h: Likewise.
30946         * sysdeps/unix/start.c: Likewise.
30947         * sysdeps/unix/x86_64/sysdep.S: Likewise.
30948         * sysdeps/x86_64/sysdep.h: Likewise.
30950 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
30952         [BZ #13553]
30953         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
30954         for non-gcc.
30955         * argp/argp-fmtstream.h: Use const instead __const.
30956         * argp/argp.h: Likewise.
30957         * assert/assert.h: Likewise.
30958         * bits/fenv.h: Likewise.
30959         * bits/sched.h: Likewise.
30960         * bits/sigset.h: Likewise.
30961         * bits/sigthread.h: Likewise.
30962         * catgets/nl_types.h: Likewise.
30963         * conform/data/pthread.h-data: Likewise.
30964         * crypt/crypt-private.h: Likewise.
30965         * crypt/crypt.h: Likewise.
30966         * crypt/crypt_util.c: Likewise.
30967         * ctype/ctype.h: Likewise.
30968         * debug/execinfo.h: Likewise.
30969         * debug/mbsnrtowcs_chk.c: Likewise.
30970         * debug/mbsrtowcs_chk.c: Likewise.
30971         * debug/wcsnrtombs_chk.c: Likewise.
30972         * debug/wcsrtombs_chk.c: Likewise.
30973         * debug/wcstombs_chk.c: Likewise.
30974         * dirent/dirent.h: Likewise.
30975         * dlfcn/dlfcn.h: Likewise.
30976         * elf/neededtest4.c: Likewise.
30977         * grp/grp.h: Likewise.
30978         * gshadow/gshadow.h: Likewise.
30979         * iconv/gconv.h: Likewise.
30980         * iconv/gconv_int.h: Likewise.
30981         * iconv/gconv_simple.c: Likewise.
30982         * iconv/iconv.h: Likewise.
30983         * iconv/loop.c: Likewise.
30984         * iconv/skeleton.c: Likewise.
30985         * include/aio.h: Likewise.
30986         * include/aliases.h: Likewise.
30987         * include/argz.h: Likewise.
30988         * include/arpa/inet.h: Likewise.
30989         * include/assert.h: Likewise.
30990         * include/dirent.h: Likewise.
30991         * include/dlfcn.h: Likewise.
30992         * include/execinfo.h: Likewise.
30993         * include/fcntl.h: Likewise.
30994         * include/fenv.h: Likewise.
30995         * include/glob.h: Likewise.
30996         * include/grp.h: Likewise.
30997         * include/libintl.h: Likewise.
30998         * include/mntent.h: Likewise.
30999         * include/netdb.h: Likewise.
31000         * include/pwd.h: Likewise.
31001         * include/rpc/netdb.h: Likewise.
31002         * include/sched.h: Likewise.
31003         * include/search.h: Likewise.
31004         * include/shadow.h: Likewise.
31005         * include/signal.h: Likewise.
31006         * include/stdio.h: Likewise.
31007         * include/stdlib.h: Likewise.
31008         * include/string.h: Likewise.
31009         * include/sys/socket.h: Likewise.
31010         * include/sys/stat.h: Likewise.
31011         * include/sys/statfs.h: Likewise.
31012         * include/sys/statvfs.h: Likewise.
31013         * include/sys/syslog.h: Likewise.
31014         * include/sys/time.h: Likewise.
31015         * include/sys/uio.h: Likewise.
31016         * include/time.h: Likewise.
31017         * include/unistd.h: Likewise.
31018         * include/utmp.h: Likewise.
31019         * include/wchar.h: Likewise.
31020         * include/wctype.h: Likewise.
31021         * inet/aliases.h: Likewise.
31022         * inet/arpa/inet.h: Likewise.
31023         * inet/netinet/ether.h: Likewise.
31024         * inet/netinet/in.h: Likewise.
31025         * intl/libintl.h: Likewise.
31026         * io/bits/fcntl2.h: Likewise.
31027         * io/fcntl.h: Likewise.
31028         * io/ftw.h: Likewise.
31029         * io/sys/poll.h: Likewise.
31030         * io/sys/stat.h: Likewise.
31031         * io/sys/statfs.h: Likewise.
31032         * io/sys/statvfs.h: Likewise.
31033         * io/utime.h: Likewise.
31034         * libio/bits/stdio.h: Likewise.
31035         * libio/bits/stdio2.h: Likewise.
31036         * libio/libio.h: Likewise.
31037         * libio/libioP.h: Likewise.
31038         * libio/stdio.h: Likewise.
31039         * locale/lc-ctype.c: Likewise.
31040         * locale/locale.h: Likewise.
31041         * login/utmp.h: Likewise.
31042         * malloc/arena.c: Likewise.
31043         * malloc/malloc.c: Likewise.
31044         * malloc/malloc.h: Likewise.
31045         * malloc/mcheck.c: Likewise.
31046         * malloc/mtrace.c: Likewise.
31047         * math/bits/mathcalls.h: Likewise.
31048         * math/fenv.h: Likewise.
31049         * math/math_private.h: Likewise.
31050         * misc/bits/error.h: Likewise.
31051         * misc/bits/syslog.h: Likewise.
31052         * misc/err.h: Likewise.
31053         * misc/error.h: Likewise.
31054         * misc/fstab.h: Likewise.
31055         * misc/mntent.h: Likewise.
31056         * misc/regexp.h: Likewise.
31057         * misc/search.h: Likewise.
31058         * misc/sgtty.h: Likewise.
31059         * misc/sys/mman.h: Likewise.
31060         * misc/sys/syslog.h: Likewise.
31061         * misc/sys/uio.h: Likewise.
31062         * misc/sys/xattr.h: Likewise.
31063         * misc/ttyent.h: Likewise.
31064         * nis/rpcsvc/ypclnt.h: Likewise.
31065         * nss/nss.h: Likewise.
31066         * posix/bits/unistd.h: Likewise.
31067         * posix/fnmatch.h: Likewise.
31068         * posix/glob.h: Likewise.
31069         * posix/sched.h: Likewise.
31070         * posix/spawn.h: Likewise.
31071         * posix/sys/wait.h: Likewise.
31072         * posix/unistd.h: Likewise.
31073         * posix/wordexp.h: Likewise.
31074         * pwd/pwd.h: Likewise.
31075         * resolv/netdb.h: Likewise.
31076         * resource/sys/resource.h: Likewise.
31077         * rt/aio.h: Likewise.
31078         * rt/bits/mqueue2.h: Likewise.
31079         * rt/mqueue.h: Likewise.
31080         * shadow/shadow.h: Likewise.
31081         * signal/signal.h: Likewise.
31082         * socket/send.c: Likewise.
31083         * socket/sendto.c: Likewise.
31084         * socket/sys/socket.h: Likewise.
31085         * stdio-common/printf.h: Likewise.
31086         * stdlib/bits/stdlib.h: Likewise.
31087         * stdlib/fmtmsg.h: Likewise.
31088         * stdlib/monetary.h: Likewise.
31089         * stdlib/stdlib.h: Likewise.
31090         * stdlib/ucontext.h: Likewise.
31091         * streams/stropts.h: Likewise.
31092         * string/argz.h: Likewise.
31093         * string/bits/string2.h: Likewise.
31094         * string/string.h: Likewise.
31095         * string/strings.h: Likewise.
31096         * sunrpc/rpc/auth.h: Likewise.
31097         * sunrpc/rpc/auth_des.h: Likewise.
31098         * sunrpc/rpc/clnt.h: Likewise.
31099         * sunrpc/rpc/netdb.h: Likewise.
31100         * sunrpc/rpc/pmap_clnt.h: Likewise.
31101         * sunrpc/rpc/xdr.h: Likewise.
31102         * sysdeps/generic/inttypes.h: Likewise.
31103         * sysdeps/generic/net/if.h: Likewise.
31104         * sysdeps/generic/sys/swap.h: Likewise.
31105         * sysdeps/gnu/net/if.h: Likewise.
31106         * sysdeps/gnu/utmpx.h: Likewise.
31107         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
31108         * sysdeps/i386/i486/bits/string.h: Likewise.
31109         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
31110         * sysdeps/s390/bits/string.h: Likewise.
31111         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
31112         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
31113         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
31114         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
31115         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
31116         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
31117         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
31118         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
31119         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
31120         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
31121         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
31122         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
31123         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
31124         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
31125         * sysdeps/unix/sysv/linux/readv.c: Likewise.
31126         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
31127         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
31128         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31129         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
31130         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
31131         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31132         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
31133         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
31134         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
31135         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
31136         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
31137         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
31138         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31139         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
31140         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
31141         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
31142         * sysvipc/sys/ipc.h: Likewise.
31143         * sysvipc/sys/msg.h: Likewise.
31144         * sysvipc/sys/sem.h: Likewise.
31145         * sysvipc/sys/shm.h: Likewise.
31146         * termios/termios.h: Likewise.
31147         * time/sys/time.h: Likewise.
31148         * time/time.h: Likewise.
31149         * wcsmbs/bits/wchar2.h: Likewise.
31150         * wcsmbs/uchar.h: Likewise.
31151         * wcsmbs/wchar.h: Likewise.
31152         * wctype/wctype.h: Likewise.
31154         [BZ #13551]
31155         * Makeconfig: Remove all but ELF support including AIX support.
31156         * Makerules: Likewise.
31157         * config.h.in: Likewise.
31158         * config.make.in: Likewise.
31159         * configure: Likewise.
31160         * configure.in: Likewise.
31161         * csu/Makefile: Likewise.
31162         * csu/version.c: Likewise.
31163         * debug/Makefile: Likewise.
31164         * dlfcn/Makefile: Likewise.
31165         * elf/Makefile: Likewise.
31166         * extra-lib.mk: Likewise.
31167         * iconv/Makefile: Likewise.
31168         * include/libc-symbols.h: Likewise.
31169         * include/shlib-compat.h: Likewise.
31170         * resolv/Makefile: Likewise.
31171         * resolv/res_libc.c: Likewise.
31172         * rt/Makefile: Likewise.
31173         * sysdeps/i386/asm-syntax.h: Likewise.
31174         * sysdeps/i386/sysdep.h: Likewise.
31175         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31176         * sysdeps/mach/sysdep.h: Likewise.
31177         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
31178         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
31179         * sysdeps/s390/asm-syntax.h: Likewise.
31180         * sysdeps/s390/s390-32/sysdep.h: Likewise.
31181         * sysdeps/s390/s390-64/sysdep.h: Likewise.
31182         * sysdeps/sh/sysdep.h: Likewise.
31183         * sysdeps/unix/sparc/sysdep.h: Likewise.
31184         * sysdeps/wordsize-32/divdi3.c: Likewise.
31185         * sysdeps/x86_64/sysdep.h: Likewise.
31187         * argp/Versions: Remove _argp_unlock_xxx.
31189         [BZ #13559]
31190         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
31191         * abilist/libBrokenLocale.abilist: Likewise.
31192         * abilist/libanl.abilist: Likewise.
31193         * abilist/libc.abilist: Likewise.
31194         * abilist/libcrypt.abilist: Likewise.
31195         * abilist/libdl.abilist: Likewise.
31196         * abilist/libm.abilist: Likewise.
31197         * abilist/libnsl.abilist: Likewise.
31198         * abilist/libpthread.abilist: Likewise.
31199         * abilist/libresolv.abilist: Likewise.
31200         * abilist/librt.abilist: Likewise.
31201         * abilist/libthread_db.abilist: Likewise.
31202         * abilist/libutil.abilist: Likewise.
31203         * abilist/libnss_db.abilist: New file.
31205         * scripts/abilist.awk: Add support for indirect functions.
31207         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
31209         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
31211         * shlib-versions: Remove entries for ports architectures.
31213         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
31214         files in ports.
31215         * elf/stackguard-macros.h: Remove support for IA-64.
31216         * elf/tst-auditmod1.c: Likewise.
31217         * sysdeps/generic/ldsodefs.h: Likewise.
31219         * sysdeps/unix/sysv/linux/configure.in: Ports should define
31220         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
31221         configure files.
31223         [BZ #13552]
31224         * configure.in: Remove --enable-omitfp support.
31225         * FAQ.in: Adjust.
31226         * config.make.in: Likewise.
31227         * Makeconfig: Likewise.
31228         * manual/install.texi: Likewise.
31230         In case anyone cares, the IA-64 architecture could move to ports.
31231         * sysdeps/ia64/*: Removed.
31232         * sysdeps/unix/sysv/linux/ia64/*: Removed.
31233         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
31235         [BZ #13555]
31236         * configure.in: Remove entries for unsupported architectures.
31238         [BZ #13533]
31239         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
31240         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
31241         routines.
31242         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
31243         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
31244         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
31245         fall back to using wcrtomb.
31246         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
31247         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
31248         renaming.
31249         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
31250         * wcsmbs/tst-c16c32-1.c: New file.
31252         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
31253         local variable.
31255         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
31257         * elf/tst-unique3.cc: Add explicit declaration of gets.
31258         * elf/tst-unique3lib.cc: Likewise.
31259         * elf/tst-unique3lib2.cc: Likewise.
31260         * elf/tst-unique4.cc: Likewise.
31262         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
31264 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
31266         [BZ #13566]
31267         * assert/assert.h (static_assert): Don't define for C++.
31268         * libio/stdio.h (gets): Do declare for C++ <= C++11.
31269         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
31271 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
31273         * iconv/loop.c (single loop): Fix assertion in storing of
31274         remaining bytes.
31276         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
31278 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
31280         * posix/getconf.c: Update copyright year.
31281         * nss/getent.c: Likewise.
31282         * nss/makedb.c: Likewise.
31283         * iconv/iconvconfig.c: Likewise.
31284         * iconv/iconv_prog.c: Likewise.
31285         * elf/ldconfig.c: Likewise.
31286         * elf/pldd.c: Likewise.
31287         * elf/sotruss.ksh: Likewise.
31288         * catgets/gencat.c: Likewise.
31289         * csu/version.c: Likewise.
31290         * elf/ldd.bash.in: Likewise.
31291         * elf/sprof.c (print_version): Likewise.
31292         * locale/programs/locale.c: Likewise.
31293         * locale/programs/localedef.c: Likewise.
31294         * login/programs/pt_chown.c: Likewise.
31295         * nscd/nscd.c (print_version): Likewise.
31296         * debug/xtrace.sh: Likewise.
31297         * malloc/memusage.sh: Likewise.
31298         * malloc/mtrace.pl: Likewise.
31299         * debug/catchsegv.sh: Likewise.
31301 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
31303         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
31304         pure attribute.
31306 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
31308         [BZ #13533]
31309         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
31310         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
31311         transformations.
31312         * iconv/gconv_int.h: Likewise.
31313         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
31314         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
31315         from libc for GLIBC_2.16.
31316         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
31317         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
31318         * wcsmbs/uchar.h: Really define mbstate_t.
31319         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
31320         * wcsmbs/c16rtomb.c: New file.
31321         * wcsmbs/mbrtoc16.c: New file.
31322         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
31323         for C/POSIX locale.
31324         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
31325         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
31327         * wcsmbs/wchar.h: Add missing __restrict.
31329 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
31331         [BZ #13532]
31332         * time/Makefile (routines): Add timespec_get.
31333         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
31334         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
31335         timespec for ISO C11.
31336         * time/timespec_get.c: New file.
31337         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
31338         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
31340         [BZ #13531]
31341         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
31342         * stdlib/stdlib.h: Declare aligned_alloc.
31343         * Versions.def: Add GLIBC_2.16 for libc.
31344         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
31346         [BZ 13527]
31347         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
31348         ISO C11.
31350         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
31351         code.
31353         [BZ #13528]
31354         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
31356         [BZ #13529]
31357         * assert/assert.h (static_assert): Define.
31359         * version.h: Update for 2.16 development version.
31361         [BZ #13526]
31362         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
31363         _ISOC11_SOURCE.
31365         * version.h (RELEASE): Bump for 2.15 release.
31366         * include/features.h (__GLIBC_MINOR__): Bump to 15.
31368         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
31369         Patch by Marek Polacek <mpolacek@redhat.com>.
31371         * bits/byteswap.h: Protect long long constants with __extension__.
31372         * sysdeps/i386/bits/byteswap.h: Likewise.
31373         * sysdeps/ia64/bits/byteswap.h: Likewise.
31374         * sysdeps/s390/bits/byteswap.h: Likewise.
31375         * sysdeps/x86_64/bits/byteswap.h: Likewise.
31377 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31379         [BZ #13540]
31380         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
31381         destination buffer.
31382         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
31384 2011-12-23  Marek Polacek  <polacek@redhat.com>
31386         * elf/dl-addr.c (determine_info): Add inline keyword.
31387         * elf/tst-auditmod4b.c (check_avx): Likewise.
31388         * elf/tst-auditmod6b.c (check_avx): Likewise.
31389         * elf/tst-auditmod6c.c (check_avx): Likewise.
31390         * elf/tst-auditmod7b.c (check_avx): Likewise.
31392 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
31394         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
31395         !__SSE_MATH__.
31397 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31399         [BZ #13540]
31400         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
31401         processing for last bytes.
31403 2011-08-06  Bruno Haible  <bruno@clisp.org>
31405         [BZ #13061]
31406         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
31407         U+0385, not to U+1FEE.
31409         [BZ #13062]
31410         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
31411         entry for U+00A5 U+0301.
31413 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
31415         [BZ #13166]
31416         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
31417         buffer for the output is too small.
31419         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
31420         optimization.
31422         [BZ #13185]
31423         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
31424         SSE flags if possible.
31426 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31428         [BZ #13540]
31429         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
31430         processing for last bytes.
31432 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
31434         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
31435         (syscall-list-default-options, syscall-list-default-condition)
31436         (syscall-list-includes): Define.
31437         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
31438         list of ABIs and options and #if conditions for each ABI.  Do not
31439         handle common syscalls between ABIs specially.
31440         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
31441         Remove.
31442         (syscall-list-variants, syscall-list-32bit-options)
31443         (syscall-list-32bit-condition, syscall-list-64bit-options)
31444         (syscall-list-64bit-condition): Define.
31445         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
31446         (syscall-list-variants, syscall-list-32bit-options)
31447         (syscall-list-32bit-condition, syscall-list-64bit-options)
31448         (syscall-list-64bit-condition): Define.
31449         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
31450         Remove.
31451         (syscall-list-variants, syscall-list-32bit-options)
31452         (syscall-list-32bit-condition, syscall-list-64bit-options)
31453         (syscall-list-64bit-condition): Define.
31454         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
31455         Remove.
31456         (syscall-list-variants, syscall-list-32bit-options)
31457         (syscall-list-32bit-condition, syscall-list-64bit-options)
31458         (syscall-list-64bit-condition): Define.
31460 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
31462         * locale/iso-639.def: Add brx entry.
31464         [BZ #13328]
31465         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
31466         Proposed by Mariusz_Cukr <marcukr@op.pl>.
31468         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
31469         __feraiseexcept_renamed.
31471 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
31473         [BZ #13538]
31474         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
31475         EPOLLET with unsigned values.
31476         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31477         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31479         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
31480         to large cancellation.
31481         * math/s_cacoshf.c: Likewise.
31482         * math/s_cacoshl.c: Likewise.
31484 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
31486         [BZ #13305]
31487         [BZ #12786]
31488         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
31489         * math/s_cacoshf.c: Likewise.
31490         * math/s_cacoshl.c: Likewise.
31492 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
31494         [BZ #13439]
31495         * iconv/gconv.h: Define __GCONV_SWAP.
31496         * iconvdata/unicode.c: The swap bit must be stored in __flags.
31497         * iconvdata/utf-16.c: Likewise.
31498         * iconvdata/utf-32.c: Likewise.
31500 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
31502         [BZ #13524]
31503         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
31504         numerator after shifting it by one limb.
31506 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
31508         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
31509         under [__USE_EXTERN_INLINES].
31511 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
31513         [BZ #13446]
31514         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
31516 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31518         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
31519         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
31520         optimized code.
31521         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
31522         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
31523         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
31524         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
31525         for strncasecmp/strncasecmp_l compilation.
31526         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
31527         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
31529 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
31531         [BZ #13484]
31532         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
31533         of __asm__.
31535 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
31537         [BZ #13506]
31538         * time/tzfile.c (__tzfile_read): Check values from file header.
31540 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
31542         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
31543         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
31544         * powerpc/powerpc32/dl-start.S: Likewise.
31545         * powerpc/powerpc32/elf/start.S: Likewise.
31546         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
31547         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
31548         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
31549         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
31550         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
31551         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
31552         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
31553         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
31554         * powerpc/powerpc32/fpu/s_round.S: Likewise.
31555         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
31556         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
31557         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
31558         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
31559         * powerpc/powerpc32/memset.S: Likewise.
31560         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
31561         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
31562         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
31563         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
31564         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
31565         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
31566         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
31567         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
31568         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
31569         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
31570         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
31571         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
31572         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
31574 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31576         * math/libm-test.inc: Added more nearbyint tests.
31577         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
31578         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
31579         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
31580         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
31582 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
31584         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
31585         FD_CLOEXEC.
31587 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31589         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
31590         Add wcscpy-ssse3 wcscpy-c.
31591         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
31592         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
31593         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
31594         * sysdeps/x86_64/wcschr.S: New file.
31595         * sysdeps/x86_64/wcsrchr.S: New file.
31596         * string/test-strcmp.c: Remove checking of wcscmp function for
31597         wrong alignments.
31598         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
31599         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
31600         wcsrchr-sse2 wcsrchr-c.
31601         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
31602         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
31603         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
31604         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
31605         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
31606         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
31607         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
31608         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
31609         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
31610         * wcsmbc/wcschr.c (WCSCHR): New macro.
31612 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31614         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
31615         * wcsmbs/test-wcsrchr.c: New file.
31616         * string/test-strrchr.c: Add wcsrchr support.
31617         (WIDE): New macro.
31618         * wcsmbs/test-wcscpy.c: New file.
31619         * string/test-strcpy.c: Add wcscpy support.
31620         (WIDE): New macro.
31622 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
31624         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
31625         the inner loop.
31627 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
31629         [BZ #13472]
31630         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
31632 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
31634         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
31635         Minor optimizations.
31637         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
31638         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
31639         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
31641 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
31643         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
31644         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
31645         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
31646         for gcc to avoid warnings.
31647         * inet/Makefile (tests): Add tst-checks.
31648         * inet/tst-checks.c: New file.
31650         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
31651         warning.
31653         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
31654         __wmemcmp_sse2.
31656         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
31657         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
31659         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
31661 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
31663         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
31664         problem.
31666         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
31668 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
31670         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
31671         conditional on GCC version.
31672         (__arch_compare_and_exchange_val_8_acq)
31673         (__arch_compare_and_exchange_val_16_acq)
31674         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
31675         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
31676         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
31678 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
31680         * sysdeps/sh/backtrace.c: New file.
31682 2011-12-02  Andreas Schwab  <schwab@redhat.com>
31684         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
31685         parenthesis.
31687 2011-12-01  Andreas Schwab  <schwab@redhat.com>
31689         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
31690         falling back to utime.
31692 2011-11-30  Andreas Schwab  <schwab@redhat.com>
31694         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
31695         expectations for float.
31697 2011-11-29  Andreas Schwab  <schwab@redhat.com>
31699         * locale/weight.h (findidx): Add parameter len.
31700         * locale/weightwc.h (findidx): Likewise.
31701         * posix/fnmatch_loop.c (FCT): Adjust caller.
31702         * posix/regcomp.c (build_equiv_class): Likewise.
31703         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
31704         * posix/regexec.c (check_node_accept_bytes): Likewise.
31705         * string/strcoll_l.c (STRCOLL): Likewise.
31706         * string/strxfrm_l.c (STRXFRM): Likewise.
31708 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
31710         * Makefile.in: Remove CVSOPT handling.
31711         * configure.in: Remove use of AC_REVISION.
31712         * iconvdata/Makefile (distribute): No need to filter out CVS.
31713         * scripts/list-sources.sh: Remove CVS, subversion and monotone
31714         handling.
31716 2011-11-16  Andreas Schwab  <schwab@redhat.com>
31718         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
31719         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
31720         [USE_AS_STRNCASECMP_L]: Likewise.
31721         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
31722         NO_TLS_DIRECT_SEG_REFS.
31723         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
31724         Fix argument offsets for non-PIC.
31725         [USE_AS_STRNCASECMP_L]: Likewise.
31726         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
31727         NO_TLS_DIRECT_SEG_REFS.
31729 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
31731         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
31732         O_CLOEXEC.
31733         * locale/loadlocale.c (_nl_load_locale): Likewise.
31735 2011-11-15  Andreas Schwab  <schwab@redhat.com>
31737         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
31738         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
31739         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
31740         (SYSCALL_GETTIME): Set errno on error.
31742         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
31743         count references to noai6ai_cached.
31745 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
31747         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
31749         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
31750         FD_CLOEXEC for /proc/self/maps.
31752         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
31753         FD_CLOEXEC for /proc/meminfo.
31755         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
31756         gai.conf.
31758         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
31759         FD_CLOEXEC for given file.
31761         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
31763         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
31764         FD_CLOEXEC for /etc/hosts.
31765         (_gethtent): Likewise.
31767         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
31769         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
31770         cancellation and set FD_CLOEXEC for /etc/netgroup.
31772         * nss/nss_files/files-key.c (search): Don't allow cancellation when
31773         reading /etc/publickey.
31775         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
31776         allow cancellation when reading /etc/group.
31778         * nss/nss_files/files-alias.c (internal_setent): Don't allow
31779         cancellation.
31780         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
31782         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
31783         when using data file.
31785         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
31787         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
31788         (write_nis_obj): Use "c" and "e" in fopen.
31790         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
31792         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
31794         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
31796         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
31798         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
31799         locale.alias.
31801         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
31803         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
31805         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
31807         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
31808         file parsing and set FD_CLOEXEC.
31810 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
31812         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
31814 2011-11-14  Andreas Schwab  <schwab@redhat.com>
31816         * malloc/arena.c (arena_get2): Don't call reused_arena when
31817         _int_new_arena failed.
31819 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
31821         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
31822         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
31823         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
31824         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31825         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31826         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
31827         to compile strcasecmp and strncasecmp.
31828         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
31829         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
31831         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
31833 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
31835         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
31836         locale-defines.sym to gen-as-const-headers.
31837         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
31838         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
31839         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
31840         to compile strcasecmp and strncasecmp.
31841         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
31842         strcasecmp_l and strncasecmp_l.
31843         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
31844         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
31845         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
31846         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
31847         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
31848         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
31849         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
31850         * sysdeps/i386/i686/multiarch/strncase.S: New file.
31851         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
31852         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
31853         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
31855 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
31857         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
31858         result of SYSDEP_GETTIME_CPU to retval.
31859         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
31860         parameter list to macro.  Remove trailing semicolon.  Adjust users.
31862         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
31863         variable.
31865         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
31866         mantissa words.
31867         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
31869         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
31870         from unused variable.
31872         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
31873         DWARF definitions.
31874         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
31875         for assembling.
31877         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
31878         over namespaces.
31880         * sunrpc/rpc_prot.c (rejected): Fix case value.
31882         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
31883         unsigned long long int to avoid warnings in shift.
31885         * posix/regex_internal.c (re_string_reconstruct): Actually use result
31886         of use of trans.
31887         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
31888         variable tmp.
31890         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
31891         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
31892         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
31894         * nis/nis_table.c (nis_list): Use variable of correct type for
31895         result of __follow_path call.
31897 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31899         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
31900         of math functions ceil, trunc, floor, round, and sqrt, when
31901         avaliable on the platform.
31902         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
31903         name clash.
31904         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
31905         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
31906         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
31908 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
31910         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
31911         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
31913 2011-11-11  Roland McGrath  <roland@hack.frob.com>
31915         * include/unistd.h: Fix __readlink return type.
31916         Reported by Chris Metcalf <cmetcalf@tilera.com>.
31918 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
31920         * stdlib/ucontext.h: Undo last change for makecontext.
31922 2011-11-11  Andreas Schwab  <schwab@redhat.com>
31924         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
31926         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
31927         * setjmp/setjmp.h: Mark functions as non-leaf.
31928         * setjmp/bits/setjmp2.h: Likewise.
31929         * stdlib/ucontext.h: Likewise.
31931 2011-11-10  Andreas Schwab  <schwab@redhat.com>
31933         * malloc/arena.c (_int_new_arena): Don't increment narenas.
31934         (reused_arena): Don't check arena limit.
31935         (arena_get2): Atomically check arena limit.
31937 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
31939         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
31940         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
31942         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
31943         instructions.
31945 2011-11-07  Andreas Schwab  <schwab@redhat.com>
31947         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
31948         handler when locking.
31950         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
31951         Fix size of allocated buffer.
31953 2011-11-04  Andreas Schwab  <schwab@redhat.com>
31955         [BZ #10103]
31956         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
31957         declarations for long double functions.
31958         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
31960         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
31962 2011-11-03  Andreas Schwab  <schwab@redhat.com>
31964         * nscd/nscd.c (main): Don't start AVC thread until credentials are
31965         installed.
31967         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
31968         is disabled.
31970 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31972         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
31974 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
31976         * include/alloca.h (stackinfo_alloca_round): Define.
31977         (extend_alloca): Use it.
31978         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
31979         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
31980         here.
31982         * scripts/check-local-headers.sh: Ignore libaudit.h.
31984         * nscd/Makefile (extra-objs): Make recursively expanded.
31986 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
31988         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
31989         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
31991         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
31992         * posix/tst-rfc3484-2.c: Likewise.
31993         * posix/tst-rfc3484-3.c: Likewise.
31995         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
31996         process_vm_writev.
31997         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
31998         process_vm_writev.
31999         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
32000         process_vm_writev from libc using GLIBC_2.15 version.
32002         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
32004 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
32006         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
32007         stack usage.
32009 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
32011         [BZ #13367]
32012         * nss/getent.c (initgroups_keys): Show error message in case no group
32013         names are given.
32015         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
32016         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
32017         __bump_nl_timestamp.
32018         * nscd/connections (nscd_init): When host database is served open
32019         netlink socket and request notification about configuration changes.
32020         (main_loop_poll): Track netlink file descriptor and bump timestamp
32021         in case data becomes available.
32022         (main_loop_epoll): Likewise.
32023         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
32024         (database_pers_head): Add extra_data fileds.
32025         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
32026         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
32027         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
32028         Adjust caller.
32029         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
32030         in6ai data, call __free_in6ai.
32031         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
32032         Add -DHAVE_NETLINK.
32033         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
32034         interface information.  Reuse previous data if netlink timestamp
32035         is not changed.
32036         (__bump_nl_timestamp): New function.
32037         (__free_in6ai): New function.
32039 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
32041         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
32042         close_not_cancel_no_status here.
32043         (__check_pf): Reorganize code a bit to not call close twice if OOM.
32045 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
32047         [BZ #13276]
32048         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
32049         return value.
32051         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
32052         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
32053         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
32055 2011-07-03  Andreas Jaeger  <aj@suse.de>
32057         [BZ #10709]
32058         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
32059         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
32060         * math/libm-test.inc (sin_test): Add test case.
32062 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
32064         [BZ #13337]
32065         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
32066         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32068         * elf/chroot_canon.c (chroot_canon): Cleanups.
32070         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
32072         [BZ #13335]
32073         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
32074         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32076         * string/test-strchr.c: Make usable for strchrnul testing.
32077         * string/test-strchrnul.c: New file.
32078         * string/Makefile (strop-tests): Add strchrnul.
32080         * po/it.po: Update from translation team.
32081         * po/es.po: Likewise.
32083 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
32085         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
32086         the three constants needed as parameters.  Drop the others.
32087         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
32088         __m128i_strloadu_tolower.
32089         Create and initialize variable zero and use it in all the places
32090         where _mm_setzero_si128 was used.
32092         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
32093         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
32094         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
32095         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
32096         anymore.
32097         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
32098         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
32099         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
32100         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
32101         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
32102         __mpranred, __mptan.
32103         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
32104         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
32105         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
32106         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
32107         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
32108         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
32109         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
32110         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
32111         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
32113 2011-10-28  Andreas Schwab  <schwab@redhat.com>
32115         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
32116         redefine if SHARED.
32117         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
32119         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
32120         wide char related routines to wcsmbs subdir.
32122 2011-10-27  Andreas Schwab  <schwab@redhat.com>
32124         [BZ #13344]
32125         * misc/sys/cdefs.h (__THROWNL): Define.
32126         * posix/unistd.h: Use __THREADNL instead of __THREAD
32127         for memory synchronization functions.
32129 2011-10-26  Roland McGrath  <roland@hack.frob.com>
32131         [BZ #13349]
32132         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
32133         doesn't exist.
32134         * manual/stdio.texi (Obstack Streams): Node removed.
32136 2011-10-26  Andreas Schwab  <schwab@redhat.com>
32138         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
32139         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32140         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32142         * math/math_private.h (math_force_eval): Allow non-addressable
32143         arguments.
32144         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
32146 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
32148         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
32149         file is not needed.
32151         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
32152         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
32153         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32154         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32155         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32156         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32157         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32158         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
32159         Add AVX variants.
32160         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
32161         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
32162         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
32163         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
32164         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
32165         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
32166         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
32167         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
32168         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
32169         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
32170         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
32171         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
32172         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
32173         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
32174         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
32175         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
32176         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
32177         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
32178         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
32180         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
32181         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
32183         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
32184         place.  Use VEX encoding when compiling for AVX.
32186 2011-10-25  Andreas Schwab  <schwab@redhat.com>
32188         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
32189         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
32191         * string/test-strchr.c (do_test): Don't generate NUL bytes.
32193 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
32195         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
32196         useless if() expression.
32197         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32198         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
32199         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32200         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32201         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32202         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32203         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32204         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32205         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
32206         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32207         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32208         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32209         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
32210         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32211         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
32212         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32213         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
32214         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
32215         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
32217         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
32219 2011-10-25  Andreas Schwab  <schwab@redhat.com>
32221         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
32222         condition.
32223         * elf/dl-fini.c (_dl_sort_fini): Likewise.
32225 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
32227         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
32228         .text section.  Avoid duplicate constants.
32229         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32230         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32231         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32232         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32233         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32234         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32235         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32236         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32237         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
32238         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
32239         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
32240         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32241         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
32242         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
32243         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
32244         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
32245         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
32246         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
32247         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32248         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32249         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32250         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32251         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32252         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
32253         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
32254         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
32255         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
32256         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
32257         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
32258         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
32259         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
32260         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
32261         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32262         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
32263         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
32264         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
32265         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
32266         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
32267         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
32268         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
32269         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
32270         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
32271         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
32272         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
32273         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
32275 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
32277         * sysdeps/x86_64/dla.h: Move to ...
32278         * sysdeps/x86_64/fpu/dla.h: ...here.
32279         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
32280         situations.  Use __builtin_fma only for gcc 4.6 and up.
32282         * config.make.in: Add have-mfma4 entry.
32283         * configure.in: Substitute libc_cv_cc_fma4.
32284         * math/Makefile (dbl-only-routines): Add sincostab.
32285         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
32286         Use __sincostab not sincos.
32287         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
32288         name is a macro.
32289         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32290         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32291         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32292         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
32293         using __copysign.
32294         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
32295         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
32296         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
32297         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
32298         and __inv.
32299         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
32300         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
32301         __copysign.
32302         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
32303         define aliases when function name is a macro.
32304         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
32305         sysdeps/ieee754/dbl-64/sincos.tbl.
32306         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
32307         fma4-enabled routines.
32308         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
32309         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
32310         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
32311         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
32312         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
32313         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
32314         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
32315         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
32316         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
32317         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
32318         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
32319         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
32320         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
32321         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
32322         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
32323         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
32324         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
32325         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
32326         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
32327         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
32328         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
32329         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
32330         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
32331         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
32332         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
32333         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
32334         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
32335         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
32336         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
32337         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
32339         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
32340         rename.
32341         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32342         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32343         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32344         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32345         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32346         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32347         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32348         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32350 2011-10-24  Andreas Schwab  <schwab@redhat.com>
32352         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
32354 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
32356         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
32358         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
32359         prediction.
32360         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
32362         * string/strnlen.c: Don't define STRNLEN, reverse logic.
32363         Remove unused variable magic_bits.
32364         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
32366         * string/strnlen.c: Define and use STRNLEN macro.
32367         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
32368         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
32369         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
32370         * wcsmbs/wcslen.c: Define and use WCSLEN.
32371         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
32372         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
32373         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
32374         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
32375         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
32376         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
32377         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
32379 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32381         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32382         strnlen-sse2-no-bsf.
32383         Rename strlen-no-bsf to strlen-sse2-no-bsf.
32384         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
32385         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
32386         Add strnlen support.
32387         (USE_AS_STRNLEN): New macro.
32388         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
32389         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
32390         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
32391         * sysdeps/x86_64/wcslen.S: New file.
32393 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
32395         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
32396         XMM-moves are used for copying on small sizes.
32398 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32400         * wcsmbs/Makefile (strop-tests): Add wcschr.
32401         * wcsmbs/test-wcschr.c: New file.
32402         * string/test-strchr.c: Update.
32403         Add wcschr support.
32404         (WIDE): New macro.
32406 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32408         * wcsmbs/Makefile (strop-tests): Add wcslen.
32409         * wcsmbs/test-wcslen.c: New file.
32410         * string/test-strlen.c: Update.
32411         Add wcslen support.
32412         (WIDE): New macro.
32414 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
32416         * po/it.po: Update from translation team.
32418 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32420         * sysdeps/x86_64/wcscmp.S: Update.
32421         Fix wrong comparison semantics.
32422         wcscmp shall use signed comparison not unsigned.
32423         Don't use substraction to avoid overflow bug.
32424         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
32425         * wcsmbc/wcscmp.c: Likewise.
32426         * string/test-strcmp.c: Likewise.
32427         Add new tests to check cases with negative values.
32429 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
32431         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
32432         * sysdeps/x86_64/dla.h: ...here.  New file.
32433         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
32434         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32435         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32436         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32437         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32438         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32439         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32440         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32441         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32443 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
32445         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
32446         __ynl_finite aliases.
32448 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
32450         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32452         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
32453         define DLA_FMA.
32454         [DLA_FMA] (EMULV): Use DLA_FMA.
32455         [DLA_FMA] (MUL12): Use EMULV.
32456         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
32457         that are not needed.
32458         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32459         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32460         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32461         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32462         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32463         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32464         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32466 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
32468         * math/s_nan.c: Undef __nan.
32469         * math/s_nanf.c: Undef __nanf.
32470         * math/s_nanl.c: Undef __nanl.
32471         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
32472         "math_private.h".
32474 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
32476         * math/s_catan.c: Add branch predictions.
32477         * math/s_catanf.c: Likewise.
32478         * math/s_catanh.c: Likewise.
32479         * math/s_catanhf.c: Likewise.
32480         * math/s_catanhl.c: Likewise.
32481         * math/s_catanl.c: Likewise.
32482         * math/s_cexp.c: Likewise.
32483         * math/s_cexpf.c: Likewise.
32484         * math/s_cexpl.c: Likewise.
32485         * math/s_clog.c: Likewise.
32486         * math/s_clog10.c: Likewise.
32487         * math/s_clog10f.c: Likewise.
32488         * math/s_clog10l.c: Likewise.
32489         * math/s_clogf.c: Likewise.
32490         * math/s_clogl.c: Likewise.
32491         * math/s_csqrt.c: Likewise.
32492         * math/s_csqrtf.c: Likewise.
32493         * math/s_csqrtl.c: Likewise.
32494         * math/s_ctanf.c: Likewise.
32495         * math/s_ctanh.c: Likewise.
32496         * math/s_ctanhf.c: Likewise.
32497         * math/s_ctanhl.c: Likewise.
32498         * math/s_ctanl.c: Likewise.
32500         * math/math_private.h: Define __nan, __nanf, __nanl.
32501         * math/s_cacosh.c: Include <math_private.h>.
32502         * math/s_cacoshl.c: Likewise.
32503         * math/s_casinh.c: Likewise.
32504         * math/s_casinhf.c: Likewise.
32505         * math/s_casinhl.c: Likewise.
32506         * math/s_ccos.c: Rely entire on ccosh.
32507         * math/s_ccosf.c: Rely entire on ccoshf.
32508         * math/s_ccosl.c: Rely entirely on ccoshl.
32509         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
32510         Remove tests for FE_INVALID.
32511         * math/s_ccoshf.c: Likewise.
32512         * math/s_ccoshl.c: Likewise.
32513         * math/s_csin.c: Likewise.
32514         * math/s_csinf.c: Likewise.
32515         * math/s_csinh.c Likewise.
32516         * math/s_csinhf.c: Likewise.
32517         * math/s_csinhl.c: Likewise.
32518         * math/s_csinl.c: Likewise.
32519         * math/s_ctan.c: Likewise.
32520         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
32521         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
32522         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
32524 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
32526         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
32527         compilation problems.
32529         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
32530         __builtin_expect.
32532 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
32534         * sysdeps/i386/configure.in: Test for -mfma4 option.
32535         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
32536         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
32537         COMMON_CPUID_INDEX_80000001.
32538         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
32539         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
32540         use it if FMA3 is not supported.
32541         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
32543         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
32544         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
32546 2011-10-20  Andreas Schwab  <schwab@redhat.com>
32548         [BZ #12892]
32549         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
32550         it would create a cycle with a link time dependency.
32552 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
32554         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
32555         instruction.
32556         * string/Makefile (strop-tests): Add rawmemchr.
32557         * string/test-rawmemchr.c: New file.
32559         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
32560         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
32561         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
32562         when compiling str{,n}casecmp and when AVX is available.  Hook up
32563         new optimized code in initializers.
32565 2011-10-19  Andreas Schwab  <schwab@redhat.com>
32567         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
32568         __feraiseexcept instead of feraiseexcept.
32570 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
32572         * math/math_private.h: Define defaults for libc_fetestexcept and
32573         libc_feupdateenv.
32574         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
32575         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
32576         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
32577         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
32578         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
32579         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
32580         libc_fetestexcept and libc_feupdateenv.
32582         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
32583         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
32584         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
32585         * sysdeps/x86_64/fpu/math_private.h: Define special version of
32586         libc_feholdexcept_setround.
32588         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
32589         Add s_nearbyint-c and s_nearbyintf-c.
32590         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
32591         nearbyintf inlines.
32592         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
32593         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
32594         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
32595         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
32597         * math/math_private.h: Define defaults for libc_fegetround,
32598         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
32599         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
32600         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
32601         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
32602         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
32603         standard functions.
32604         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
32605         Remove comments and hacks for old compiler versions.
32606         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
32607         libc_fegetround, libc_fesetround, libc_feholdexcept, and
32608         libc_feholdexceptl.
32610 2011-10-18  Andreas Schwab  <schwab@redhat.com>
32612         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
32613         (__feraiseexcept_renamed): Add __NTH.
32614         (feraiseexcept): Add __NTH.  Rename local variables to fix
32615         namespace violations.
32617 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
32619         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
32621         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
32623         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
32624         recently added interfaces.
32625         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
32627         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
32628         about macro parameter expansion.
32630         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
32631         __NO_MATH_INLINES is defined.  Cleanups.
32633         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
32634         and __floorf is target has SSE4.1.
32635         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
32636         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
32637         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
32638         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
32640         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
32641         name.
32642         (floorf): Likewise.
32644         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
32646 2011-10-17  Andreas Schwab  <schwab@redhat.com>
32648         * misc/sys/cdefs.h: Fix last change.
32650         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
32651         database lookup.
32653 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
32655         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
32657         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
32658         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32659         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
32660         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32661         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32662         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
32663         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32664         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32665         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
32666         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
32667         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
32668         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
32669         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
32670         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
32671         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
32672         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
32673         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
32674         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
32675         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
32676         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
32677         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
32678         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
32680         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
32681         ceil, ceilf, floor, floorf.
32683         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
32684         Perform IRELATIVE relocations last.
32686         * elf/do-rel.h: Add another parameter nrelative, replacing the
32687         local variable with the same name.  Change name of the function
32688         to end in Rel or Rela (uppercase).
32689         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
32690         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
32691         elf_dynamic_do_##reloc function.
32693 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
32695         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
32696         is sufficient, at least on modern CPUs.
32698         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
32700         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
32701         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
32703         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
32704         __expl_finite.
32705         * math/bits/math-finite.h: Add entries for exp.
32706         * math/e_expl.c: Add __*_finite alias.
32707         * sysdeps/i386/fpu/e_exp.S: Likewise.
32708         * sysdeps/i386/fpu/e_expf.S: Likewise.
32709         * sysdeps/i386/fpu/e_expl.c: Likewise.
32710         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32711         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
32712         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
32713         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
32714         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
32715         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
32716         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
32718         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
32719         is sufficient, at least on modern CPUs.
32721         * ctype/ctype-info.c (__ctype_init): Define.
32722         * include/ctype.h (__ctype_init): Declare.
32723         (__ctype_b_loc): The variable is always initialized.
32724         (__ctype_toupper_loc): Likewise.
32725         (__ctype_tolower_loc): Likewise.
32726         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
32727         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
32729 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
32731         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
32733         * configure.in: Also look in $cxxmachine/include for C++ system
32734         headers.
32736 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32738         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
32739         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
32740         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
32741         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
32742         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
32743         (USE_AS_WMEMCMP): New macro.
32744         Fixing indents.
32745         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
32746         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
32747         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
32748         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
32749         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32750         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
32751         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
32752         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
32753         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
32754         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
32755         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
32756         (USE_AS_WMEMCMP): New macro.
32757         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
32758         * sysdeps/string/test-memcmp.c: Update.
32759         Fix simple_wmemcmp.
32760         Add new tests.
32761         * wcsmbs/wmemcmp.c: Update.
32762         (WMEMCMP): New macro.
32763         Fix overflow bug.
32765 2011-10-12  Andreas Jaeger  <aj@suse.de>
32767         [BZ #13268]
32768         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
32770 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
32772         * libio/iofwide.c (do_length): Avoid warning.
32774         * ctype/ctype.h (__isctype_f): Add missing __THROW.
32776 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
32778         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
32780         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
32781         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
32782         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
32783         * sysdeps/i386/i686/fpu/e_log.S: New file.
32784         * sysdeps/i386/i686/fpu/e_logf.S: New file.
32785         * sysdeps/i386/i686/fpu/e_logl.S: New file.
32787         * ctype/ctype.h: Add support for inlined isXXX functions when
32788         compiling C++ code.
32790 2011-10-14  Andreas Schwab  <schwab@redhat.com>
32792         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32794         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
32796 2011-10-13  Roland McGrath  <roland@hack.frob.com>
32798         [BZ #13291]
32799         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
32801 2011-10-13  Andreas Schwab  <schwab@redhat.com>
32803         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
32804         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
32805         feraiseexcept.
32807         * sysdeps/x86_64/memrchr.S: Check for zero size.
32809         * string/stratcliff.c: Add memrchr tests.
32811 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32813         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32814         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
32815         rawmemchr-sse2 rawmemchr-sse2-bsf.
32816         * sysdeps/i386/i686/multiarch/memchr.S: New file.
32817         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
32818         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
32819         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
32820         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
32821         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
32822         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
32823         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
32824         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
32825         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
32826         * string/memrchr.c (MEMRCHR): New macro.
32828 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
32830         Add integration with gcc's -ffinite-math-only and optimize wrapper
32831         functions in libm.
32832         * Versions.def: Define GLIBC_2.15 version for libm.
32833         * math/Makefile (headers): Add bits/math-finite.h.
32834         * math/bits/math-finite.h: New file.
32835         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
32836         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
32837         * math/e_acoshl.c: Add __*_finite alias.
32838         * math/e_acosl.c: Likewise.
32839         * math/e_asinl.c: Likewise.
32840         * math/e_atan2l.c: Likewise.
32841         * math/e_atanhl.c: Likewise.
32842         * math/e_coshl.c: Likewise.
32843         * math/e_exp10.c: Likewise.
32844         * math/e_exp10f.c: Likewise.
32845         * math/e_exp10l.c: Likewise.
32846         * math/e_exp2l.c: Likewise.
32847         * math/e_fmodl.c: Likewise.
32848         * math/e_gammal_r.c: Likewise.
32849         * math/e_hypotl.c: Likewise.
32850         * math/e_j0l.c: Likewise.
32851         * math/e_j1l.c: Likewise.
32852         * math/e_jnl.c: Likewise.
32853         * math/e_lgammal_r.c: Likewise.
32854         * math/e_log10l.c: Likewise.
32855         * math/e_log2l.c: Likewise.
32856         * math/e_logl.c: Likewise.
32857         * math/e_powl.c: Likewise.
32858         * math/e_sinhl.c: Likewise.
32859         * math/e_sqrtl.c: Likewise.
32860         * math/e_scalb.c: Completely rewritten and optimized.
32861         * math/e_scalbf.c: Likewise.
32862         * math/e_scalbl.c: Likewise.
32863         * math/w_acos.c: Likewise.
32864         * math/w_acosf.c: Likewise.
32865         * math/w_acosl.c: Likewise.
32866         * math/w_acosh.c: Likewise.
32867         * math/w_acoshf.c: Likewise.
32868         * math/w_acoshl.c: Likewise.
32869         * math/w_asin.c: Likewise.
32870         * math/w_asinf.c: Likewise.
32871         * math/w_asinl.c: Likewise.
32872         * math/w_atan2.c: Likewise.
32873         * math/w_atan2f.c: Likewise.
32874         * math/w_atan2l.c: Likewise.
32875         * math/w_atanh.c: Likewise.
32876         * math/w_atanhf.c: Likewise.
32877         * math/w_atanhl.c: Likewise.
32878         * math/w_exp10.c: Likewise.
32879         * math/w_exp10f.c: Likewise.
32880         * math/w_exp10l.c: Likewise.
32881         * math/w_fmod.c: Likewise.
32882         * math/w_fmodf.c: Likewise.
32883         * math/w_fmodl.c: Likewise.
32884         * math/w_j0.c: Likewise.
32885         * math/w_j0f.c: Likewise.
32886         * math/w_j0l.c: Likewise.
32887         * math/w_j1.c: Likewise.
32888         * math/w_j1f.c: Likewise.
32889         * math/w_j1l.c: Likewise.
32890         * math/w_jn.c: Likewise.
32891         * math/w_jnf.c: Likewise.
32892         * math/w_log.c: Likewise.
32893         * math/w_logf.c: Likewise.
32894         * math/w_logl.c: Likewise.
32895         * math/w_log10.c: Likewise.
32896         * math/w_log10f.c: Likewise.
32897         * math/w_log10l.c: Likewise.
32898         * math/w_log2.c: Likewise.
32899         * math/w_log2f.c: Likewise.
32900         * math/w_log2l.c: Likewise.
32901         * math/w_pow.c: Likewise.
32902         * math/w_powf.c: Likewise.
32903         * math/w_powl.c: Likewise.
32904         * math/w_remainder.c: Likewise.
32905         * math/w_remainderf.c: Likewise.
32906         * math/w_remainderl.c: Likewise.
32907         * math/w_scalb.c: Likewise.
32908         * math/w_scalbf.c: Likewise.
32909         * math/w_scalbl.c: Likewise.
32910         * math/w_sqrt.c: Likewise.
32911         * math/w_sqrtf.c: Likewise.
32912         * math/w_sqrtl.c: Likewise.
32913         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
32914         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
32915         used.
32916         * math/math_private.h: Declare __kernel_standard_f.
32917         * math/w_cosh.c: Remove cruft and optimize a bit.
32918         * math/w_coshf.c: Likewise.
32919         * math/w_coshl.c: Likewise.
32920         * math/w_exp2.c: Likewise.
32921         * math/w_exp2f.c: Likewise.
32922         * math/w_exp2l.c: Likewise.
32923         * math/w_hypot.c: Likewise.
32924         * math/w_hypotf.c: Likewise.
32925         * math/w_hypotl.c: Likewise.
32926         * math/w_lgamma.c: Likewise.
32927         * math/w_lgamma_r.c: Likewise.
32928         * math/w_lgammaf.c: Likewise.
32929         * math/w_lgammaf_r.c: Likewise.
32930         * math/w_lgammal.c: Likewise.
32931         * math/w_lgammal_r.c: Likewise.
32932         * math/w_sinh.c: Likewise.
32933         * math/w_sinhf.c: Likewise.
32934         * math/w_sinhl.c: Likewise.
32935         * math/w_tgamma.c: Likewise.
32936         * math/w_tgammaf.c: Likewise.
32937         * math/w_tgammal.c: Likewise.
32938         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
32939         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32940         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
32941         Minor optimizations.  Pretty printing.  Remove cruft.
32942         * sysdeps/i386/fpu/e_acosf.S: Likewise.
32943         * sysdeps/i386/fpu/e_acosh.S: Likewise.
32944         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32945         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
32946         * sysdeps/i386/fpu/e_acosl.c: Likewise.
32947         * sysdeps/i386/fpu/e_asin.S: Likewise.
32948         * sysdeps/i386/fpu/e_asinf.S: Likewise.
32949         * sysdeps/i386/fpu/e_atan2.S: Likewise.
32950         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
32951         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
32952         * sysdeps/i386/fpu/e_atanh.S: Likewise.
32953         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32954         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32955         * sysdeps/i386/fpu/e_exp10.S: Likewise.
32956         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
32957         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
32958         * sysdeps/i386/fpu/e_exp2.S: Likewise.
32959         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
32960         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
32961         * sysdeps/i386/fpu/e_fmod.S: Likewise.
32962         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
32963         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
32964         * sysdeps/i386/fpu/e_hypot.S: Likewise.
32965         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
32966         * sysdeps/i386/fpu/e_log.S: Likewise.
32967         * sysdeps/i386/fpu/e_log10.S: Likewise.
32968         * sysdeps/i386/fpu/e_log10f.S: Likewise.
32969         * sysdeps/i386/fpu/e_log10l.S: Likewise.
32970         * sysdeps/i386/fpu/e_log2.S: Likewise.
32971         * sysdeps/i386/fpu/e_log2f.S: Likewise.
32972         * sysdeps/i386/fpu/e_log2l.S: Likewise.
32973         * sysdeps/i386/fpu/e_logf.S: Likewise.
32974         * sysdeps/i386/fpu/e_logl.S: Likewise.
32975         * sysdeps/i386/fpu/e_pow.S: Likewise.
32976         * sysdeps/i386/fpu/e_powf.S: Likewise.
32977         * sysdeps/i386/fpu/e_powl.S: Likewise.
32978         * sysdeps/i386/fpu/e_remainder.S: Likewise.
32979         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
32980         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
32981         * sysdeps/i386/fpu/e_scalb.S: Likewise.
32982         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
32983         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32984         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
32985         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
32986         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
32987         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
32988         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32989         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32990         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
32991         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
32992         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
32993         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
32994         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
32995         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32996         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
32997         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
32998         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
32999         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33000         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33001         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33002         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33003         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33004         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33005         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33006         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33007         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33008         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33009         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33010         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33011         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33012         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33013         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
33014         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33015         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
33016         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33017         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33018         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33019         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33020         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33021         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33022         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33023         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33024         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33025         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33026         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33027         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33028         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33029         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33030         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33031         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33032         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33033         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33034         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33035         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33036         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
33037         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33038         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33039         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33040         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33041         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33042         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33043         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33044         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33045         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33046         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33047         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33048         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33049         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33050         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33051         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33052         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33053         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33054         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33055         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
33056         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33057         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33058         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33059         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33060         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33061         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33062         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33063         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
33064         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33065         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33066         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33067         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33068         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33069         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
33070         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33071         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33072         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33073         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33074         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33075         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33076         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33077         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33078         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33079         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33080         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
33081         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33082         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
33083         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
33084         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
33085         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
33086         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
33087         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
33088         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
33089         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
33090         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
33091         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
33092         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
33093         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
33094         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33095         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
33096         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
33097         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
33098         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
33099         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
33100         (__isnanf): Likewise.
33101         (__isinf_ns): Likewise.
33102         (__isinf_nsf): Likewise.
33103         (__finite): Likewise.
33104         (__finitef): Likewise.
33105         (__ieee754_sqrt): Define as macro.
33106         (__ieee754_sqrtf): Define as macro.
33107         (__ieee754_sqrtl): Define as macro.
33108         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
33109         inlined copy.
33110         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
33111         __FINITE_MATH_ONLY__ consistent.
33112         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
33114 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
33116         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
33117         of rawmemchr.
33119         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
33121 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
33123         * po/ja.po: Update from translation team.
33125 2011-10-08  Roland McGrath  <roland@hack.frob.com>
33127         * locale/programs/locarchive.c (prepare_address_space): New function.
33128         (create_archive, enlarge_archive, open_archive): Use it.
33130         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
33131         inside [SHARED], where it is used.
33133         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
33135         * nss/getent.c (netgroup_keys): Remove unused variable.
33136         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33138 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
33140         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
33141         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
33142         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
33143         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
33144         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
33145         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
33146         * math/Makefile (libm-calls): Add s_isinf_ns.
33147         * math/divtc3.c: Use __isinf_nsl instead of isinf.
33148         * math/multc3.c: Likewise.
33149         * math/s_casin.c: Likewise.
33150         * math/s_casinf.c: Likewise.
33151         * math/s_casinl.c: Likewise.
33152         * math/s_ccos.c: Likewise.
33153         * math/s_ccosf.c: Likewise.
33154         * math/s_ccosl.c: Likewise.
33155         * math/s_ctan.c: Likewise.
33156         * math/s_ctanf.c: Likewise.
33157         * math/s_ctanh.c: Likewise.
33158         * math/s_ctanhf.c: Likewise.
33159         * math/s_ctanhl.c: Likewise.
33160         * math/s_ctanl.c: Likewise.
33161         * math/w_fmod.c: Likewise.
33162         * math/w_fmodf.c: Likewise.
33163         * math/w_fmodl.c: Likewise.
33164         * math/w_remainder.c: Likewise.
33165         * math/w_remainderf.c: Likewise.
33166         * math/w_remainderl.c: Likewise.
33167         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
33168         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
33169         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
33170         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
33171         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
33172         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
33173         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
33174         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
33176         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
33177         of the number.
33178         * stdio-common/printf_fphex.c: Likewise.
33179         * stdio-common/printf_size.c: Likewise.
33181         * math/e_exp10.c: Include math_private.h using <...> not "...".
33182         * math/e_exp10f.c: Likewise.
33183         * math/e_exp10l.c: Likewise.
33184         * math/e_exp2l.c: Likewise.
33185         * math/e_j0l.c: Likewise.
33186         * math/e_j1l.c: Likewise.
33187         * math/e_jnl.c: Likewise.
33188         * math/e_lgammal_r.c: Likewise.
33189         * math/e_rem_pio2l.c: Likewise.
33190         * math/e_scalb.c: Likewise.
33191         * math/e_scalbf.c: Likewise.
33192         * math/e_scalbl.c: Likewise.
33193         * math/k_cosl.c: Likewise.
33194         * math/k_sinl.c: Likewise.
33195         * math/k_tanl.c: Likewise.
33196         * math/s_cacoshf.c: Likewise.
33197         * math/s_catan.c: Likewise.
33198         * math/s_catanf.c: Likewise.
33199         * math/s_catanh.c: Likewise.
33200         * math/s_catanhf.c: Likewise.
33201         * math/s_catanhl.c: Likewise.
33202         * math/s_catanl.c: Likewise.
33203         * math/s_ccosh.c: Likewise.
33204         * math/s_ccoshf.c: Likewise.
33205         * math/s_ccoshl.c: Likewise.
33206         * math/s_cexp.c: Likewise.
33207         * math/s_cexpf.c: Likewise.
33208         * math/s_cexpl.c: Likewise.
33209         * math/s_clog.c: Likewise.
33210         * math/s_clog10.c: Likewise.
33211         * math/s_clog10f.c: Likewise.
33212         * math/s_clog10l.c: Likewise.
33213         * math/s_clogf.c: Likewise.
33214         * math/s_clogl.c: Likewise.
33215         * math/s_csin.c: Likewise.
33216         * math/s_csinf.c: Likewise.
33217         * math/s_csinh.c: Likewise.
33218         * math/s_csinhf.c: Likewise.
33219         * math/s_csinhl.c: Likewise.
33220         * math/s_csinl.c: Likewise.
33221         * math/s_csqrt.c: Likewise.
33222         * math/s_csqrtf.c: Likewise.
33223         * math/s_csqrtl.c: Likewise.
33224         * math/s_ctan.c: Likewise.
33225         * math/s_ctanf.c: Likewise.
33226         * math/s_ctanh.c: Likewise.
33227         * math/s_ctanhf.c: Likewise.
33228         * math/s_ctanhl.c: Likewise.
33229         * math/s_ctanl.c: Likewise.
33230         * math/s_ldexp.c: Likewise.
33231         * math/s_ldexpf.c: Likewise.
33232         * math/s_ldexpl.c: Likewise.
33233         * math/s_significand.c: Likewise.
33234         * math/s_significandf.c: Likewise.
33235         * math/s_significandl.c: Likewise.
33236         * math/w_acos.c: Likewise.
33237         * math/w_acosf.c: Likewise.
33238         * math/w_acosh.c: Likewise.
33239         * math/w_acoshf.c: Likewise.
33240         * math/w_acoshl.c: Likewise.
33241         * math/w_acosl.c: Likewise.
33242         * math/w_asin.c: Likewise.
33243         * math/w_asinf.c: Likewise.
33244         * math/w_asinl.c: Likewise.
33245         * math/w_atan2.c: Likewise.
33246         * math/w_atan2f.c: Likewise.
33247         * math/w_atan2l.c: Likewise.
33248         * math/w_atanh.c: Likewise.
33249         * math/w_atanhf.c: Likewise.
33250         * math/w_atanhl.c: Likewise.
33251         * math/w_cosh.c: Likewise.
33252         * math/w_coshf.c: Likewise.
33253         * math/w_coshl.c: Likewise.
33254         * math/w_dremf.c: Likewise.
33255         * math/w_exp10.c: Likewise.
33256         * math/w_exp10f.c: Likewise.
33257         * math/w_exp10l.c: Likewise.
33258         * math/w_exp2.c: Likewise.
33259         * math/w_exp2f.c: Likewise.
33260         * math/w_fmod.c: Likewise.
33261         * math/w_fmodf.c: Likewise.
33262         * math/w_fmodl.c: Likewise.
33263         * math/w_hypot.c: Likewise.
33264         * math/w_hypotf.c: Likewise.
33265         * math/w_hypotl.c: Likewise.
33266         * math/w_j0.c: Likewise.
33267         * math/w_j0f.c: Likewise.
33268         * math/w_j0l.c: Likewise.
33269         * math/w_j1.c: Likewise.
33270         * math/w_j1f.c: Likewise.
33271         * math/w_j1l.c: Likewise.
33272         * math/w_jn.c: Likewise.
33273         * math/w_jnf.c: Likewise.
33274         * math/w_jnl.c: Likewise.
33275         * math/w_lgamma.c: Likewise.
33276         * math/w_lgamma_r.c: Likewise.
33277         * math/w_lgammaf.c: Likewise.
33278         * math/w_lgammaf_r.c: Likewise.
33279         * math/w_lgammal.c: Likewise.
33280         * math/w_lgammal_r.c: Likewise.
33281         * math/w_log.c: Likewise.
33282         * math/w_log10.c: Likewise.
33283         * math/w_log10f.c: Likewise.
33284         * math/w_log10l.c: Likewise.
33285         * math/w_log2.c: Likewise.
33286         * math/w_log2f.c: Likewise.
33287         * math/w_log2l.c: Likewise.
33288         * math/w_logf.c: Likewise.
33289         * math/w_logl.c: Likewise.
33290         * math/w_pow.c: Likewise.
33291         * math/w_powf.c: Likewise.
33292         * math/w_powl.c: Likewise.
33293         * math/w_remainder.c: Likewise.
33294         * math/w_remainderf.c: Likewise.
33295         * math/w_remainderl.c: Likewise.
33296         * math/w_scalb.c: Likewise.
33297         * math/w_scalbf.c: Likewise.
33298         * math/w_scalbl.c: Likewise.
33299         * math/w_sinh.c: Likewise.
33300         * math/w_sinhf.c: Likewise.
33301         * math/w_sinhl.c: Likewise.
33302         * math/w_sqrt.c: Likewise.
33303         * math/w_sqrtf.c: Likewise.
33304         * math/w_sqrtl.c: Likewise.
33305         * math/w_tgamma.c: Likewise.
33306         * math/w_tgammaf.c: Likewise.
33307         * math/w_tgammal.c: Likewise.
33309         * po/ja.po: Update from translation team.
33311 2011-09-29  Andreas Jaeger  <aj@suse.de>
33313         [BZ #13179]
33314         * sunrpc/netname.c (netname2host): Fix logic.
33316         [BZ #6779]
33317         [BZ #6783]
33318         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
33319         correctly.
33320         * math/w_remainder.c (__remainder): Likewise.
33321         * math/w_remainderf.c (__remainderf): Likewise.
33322         * math/libm-test.inc (remainder_test): Add test cases.
33324 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33326         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
33327         sdiv_qrnnd.
33329 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
33331         * string/test-memcmp.c: Avoid unncessary #defines.
33332         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
33334 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33336         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
33337         Use new sse2 version for core i3 - i7 as it's faster
33338         than sse42 version.
33339         (bit_Prefer_PMINUB_for_stringop): New.
33340         * sysdeps/x86_64/rawmemchr.S: Update.
33341         Replace with faster SSE2 version.
33342         * sysdeps/x86_64/memrchr.S: New file.
33343         * sysdeps/x86_64/memchr.S: Update.
33344         Replace with faster SSE2 version.
33346 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
33348         * elf/dl-load.c (lose): Add cast to avoid warning.
33350 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
33352         * po/ca.po: Update from translation team.
33354         * inet/getnetgrent_r.c: Hook up nscd.
33355         * nscd/Makefile (routines): Add nscd_netgroup.
33356         (nscd-modules): Add netgroupcache.
33357         (CFLAGS-netgroupcache.c): Define.
33358         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
33359         (cache_search): Add const to second parameter.
33360         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
33361         INNETGR.
33362         (dbs): Add netgrdb entry.
33363         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
33364         (verify_persistent_db): Handle netgrdb.
33365         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
33366         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
33367         GETFDNETGR.
33368         (netgroup_response_header): Define.
33369         (innetgroup_response_header): Define.
33370         (datahead): Add netgroup_response_header and innetgroup_response_header
33371         elements.
33372         * nscd/nscd.conf: Add entries for netgroup cache.
33373         * nscd/nscd.h (dbtype): Add netgrdb.
33374         (_PATH_NSCD_NETGROUP_DB): Define.
33375         (netgroup_iov_disabled): Declare.
33376         (xmalloc, xcalloc, xrealloc): Move declarations here.
33377         (cache_search): Adjust prototype.
33378         Add netgroup-related prototypes.
33379         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
33380         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
33381         (__nscd_innetgr): Declare.
33382         * nscd/selinux.c (perms): Use access_vector_t as element type and
33383         add netgroup-related initializers.
33384         * nscd/netgroupcache.c: New file.
33385         * nscd/nscd_netgroup.c: New file.
33386         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
33387         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
33388         For four parameters use innetgr.
33389         * nss/nss_files/files-init.c: Add definition and callback for netgr.
33390         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
33391         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
33392         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
33394         * nscd/connections.c (register_traced_file): Don't register file
33395         for disabled databases.
33397 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
33399         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
33401         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
33402         from tree and freeing node.
33404 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
33406         * nss/nsswitch.c (__nss_database_lookup): Handle
33407         nss_parse_service_list out of memory case.
33409 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
33411         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
33412         out of memory case.
33414 2011-10-04  Andreas Schwab  <schwab@redhat.com>
33416         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
33417         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
33418         pass it down.
33419         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
33420         elf_machine_rela, elf_machine_lazy_rel.
33421         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
33422         (ELF_DYNAMIC_DO_REL): Likewise.
33423         (ELF_DYNAMIC_DO_RELA): Likewise.
33424         (ELF_DYNAMIC_RELOCATE): Likewise.
33425         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
33426         to ELF_DYNAMIC_DO_REL.
33427         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
33428         (dl_main): In trace mode always set __RTLD_NOIFUNC.
33429         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
33430         elf_machine_rela.
33431         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
33432         skip_ifunc, don't call ifunc function if non-zero.
33433         (elf_machine_rela): Likewise.
33434         (elf_machine_lazy_rel): Likewise.
33435         (elf_machine_lazy_rela): Likewise.
33436         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
33437         (elf_machine_lazy_rel): Likewise.
33438         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
33439         Likewise.
33440         (elf_machine_lazy_rel): Likewise.
33441         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33442         Likewise.
33443         (elf_machine_lazy_rel): Likewise.
33444         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
33445         (elf_machine_lazy_rel): Likewise.
33446         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
33447         (elf_machine_lazy_rel): Likewise.
33448         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
33449         (elf_machine_lazy_rel): Likewise.
33450         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
33451         (elf_machine_lazy_rel): Likewise.
33452         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
33453         (elf_machine_lazy_rel): Likewise.
33454         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
33455         (elf_machine_lazy_rel): Likewise.
33457 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
33459         * nss/nss_files/files-init.c (_nss_files_init): Use static
33460         initialization for all the *_traced_file variables.
33462 2011-09-28  Andreas Schwab  <schwab@redhat.com>
33464         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33466 2011-09-27  Roland McGrath  <roland@hack.frob.com>
33468         [BZ #13226]
33469         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
33471 2011-09-27  Andreas Schwab  <schwab@redhat.com>
33473         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
33474         Reread the line before reparsing it.
33476 2011-09-26  Andreas Schwab  <schwab@redhat.com>
33478         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
33480 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
33481             Maxim Kuvyrkov  <maxim@codesourcery.com>
33482             Joseph Myers  <joseph@codesourcery.com>
33484         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
33485         if needed for __stack_chk_guard.
33487 2011-09-19  Roland McGrath  <roland@hack.frob.com>
33489         * sysdeps/posix/spawni.c (script_execute): Always define it.
33490         It will be optimized away if unused.
33491         (maybe_script_execute): New function.
33492         (__spawni): Call it.
33494         * Makerules: Don't include tls.make.
33495         (config-tls): Always set to thread.
33496         * tls.make.c: File removed.
33498 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
33500         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
33501         * config.make.in (CPPFLAGS-config): New substituted variable.
33503 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
33505         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
33507         [BZ #13192]
33508         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
33509         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
33511 2011-09-15  Roland McGrath  <roland@hack.frob.com>
33513         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
33514         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
33515         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
33516         (CALL_FAIL): Likewise.
33517         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
33518         (CALL_FAIL): Macro removed.
33519         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
33521 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
33523         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
33524         for __FINITE_MATH_ONLY__ == 1.
33526 2011-09-15  Andreas Schwab  <schwab@redhat.com>
33528         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
33529         __ieee754_sqrt instead of sqrt.
33530         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
33531         __ieee754_sqrtf instead of sqrtf.
33532         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
33533         __floorf instead of floorf.
33534         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
33535         __floorf, __truncf instead of floorf, truncf.
33537 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
33539         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
33541         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
33542         __extern_always_inline.
33543         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
33544         32-bit.
33546 2011-09-14  Andreas Schwab  <schwab@redhat.com>
33548         * elf/rtld.c (dl_main): Also relocate in dependency order when
33549         doing symbol dependency testing.
33551 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
33553         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33554         Always define `refsym'.
33556 2011-09-13  Andreas Schwab  <schwab@redhat.com>
33558         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
33559         (__FD_ELT): Renamed from __FDELT.
33560         * misc/bits/select2.h (__FD_ELT): Likewise.
33561         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
33562         __FD_MASK instead of __FDELT, __FDMASK.
33563         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
33564         Likewise.
33565         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
33566         Likewise.
33568         * elf/Makefile (gen-ldd): Fix pattern.
33570         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
33571         (init_tls): Likewise.
33573 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
33575         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
33577 2011-09-12  Andreas Schwab  <schwab@redhat.com>
33579         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
33580         `struct cmsghdr *' instead of `void *'.
33581         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
33582         Likewise.
33584 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
33586         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
33587         if non-absolute.
33588         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
33589         ldd_rewrite_script.
33591 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
33593         * configure.in: Remove --with-tls option.
33594         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
33595         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
33596         out in case it is missing.
33597         * sysdeps/ia64/elf/configure.in: Likewise.
33598         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
33599         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
33600         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
33601         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
33602         * sysdeps/sh/elf/configure.in: Likewise.
33603         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
33604         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
33605         * sysdeps/x86_64/elf/configure.in: Likewise.
33606         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
33607         * sysdeps/mach/hurd/tls.h: Likewise.
33609         [BZ #13067]
33610         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
33612         [BZ #13090]
33613         * configure.in: Fix use of AC_INIT.
33615         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
33617 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
33619         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
33620         __set_errno.
33621         * malloc/hooks.c: Likewise.
33623         [BZ #11929]
33624         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
33625         variables statically.
33626         (narenas): Initialize.
33627         (list_lock): Initialize.
33628         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
33629         initializtion of main_arena and list_lock.  Small cleanups.
33630         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
33631         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
33632         Add initializers to main_arena and mp_.
33633         (malloc_state): Remove pagesize member.  Change all users to use
33634         GLRO(dl_pagesize).
33636         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
33637         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
33638         is always initialized.
33640         * malloc/malloc.c: Removed unused configurations and dead code.
33641         * malloc/arena.c: Likewise.
33642         * malloc/hooks.c: Likewise.
33643         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
33645         * include/tls.h: Removed.  USE___THREAD must always be defined.
33646         * bits/libc-tsd.h: Don't handle !USE___THREAD.
33647         * elf/dl-libc.c: Likewise.
33648         * elf/dl-tsd.c: Likewise.
33649         * include/errno.h: Likewise.
33650         * include/netdb.h: Likewise.
33651         * include/resolv.h: Likewise.
33652         * inet/herrno-loc.c: Likewise.
33653         * inet/herrno.c: Likewise.
33654         * malloc/arena.c: Likewise.
33655         * malloc/hooks.c: Likewise.
33656         * malloc/malloc.c: Likewise.
33657         * resolv/res-state.c: Likewise.
33658         * resolv/res_libc.c: Likewise.
33659         * sysdeps/i386/dl-machine.h: Likewise.
33660         * sysdeps/ia64/dl-machine.h: Likewise.
33661         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
33662         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
33663         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
33664         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
33665         * sysdeps/sh/dl-machine.h: Likewise.
33666         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
33667         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
33668         * sysdeps/unix/i386/sysdep.S: Likewise.
33669         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
33670         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
33671         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
33672         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
33673         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
33674         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
33675         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
33676         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33677         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33678         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
33679         * sysdeps/unix/x86_64/sysdep.S: Likewise.
33680         * sysdeps/x86_64/dl-machine.h: Likewise.
33681         * tls.make.c: Likewise.
33683         * configure.in: Remove --with-__thread option.  Make tests for
33684         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
33685         tls_model attribute fail if no support is available.  Remove
33686         USE_IN_LIBIO.
33687         * Makeconfig: Adjust for dropped configure option.  All features are
33688         now mandatory.
33689         * Makerules: Likewise.
33690         * Versions.def: Likewise.
33691         * argp/argp-fmtstream.c: Likewise.
33692         * argp/argp-fmtstream.h: Likewise.
33693         * argp/argp-help.c: Likewise.
33694         * assert/assert.c: Likewise.
33695         * config.h.in: Likewise.
33696         * config.make.in: Likewise.
33697         * configure: Likewise.
33698         * configure.in: Likewise.
33699         * csu/Versions: Likewise.
33700         * csu/init.c: Likewise.
33701         * elf/tst-audit2.c: Likewise.
33702         * elf/tst-tls10.c: Likewise.
33703         * elf/tst-tls10.h: Likewise.
33704         * elf/tst-tls11.c: Likewise.
33705         * elf/tst-tls12.c: Likewise.
33706         * elf/tst-tls14.c: Likewise.
33707         * elf/tst-tlsmod11.c: Likewise.
33708         * elf/tst-tlsmod12.c: Likewise.
33709         * elf/tst-tlsmod13.c: Likewise.
33710         * elf/tst-tlsmod13a.c: Likewise.
33711         * elf/tst-tlsmod14a.c: Likewise.
33712         * elf/tst-tlsmod15b.c: Likewise.
33713         * elf/tst-tlsmod16a.c: Likewise.
33714         * elf/tst-tlsmod16b.c: Likewise.
33715         * elf/tst-tlsmod7.c: Likewise.
33716         * elf/tst-tlsmod8.c: Likewise.
33717         * elf/tst-tlsmod9.c: Likewise.
33718         * gmon/gmon.c: Likewise.
33719         * grp/fgetgrent_r.c: Likewise.
33720         * grp/putgrent.c: Likewise.
33721         * hurd/fopenport.c: Likewise.
33722         * include/libc-symbols.h: Likewise.
33723         * include/tls.h: Likewise.
33724         * intl/gettextP.h: Likewise.
33725         * intl/loadinfo.h: Likewise.
33726         * locale/global-locale.c: Likewise.
33727         * locale/localeinfo.h: Likewise.
33728         * mach/devstream.c: Likewise.
33729         * malloc/arena.c: Likewise.
33730         * malloc/set-freeres.c: Likewise.
33731         * misc/err.c: Likewise.
33732         * misc/getttyent.c: Likewise.
33733         * misc/mntent_r.c: Likewise.
33734         * posix/getopt.c: Likewise.
33735         * posix/wordexp.c: Likewise.
33736         * pwd/fgetpwent_r.c: Likewise.
33737         * resolv/Versions: Likewise.
33738         * resolv/res_hconf.c: Likewise.
33739         * shadow/fgetspent_r.c: Likewise.
33740         * shadow/putspent.c: Likewise.
33741         * stdio-common/printf_fphex.c: Likewise.
33742         * stdio-common/tmpfile.c: Likewise.
33743         * stdlib/abort.c: Likewise.
33744         * stdlib/fmtmsg.c: Likewise.
33745         * sunrpc/auth_unix.c: Likewise.
33746         * sunrpc/clnt_perr.c: Likewise.
33747         * sunrpc/clnt_tcp.c: Likewise.
33748         * sunrpc/clnt_udp.c: Likewise.
33749         * sunrpc/clnt_unix.c: Likewise.
33750         * sunrpc/openchild.c: Likewise.
33751         * sunrpc/svc_simple.c: Likewise.
33752         * sunrpc/svc_tcp.c: Likewise.
33753         * sunrpc/svc_udp.c: Likewise.
33754         * sunrpc/svc_unix.c: Likewise.
33755         * sunrpc/xdr.c: Likewise.
33756         * sunrpc/xdr_array.c: Likewise.
33757         * sunrpc/xdr_rec.c: Likewise.
33758         * sunrpc/xdr_ref.c: Likewise.
33759         * sunrpc/xdr_stdio.c: Likewise.
33761 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
33763         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33765 2011-07-03  Andreas Jaeger  <aj@suse.de>
33767         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
33768         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
33769         regenerate with gen-libm-tests.pl.
33771 2010-05-12  Petr Baudis  <pasky@suse.cz>
33773         [BZ #11589]
33774         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
33775         around j0() zero points by switching to j1().
33776         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33777         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33778         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33779         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33781 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
33783         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
33784         instead of 0.
33785         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
33786         instead of 0.
33787         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33788         Patch in part by Pavel Roskin <proski@gnu.org>.
33790         [BZ #13138]
33791         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
33792         realloc.
33793         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
33794         Free memory block if necessary.
33796         [BZ #12847]
33797         * libio/genops.c (INTDEF): For string streams the _lock pointer can
33798         be NULL.  Don't lock in this case.
33800 2011-09-09  Roland McGrath  <roland@hack.frob.com>
33802         * elf/elf.h (ELFOSABI_GNU): New macro.
33803         (ELFOSABI_LINUX): Define to that.
33805 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
33807         * string/strncat.c (strncat): Undef the symbol in case it has been
33808         defined in bits/string.h.
33810 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
33812         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
33814         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
33815         link map.
33817 2011-08-17  Andreas Jaeger  <aj@suse.de>
33819         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
33821 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
33822             Ian Lance Taylor  <iant@google.com>
33824         * math/libm-test.inc (lround_test): New testcase.
33825         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
33827 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
33829         * Makefile: Remove support for automatic cvs check-ins.
33830         * Makerules: Likewise.
33831         * config.make.in: Likewise.
33832         * configure.in: Likewise.
33833         * intl/Makefile: Likewise.
33834         * locale/Makefile: Likewise.
33835         * po/Makefile: Likewise.
33836         * posix/Makefile: Likewise.
33837         * sysdeps/gnu/Makefile: Likewise.
33838         * sysdeps/mach/hurd/Makefile: Likewise.
33839         * sysdeps/sparc/sparc32/Makefile: Likewise.
33841         [BZ #13118]
33842         * posix/Makefile (bug-regex32-ENV): Define.
33843         Patch by John Stanley <jpsinthemix@verizon.net>.
33845         * misc/Makefile (headers): Add bits/select2.h.
33846         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
33847         * misc/bits/select2.h: New file.
33848         * include/bits/select2.h: New file.
33849         * debug/Makefile (routines): Add fdelt_chk.
33850         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
33851         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
33852         FD_ISSET.
33853         * debug/fdelt_chk.c: New file.
33855         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
33856         * wcsmbs/test-wmemcmp.c: Likewise.
33857         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
33858         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
33860 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33862         * string/Makefile (strop-tests): Add memcmp.
33863         * string/test-wmemcmp.c: New file.
33864         * string/test-memcmp.c: Add wmemcmp support.
33866 2011-09-08  Roland McGrath  <roland@hack.frob.com>
33868         [BZ #13153]
33869         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
33870         2011-07-19 change.
33872         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
33873         garbage value in a __mach_port_mod_refs call in the cases of the
33874         task-self and thread-self ports.
33876 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33878         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
33880 2011-09-08  Andreas Schwab  <schwab@redhat.com>
33882         * elf/dl-load.c (lose): Check for non-null L.
33884 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
33886         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
33888         * elf/dl-libc.c (dlerror_run): Pass back error code from
33889         dl_catch_error.
33891         [BZ #13123]
33892         * elf/dl-load.c (lose): Free l_origin if it is valid.
33894         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
33895         names.
33896         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
33897         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
33898         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
33899         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
33900         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
33901         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
33903 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33905         * sysdeps/powerpc/fpu/e_hypot.c: New file.
33906         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
33907         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
33908         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
33909         * sysdeps/powerpc/fpu/k_cosf.c: New file.
33910         * sysdeps/powerpc/fpu/k_sinf.c: New file.
33911         * sysdeps/powerpc/fpu/s_cosf.c: New file.
33912         * sysdeps/powerpc/fpu/s_sinf.c: New file.
33913         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
33914         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
33916 2011-08-15  Alan Modra  <amodra@gmail.com>
33918         [BZ #13092]
33919         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
33920         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
33921         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
33922         ppc_mcount to static-only-routines.
33923         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
33924         __mcount_internal.
33925         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
33926         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
33928 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
33930         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
33931         for finite and infinity parameters.
33933 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
33935         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
33936         and add nop instructions for throughput optimization.
33937         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
33939 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
33941         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
33942         aligned copy for power7 with vector-scalar instructions.
33943         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
33945 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
33947         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
33948         AVX check.
33950 2011-09-07  Andreas Schwab  <schwab@redhat.com>
33952         [BZ #13144]
33953         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
33954         last change.
33956 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
33958         * sysdeps/unix/sysv/linux/x86_64/init-first.c
33959         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
33960         syscall wrapper around clock_gettime in __vdso_clock_gettime.
33961         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
33962         clock_gettime.
33964 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
33966         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
33967         Forgot to demangle the pointer.
33969         * sysdeps/i386/sysdep.h: Define atom_text_section.
33970         * sysdeps/x86_64/sysdep.h: Likewise.
33971         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
33972         section with atom_text_section.
33973         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
33974         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
33975         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
33976         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
33977         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
33979         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
33980         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
33981         already be defined.  Change to take two parameters and don't assign
33982         result to variable.  Adjust all users.
33983         Define INTERNAL_GETTIME if not already defined.
33984         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
33985         call.
33986         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
33987         HAVE_CLOCK_GETTIME_VSYSCALL.
33988         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
33990         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
33991         gettimeofday vsyscall, just use time.
33993 2011-09-06  Andreas Schwab  <schwab@redhat.com>
33995         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
33996         <errno.h>.
33998 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
34000         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
34001         syscall on x86-64.
34002         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
34003         syscall.
34004         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
34005         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
34006         syscall if possible.
34008 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
34010         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
34011         e_ident.  Don't pass to find_mapsXX.
34012         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
34014 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
34016         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34017         strchr-sse2-no-bsf strrchr-sse2-no-bsf
34018         * sysdeps/x86_64/multiarch/strchr.S: Update.
34019         Check bit_slow_BSF bit.
34020         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
34021         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
34022         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
34024 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
34026         [BZ #13134]
34027         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
34028         before glibc 2.15.
34029         (tryshell): Define.
34030         (__spawni): Change last parameter to be flag.  Test
34031         SPAWN_XFLAGS_USE_PATH flag to use path or not.
34032         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
34033         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
34034         * posix/spawni.c: Likewise.
34035         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
34036         * posix/spawnp.c: Likewise.  Change normal version to use
34037         SPAWN_XFLAGS_USE_PATH.
34038         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
34039         SPAWN_XFLAGS_TRY_SHELL.
34041         [BZ #13150]
34042         * posix/glob.h: Remove gcc 1.x support.
34044         [BZ #13068]
34045         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
34047 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
34049         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34050         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
34051         strrchr-sse2-bsf
34052         * sysdeps/i386/i686/multiarch/strchr.S: New file.
34053         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
34054         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
34055         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
34056         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
34057         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
34059 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34061         * sysdeps/x86_64/wcscmp.S: New file.
34063         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
34064         wcscmp-c wcscmp-sse2
34065         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
34066         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
34067         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
34068         * wcsmbs/wcscmp.c: Allow renaming.
34070 2011-09-05  David S. Miller  <davem@davemloft.net>
34072         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
34073         stack slot, rather than the struct return pointer slot.
34074         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
34075         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
34076         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
34077         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
34079 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
34081         * po/ja.po: Update from translation team.
34083         [BZ #13144]
34084         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
34085         kernel in 64-bit binaries.
34087 2011-09-01  David S. Miller  <davem@davemloft.net>
34089         * elf/elf.h (HWCAP_SPARC_*): Move to..
34090         * sysdeps/sparc/sysdep.h: this new file and add new values.
34091         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
34092         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
34093         _DL_HWCAP_COUNT to 24.
34094         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
34095         entries.
34096         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
34097         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
34098         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
34099         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
34100         instead of magic constants.
34101         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34103 2011-08-31  David S. Miller  <davem@davemloft.net>
34105         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
34106         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
34107         Reimplement to do errno handling inline.
34108         (SYSCALL_ERROR_HANDLER): New macro.
34109         (__SYSCALL_STRING): Do not do errno handling in asm.
34110         (__CLONE_SYSCALL_STRING): Delete.
34111         (__INTERNAL_SYSCALL_STRING): Delete.
34112         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
34113         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
34114         (PSEUDO): Reimplement to do errno handling inline.
34115         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
34116         (SYSCALL_ERROR_HANDLER): New macro.
34117         (__SYSCALL_STRING): Do not do errno handling in asm.
34118         (__CLONE_SYSCALL_STRING): Delete.
34119         (__INTERNAL_SYSCALL_STRING): Delete.
34120         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
34121         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
34122         i386.
34123         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
34124         (inline_syscall*): Add 'err' argument.
34125         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
34126         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
34127         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
34128         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
34130         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
34131         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
34133 2011-08-30  Andreas Schwab  <schwab@redhat.com>
34135         * elf/rtld.c (dl_main): Relocate objects in dependency order.
34137 2011-08-29  Jiri Olsa <jolsa@redhat.com>
34139         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
34140         directive.
34142 2011-08-24  David S. Miller  <davem@davemloft.net>
34144         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
34146 2011-08-24  Andreas Schwab  <schwab@redhat.com>
34148         * elf/Makefile: Add rules to build and run unload8 test.
34149         * elf/unload8.c: New file.
34150         * elf/unload8mod1.c: New file.
34151         * elf/unload8mod1x.c: New file.
34152         * elf/unload8mod2.c: New file.
34153         * elf/unload8mod3.c: New file.
34155         * elf/dl-close.c (_dl_close_worker): Reset private search list if
34156         it wasn't used.
34158 2011-08-23  David S. Miller  <davem@davemloft.net>
34160         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
34161         subtract stack bias.
34162         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
34163         %sp not %fp in calculations.
34164         (_JMPBUF_UNWINDS_ADJ): Likewise.
34166         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
34167         (aio_suspend): Call it to force an exception region around the
34168         AIO_MISC_WAIT() invocation.
34170 2011-08-23  Andreas Schwab  <schwab@redhat.com>
34172         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
34173         backslash.
34175 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
34177         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
34178         protection macro.
34179         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
34180         and <dl-machine.h>.
34181         (Elf64_FuncDesc): Remove.
34183 2011-08-22  David S. Miller  <davem@davemloft.net>
34185         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
34186         sigaltstack check, add missing cfi directives.
34187         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
34188         missing cfi directives, and sigaltstack handling.
34190 2011-08-16  Andreas Schwab  <schwab@redhat.com>
34192         [BZ #11724]
34193         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
34194         object is seen twice.
34195         * elf/dl-fini.c (_dl_sort_fini): Likewise.
34197         * elf/Makefile (distribute): Add tst-initorder2.c.
34198         (tests): Add tst-initorder2.
34199         (modules-names): Add tst-initorder2a tst-initorder2b
34200         tst-initorder2c tst-initorder2d.  Add rules to build them.
34201         ($(objpfx)tst-initorder2.out): New rule.
34202         * elf/tst-initorder2.c: New file.
34203         * elf/tst-initorder2.exp: New file.
34205 2011-08-22  Andreas Schwab  <schwab@redhat.com>
34207         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
34209         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
34210         dependencies back to end of function.
34212         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
34213         $(elfobjdir)/ld.so.
34215 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
34217         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
34218         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
34219         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
34220         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
34221         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
34222         of __vdso_gettimeofday.
34223         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
34224         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
34225         attribute_hidden.
34226         (_libc_vdso_platform_setup): Remove initialization of
34227         __vdso_gettimeofday and __vdso_time.
34229 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
34231         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
34232         and fgetc_unlocked.
34233         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
34234         getc_unlocked.
34236         * elf/dl-open.c (add_to_global): Report additions to the global scope
34237         for LD_DEBUG=scopes.
34238         (dl_open_worker): Also print scope of newly loaded dependencies.
34239         (_dl_show_scope): Indicate if there is no scope.
34241         [BZ #13114]
34242         * stdio-common/Makefile (tests): Add bug24.
34243         * stdio-common/bug24.c: New file.
34245 2011-08-19  Andreas Jaeger  <aj@suse.de>
34247         [BZ #13114]
34248         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
34249         non-existant file when using close-on-exec mode.
34251 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
34253         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
34254         the very first instruction.
34256         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
34257         the CFI state in the end.
34258         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
34259         inclusion of dl-trampoline.h.
34260         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
34262 2011-08-19  Andreas Schwab  <schwab@redhat.com>
34264         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
34265         expectations for long double.
34267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
34268         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
34270 2011-08-14  David S. Miller  <davem@davemloft.net>
34272         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
34273         artificual limit depends upon the system page size.
34275 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
34277         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
34278         * resolv/Makefile: Define CFLAGS-libresolv.
34280 2011-08-17  Andreas Schwab  <schwab@redhat.com>
34282         * nss/makedb.c (compute_tables): Make variables used in nested
34283         function static.
34285 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
34287         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
34288         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
34289         if buffer was too small.
34291         * elf/pldd.c (main): Attach to all threads in the process.
34292         Rewrite /proc handling to use *at functions.
34294 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
34296         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
34297         specifies first scope to show.
34298         (dl_open_worker): Update callers.  Move printing scope of new
34299         object to before the relocation.
34300         * elf/rtld.c (dl_main): Update _dl_show_scope call.
34301         * sysdeps/generic/ldsodefs.h: Update declaration.
34303         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
34304         string for the scope number.
34306 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
34308         * nscd/servicescache.c (cache_addserv): Make sure written is always
34309         initialized.
34311 2011-08-14  Roland McGrath  <roland@hack.frob.com>
34313         * sysdeps/i386/i486/bits/atomic.h
34314         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
34315         statement expression, so as to suppress "set but not used" warning.
34316         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
34318         * string/strncat.c (STRNCAT): Use prototype definition.
34320         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
34321         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
34322         -Iprograms here.
34323         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
34324         (localedef-modules): Add localedef.
34325         (locale-modules): Add locale.
34327         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
34328         * elf/rtld.c (dl_main): Invert order of assignment in last change,
34329         to avoid a warning.
34331 2011-08-14  David S. Miller  <davem@davemloft.net>
34333         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
34334         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
34336 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
34338         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
34339         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
34340         * elf/rtld.c (dl_main): Set l_name of vDSO.
34341         Call _dl_show_scope when DL_DEBUG_SCOPES.
34342         (process_dl_debug): Recognize scopes flag and also set it for all.
34343         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
34344         Declare _dl_show_scope.
34346         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
34347         (do_dlopen): Pass caller_dlopen to dl_open.
34348         (__libc_dlopen_mode): Initialize caller_dlopen.
34350         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
34351         of libc.  Make tolower call locale-independent.  Optimize a bit by
34352         using isdigit instead of isalnum.
34353         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
34355 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
34357         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
34358         was a dependency or dynamically loaded.
34360 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
34362         * intl/l10nflist.c: Allow architecture-specific pop function.
34363         * sysdeps/x86_64/l10nflist.c: New file.
34365         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
34366         classification.
34368 2011-08-10  Andreas Schwab  <schwab@redhat.com>
34370         * include/dirent.h: Add libc_hidden_proto for scandirat and
34371         scandirat64.  Don't declare __scandirat64.
34372         * dirent/scandirat.c: Add libc_hidden_def.
34373         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
34374         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
34376 2011-08-10  David S. Miller  <davem@davemloft.net>
34378         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
34379         enum.
34380         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34381         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34382         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34384 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
34386         * Versions.def [libc]: Add GLIBC_2.15.
34387         * dirent/Makefile (routines): Add scandirat and scandirat64.
34388         * dirent/Versions [libc]: Export scandirat and scandirat64 for
34389         GLIBC_2.15.
34390         * dirent/dirent.h: Declare scandirat and scandirat64.
34391         * dirent/scandirat.c: New file.
34392         * dirent/scandirat64.c: New file.
34393         * sysdeps/wordsize-64/scandirat.c: New file.
34394         * sysdeps/wordsize-64/scandirat64.c: New file.
34395         * dirent/opendir.c: Define opendirat.
34396         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
34397         using scandirat.
34398         * dirent/scandir64.c: Adjust for scandir.c change.
34399         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
34400         __scandirat64, and __scandir_cancel_handler.
34401         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
34402         additional parameter and use openat instead of open (outside of ld.so).
34403         Add new __opendir as wrapper around __opendirat.
34404         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
34405         here without requiring old scandirat implementation.
34407 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
34409         * dirent/scandir.c (cancel_handler): Renamed to
34410         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
34411         defined.  Adjust users.
34412         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
34413         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
34415 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
34417         * string/test-string.h (IMPL): Use __STRING to expand name and then
34418         stringify it.
34420         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
34421         of cleanups.
34423 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34425         * string/Makefile: Update.
34426         (strop-tests): Append strncat.
34427         * string/test-wcscmp.c: New file.
34428         New comprehensive test for wcscmp.
34429         * string/test-strcmp.c: Update.
34430         (WIDE): New define.
34432 2011-07-22  Andreas Schwab  <schwab@redhat.com>
34434         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
34435         line.
34437 2011-07-26  Andreas Schwab  <schwab@redhat.com>
34439         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
34440         encoding to ACE if AI_IDN.
34442 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
34444         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
34445         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
34447 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
34449         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
34450         Fix overflow bug in strncat.
34451         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
34453         * string/test-strncat.c: Update.
34454         Add new tests for checking overflow bugs.
34456 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
34458         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34459         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
34460         * sysdeps/i386/i686/multiarch/strcat.S: New file.
34461         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
34462         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
34463         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
34464         * sysdeps/i386/i686/multiarch/strncat.S: New file.
34465         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
34466         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
34468         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
34469         (USE_AS_STRCAT): Define.
34470         Add strcat and strncat support.
34471         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34473 2011-07-25  Andreas Schwab  <schwab@redhat.com>
34475         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
34476         __n bigger than INT_MAX+1.
34477         (__strncmp_g): Likewise.
34479 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
34481         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
34482         * libio/stido.h: Likewise.
34484         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
34485         (AF_NFC): Define.
34486         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
34487         (AF_NFC): Define.
34489         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
34490         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34491         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34492         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
34493         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34495         [BZ #13021]
34496         * scripts/test-installation.pl: Don't expect libnss_test1 to be
34497         installed.
34499         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
34500         typo.
34501         (_dl_x86_64_save_sse): Likewise.
34503 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
34505         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
34506         OSXSAVE.
34507         (_dl_x86_64_save_sse): Likewise.
34509         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
34511         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
34513 2011-07-21  Andreas Schwab  <schwab@redhat.com>
34515         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
34516         change.
34517         (_dl_x86_64_save_sse): Use correct AVX check.
34519 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34521         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
34522         bug in strncpy/strncat.
34523         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
34525 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
34527         * string/tester.c (test_strcat): Add tests for different alignments
34528         of source and destination.
34529         (test_strncat): Likewise.
34531 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
34533         [BZ #12852]
34534         * posix/glob.c (glob): Check passed in values before using them in
34535         expressions to avoid some overflows.
34536         (glob_in_dir): Likewise.
34538         [BZ #13007]
34539         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
34540         check for AVX enablement so that we don't crash with old kernels and
34541         new hardware.
34542         * elf/tst-audit4.c: Add same checks here.
34543         * elf/tst-audit6.c: Likewise.
34545         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
34547 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
34549         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
34551 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
34553         * po/cs.po: Update from translation team.
34554         * po/bg.po: Likewise.
34556 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
34558         * misc/sys/cdefs.h: Add support for const attribute.
34559         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
34560         to gnu_dev_{major,minor,makedev} functions.
34562 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
34564         * intl/dcigettext.c (get_output_charset): Add missing bracket.
34566 2011-07-20  Andreas Schwab  <schwab@redhat.com>
34568         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
34569         strlen results.
34571 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34573         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
34574         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
34575         register in order to avoid conflicts with the soft frame pointer
34576         being held in r11 when necessary.
34577         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
34578         (INTERNAL_VSYSCALL_NCS): Likewise.
34580 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
34582         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
34583         * elf/dl-fini.c (_dl_fini): Adjust caller.
34584         * elf/dl-close.c (_dl_close_worker): Likewise.
34585         * sysdeps/generic/ldsodefs.h: Adjust declaration.
34587 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
34589         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
34590         "aux_cache->nlibs < 0".
34592         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
34593         in the reload-count case.
34595 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
34597         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34598         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
34599         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
34600         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
34601         * sysdeps/x86_64/multiarch/strcat.S: New file.
34602         * sysdeps/x86_64/multiarch/strncat.S: New file.
34603         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
34604         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
34605         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
34606         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
34607         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
34608         (USE_AS_STRCAT): Define.
34609         Add strcat and strncat support.
34610         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
34611         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
34612         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
34613         * string/strncat.c: Update.
34614         (USE_AS_STRNCAT): Define.
34615         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34616         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
34617         and i7.
34618         * sysdeps/x86_64/multiarch/init-arch.h
34619         (bit_Prefer_PMINUB_for_stringop): New.
34620         (index_Prefer_PMINUB_for_stringop): Likewise.
34621         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
34622         bit_Prefer_PMINUB_for_stringop.
34624 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
34626         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
34627         buffer64.
34628         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
34629         of casting of buffer.
34630         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
34631         buffer32 and buffer64.
34632         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
34633         writes instead of casting of buffer.
34634         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
34635         buffer32.
34636         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
34637         casting of buffer.
34639 2011-07-19  Andreas Schwab  <schwab@redhat.com>
34641         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
34643 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
34645         * nscd/nscd.c (termination_handler): Don't do anything for a database
34646         if it has not yet been initialized.
34648 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
34650         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
34652 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
34654         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
34656 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
34658         * po/nl.po: Update from translation team.
34659         * po/sv.po: Likewise.
34661 2011-07-16  Roland McGrath  <roland@hack.frob.com>
34663         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
34664         now disallowed by GCC.
34666         * configure.in (use-default-link): Default to yes if a test -shared
34667         link meets our qualifications.
34668         * configure: Regenerated.
34670         * config.make.in (output-format): New variable.
34671         * configure.in: Check for ld --print-output-format support.
34672         * configure: Regenerated.
34673         * Makerules ($(common-objpfx)format.lds)
34674         [$(output-format) != unknown]: Just use $(output-format),
34675         instead of the linker-script munging.
34677 2011-07-14  Roland McGrath  <roland@hack.frob.com>
34679         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
34680         of $(common-objpfx)shlib.lds.
34681         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
34683         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
34684         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
34686         * configure.in (-z relro check): Adjust test code to add a large
34687         writable data section after it.
34688         * configure: Regenerated.
34690 2011-07-11  Roland McGrath  <roland@hack.frob.com>
34692         * configure.in (-z relro check): Fix test code to make the variable
34693         truly const.
34694         * configure: Regenerated.
34696 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
34698         * nscd/nscd.h (struct traced_file): Define.
34699         (struct database_dyn): Remove inotify_descr, reset_res, and filename
34700         elements.  Add traced_files.
34701         (inotify_fd): Declare.
34702         (register_traced_file): Declare.
34703         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
34704         (inotify_fd): Export.
34705         (resolv_conf_descr): Remove.
34706         (nscd_init): Move inotify descriptor creation to main.
34707         Don't register files for notification here.
34708         (register_traced_file): New function.
34709         (invalidate_cache): Don't use reset_res to determine whether to call
34710         res_init, go through the list of registered files.
34711         (main_loop_poll): The inotify descriptors are now stored in the
34712         structures for the traced files.
34713         (main_loop_epoll): Likewise
34714         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
34715         to __nss_disable_nscd.
34716         * nscd/cache.c (prune_cache): There is no single inotify descriptor
34717         for a database anymore.  Check the records for all the registered
34718         files instead.
34719         * nss/Makefile (libnss_files-routines): Add files-init.
34720         (libnss_db-routines): Add db-init.
34721         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
34722         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
34723         * nss/nss_db/db-init.c: New file.
34724         * nss/nss_files/files-init.c: New file.
34725         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
34726         __nss_lookup_function.
34727         (__nss_lookup_function): Call nss_load_library.
34728         (nss_load_all_libraries): New function.
34729         (__nss_disable_nscd): Take parameter with callback function for files
34730         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
34731         used for the cached services.
34732         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
34733         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
34734         options for features to all the files in nscd.
34736         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
34738 2011-07-10  Roland McGrath  <roland@hack.frob.com>
34740         * csu/elf-init.c (__libc_csu_init): Comment typo.
34742 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
34744         * po/pl.po: Update from translation team.
34745         * po/ja.po: Likewise.
34746         * po/ru.po: Likewise.
34747         * po/ko.po: Likewise.
34748         * po/fr.po: Likewise.
34750 2011-07-09  Roland McGrath  <roland@hack.frob.com>
34752         * configure.in (.ctors/.dtors header and trailer check):
34753         Use an empirical test on a built program.
34754         * configure: Regenerated.
34756         * configure.in (-z relro check): Use an empirical test on a built DSO.
34757         Detect, but do not require, on ia64.
34758         * configure: Regenerated.
34760         * configure.in (READELF): Find it with AC_CHECK_TOOL.
34761         Update tests that use readelf to use $READELF instead.
34762         * configure: Regenerated.
34764 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
34766         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
34767         if the result is not used.
34769 2011-07-05  Andreas Jaeger  <aj@suse.de>
34771         [BZ#9696]
34772         * stdlib/tst-strtod.c: Add testcase.
34774 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
34776         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
34777         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
34778         The latter has a higher limit.  Take additional parameter to pass to
34779         the new function.
34780         (__pathconf): Pass file to __statfs_link_max.
34781         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
34782         __statfs_link_max.
34783         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
34784         __statfs_link_max.
34786         [BZ #12868]
34787         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
34788         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34789         Handle Lustre.
34790         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
34791         (__statfs_filesize_max): Likewise.
34792         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
34794 2011-07-05  Andreas Jaeger  <aj@suse.de>
34796         * resolv/res_comp.c (dn_skipname): Remove unused variable.
34798 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
34800         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
34801         `status' variable.
34802         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
34803         Likewise.
34805 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
34807         * Makefile (strop-tests): Add strncat.
34808         * string/test-strncat.c: New file.
34810 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
34812         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
34814 2011-06-21  Andreas Jaeger  <aj@suse.de>
34816         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
34817         Copy rule from iconvdata/Makefile.
34819 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
34821         [BZ #12922]
34822         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
34823         but no long options are defined, just return 'W'.
34825 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
34827         [BZ #9696]
34828         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
34830 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
34832         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
34833         netgroups to read.
34834         (innetgr): Likewise.
34836 2011-07-05  Roland McGrath  <roland@hack.frob.com>
34838         * config.make.in (install_root): Default to $(DESTDIR).
34840 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
34842         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
34844 2011-07-02  Roland McGrath  <roland@hack.frob.com>
34846         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
34848         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
34849         containing directory rather than embedding absolute directory names.
34851         * scripts/check-local-headers.sh: Rewritten using awk.
34852         Match by word, not by line.  Print error messages for matches.
34853         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
34855         * Makerules [shlib-lds-flags empty]:
34856         ($(common-objpfx)libc_pic.opts): New target.
34857         ($(common-objpfx)libc_pic.os.clean): New target.
34858         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
34860         * config.make.in (OBJCOPY): New variable.
34861         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
34862         * configure: Regenerated.
34864         * config.make.in (use-default-link): New variable.
34865         * configure.in (use_default_link): Grok --with-default-link to set it.
34866         * configure: Regenerated.
34867         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
34868         (shlib-lds, shlib-lds-flags): Define to empty.
34870         * Makerules (shlib-lds): New variable.
34871         (shlib-lds-flags): New variable.
34872         (build-shlib, build-moduile, build-module-asneeded): Use it.
34873         ($(common-objpfx)libc.so): Use $(shlib-lds).
34874         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
34875         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
34877         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
34878         DT_FLAGS/DT_FLAGS_1 with zero flags.
34880         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
34881         linker script munging.
34883 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
34885         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
34886         as 128-bit value.
34887         * crypt/sha512.c (sha512_process_block): Perform total addition using
34888         128-bit if possible.
34889         (__sha512_finish_ctx): Likewise.
34890         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
34891         as 64-bit value.
34892         * crypt/sha256.c (SWAP64): Define.
34893         (sha256_process_block): Perform total addition using 64-bit if
34894         possible.
34895         (__sha256_finish_ctx): Likewise.
34897 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
34899         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
34900         * nscd/initgrcache.c (addinitgroupsX): Likewise.
34901         * nscd/hstcache.c (cache_addhst): Likewise.
34902         * nscd/grpcache.c (cache_addgr): Likewise.
34903         * nscd/aicache.c (addhstaiX): Likewise
34904         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
34906 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
34908         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
34909         * nscd/initgrcache.c (addinitgroupsX): Likewise.
34910         * nscd/hstcache.c (cache_addhst): Likewise.
34911         * nscd/grpcache.c (cache_addgr): Likewise.
34912         * nscd/aicache.c (addhstaiX): Likewise
34914 2011-07-01  Andreas Schwab  <schwab@redhat.com>
34916         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
34917         domain only when needed.
34919 2011-06-30  Andreas Schwab  <schwab@redhat.com>
34921         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
34922         is always restored.
34924 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
34926         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
34927         are re-adding the entry.
34928         * nscd/servicescache.c (cache_addserv): Likewise.
34930 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
34932         * sysdeps/generic/dl-irel.h: fix protection against multiple
34933         inclusions.
34934         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
34936 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
34938         [BZ #12935]
34939         * malloc/memusage.sh: Fix quoting in message.
34940         * debug/xtrace.sh: Likewise.
34942         * configure.in: Remove support for --experimental-malloc option, make
34943         it the default.
34944         * config.make.in: Likewise.
34945         * malloc/Makefile: Likewise.
34947 2011-06-27  Andreas Schwab  <schwab@redhat.com>
34949         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
34950         two-byte characters.
34952 2011-06-27  Roland McGrath  <roland@hack.frob.com>
34954         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
34955         AC_CACHE_CHECK invocation.
34956         * configure: Regenerated.
34958         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
34960 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
34962         [BZ #12350]
34963         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
34964         bit from old_res_options.
34966         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
34968         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
34969         value type for setfct.
34971 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
34973         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
34974         __gettimeofday instead of gettimeofday.
34976 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
34978         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
34980 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
34982         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
34984         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
34985         info.
34987 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
34989         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34990         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
34991         strcpy-sse2-unaligned strncpy-sse2-unaligned
34992         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
34993         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
34994         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
34995         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
34996         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
34997         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
34998         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
34999         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
35000         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
35001         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
35002         (STRCPY): Support SSE2 and SSSE3 versions.
35004 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
35006         [BZ #12874]
35007         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
35008         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
35009         kernels which artificially limit size of requests.
35011 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
35013         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35014         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35015         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
35016         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
35017         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
35018         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
35019         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
35020         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
35021         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
35022         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
35023         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
35024         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
35025         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
35026         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
35027         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
35028         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35029         Enable unaligned load optimization for Intel Core i3, i5 and i7
35030         processors.
35031         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
35032         Define.
35033         (index_Fast_Unaligned_Load): Define.
35034         (HAS_FAST_UNALIGNED_LOAD): Define.
35036 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
35038         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
35040 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
35042         [BZ #12907]
35043         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
35044         until it is clear that the information is realy needed.
35045         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
35047 2011-06-22  Andreas Schwab  <schwab@redhat.com>
35049         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
35051 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
35053         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35054         /sys/devices/system/cpu/online if it is usable.
35056         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
35057         reading the information from the /proc filesystem to once a second.
35059 2011-06-21  Andreas Jaeger  <aj@suse.de>
35061         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
35062         NULL after inclusion of kernel headers.
35064 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
35066         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
35067         calls to internal_setent.
35069         [BZ #12885]
35070         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
35071         addresses using gethostbyname4_r ignore IPv4 addresses.
35073         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
35074         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
35076         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
35078 2011-06-20  David S. Miller  <davem@davemloft.net>
35080         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
35081         inclusions.
35082         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
35084         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
35085         (elf_irel): Use it.
35086         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
35087         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
35088         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
35089         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
35090         * sysdeps/x86_64/dl-irel.h: Likewise.
35092         * elf/dl-runtime.c: Use elf_ifunc_invoke.
35093         * elf/dl-sym.c: Likewise.
35095 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
35097         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
35098         need to dereference resplen2.
35100 2011-06-14  Andreas Schwab  <schwab@redhat.com>
35102         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
35104 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
35106         * Makeconfig: Define vardbdir and inst_vardbdir.
35107         * nss/Makefile: Add rules to install db-Makefile.
35109         * nss/nss_db/db-XXX.c: Cleanup.
35111         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
35112         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
35113         GLIBC_PRIVATE.
35114         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
35115         * nss/makedb.c: Implement -g option to specify that value strings
35116         are generated and should not be added to table iterated over for
35117         get*ent calls.
35118         * nss/nss_db/db-initgroups.c: New file.
35120         * nss/getent.c: Add support for initgroups lookups through getgrouplist
35121         interface.
35123         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
35124         (internal_getgrouplist): Adjust to name change.
35125         Update use_initgroups_entry if this is not the first call.
35126         * nss/databases.def: Add initgroups entry.
35128         * nss/makedb.c (compute_tables): Check result of multiple hash table
35129         sizes to minimize maximum chain length.
35131 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
35133         * Versions.def: Add entry for libnss_db.
35134         * shlib-versions: Likewise.
35135         * nss/Makefile: Add rules to build libnss_db.
35136         * nss/Versions: Add libnss_db information.  Organize libnss_files
35137         entries better.
35138         * nss/db-Makefile: Add gshadow support.  Change rules for the new
35139         makedb progra.  Some minor improvements to generate smaller files.
35140         * nss/nss_db/nss_db.h: Move NSS database header data structures to
35141         here from...
35142         * nss/makedb.c: ...here.
35143         Improve database format to be smaller and require less memory at
35144         runtime.
35145         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
35146         db anymore.
35147         * nss/nss_db/db-netgrp.c: Likewise.
35148         * nss/nss_db/db-open.c: Likewise.
35149         * nss/nss_files/flies-XXX.x: Adjust comments.
35150         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
35151         * nss/nss_files/files-grp.c: Likewise.
35152         * nss/nss_files/files-hosts.c: Likewise.
35153         * nss/nss_files/files-network.c: Likewise.
35154         * nss/nss_files/files-proto.c: Likewise.
35155         * nss/nss_files/files-pwd.c: Likewise.
35156         * nss/nss_files/files-rpc.c: Likewise.
35157         * nss/nss_files/files-service.c: Likewise.
35158         * nss/nss_files/files-sgrp.c: Likewise.
35159         * nss/nss_files/files-spwd.c: Likewise.
35160         * nss/nss_db/db-alias.c: Removed.
35161         * nss/nss_db/dummy-db.h: Removed.
35163 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
35165         * nss/makedb.c: Rewritten to not use database library.
35166         * nss/Makefile: Update to build new makedb program.
35168 2011-06-14  Andreas Jaeger  <aj@suse.de>
35170         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
35171         memset declaration.
35173 2011-06-10  Andreas Schwab  <schwab@redhat.com>
35175         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
35176         tmpbuf.
35178 2011-06-10  Roland McGrath  <roland@hack.frob.com>
35180         * Makerules (shlib.lds): Fail if the linker script comes out empty.
35181         * elf/Makefile ($(objpfx)ld.so): Likewise.
35183         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
35184         Don't list ld.so twice in dependencies.
35186         * posix/bug-regex31.c: Include <stdlib.h>.
35188         * nscd/hstcache.c (cache_addhst): Remove unused variable.
35190         * nis/nss_compat/compat-spwd.c
35191         (getspent_next_nss_netgr): Remove unused variable.
35192         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
35194         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
35195         nonmembers" output to use the right array.
35197         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
35199         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
35201         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
35202         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
35203         * catgets/gencat.c (read_input_file): Likewise.
35204         * locale/programs/locarchive.c (enlarge_archive): Likewise.
35206         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
35207         variable definition inside #if's controlling its use.
35209         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
35211         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
35213         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
35215         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
35216         unreachable code.
35218         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
35220         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
35221         * configure: Regenerated.
35223         * Makerules: Revert last change.
35224         * elf/Makefile: Likewise.
35226 2011-06-09  Roland McGrath  <roland@hack.frob.com>
35228         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
35229         * elf/Makefile ($(objpfx)librtld.os): Likewise.
35230         (reloc-link): Likewise.
35232 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
35234         * elf/Makefile: Add rules to build pldd.
35235         * elf/pldd.c: New file.
35236         * elf/pldd-xx.c: New file.
35238 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
35240         * version.h: Update for 2.15 development version.
35242 2011-06-07  David S. Miller  <davem@davemloft.net>
35244         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
35245         ifuncs.
35246         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
35247         elf_machine_lazy_rel): Likewise.
35248         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
35249         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
35250         elf_machine_lazy_rel): Likewise.
35251         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
35252         dl_hwcap via passed in argument.
35253         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
35254         Likewise.
35256 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35258         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
35260 2011-06-06  Roland McGrath  <roland@hack.frob.com>
35262         [BZ #12849]
35263         * manual/fdl-1.1.texi: New file, verbatim from:
35264         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
35265         * manual/lgpl-2.1.texi: New file, verbatim from:
35266         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
35267         * manual/Makefile (licenses): New variable, list those new file names.
35268         (texis): Use it.
35269         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
35271         * manual/fdl.texi: File removed.
35272         * manual/lesser.texi: File removed.
35273         * manual/libc.texinfo (Copying, Documentation License):
35274         Use new @include file names, put @appendix directive before @include.
35276 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
35278         [BZ #12841]
35279         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
35280         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
35281         (mq_open): Add __NTH.
35283 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
35285         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35286         Assume Intel Core i3/i5/i7 processor if AVX is available.
35288 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
35290         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
35291         typo.
35293 2011-05-31  Andreas Schwab  <schwab@redhat.com>
35295         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
35296         memory.  Use alloca_account.  Fix memory leak when retrying.
35298 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
35300         * version.h (RELEASE): Bump for 2.14 release.
35301         * include/features.h (__GLIBC_MINOR__): Bump to 14.
35303         * config.make.in (RANLIB): Remove entry.
35305 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
35307         * po/Makefile (po-sed-cmd): Add ksh to extensions.
35308         (libc.pot): Work around missing support for .ksh extension in xgettext.
35310         [BZ #12684]
35311         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
35312         if both request failed.
35313         (send_dg): In case of server errors clear resplen or *resplen2.
35315         [BZ #12454]
35316         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
35317         when there are multiple maps.
35318         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
35319         (_dl_fini): Remove test here.
35321         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
35323 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
35325         [BZ #12350]
35326         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
35327         bit from old_res_options.
35328         (gaih_inet): Likewise.
35330         [BZ #11099]
35331         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
35332         as signed.
35334         * resolv/res_init.c (res_setoptions): Make the code more compact.
35336         [BZ #11558]
35337         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
35338         set RES_USEVC.
35340         [BZ #11634]
35341         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
35343         * malloc/malloc.h: Mark malloc hook variables as deprecated.
35345         [BZ #11781]
35346         * malloc/malloc.h: Declare malloc hook variables as volatile.
35348         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
35349         in last patch.
35351         [BZ #11799]
35352         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
35353         raise in the comment.
35354         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
35355         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
35356         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
35358 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
35360         [BZ #12811]
35361         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
35362         grow the buffers more if it already has to be sufficient.
35363         (build_wcs_upper_buffer): Likewise.
35364         * posix/regexec.c (check_matching): Likewise.
35365         (clean_state_log_if_needed): Likewise.
35366         (extend_buffers): Don't enlarge buffers beyond size of the input
35367         buffer.
35368         Patches mostly by Emil Wojak <emil@wojak.eu>.
35369         * posix/bug-regex32.c: New file.
35370         * posix/Makefile (tests): Add bug-regex32.
35372         * locale/findlocale.c (_nl_find_locale): Return right away if
35373         _nl_explode_name failed.
35374         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
35376         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
35378         * debug/xtrace.sh: Unify messages.
35379         * malloc/memusage.sh: Likewise.
35381         [BZ #12813]
35382         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
35383         time symbol from vDSO.  Substitute with vsyscall if not available.
35384         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
35385         __vdso_time.
35387         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
35388         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
35389         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
35390         Add sendmmsg and internal_sendmmsg.
35391         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
35392         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
35393         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
35395         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
35396         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
35397         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
35399 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
35401         [BZ #12813]
35402         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
35403         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
35404         available.
35405         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
35406         __vdso_getcpu.
35408         [BZ #12814]
35409         * iconvdata/Makefile (tests): Add bug-iconv9.
35410         * iconvdata/bug-iconv9.c: New file.
35412 2011-05-27  Andreas Schwab  <schwab@redhat.com>
35414         [BZ #12814]
35415         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
35417 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
35419         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
35420         (struct user_regs_struct): Change intcs field back to cs.
35422 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
35424         * po/ja.po: Update from translation team.
35426 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
35428         [BZ #12795]
35429         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
35430         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
35432 2011-05-20  Andreas Schwab  <schwab@redhat.com>
35434         * stdlib/longlong.h: Update from GCC.
35436 2011-05-23  Andreas Schwab  <schwab@redhat.com>
35438         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
35439         parameter name.
35440         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
35441         Add parameter name.
35442         (__sysconf): Pass it down.
35444 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
35446         [BZ #12671]
35447         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
35448         some situations.
35449         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
35450         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
35451         add in in __libc_use_alloca calls.  Adjust callers.
35452         (glob): Use malloc in some situations.
35454         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
35455         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
35456         pltexit.
35458 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
35460         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
35461         and CLOCK_BOOTTIME_ALARM.
35463         [BZ #12782]
35464         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
35465         is returned.
35467         * string/_strerror.c (__strerror_r): Print negative errors as signed
35468         numbers.
35470         [BZ #12777]
35471         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
35472         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
35473         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
35475         * configure.in: Fix typo in redirection and correct removal of test
35476         files in two cases.
35478         [BZ #12788]
35479         * locale/setlocale.c (new_composite_name): Fix test to check for
35480         identical name of all categories.
35482         [BZ #12792]
35483         * libio/filedoalloc.c (local_isatty): New function.
35484         (_IO_file_doallocate): Use local_isatty.
35485         * stdio-common/perror.c (perror): In case a new stream is used
35486         forward the stream error.
35487         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
35488         error flag.
35490 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
35492         [BZ #11869]
35493         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
35494         alloca.
35495         * include/alloca.h (extend_alloca_account): Define.
35497         [BZ #11857]
35498         * posix/regex.h: Fix comments with documentation of user-accessible
35499         fields after compilation and describe correct free'ing of pattern
35500         after re_compile_pattern.
35501         Patch by Reuben Thomas <rrt@sc3d.org>.
35503 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
35505         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
35506         and -mno-altivec to prevent the compiler from using Altivec and/or
35507         VSX instructions when the corresponding registers are not available.
35509 2011-05-19  Andreas Schwab  <schwab@redhat.com>
35511         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
35513 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
35515         * libio/freopen.c (freopen): Use __dup2, not dup2.
35516         * libio/freopen64.c (freopen64): Likewise.
35518 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
35520         [BZ #12775]
35521         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
35522         * math/Makefile (tests): Add test-powl.
35523         (CFLAGS-test-powl.c): Define.
35524         * math/test-powl.c: New file.
35526 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35528         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
35530 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
35532         [BZ #11837]
35533         * iconvdata/gb18030.c: Update to GB18020-2005.
35535 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
35537         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
35538         RE_SYNTAX_POSIX_AWK): Update to match recent development.
35539         Patch by Aharon Robbins <arnold@skeeve.com>.
35541         [BZ #11892]
35542         * stdlib/putenv.c (putenv): Don't always create copy of the variable
35543         on the stack.
35545         [BZ #11895]
35546         * misc/pselect.c (__pselect): Handle timeout value errors hidden
35547         through underflows.
35549         [BZ #12766]
35550         * misc/error.c (error_at_line): Ensure file_name and old_file_name
35551         point to strings before performing equality test for error_one_per_line
35552         mode.
35554         [BZ #11697]
35555         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
35557         [BZ #11820]
35558         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
35559         (struct user_fpregs_struct): Avoid __uint*_t types.
35561         [BZ #6420]
35562         * malloc/mtrace.c (tr_where): Add additional parameter to point to
35563         symbol info.  Use it instead of calling _dl_addr locally.
35564         (lock_and_info): New function.
35565         (tr_freehook): Call lock_and_info and pass symbol info as additional
35566         parameter to tr_where.
35567         (tr_mallochook): Likewise.
35568         (tr_reallochook): Likewise.
35569         (tr_memalignhook): Likewise.
35571         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
35572         used and couldn't be at all thread-safe.
35574 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
35576         * libio/freopen.c (freopen): Don't close old file descriptor
35577         before the new one is opened.  Instead dup the new file descriptor
35578         to the old one after the new stream is created.
35579         * libio/freopen64.c (freopen64): Likewise.
35580         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
35581         * libio/fileops.c (_IO_new_file_close_it): Handle new
35582         _IO_FLAGS2_NOCLOSE flag.
35583         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
35584         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
35585         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
35586         _IO_FLAGS2_NOCLOSE flag.
35587         * include/unistd.h: Add hidden_proto for dup3.
35588         Define __have_dup3.
35589         * io/dup3.c: Define hidden symbol.
35590         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
35592         [BZ #7101]
35593         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
35594         when an incomplete long option is used.
35595         * posix/tst-getopt_long1.c: New file.
35596         * posix/Makefile (tests): Add tst-getopt_long1.
35598         [BZ #10138]
35599         * scripts/config.guess: Update from autoconf-2.68.
35600         * scripts/config.sub: Likewise.
35602         [BZ #10157]
35603         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
35604         tests into ...
35605         (has_cpuclock): ...this.  New function.
35606         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
35607         macro here based on has_cpuclock code.
35609         [BZ #10149]
35610         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35611         First byte (not low byte) is now always NUL.
35612         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
35614         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35615         Use non-cancelable interfaces.
35617         [BZ #9809]
35618         * locale/iso-639.def: Add entry for Sorani.
35620         [BZ #11901]
35621         * include/stdlib.h: Move include protection to the right place.
35622         Define abort_msg_s.  Declare __abort_msg with it.
35623         * stdlib/abort.c (__abort_msg): Adjust type.
35624         * assert/assert.c (__assert_fail_base): New function.  Majority
35625         of code from __assert_fail.  Allocate memory for __abort_msg with
35626         mmap.
35627         (__assert_fail): Now call __assert_fail_base.
35628         * assert/assert-perr.c: Remove bulk of implementation.  Use
35629         __assert_fail_base.
35630         * include/assert.hL Declare __assert_fail_base.
35631         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
35632         mmap.
35633         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
35635 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
35637         [BZ #11952]
35638         [BZ #12453]
35639         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
35640         until all modules are registered in the DTV.
35641         * elf/Makefile: Add rules to build and run tst-tls19.
35642         * elf/tst-tls19.c: New file.
35643         * elf/tst-tls19mod1.c: New file.
35644         * elf/tst-tls19mod2.c: New file.
35645         * elf/tst-tls19mod3.c: New file.
35646         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
35648         [BZ #12083]
35649         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
35650         correctly.
35652         [BZ #12601]
35653         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
35654         two-byte sequence errors.
35655         * iconvdata/Makefile (tests): Add bug-iconv8.
35656         * iconvdata/bug-iconv8.c: New file.
35658         [BZ #12626]
35659         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
35660         buf2 definition.
35662         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
35664         [BZ #12432]
35665         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
35666         (dummy_getcfa): New function.
35667         (init): Get _Unwind_GetCFA address, use dummy if not found.
35668         (backtrace_helper): In recursion check, also check whether CFA changes.
35669         (__backtrace): Completely initialize arg.
35671         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
35672         storing incomplete byte sequence in state object.  Avoid testing for
35673         guaranteed too small input if we know there is enough data available.
35675 2011-05-11  Andreas Schwab  <schwab@redhat.com>
35677         * Makeconfig (+link-pie): Indent.
35678         * Rules (binaries-pie): Define if $(have-fpie) and
35679         $(build-shared).
35680         (binaries-shared): Also filter out $(binaries-pie).
35681         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
35682         * nscd/Makefile (others-pie): Add nscd.
35683         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
35684         ($(objpfx)nscd): Remove command override.
35685         * login/Makefile (others-pie): Add pt_chown.
35686         ($(objpfx)pt_chown): Remove command override.
35687         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
35688         remove command overrides.
35690 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
35692         * libio/tst_putwc.c: Fix error messages.
35694         [BZ #12724]
35695         * libio/fileops.c (_IO_new_file_close_it): Always flush when
35696         currently writing and seek to current position when not.
35697         * libio/Makefile (tests): Add bug-fclose1.
35698         * libio/bug-fclose1.c: New file.
35700 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
35702         [BZ #12511]
35703         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
35704         don't set DF_1_NODELETE here.
35705         (do_lookup_x): When entering new entry test for copy relocation
35706         and if necessary set DF_1_NODELETE flag.
35707         * elf/tst-unique4.cc: New file.
35708         * elf/tst-unique4.h: New file.
35709         * elf/tst-unique4lib.cc: New file.
35710         * elf/Makefile: Add rules to build and run tst-unique4.
35711         Patch by Piotr Bury <pbury@goahead.com>.
35713 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
35715         [BZ #12052]
35716         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
35718         [BZ #12625]
35719         * misc/mntent_r.c (addmntent): Flush the stream after the output
35721         [BZ #12393]
35722         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
35723         (is_trusted_path_normalize): Skip initial colon.  Append slash
35724         to empty buffer.  Duplicate is_trusted_path code but allow
35725         constructed patch to be prefix.
35726         (is_dst): Allow $ORIGIN followed by /.
35727         (_dl_dst_substitute): Correct clearing of check_for_trusted.
35728         Correct testing of result of is_trusted_path_normalize
35729         (decompose_rpath): Fix warning.
35731 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
35733         [BZ #11257]
35734         * grp/initgroups.c (internal_getgrouplist): When we found the service
35735         list through the initgroups entry in nsswitch.conf do not always
35736         continue on a successful lookup.  Don't always use the
35737         __nss_group_database value if it is set.
35738         * nss/nsswitch.conf (initgroups): Change action for successful db
35739         lookup to continue for compatibility.
35741 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
35743         [BZ #11532]
35744         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
35745         and CP774 modules.
35746         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
35747         and CP774 modules.
35748         * iconvdata/tst-tables.sh: Likewise.
35749         * iconvdata/cp770.c: New file.
35750         * iconvdata/cp771.c: New file.
35751         * iconvdata/cp772.c: New file.
35752         * iconvdata/cp773.c: New file.
35753         * iconvdata/cp774.c: New file.
35754         * iconvdata/testdata/CP770: New file.
35755         * iconvdata/testdata/CP770..UTF8: New file.
35756         * iconvdata/testdata/CP771: New file.
35757         * iconvdata/testdata/CP771..UTF8: New file.
35758         * iconvdata/testdata/CP772: New file.
35759         * iconvdata/testdata/CP772..UTF8: New file.
35760         * iconvdata/testdata/CP773: New file.
35761         * iconvdata/testdata/CP773..UTF8: New file.
35762         * iconvdata/testdata/CP774: New file.
35763         * iconvdata/testdata/CP774..UTF8: New file.
35765         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
35766         END CHARMAP line.
35767         * iconvdata/gen-8bit-gap.sh: Likewise.
35768         * iconvdata/gen-8bit.sh: Likewise.
35770         * locale/iso-639.def: Add ary entry.
35772         [BZ #11258]
35773         * locale/C-translit.h.in: Add U20A1 transliteration.
35775         [BZ #12178]
35776         * locale/iso-639.def: Add wae entry.
35777         Patch by Kevin Bortis <bortis@translate-wae.ch>.
35779         [BZ #12545]
35780         * locale/programs/localedef.c (construct_output_path): Use ssize_t
35781         for n.
35783         [BZ #12711]
35784         * locale/C-translit.h.in: Add entry for U20B9.
35785         Patch by pravin.d.s@gmail.com.
35787 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
35789         [BZ #12713]
35790         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
35791         ENAMETOOLONG use generic getcwd.
35792         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
35793         in rtld.  Use *stat64.
35794         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
35795         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
35796         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
35797         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
35798         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
35799         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
35800         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
35801         __fstatat64 macros.
35802         * include/dirent.h: Add libc_hidden_proto for rewinddir.
35803         * dirent/rewinddir.c: Add libc_hidden_def.
35804         * sysdeps/mach/hurd/rewinddir.c: Likewise.
35805         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
35807         * include/dirent.h (__alloc_dir): Add flags parameter.
35808         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
35809         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
35810         __alloc_dir.
35811         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
35812         from fdopendir if O_CLOEXEC is already set.
35814 2011-03-15  Alan Modra  <amodra@gmail.com>
35816         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
35817         l_tls_firstbyte_offset non-zero.  Save padding offset in
35818         l_tls_firstbyte_offset for later use.
35819         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
35820         freeing static tls block.
35822 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
35824         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
35825         where #ifdef was intended.  The intent is to prevent ARG_MAX from
35826         being defined by the kernel headers.
35828 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
35830         [BZ #12734]
35831         * resolv/resolv.h: Define RES_NOTLDQUERY.
35832         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
35833         no-tld-query and set RES_NOTLDQUERY.
35834         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
35835         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
35836         modern BIND to search name as TLD unless forbidden.
35838 2011-05-07  Petr Baudis  <pasky@suse.cz>
35839             Ulrich Drepper  <drepper@gmail.com>
35841         [BZ #12393]
35842         * elf/dl-load.c (fillin_rpath): Move trusted path check...
35843         (is_trusted_path): ...to here.
35844         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
35845         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
35846         using is_trusted_path_normalize() in setuid scripts.
35848 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
35850         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
35851         __BEGIN/__END_DECLS.
35853 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
35855         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
35856         NSS_STATUS_NOTFOUND if no record was found.
35858 2011-05-05  Andreas Schwab  <schwab@redhat.com>
35860         * sunrpc/Makefile (headers): Add rpc/netdb.h.
35861         (headers-not-in-tirpc): Remove rpc/netdb.h
35862         * resolv/netdb.h: Revert last change.
35864 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
35866         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
35867         circular dependency between libgcc.a and libc.a.
35869 2011-05-05  Andreas Schwab  <schwab@redhat.com>
35871         * resolv/netdb.h: Don't include <rpc/netdb.h>.
35872         * nis/Makefile: Don't install rpcsvc/*.
35873         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
35874         instead of <rpc/types.h>.
35875         (MAXHOSTNAMELEN): Define.
35877 2011-05-03  Andreas Schwab  <schwab@redhat.com>
35879         * elf/ldconfig.c (add_dir): Don't crash on empty path.
35881 2011-04-28  Maciej Babinski  <mbabinski@google.com>
35883         [BZ #12714]
35884         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
35885         gethostbyname4_r when IPv6 results are possible.
35887 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
35889         [BZ #12723]
35890         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
35891         _PC_PIPE_BUF handling.
35893 2011-04-30  Bruno Haible  <bruno@clisp.org>
35895         [BZ #12717]
35896         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
35897         * resolv/netdb.h (getnameinfo): Change type of flags parameter
35898         to 'int'.
35899         * inet/getnameinfo.c (getnameinfo): Likewise.
35901 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
35903         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
35904         to groups setting in database lookup.
35905         * nss/nsswitch.conf: Add initgroups entry.
35907 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
35909         [BZ #12685]
35910         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
35911         mode string.
35912         Patch by Eric Blake <eblake@redhat.com>.
35914 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
35916         * sunrpc/Makefile (need-export-routines): Add svc_run.
35917         (routines): Remove svc_run.
35918         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
35919         * sunrpc/clnt_perr.c (clnt_perrno): Export.
35920         * sunrpc/svc_run.c (svc_run): Likewise.
35921         * sunrpc/svc_udp.c (svcudp_create): Likewise.
35923 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
35925         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
35926         problem in reallocation in last patch.
35928 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
35930         * sunrpc/Makefile: Move inclusion of Rules.
35932 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
35934         * nss/nss_files/files-initgroups.c: New file.
35935         * nss/Makefile (libnss_files-routines): Add files-initgroups.
35936         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
35937         _nss_files_initgroups_dyn.
35939 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
35941         * elf/elf.h (R_ARM_IRELATIVE): Define.
35943 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
35945         * po/ru.po: Update from translation team.
35947 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
35949         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
35950         dependencies.
35952 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
35954         [BZ #12653]
35955         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
35956         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
35957         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35958         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
35959         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
35961 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
35963         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
35964         differing bytes.
35965         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
35966         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
35967         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
35969 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
35971         [BZ #12420]
35972         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
35973         storing it.
35974         * stdlib/bug-getcontext.c: New file.
35975         * stdlib/Makefile: Add rules to build and run bug-getcontext.
35977 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35979         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
35980         instructions into .machine "z9-109".
35981         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
35982         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
35984 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35986         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
35987         between environment variables and auxiliary vector.
35989 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
35991         * Makefile: Add rules to build linkobj/libc.so.
35992         * include/libc-symbols.h: Define libc_hidden_nolink.
35993         * include/rpc/auth.h: Mark functions which are to be hidden.
35994         * include/rpc/auth_des.h: Likewise.
35995         * include/rpc/auth_unix.h: Likewise.
35996         * include/rpc/clnt.h: Likewise.
35997         * include/rpc/des_crypt.h: Likewise.
35998         * include/rpc/key_prot.h: Likewise.
35999         * include/rpc/pmap_clnt.h: Likewise.
36000         * include/rpc/pmap_prot.h: Likewise.
36001         * include/rpc/pmap_rmt.h: Likewise.
36002         * include/rpc/rpc_msg.h: Likewise.
36003         * include/rpc/svc.h: Likewise.
36004         * include/rpc/svc_auth.h: Likewise.
36005         * include/rpc/xdr.h: Likewise.
36006         * nis/Makefile: Link all DSOs against linkobj/libc.so.
36007         * nss/Makefile: Likewise.
36008         * sunrpc/Makefile: Don't install headers.  Build library with normal
36009         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
36010         * sunrpc/auth_des.c: Hide exported symbols by default, export some
36011         for the compat linking library.  Remove use of INTDEF/INTUSE.
36012         * sunrpc/auth_none.c: Likewise.
36013         * sunrpc/auth_unix.c: Likewise.
36014         * sunrpc/authdes_prot.c: Likewise.
36015         * sunrpc/authuxprot.c: Likewise.
36016         * sunrpc/clnt_gen.c: Likewise.
36017         * sunrpc/clnt_perr.c: Likewise.
36018         * sunrpc/clnt_raw.c: Likewise.
36019         * sunrpc/clnt_simp.c: Likewise.
36020         * sunrpc/clnt_tcp.c: Likewise.
36021         * sunrpc/clnt_udp.c: Likewise.
36022         * sunrpc/clnt_unix.c: Likewise.
36023         * sunrpc/des_crypt.c: Likewise.
36024         * sunrpc/des_soft.c: Likewise.
36025         * sunrpc/get_myaddr.c: Likewise.
36026         * sunrpc/key_call.c: Likewise.
36027         * sunrpc/key_prot.c: Likewise.
36028         * sunrpc/netname.c: Likewise.
36029         * sunrpc/pm_getmaps.c: Likewise.
36030         * sunrpc/pm_getport.c: Likewise.
36031         * sunrpc/pmap_clnt.c: Likewise.
36032         * sunrpc/pmap_prot.c: Likewise.
36033         * sunrpc/pmap_prot2.c: Likewise.
36034         * sunrpc/pmap_rmt.c: Likewise.
36035         * sunrpc/publickey.c: Likewise.
36036         * sunrpc/rpc_cmsg.c: Likewise.
36037         * sunrpc/rpc_common.c: Likewise.
36038         * sunrpc/rpc_dtable.c: Likewise.
36039         * sunrpc/rpc_prot.c: Likewise.
36040         * sunrpc/rpc_thread.c: Likewise.
36041         * sunrpc/rtime.c: Likewise.
36042         * sunrpc/svc.c: Likewise.
36043         * sunrpc/svc_auth.c: Likewise.
36044         * sunrpc/svc_authux.c: Likewise.
36045         * sunrpc/svc_raw.c: Likewise.
36046         * sunrpc/svc_run.c: Likewise.
36047         * sunrpc/svc_simple.c: Likewise.
36048         * sunrpc/svc_tcp.c: Likewise.
36049         * sunrpc/svc_udp.c: Likewise.
36050         * sunrpc/svc_unix.c: Likewise.
36051         * sunrpc/svcauth_des.c: Likewise.
36052         * sunrpc/xcrypt.c: Likewise.
36053         * sunrpc/xdr.c: Likewise.
36054         * sunrpc/xdr_array.c: Likewise.
36055         * sunrpc/xdr_float.c: Likewise.
36056         * sunrpc/xdr_intXX_t.c: Likewise.
36057         * sunrpc/xdr_mem.c: Likewise.
36058         * sunrpc/xdr_rec.c: Likewise.
36059         * sunrpc/xdr_ref.c: Likewise.
36060         * sunrpc/xdr_sizeof.c: Likewise.
36061         * sunrpc/xdr_stdio.c: Likewise.
36063 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
36065         [BZ #12650]
36066         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
36067         * sysdeps/ia64/dl-tls.h: Likewise.
36068         * sysdeps/powerpc/dl-tls.h: Likewise.
36069         * sysdeps/s390/dl-tls.h: Likewise.
36070         * sysdeps/sh/dl-tls.h: Likewise.
36071         * sysdeps/sparc/dl-tls.h: Likewise.
36072         * sysdeps/x86_64/dl-tls.h: Likewise.
36073         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
36075 2011-03-14  Andreas Schwab  <schwab@redhat.com>
36077         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
36078         rpath element also skip the following colon.
36079         (expand_dynamic_string_token): Add is_path parameter and pass
36080         down to DL_DST_REQUIRED and _dl_dst_substitute.
36081         (decompose_rpath): Call expand_dynamic_string_token with
36082         non-zero is_path.  Ignore empty rpaths.
36083         (_dl_map_object_from_fd): Call expand_dynamic_string_token
36084         with zero is_path.
36086 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
36088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
36089         Make cancelable.
36091 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
36093         [BZ #12655]
36094         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
36095         Patch by Filipe David Manana <fdmanana@apache.org>.
36097 2011-04-07  Andreas Schwab  <schwab@redhat.com>
36099         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
36100         Maintain aligned stack.
36101         (CHECK_RSP): Remove unused macro.
36103 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
36105         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
36106         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
36108 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
36110         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
36112         * include/features.h: Mention __USE_XOPEN2K8 in comment.
36114 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
36116         [BZ #12518]
36117         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
36118         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
36119         * sysdeps/x86_64/memmove.c: New file.
36120         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
36121         (memcpy): Renamed to ...
36122         (__new_memcpy): This.
36123         (memcpy): Provide GLIBC_2_14 memcpy.
36124         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
36125         (memcpy): Provide GLIBC_2_2_5 memcpy.
36127 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
36129         [BZ #12631]
36130         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
36132 2011-03-30  Andreas Schwab  <schwab@redhat.com>
36134         * misc/syncfs.c: New file.
36135         * misc/Makefile (routines): Add syncfs.
36136         * posix/unistd.h: Declare syncfs.
36137         * sysdeps/unix/syscalls.list: Add syncfs.
36139 2011-04-01  Andreas Schwab  <schwab@redhat.com>
36141         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
36142         open_by_handle_at.
36143         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
36144         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36145         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36146         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36147         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36148         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
36149         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36151 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
36153         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
36154         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36155         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
36156         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36157         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36158         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36159         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36161         * io/Makefile: Compile fallocate.c, fallocate64.c, and
36162         sync_file_range.c with -fexceptions.
36163         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
36164         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
36165         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
36166         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
36167         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
36168         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
36169         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
36170         sync_file_range as cancellation point
36171         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
36172         now a wrapper around __call_sync_file_range with cancellation handling.
36173         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
36174         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
36175         function name to __call_sync_file_range.
36176         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
36177         Add call_sync_file_range.
36179 2011-04-01  Andreas Schwab  <schwab@redhat.com>
36181         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36182         bits/timex.h.
36184 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
36186         * iconv/iconv.h: Fix typo in comment.
36187         * io/fcntl.h: Likewise.
36188         * libio/stdio.h: Likewise.
36189         * posix/spawn.h: Likewise.
36190         * posix/unistd.h: Likewise.
36191         * stdlib/stdlib.h: Likewise.
36192         * time/time.h: Likewise.
36193         * wcsmbs/wchar.h: Likewise.
36195         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
36196         open_by_handle): Add.
36197         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
36198         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
36199         Augment a few comments.
36200         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36201         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36202         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36203         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36204         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36205         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
36206         open_by_handle.
36208         * io/fcntl.h (AT_EMPTY_PATH): Define.
36210 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
36212         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
36213         * sysdeps/unix/sysv/linux/bits/time.h: New file.
36214         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
36215         to...
36216         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
36217         * Versions.def: Add GLIBC_2.14.
36218         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
36219         Export.
36221 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
36223         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
36224         round counter.
36225         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36227 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
36229         [BZ #12597]
36230         * string/test-strncmp.c (do_page_test): New function.
36231         (check2): Likewise.
36232         (test_main): Call check2.
36233         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
36235 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
36237         [BZ #12587]
36238         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
36239         Handle cache information in CPU leaf 4.
36240         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36242 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
36244         [BZ #12583]
36245         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
36246         character representation.
36247         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
36249 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
36251         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
36252         END(__isnan) to END(__isnanf) to match function entry point/label
36253         EALIGN(__isnanf,...).
36255 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
36257         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
36259 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
36261         [BZ #12510]
36262         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
36263         copy from the symbol referenced in the relocation to initialize the
36264         used variable.
36265         Patch by Piotr Bury <pbury@goahead.com>.
36266         * elf/Makefile: Add rules to build and tst-unique3.
36267         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
36268         * elf/tst-unique3.cc: New file.
36269         * elf/tst-unique3.h: New file.
36270         * elf/tst-unique3lib.cc: New file.
36271         * elf/tst-unique3lib2.cc: New file.
36273         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
36275 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
36277         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
36278         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
36279         to _start.
36281 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
36283         * elf/dl-load.c (_dl_map_object): If we are looking for the first
36284         to-be-loaded object along a path to loader is ld.so.
36286 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
36287             Ulrich Drepper  <drepper@gmail.com>
36289         * sysdeps/x86_64/memset.S: After aligning destination, code
36290         branches to different locations depending on the value of
36291         misalignment, when multiarch is enabled. Fix this.
36293 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
36295         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
36296         Set _x86_64_preferred_memory_instruction for AMD processsors.
36297         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36298         Set bit_Prefer_SSE_for_memop for AMD processors.
36300 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
36302         * libio/fmemopen.c (fmemopen): Optimize a bit.
36304 2011-03-03  Andreas Schwab  <schwab@redhat.com>
36306         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
36308 2011-03-03  Roland McGrath  <roland@redhat.com>
36310         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
36312 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
36314         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
36315         __bzero_ultra1 instead of __memset_ultra1.
36317 2011-02-23  Andreas Schwab  <schwab@redhat.com>
36318             Ulrich Drepper  <drepper@gmail.com>
36320         [BZ #12509]
36321         * include/link.h (struct link_map): Add l_orig_initfini.
36322         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
36323         returning unsuccessfully.
36324         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
36325         close of a file loaded at startup, restore the original l_initfini
36326         list.
36327         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
36328         list, store the pointer.
36329         * elf/Makefile ($(objpfx)noload-mem): New rule.
36330         (noload-ENV): Define.
36331         (tests): Add $(objpfx)noload-mem.
36332         * elf/noload.c: Include <memcheck.h>.
36333         (main): Call mtrace.  Close all opened handles.
36335 2011-02-17  Andreas Schwab  <schwab@redhat.com>
36337         [BZ #12454]
36338         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
36339         dependencies are missing.
36341 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36343         Fix __if_freereq crash: Unlike the generic version which uses free,
36344         Hurd needs munmap.
36345         * sysdeps/mach/hurd/ifreq.h: New file.
36347 2011-01-27  Petr Baudis  <pasky@suse.cz>
36348             Ulrich Drepper  <drepper@gmail.com>
36350         [BZ 12445]#
36351         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
36352         to extend_alloca().
36353         * stdio-common/bug23.c: New file.
36354         * stdio-common/Makefile (tests): Add bug23.
36356 2010-09-28  Andreas Schwab  <schwab@redhat.com>
36357             Ulrich Drepper  <drepper@gmail.com>
36359         [BZ #12489]
36360         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
36361         before performing relro protection.  At old place add assertion
36362         to make sure nothing changed.
36364 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
36365             Glauber de Oliveira Costa  <glommer@gmail.com>
36367         * elf/elf.h: Add new ARM TLS relocs.
36369 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
36371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
36372         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
36373         cast from r3.
36374         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
36375         'tests' variable.
36376         * sysdeps/wordsize-64/tst-writev.c: New file.
36378 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
36380         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
36381         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
36382         insns in _dl_start to prevent a TOC reference before relocs are
36383         resolved.
36385 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
36387         [BZ #12469]
36388         * Makeconfig: Remove RANLIB definition.
36389         * Makerules: Don't use RANLIB.
36390         * aclocal.m4: Remove ranlib test.
36391         * configure.in: No need to check for ranlib.
36392         * elf/rtld-Rules: Don't use RANLIB.
36394 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36396         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
36397         protection macro.
36398         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
36399         inclusion protection macro.
36401         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
36402         SIGRTMIN and SIGRTMAX and print information in that case only when
36403         SIGRTMIN is defined.
36405 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
36407         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
36408         arginfo fn returning -1.
36410         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
36411         and thousands string is zero terminated.
36413 2011-02-03  Andreas Schwab  <schwab@redhat.com>
36415         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
36416         sysdeps/unix/sysv/linux/bits/socket.h.
36418 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36420         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
36421         (__CPU_COUNT): Remove old macros.
36422         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
36423         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
36424         (__CPU_ALLOC, __CPU_FREE): Add macros.
36425         (__sched_cpualloc, __sched_cpufree): Add declarations.
36427 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
36429         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
36430         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
36431         * nscd/aicache.c (addhstaiX): Return timeout of added value.
36432         (readdhstai): Return value of addhstaiX call.
36433         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
36434         (addgrbyX): Return value returned by cache_addgr.
36435         (readdgrbyname): Return value returned by addgrbyX.
36436         (readdgrbygid): Likewise.
36437         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
36438         (addpwbyX): Return value returned by cache_addpw.
36439         (readdpwbyname): Return value returned by addhstbyX.
36440         (readdpwbyuid): Likewise.
36441         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
36442         (addservbyX): Return value returned by cache_addserv.
36443         (readdservbyname): Return value returned by addservbyX:
36444         (readdservbyport): Likewise.
36445         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
36446         (addhstbyX): Return value returned by cache_addhst.
36447         (readdhstbyname): Return value returned by addhstbyX.
36448         (readdhstbyaddr): Likewise.
36449         (readdhstbynamev6): Likewise.
36450         (readdhstbyaddrv6): Likewise.
36451         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
36452         (readdinitgroups): Return value returned by addinitgroupsX.
36453         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
36454         (prune_cache): Keep track of timeout value of re-added entries.
36455         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
36456         * nscd/nscd.h: Adjust prototypes of readd* functions.
36458 2011-02-04  Roland McGrath  <roland@redhat.com>
36460         * nis/nis_server.c (nis_servstate): Use the right name for 0.
36461         (nis_stats): Likewise.
36462         * nis/nis_modify.c (nis_modify): Likewise.
36463         * nis/nis_remove.c (nis_remove): Likewise.
36464         * nis/nis_add.c (nis_add): Likewise.
36466         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
36468         * posix/fnmatch_loop.c: Add some consts.
36470         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
36472 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
36474         [BZ #12460]
36475         * config.make.in (config-cflags-novzeroupper): Define.
36476         * configure.in: Substitute libc_cv_cc_novzeroupper.
36477         * elf/Makefile (AVX-CFLAGS): Define.
36478         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
36479         (CFLAGS-tst-auditmod4a.c): Likewise.
36480         (CFLAGS-tst-auditmod4b.c): Likewise.
36481         (CFLAGS-tst-auditmod6b.c): Likewise.
36482         (CFLAGS-tst-auditmod6c.c): Likewise.
36483         (CFLAGS-tst-auditmod7b.c): Likewise.
36484         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
36486 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
36488         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
36489         function to the callback.
36490         Patch partly by Jiri Olsa <jolsa@redhat.com>.
36492 2011-02-02  Andreas Schwab  <schwab@redhat.com>
36494         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
36495         of errno.
36497 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
36499         [BZ #11724]
36500         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
36501         of constructors.
36502         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
36503         of destructors.
36504         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
36506         [BZ #11724]
36507         * elf/Makefile: Add rules to build and run new test.
36508         * elf/tst-initorder.c: New file.
36509         * elf/tst-initorder.exp: New file.
36510         * elf/tst-initordera1.c: New file.
36511         * elf/tst-initordera2.c: New file.
36512         * elf/tst-initordera3.c: New file.
36513         * elf/tst-initordera4.c: New file.
36514         * elf/tst-initorderb1.c: New file.
36515         * elf/tst-initorderb2.c: New file.
36516         * elf/tst-order-a1.c: New file.
36517         * elf/tst-order-a2.c: New file.
36518         * elf/tst-order-a3.c: New file.
36519         * elf/tst-order-a4.c: New file.
36520         * elf/tst-order-b1.c: New file.
36521         * elf/tst-order-b2.c: New file.
36522         * elf/tst-order-main.c: New file.
36523         New test case by George Gensure <werkt0@gmail.com>.
36525 2010-10-01  Andreas Schwab  <schwab@redhat.com>
36527         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
36528         decoding ACE if AI_CANONIDN.
36530 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
36532         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
36534 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
36536         * version.h (RELEASE): Bump for 2.13 release.
36537         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
36539         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
36541         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
36542         MADV_NOHUGEPAGE.
36543         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
36544         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
36545         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
36546         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
36547         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
36548         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
36550         * posix/getconf.c: Update copyright year.
36551         * catgets/gencat.c: Likewise.
36552         * csu/version.c: Likewise.
36553         * debug/catchsegv.sh: Likewise.
36554         * debug/xtrace.sh: Likewise.
36555         * elf/ldconfig.c: Likewise.
36556         * elf/ldd.bash.in: Likewise.
36557         * elf/sprof.c (print_version): Likewise.
36558         * iconv/iconv_prog.c: Likewise.
36559         * iconv/iconvconfig.c: Likewise.
36560         * locale/programs/locale.c: Likewise.
36561         * locale/programs/localedef.c: Likewise.
36562         * malloc/memusage.sh: Likewise.
36563         * malloc/mtrace.pl: Likewise.
36564         * nscd/nscd.c (print_version): Likewise.
36565         * nss/getent.c: Likewise.
36567         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
36568         PF_CAIF, and PF_ALG.
36569         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36571 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
36573         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
36574         (modules-names): Use them.
36575         (ifunc-test-modules, ifunc-pie-tests): Define.
36576         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
36577         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
36578         (test-extras): Likewise.
36579         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
36580         $(compile-command.c).
36581         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
36582         (all-built-dso): Define.
36583         (check-textrel.out, check-execstack.out): Depend on it.
36585         * configure.in: Don't override --enable-multi-arch.
36587 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
36589         [BZ #6812]
36590         * nscd/hstcache.c (tryagain): Define.
36591         (cache_addhst): Return tryagain not notfound for temporary errors.
36592         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
36593         failed.
36595 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
36597         [BZ #10563]
36598         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
36599         to make the syscall.
36600         * sysdeps/unix/sysv/linux/setgroups.c: New file.
36602         [BZ #12378]
36603         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
36604         and fall back to matching as normal character if the string ends before
36605         the matching ']' is found.  This is what POSIX requires.
36606         * posix/testfnm.c: Adjust test result.
36607         * posix/globtest.sh: Adjust test result.  Add new test.
36608         * posix/tst-fnmatch.input: Likewise.
36609         * posix/tst-fnmatch2.c: Add new test.
36611 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
36613         * elf/Makefile (check-execstack): Revert last change.  Depend on
36614         check-execstack.h.
36615         (check-execstack.h): New target.
36616         (generated): Add check-execstack.h.
36617         * elf/check-execstack.c: Include "check-execstack.h".
36618         (main): Revert last change.
36619         (handle_file): Return zero if GNU_STACK is absent and
36620         DEFAULT_STACK_PERMS doesn't include PF_X.
36622 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
36624         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
36625         in child fails because the descriptor is already closed.
36626         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
36627         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
36628         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
36630         [BZ #12397]
36631         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
36632         syscall.
36634         [BZ #10484]
36635         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
36636         temporary buffer used to handle multi lookups locally.
36637         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
36639 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
36641         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
36642         loader is ld.so.
36644 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
36646         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
36647         alignment for SSE2.
36649 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
36651         [BZ #12394]
36652         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
36653         characters.  When rounding increased number of integer digits recompute
36654         number of groups.
36655         * stdio-common/tst-grouping.c: New file.
36656         * stdio-common/Makefile: Add rules to build and run tst-grouping.
36658 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
36660         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
36661         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
36663         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
36664         void.
36665         * bits/select.h: Likewise.
36667 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
36669         * po/ja.po: Update from translation team.
36671 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
36673         [BZ #11155]
36674         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
36675         implementation just like for lxstat, fxstatat, et al.
36677 2010-12-27  Jim Meyering  <meyering@redhat.com>
36679         [BZ #12348]
36680         * posix/regexec.c (build_trtable): Return failure indication upon
36681         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
36683 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
36685         [BZ #12201]
36686         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
36687         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
36688         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
36689         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
36691         [BZ #12207]
36692         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
36694         [BZ #12204]
36695         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
36696         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
36698 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
36700         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
36701         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
36702         script has SORT_BY_INIT_PRIORITY.
36703         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
36704         NO_CTORS_DTORS_SECTIONS is defined.
36705         * elf/soinit.c: Likewise.
36706         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
36707         NO_CTORS_DTORS_SECTIONS is defined.
36708         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
36709         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
36710         * sysdeps/sh/init-first.c: Likewise.
36711         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
36713 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
36715         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
36716         always use the slow path.
36718 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
36720         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
36721         similar rule which adds the sysdep directories to the header search in
36722         order to pick up the correct platform stackinfo.h.
36723         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
36724         perform test if it is, otherwise return successfully without testing.
36725         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
36726         DEFAULT_STACK_PERMS define in stackinfo.h.
36727         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
36728         defined in stackinfo.h.
36729         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
36730         DEFAULT_STACK_PERMS defined in stackinfo.h.
36731         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
36732         * sysdeps/ia64/stackinfo.h: Likewise.
36733         * sysdeps/s390/stackinfo.h: Likewise.
36734         * sysdeps/sh/stackinfo.h: Likewise.
36735         * sysdeps/sparc/stackinfo.h: Likewise.
36736         * sysdeps/x86_64/stackinfo.h: Likewise.
36737         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
36738         PF_X for powerpc64.  Retain PF_X for powerpc32.
36740 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
36742         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
36743         accurately.
36744         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
36745         GETDENTS_64BIT_ALIGNED.
36747 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
36749         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
36751 2010-12-10  Andreas Schwab  <schwab@redhat.com>
36753         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
36754         _GNU_SOURCE.
36756         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
36757         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
36758         Remove __restrict.
36759         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
36760         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
36762 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
36764         [BZ #11655]
36765         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
36766         are initialized.
36768 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
36770         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
36772 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
36774         * po/it.po: Update from translation team.
36776 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
36778         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
36779         unused codes.
36781 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
36783         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
36785 2010-11-24  Andreas Schwab  <schwab@redhat.com>
36787         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
36788         specially.
36789         (gaih_getanswer_slice): Likewise.
36791 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
36793         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
36795 2010-05-31  Petr Baudis  <pasky@suse.cz>
36797         [BZ #11149]
36798         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
36799         silently even in the chroot mode.
36801 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
36803         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
36804         last patch a bit.  Pretty printing
36806 2010-05-31  Petr Baudis <pasky@suse.cz>
36808         [BZ #10085]
36809         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
36810         initialization of skip_initgroups_dyn.
36812 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
36814         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
36815         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
36817 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
36819         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
36821 2010-11-11  Andreas Schwab  <schwab@redhat.com>
36823         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
36824         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
36825         (tst-fnmatch-ENV): Set MALLOC_TRACE.
36826         ($(objpfx)tst-fnmatch-mem): New rule.
36827         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
36828         * posix/tst-fnmatch.c (main): Call mtrace.
36830 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
36832         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36833         Support Intel processor model 6 and model 0x2c.
36835 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
36837         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
36838           signed comparison.
36840 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
36842         [BZ #12205]
36843         * string/test-strncasecmp.c (check_result): New function.
36844         (do_one_test): Use it.
36845         (check1): New function.
36846         (test_main): Use it.
36847         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
36848         Support strcasecmp and strncasecmp.
36850 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
36852         [BZ #12194]
36853         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
36854         * sysdeps/x86_64/bits/byteswap.h: Likewise.
36856 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
36858         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
36859         IFUNC support.
36860         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36861         memset-x86-64.
36862         * sysdeps/x86_64/multiarch/bzero.S: New file.
36863         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
36864         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
36865         * sysdeps/x86_64/multiarch/memset.S: New file.
36866         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
36867         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36868         Set bit_Prefer_SSE_for_memop for Intel processors.
36869         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
36870         Define.
36871         (index_Prefer_SSE_for_memop): Define.
36872         (HAS_PREFER_SSE_FOR_MEMOP): Define.
36874 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
36876         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
36877         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
36879 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
36881         [BZ #12191]
36882         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
36883         (__x86_64_raw_data_cache_size_half): Likewise.
36884         (__x86_64_raw_shared_cache_size): Likewise.
36885         (__x86_64_raw_shared_cache_size_half): Likewise.
36887         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
36888         (__x86_64_raw_data_cache_size_half): Likewise.
36889         (__x86_64_raw_shared_cache_size): Likewise.
36890         (__x86_64_raw_shared_cache_size_half): Likewise.
36891         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
36892         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
36893         and __x86_64_raw_shared_cache_size_half.  Round
36894         __x86_64_data_cache_size_half, __x86_64_data_cache_size
36895         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
36896         to multiple of 256 bytes.
36898 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
36900         [BZ #12167]
36901         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
36902         of inacessible symlinks.  Verify result of symlink before returning it.
36903         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
36904         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
36906 2010-10-28  Erich Ritz  <erichritz@gmail.com>
36908         * math/math.h (isinf): Fix typo in comment.
36910 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
36912         * po/da.po: Update from translation team.
36914 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
36916         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
36917         is added to the list.
36919 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36920             Ulrich Drepper  <drepper@gmail.com>
36922         * elf/dl-object.c (_dl_new_object): Don't append the new object to
36923         the global list here.  Move code to...
36924         (_dl_add_to_namespace_list): ...here.  New function.
36925         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
36926         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
36927         * elf/dl-load.c (lose): Don't remove the element from the list.
36928         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
36929         (_dl_map_object): Likewise.
36931 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
36933         [BZ #12159]
36934         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
36935         into all bytes of SSE register.
36936         Patch by Richard Li <richardpku@gmail.com>.
36938 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
36940         [BZ #12140]
36941         * malloc/malloc.c (_int_free): Fill correct number of bytes when
36942         perturbing.
36944 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
36946         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
36947         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
36948         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
36949         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
36950         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
36951         submachine.
36952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
36954 2010-10-22  Andreas Schwab  <schwab@redhat.com>
36956         * include/dlfcn.h (__RTLD_SECURE): Define.
36957         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
36958         mode & __RTLD_SECURE instead.
36959         (open_path): Rename preloaded parameter to secure.
36960         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
36961         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
36962         * elf/dl-deps.c (openaux): Likewise.
36963         * elf/rtld.c (struct map_args): Remove is_preloaded.
36964         (map_doit): Don't use it.
36965         (dl_main): Likewise.
36966         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
36967         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
36969 2010-09-09  Andreas Schwab  <schwab@redhat.com>
36971         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
36972         (sysd-rules-targets): Remove duplicates.
36973         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
36974         rtld-%.$o dependency.
36976 2010-10-18  Andreas Schwab  <schwab@redhat.com>
36978         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
36979         _dl_map_object do it.
36981 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
36983         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
36984         fast fma builtins, define the macros in the C99 standard.
36985         (FP_FAST_FMAF): Likewise.
36986         (FP_FAST_FMAL): Likewise.
36987         * sysdeps/x86_64/bits/mathdef.h: Likewise.
36989         * bits/mathdef.h: Update copyright year.
36990         * sysdeps/powerpc/bits/mathdef.h: Likewise.
36992 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
36994         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
36995         builtins, define the macros in the C99 standard.
36996         (FP_FAST_FMAF): Likewise.
36997         (FP_FAST_FMAL): Likewise.
36998         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
36999         multiply/add.
37000         (FP_FAST_FMAF): Likewise.
37002 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
37004         [BZ #3268]
37005         * math/libm-test.inc (fma_test): Some new testcases.
37006         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
37007         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
37008         y and infinite z.  Do multiplication by C already in long double.
37009         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
37010         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
37011         y and infinite z.  Do bitwise or of inexact bit into u.d.
37012         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
37013         * sysdeps/i386/fpu/s_fmaf.S: Removed.
37014         * sysdeps/i386/fpu/s_fma.S: Removed.
37015         * sysdeps/i386/fpu/s_fmal.S: Removed.
37017 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
37019         [BZ #3268]
37020         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
37021         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
37022         computation is not scheduled after fetestexcept.  Fix value
37023         of minimum denormal long double.
37025 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
37027         [BZ #3268]
37028         * math/libm-test.inc (fma_test): Add some more tests.
37029         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
37030         correctly.
37032 2010-10-15  Andreas Schwab  <schwab@redhat.com>
37034         * scripts/data/localplt-s390-linux-gnu.data: New file.
37035         * scripts/data/localplt-s390x-linux-gnu.data: New file.
37037 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
37039         [BZ #3268]
37040         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
37041         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
37042         instead of dbl-64.
37043         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
37044         inlines.
37045         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
37046         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
37047         if one of x and y is very large and the other is subnormal.
37048         * sysdeps/s390/fpu/s_fmaf.c: New file.
37049         * sysdeps/s390/fpu/s_fma.c: New file.
37050         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
37051         * sysdeps/powerpc/fpu/s_fma.S: New file.
37052         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
37053         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
37054         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
37056 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
37058         [BZ #3268]
37059         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
37060         fma tests.
37061         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
37062         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
37063         * sysdeps/i386/i686/multiarch/s_fma.c: Include
37064         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
37065         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
37066         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
37067         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
37069 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
37071         [BZ #12078]
37072         * posix/regcomp.c (parse_branch): One more memory leak plugged.
37073         * posix/bug-regex31.input: Add test case.
37075 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
37077         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
37078         * posix/bug-regex31.input: New file.
37080         [BZ #12078]
37081         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
37082         (parse_sub_exp): Fix last change, use postorder.
37084         * posix/bug-regex31.c: New file.
37085         * posix/Makefile: Add rules to build and run bug-regex31.
37087         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
37089         [BZ #12078]
37090         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
37092         [BZ #12108]
37093         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
37094         to have entries in sys_siglist.
37096         [BZ #12093]
37097         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
37098         be NULL.
37100 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
37102         [BZ #3268]
37103         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
37104         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
37105         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
37106         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
37107         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37108         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
37109         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
37110         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
37111         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
37112         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
37113         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
37114         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
37115         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
37116         * math/ftestexcept.c (fetestexcept): Likewise.
37117         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
37118         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
37119         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
37120         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
37121         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
37122         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
37123         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
37125 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
37127         [BZ #12107]
37128         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
37129         newline.
37131 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
37133         * string/bug-strstr1.c: New file.
37134         * string/Makefile: Add rules to build and run bug-strstr1.
37136 2010-10-05  Eric Blake  <eblake@redhat.com>
37138         [BZ #12092]
37139         * string/str-two-way.h (two_way_long_needle): Always clear memory
37140         when skipping input due to the shift table.
37142 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
37144         [BZ #12005]
37145         * malloc/mcheck.c: Handle large requests.
37147         [BZ #12077]
37148         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
37149         for strncmp and strncasecmp.
37150         * string/stratcliff.c: Add tests for strcmp and strncmp.
37151         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
37153 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
37155         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
37156         __set_fpscr.
37158 2010-09-30  Andreas Jaeger  <aj@suse.de>
37160         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
37161         (CGROUP_SUPER_MAGIC): Define.
37162         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37163         Handle btrfs and cgroup file systems.
37164         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
37165         Likewise.
37167 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
37169         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
37170         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
37172 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37174         [BZ #12067]
37175         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
37176         trying to locate the ELF header.
37178 2010-09-27  Andreas Schwab  <schwab@redhat.com>
37180         [BZ #11611]
37181         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
37182         Mask out sign-bit copies when constructing f_fsid.
37184 2010-09-24  Petr Baudis <pasky@suse.cz>
37186         * debug/stack_chk_fail_local.c: Add missing licence exception.
37187         * debug/warning-nop.c: Likewise.
37189 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
37191         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
37192         implementing getdents64 using getdents syscall, set d_type if
37193         __ASSUME_GETDENTS32_D_TYPE.
37195 2010-09-16  Andreas Schwab  <schwab@redhat.com>
37197         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
37198         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
37200 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
37202         [BZ #12037]
37203         * posix/unistd.h: Undo change of feature selection for ftruncate from
37204         2010-01-11.
37206 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
37208         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
37209         detection.
37211 2010-09-20  Andreas Schwab  <schwab@redhat.com>
37213         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
37214         fanotify_mark.
37215         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37217 2010-09-14  Andreas Schwab  <schwab@redhat.com>
37219         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
37220         variables after CHECK_SP call.
37221         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
37223 2010-09-13  Andreas Schwab  <schwab@redhat.com>
37224             Ulrich Drepper  <drepper@redhat.com>
37226         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
37227         re-relocationg ld.so.
37228         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
37229         _dl_init_paths call.
37230         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
37231         here anymore.
37233 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
37235         * resolv/res_init.c (__res_vinit): Count the default server we added.
37237 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
37238             Ulrich Drepper  <drepper@redhat.com>
37240         [BZ #11968]
37241         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
37242         (____longjmp_chk): Use %ebx for saving value across system call.
37243         Add unwind info.
37245 2010-09-06  Andreas Schwab  <schwab@redhat.com>
37247         * manual/Makefile: Don't mix pattern rules with normal rules.
37249 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
37251         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
37252         operation.
37253         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
37254         * libio/iofopncook.c (_IO_cookie_init): Likewise.
37255         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
37256         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
37257         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
37258         Likewise.
37260 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
37262         [BZ #11979]
37263         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
37264         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
37266 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
37268         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
37269         * sysdeps/x86_64/addmul_1.S: Likewise.
37270         * sysdeps/x86_64/lshift.S: Likewise.
37271         * sysdeps/x86_64/mul_1.S: Likewise.
37272         * sysdeps/x86_64/rshift.S: Likewise.
37273         * sysdeps/x86_64/sub_n.S: Likewise.
37274         * sysdeps/x86_64/submul_1.S: Likewise.
37276 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37278         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
37279         Define __sched_param instead of SCHED_* and sched_param when
37280         <bits/sched.h> is included with __need_schedparam defined.
37281         * bits/sched.h [__need_schedparam]
37282         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
37283         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
37284         (__defined_schedparam): Define to 1.
37285         (__sched_param): New structure, identical to sched_param.
37286         (__need_schedparam): Undefine.
37288 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
37290         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
37291         (epoll_create1): Declare.
37293         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
37295 2010-08-31  Andreas Schwab  <schwab@redhat.com>
37297         [BZ #7066]
37298         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
37299         shifting retval into place.
37301 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
37303         * nis/rpcsvc/nis.h: Update copyright notice.
37304         * nis/rpcsvc/nis.x: Likewise.
37305         * nis/rpcsvc/nis_callback.h: Likewise.
37306         * nis/rpcsvc/nis_callback.x: Likewise.
37307         * nis/rpcsvc/nis_object.x: Likewise.
37308         * nis/rpcsvc/nis_tags.h: Likewise.
37309         * nis/rpcsvc/yp.h: Likewise.
37310         * nis/rpcsvc/yp.x: Likewise.
37311         * nis/rpcsvc/ypupd.h: Likewise.
37312         * nis/yp_xdr.c: Likewise.
37313         * nis/ypupdate_xdr.c: Likewise.
37315         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
37316         mainly the body of pmap_getport.  Add parameters to specify timeouts.
37317         (pmap_getport): Use __libc_rpc_getport.
37318         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
37319         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
37320         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
37322 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
37324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
37325         fanotify_mark.
37327 2010-08-27  Roland McGrath  <roland@redhat.com>
37329         * sysdeps/i386/i686/multiarch/Makefile
37330         (CFLAGS-varshift.c): New variable.
37332 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
37334         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
37335         * sysdeps/i386/i686/multiarch/varshift.c: New file.
37337         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
37339         * sysdeps/x86_64/strlen.S: Minimal code improvement.
37341 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
37343         * sysdeps/x86_64/strlen.S: Unroll the loop.
37344         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37345         strlen-sse2 strlen-sse2-bsf.
37346         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
37347         __strlen_no_bsf if bit_Slow_BSF is set.
37348         (__strlen_sse42): Removed.
37349         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
37350         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
37352 2010-08-25  Roland McGrath  <roland@redhat.com>
37354         * sysdeps/x86_64/multiarch/varshift.S: File removed.
37355         * sysdeps/x86_64/multiarch/varshift.c: New file.
37356         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
37357         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
37358         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
37359         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
37361 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
37363         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37364         strlen-sse2 strlen-sse2-bsf.
37365         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
37366         __strlen_sse2_bsf if bit_Slow_BSF is unset.
37367         (__strlen_sse2): Removed.
37368         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
37369         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
37370         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
37371         bit_Slow_BSF for Atom.
37372         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
37373         (index_Slow_BSF): Define.
37374         (HAS_SLOW_BSF): Define.
37376 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
37378         [BZ #10851]
37379         * resolv/res_init.c (__res_vinit): When no server address at all
37380         is given default to loopback.
37382 2010-08-24  Roland McGrath  <roland@redhat.com>
37384         * configure.in: Remove config-name.h generation.
37385         * configure: Regenerated.
37386         * config-name.in: File removed.
37387         * scripts/config-uname.sh: New file.
37388         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
37389         ($(objdir)config-name.h): New target.
37391         * sunrpc/rpc_parse.h: Avoid nested comment.
37393 2010-08-24  Richard Henderson  <rth@redhat.com>
37394             Ulrich Drepper  <drepper@redhat.com>
37395             H.J. Lu  <hongjiu.lu@intel.com>
37397         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
37398         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
37399         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
37400         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
37401         _mm_alignr_epi8 with _mm_loadu_si128.
37402         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
37403         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
37404         (__m128i_shift_right): Removed.
37405         * sysdeps/i386/i686/multiarch/varshift.h: New file.
37406         * sysdeps/i386/i686/multiarch/varshift.S: New file.
37407         * sysdeps/x86_64/multiarch/varshift.h: New file.
37408         * sysdeps/x86_64/multiarch/varshift.S: New file.
37410 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
37412         * configure.in: Move assembler checks to before sysdep dir checking.
37414 2010-08-20  Petr Baudis  <pasky@suse.cz>
37416         * LICENSES: Sync the sunrpc license.
37418 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
37420         * sunrpc/auth_des.c: Update copyright notice once again.
37421         * sunrpc/auth_none.c: Likewise.
37422         * sunrpc/auth_unix.c: Likewise.
37423         * sunrpc/authdes_prot.c: Likewise.
37424         * sunrpc/authuxprot.c: Likewise.
37425         * sunrpc/bindrsvprt.c: Likewise.
37426         * sunrpc/clnt_gen.c: Likewise.
37427         * sunrpc/clnt_perr.c: Likewise.
37428         * sunrpc/clnt_raw.c: Likewise.
37429         * sunrpc/clnt_simp.c: Likewise.
37430         * sunrpc/clnt_tcp.c: Likewise.
37431         * sunrpc/clnt_udp.c: Likewise.
37432         * sunrpc/clnt_unix.c: Likewise.
37433         * sunrpc/des_crypt.c: Likewise.
37434         * sunrpc/des_soft.c: Likewise.
37435         * sunrpc/get_myaddr.c: Likewise.
37436         * sunrpc/getrpcport.c: Likewise.
37437         * sunrpc/key_call.c: Likewise.
37438         * sunrpc/key_prot.c: Likewise.
37439         * sunrpc/openchild.c: Likewise.
37440         * sunrpc/pm_getmaps.c: Likewise.
37441         * sunrpc/pm_getport.c: Likewise.
37442         * sunrpc/pmap_clnt.c: Likewise.
37443         * sunrpc/pmap_prot.c: Likewise.
37444         * sunrpc/pmap_prot2.c: Likewise.
37445         * sunrpc/pmap_rmt.c: Likewise.
37446         * sunrpc/rpc/auth.h: Likewise.
37447         * sunrpc/rpc/auth_unix.h: Likewise.
37448         * sunrpc/rpc/clnt.h: Likewise.
37449         * sunrpc/rpc/des_crypt.h: Likewise.
37450         * sunrpc/rpc/key_prot.h: Likewise.
37451         * sunrpc/rpc/netdb.h: Likewise.
37452         * sunrpc/rpc/pmap_clnt.h: Likewise.
37453         * sunrpc/rpc/pmap_prot.h: Likewise.
37454         * sunrpc/rpc/pmap_rmt.h: Likewise.
37455         * sunrpc/rpc/rpc.h: Likewise.
37456         * sunrpc/rpc/rpc_des.h: Likewise.
37457         * sunrpc/rpc/rpc_msg.h: Likewise.
37458         * sunrpc/rpc/svc.h: Likewise.
37459         * sunrpc/rpc/svc_auth.h: Likewise.
37460         * sunrpc/rpc/types.h: Likewise.
37461         * sunrpc/rpc/xdr.h: Likewise.
37462         * sunrpc/rpc_clntout.c: Likewise.
37463         * sunrpc/rpc_cmsg.c: Likewise.
37464         * sunrpc/rpc_common.c: Likewise.
37465         * sunrpc/rpc_cout.c: Likewise.
37466         * sunrpc/rpc_dtable.c: Likewise.
37467         * sunrpc/rpc_hout.c: Likewise.
37468         * sunrpc/rpc_main.c: Likewise.
37469         * sunrpc/rpc_parse.c: Likewise.
37470         * sunrpc/rpc_parse.h: Likewise.
37471         * sunrpc/rpc_prot.c: Likewise.
37472         * sunrpc/rpc_sample.c: Likewise.
37473         * sunrpc/rpc_scan.c: Likewise.
37474         * sunrpc/rpc_scan.h: Likewise.
37475         * sunrpc/rpc_svcout.c: Likewise.
37476         * sunrpc/rpc_tblout.c: Likewise.
37477         * sunrpc/rpc_util.c: Likewise.
37478         * sunrpc/rpc_util.h: Likewise.
37479         * sunrpc/rpcinfo.c: Likewise.
37480         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
37481         * sunrpc/rpcsvc/key_prot.x: Likewise.
37482         * sunrpc/rpcsvc/klm_prot.x: Likewise.
37483         * sunrpc/rpcsvc/mount.x: Likewise.
37484         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
37485         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
37486         * sunrpc/rpcsvc/rex.x: Likewise.
37487         * sunrpc/rpcsvc/rstat.x: Likewise.
37488         * sunrpc/rpcsvc/rusers.x: Likewise.
37489         * sunrpc/rpcsvc/sm_inter.x: Likewise.
37490         * sunrpc/rpcsvc/spray.x: Likewise.
37491         * sunrpc/rpcsvc/yppasswd.x: Likewise.
37492         * sunrpc/rtime.c: Likewise.
37493         * sunrpc/svc.c: Likewise.
37494         * sunrpc/svc_auth.c: Likewise.
37495         * sunrpc/svc_authux.c: Likewise.
37496         * sunrpc/svc_raw.c: Likewise.
37497         * sunrpc/svc_run.c: Likewise.
37498         * sunrpc/svc_simple.c: Likewise.
37499         * sunrpc/svc_tcp.c: Likewise.
37500         * sunrpc/svc_udp.c: Likewise.
37501         * sunrpc/svc_unix.c: Likewise.
37502         * sunrpc/svcauth_des.c: Likewise.
37503         * sunrpc/xcrypt.c: Likewise.
37504         * sunrpc/xdr.c: Likewise.
37505         * sunrpc/xdr_array.c: Likewise.
37506         * sunrpc/xdr_float.c: Likewise.
37507         * sunrpc/xdr_mem.c: Likewise.
37508         * sunrpc/xdr_rec.c: Likewise.
37509         * sunrpc/xdr_ref.c: Likewise.
37510         * sunrpc/xdr_sizeof.c: Likewise.
37511         * sunrpc/xdr_stdio.c: Likewise.
37513         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
37514         handling.
37516 2010-08-19  Andreas Schwab  <schwab@redhat.com>
37518         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
37520 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
37522         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
37523         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
37524         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
37525         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
37526         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
37527         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
37528         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
37529         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
37530         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
37531         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
37532         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
37533         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
37534         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
37535         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
37537 2010-07-26  Anton Blanchard  <anton@samba.org>
37539         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
37540         * malloc/arena.c (heap_trim): Likewise.
37542 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
37544         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
37545         here.  Not...
37546         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
37547         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
37549 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
37551         * sysdeps/i386/elf/Makefile: New file.
37553 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
37555         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
37556         from fanotify_init.
37557         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
37558         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
37560 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
37562         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
37563         of strncasecmp_l.
37564         * sysdeps/multiarch/strcmp.S: Likewise.
37566 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
37568         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
37569         strncase_l-nonascii.
37570         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
37571         Add strncase_l-ssse3.
37572         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
37573         * sysdeps/x86_64/strcmp.S: Likewise.
37574         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
37575         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
37576         * sysdeps/x86_64/strncase.S: New file.
37577         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
37578         * sysdeps/x86_64/strncase_l.S: New file.
37579         * string/Makefile (strop-tests): Add strncasecmp.
37580         * string/test-strncasecmp.c: New file.
37582         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
37583         warning.
37585         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
37586         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
37588 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
37590         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
37592 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
37594         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
37595         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
37596         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
37598 2010-05-01  Alan Modra  <amodra@gmail.com>
37600         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
37601         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
37602         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
37603         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
37604         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
37605         tidying.  Don't tail-call __sigjmp_save for static lib.
37606         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
37607         save location.
37608         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
37609         (CALL_MCOUNT): Add eh info, and nop after bl.
37610         (TAIL_CALL_SYSCALL_ERROR): New macro.
37611         (PSEUDO_RET): Use it.
37612         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
37613         Correct save location of integer regs and cr.
37614         (_dl_profile_resolve): Correct cr save location.  Delete nops
37615         after bl when SHARED.  Reduce cfi size a little by better
37616         placement of cfi directives.
37617         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
37618         make a stack frame.  Instead use parm save area as a temp.
37619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
37620         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
37621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
37622         Don't make a stack frame for parent, use parm save area.
37623         Increase child stack frame to 112 bytes.  Don't save unused reg,
37624         and adjust reg usage.  Set up cfi on error recovery and
37625         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
37626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
37627         (__makecontext): Add dummy nop after jump to exit.
37628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
37629         Use correct parm save area and cr save, reduce stack frame.
37630         Correct cfi for possible PSEUDO_RET frame setup.
37631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
37632         Branch to local label emitted by PSEUDO_RET rather than
37633         __syscall_error.
37635 2010-08-12  Andreas Schwab  <schwab@redhat.com>
37637         [BZ #11904]
37638         * locale/programs/locale.c (print_assignment): New function.
37639         (show_locale_vars): Use it.
37641 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
37643         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
37644         field.
37645         (struct statfs64): Likewise.
37646         (_STATFS_F_FLAGS): Define.
37647         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
37648         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37649         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
37650         (ST_VALID): Define locally.
37651         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
37652         __statvfs_getflags, use the provided value.
37653         * sysdeps/unix/sysv/linux/kernel-features.h: Define
37654         __ASSUME_STATFS_F_FLAGS.
37656         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
37658         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
37659         Add sys/fanotify.h.
37660         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
37661         fanotify_mask for GLIBC_2.13.
37662         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
37663         fanotify_init and fanotify_mark.
37664         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
37665         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
37667         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
37668         Add prlimit.
37669         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
37670         prlimit64 for GLIBC_2.13.
37671         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
37672         prlimit64.
37673         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
37674         syscall.
37675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
37676         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37677         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
37678         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
37679         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
37680         add prlimit alias.
37681         * sysdeps/unix/sysv/linux/prlimit.c: New file.
37683         [BZ #11903]
37684         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
37685         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
37687         * nss/Makefile: Add rules to build and run tst-nss-test1.
37688         * shlib-versions: Add entry for libnss_test1.
37689         * nss/nss_test1.c: New file.
37690         * nss/tst-nss-test1.c: New file.
37692         * nss/nsswitch.c (__nss_database_custom): Define new variable.
37693         (__nss_configure_lookup): Set appropriate entry in
37694         __nss_configure_lookup to true.
37695         * nss/nsswitch.h: Define enum with indeces of databases in
37696         databases and __nss_database_custom arrays.  Declare
37697         __nss_database_custom.
37698         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
37699         to avoid using nscd when custom rules are installed.
37700         * nss/getXXbyYY_r.c: Likewise.
37701         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
37703         * nss/nss_files/files-parse.c: Whitespace fixes.
37705 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
37707         [BZ #11883]
37708         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
37709         * posix/fnmatch_loop.c: Likewise.
37711 2010-07-17  Andi Kleen  <ak@linux.intel.com>
37713         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
37714         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
37715         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
37716         * Versions.def [GLIBC_2.13]: Add.
37718 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
37720         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
37721         Also fail if tpwd after pwuid call is NULL.
37723 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37725         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
37726         when converting to ms.
37728 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37730         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
37731         EOPNOTSUPP errors with ENOTTY.
37732         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
37733         EOPNOTSUPP errors with ENOTTY.
37735 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
37737         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
37738         Add strcasecmp_l-ssse3.
37739         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
37740         strcasecmp.
37741         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
37742         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
37743         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
37745 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
37747         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
37749         * string/Makefile (strop-tests): Add strcasecmp.
37750         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
37751         strcasecmp_l-nonascii.
37752         (gen-as-const-headers): Add locale-defines.sym.
37753         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
37754         * sysdeps/x86_64/strcasecmp.S: New file.
37755         * sysdeps/x86_64/strcasecmp_l.S: New file.
37756         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
37757         * sysdeps/x86_64/locale-defines.sym: New file.
37758         * string/test-strcasecmp.c: New file.
37760         * string/test-strcasestr.c: Test both ends of the range of characters.
37761         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
37763 2010-07-29  Roland McGrath  <roland@redhat.com>
37765         [BZ #11856]
37766         * manual/locale.texi (Yes-or-No Questions): Fix example code.
37768 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
37770         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
37771         for ld.so.
37773 2010-07-27  Andreas Schwab  <schwab@redhat.com>
37775         * manual/memory.texi (Malloc Tunable Parameters): Document
37776         M_PERTURB.
37778 2010-07-26  Roland McGrath  <roland@redhat.com>
37780         [BZ #11840]
37781         * configure.in (-fgnu89-inline check): Set and substitute
37782         gnu89_inline, not libc_cv_gnu89_inline.
37783         * configure: Regenerated.
37784         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
37786 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
37788         * string/test-strnlen.c: New file.
37789         * string/Makefile (strop-tests): Add strnlen.
37790         * string/tester.c (test_strnlen): Add a few more test cases.
37791         * string/tst-strlen.c: Better error reporting.
37793         * sysdeps/x86_64/strnlen.S: New file.
37795 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
37797         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
37798         lower-latency instructions.
37800 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
37802         * string/test-strcasestr.c: New file.
37803         * string/test-strstr.c: New file.
37804         * string/Makefile (strop-tests): Add strstr and strcasestr.
37805         * string/str-two-way.h: Don't undefine MAX.
37806         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
37808 2010-07-21  Andreas Schwab  <schwab@redhat.com>
37810         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37811         strcasestr-nonascii.
37812         (CFLAGS-strcasestr-nonascii.c): Define.
37813         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
37814         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
37815         Remove unused attribute.
37817 2010-07-20  Roland McGrath  <roland@redhat.com>
37819         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
37820         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
37821         ld.so.cache was broken.  With it, there is no way to disable dsocaps
37822         like LD_HWCAP_MASK can disable hwcaps.
37824 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
37826         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
37828 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
37830         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
37831         call in strcasestr.
37832         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
37833         __strcasestr_sse42_nonascii.
37834         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
37835         strcasestr-nonascii.c.
37836         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
37838 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
37840         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
37841         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
37842         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
37843         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
37845 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
37847         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
37848         fcntl.
37850 2010-07-06  Andreas Schwab  <schwab@redhat.com>
37852         [BZ #11577]
37853         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
37854         dl_signal_cerror.
37856 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
37858         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
37859         _PC_PIPE_BUF using F_GETPIPE_SZ.
37861 2010-07-05  Roland McGrath  <roland@redhat.com>
37863         * manual/arith.texi (Rounding Functions): Fix rint description
37864         implicit in round description.
37866 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
37868         * elf/Makefile: Fix linking for a few tests to make recent linker
37869         happy.
37871 2010-06-30  Andreas Schwab  <schwab@redhat.com>
37873         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
37874         $(common-objpfx)libc_nonshared.a.
37876 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
37878         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
37879         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
37880         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
37881         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
37882         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
37883         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
37884         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
37885         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
37886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
37887         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
37888         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
37889         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
37890         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
37891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
37892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
37893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
37894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
37895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
37896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
37897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
37898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
37899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
37900         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
37901         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
37902         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
37903         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
37904         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
37905         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
37906         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
37907         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
37908         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
37909         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
37910         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
37911         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
37912         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
37913         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
37914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
37915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
37916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
37917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
37918         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
37919         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
37920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
37921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
37922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
37923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
37924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
37925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
37927 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
37929         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
37930         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
37931         * string/memmove.c (memmove): Renamed to ...
37932         (MEMMOVE): ...this.  Default to memmove.
37933         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
37934         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
37935         (END_CHK): Define.
37936         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37937         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
37938         mempcpy-ssse3-back memmove-ssse3-back.
37939         * sysdeps/x86_64/multiarch/bcopy.S: New file .
37940         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
37941         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
37942         * sysdeps/x86_64/multiarch/memcpy.S: New file.
37943         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
37944         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
37945         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
37946         * sysdeps/x86_64/multiarch/memmove.c: New file.
37947         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
37948         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
37949         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
37950         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
37951         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
37952         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
37953         Define.
37954         (index_Fast_Copy_Backward): Define.
37955         (HAS_ARCH_FEATURE): Define.
37956         (HAS_FAST_REP_STRING): Define.
37957         (HAS_FAST_COPY_BACKWARD): Define.
37959 2010-06-21  Andreas Schwab  <schwab@redhat.com>
37961         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
37962         Restore proper fallback handling.
37964 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
37966         [BZ #11701]
37967         * posix/group_member.c (__group_member): Correct checking loop.
37969         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
37970         OOM in getpwuid_r correctly.  Return error number when the caller
37971         should return, otherwise -1.
37972         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
37973         call returning > 0 value.
37974         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
37976 2010-06-07  Andreas Schwab  <schwab@redhat.com>
37978         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
37979         libc_nonshared.a from targets in modules-names.
37981 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
37983         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
37984         requires it.
37986 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
37988         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
37989         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
37990         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
37991         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
37993 2010-06-02  Andreas Schwab  <schwab@redhat.com>
37995         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
37997 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
37999         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
38000         and F_GETPIPE_SZ.
38001         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
38002         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38003         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38004         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38005         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38006         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
38008 2010-06-14  Roland McGrath  <roland@redhat.com>
38010         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
38012 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
38014         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
38015         __REDIRECT followed by __THROW.
38016         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
38017         * posix/getopt.h (getopt): Likewise.
38019 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
38021         * hurd/lookup-at.c (__file_name_lookup_at): Accept
38022         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
38023         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
38024         in AT_FLAGS.
38025         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
38026         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
38028 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
38030         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
38032 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
38034         [BZ #11640]
38035         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38036         Properly check family and model.
38038 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
38040         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
38042 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
38044         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
38046 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
38048         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
38049         symbol reference.
38051 2010-05-19  Andreas Schwab  <schwab@redhat.com>
38053         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
38054         symbol reference.
38056 2010-05-21  Andreas Schwab  <schwab@redhat.com>
38058         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
38059         and internal_recvmmsg.
38060         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
38061         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
38062         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
38063         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
38065         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
38066         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
38067         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
38069 2010-05-20  Andreas Schwab  <schwab@redhat.com>
38071         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
38073 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
38075         POWER7 optimizations.
38076         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
38077         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
38079 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
38081         * version.h: Update for 2.13 development version.
38083 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
38085         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
38086         exceptions.  Return 0.
38088 2010-05-07  Roland McGrath  <roland@redhat.com>
38090         * elf/ldconfig.c (main): Add a const.
38092 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
38094         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
38095         (args_options): Add no-idn option.
38096         (ahosts_keys_int): Add idn_flags to ai_flags.
38097         (parse_option): Handle 'i' option to clear idn_flags.
38099         * malloc/malloc.c (_int_free): Possible race in the most recently
38100         added check.  Only act on the data if no current modification
38101         happened.
38103 See ChangeLog.17 for earlier changes.